<?php $page = isset($_GET['page']) ? (int)$_GET['page'] : 1; $total_pages = 3; ?>
<!DOCTYPE html><html lang="en"><head>
<meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0">
<title>Free Fire Beginner Guide 2025</title>
<link href="https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Nunito:wght@400;600;700;800&display=swap" rel="stylesheet">
<?php include dirname(__DIR__).'/shared.css.php'; ?>
</head><body>
<?php
$page_title='Free Fire Beginner Guide 2025';$header_title='📖 Beginner Guide';$back_url='../';
$header_tabs=[['label'=>'Getting Started','url'=>'?page=1','active'=>$page==1],['label'=>'Game Basics','url'=>'?page=2','active'=>$page==2],['label'=>'First Week Tips','url'=>'?page=3','active'=>$page==3]];
include dirname(__DIR__).'/header.php';
?>
<?php include dirname(__DIR__).'/adtop.php'; ?>
<div class="content">
<?php if($page==1): ?>
<div class="hero-box pink"><div class="hero-icon">📖</div><div class="hero-title">Complete Free Fire Beginner Guide</div><div class="hero-text">Brand new to Free Fire? This guide covers everything — from installing the game to making your first kills and understanding the core loop.</div></div>
<div class="section-title">📲 How to Get Started</div>
<ol class="step-list">
  <li><strong>Download Free Fire / Free Fire MAX</strong> Available on Google Play Store and App Store. Free Fire MAX offers higher graphics; regular Free Fire works on older devices (1GB RAM minimum).</li>
  <li><strong>Create Your Account</strong> Sign in with Google, Facebook, or a guest account. Link a real account immediately — guest accounts can be lost if you change devices.</li>
  <li><strong>Complete the Tutorial</strong> Don't skip the tutorial. It teaches movement, aiming, looting, and the gloo wall — all essentials for your first real match.</li>
  <li><strong>Play Training Grounds First</strong> Before entering a real match, spend 15 minutes in the Training Ground. Practice with different weapons to find your preferred gun type.</li>
  <li><strong>Start with Clash Squad</strong> Clash Squad matches are smaller (4v4) and faster. Great for learning gunfights without the pressure of a full 50-player BR match.</li>
</ol>
<div class="tip-box">💡 Your first character is Adam or Olivia — both are free. Save diamonds and get DJ Alok as your first major purchase. His healing ability is the best for beginners.</div>

<?php elseif($page==2): ?>
<div class="hero-box rose"><div class="hero-icon">🗺️</div><div class="hero-title">Understanding Free Fire Basics</div><div class="hero-text">The core mechanics every player must know to survive, loot effectively, and win more games.</div></div>
<ul class="card-list">
  <li><strong>The Safe Zone</strong> A white circle on the map marks the safe zone. The playzone shrinks every few minutes. Outside the zone you take increasing damage. Always watch the timer and move early.</li>
  <li><strong>Looting Priority</strong> Land and immediately grab: (1) any gun, (2) armour vest, (3) helmet, (4) ammo. Only worry about backpack and medkits after you have basic combat gear.</li>
  <li><strong>Gloo Walls</strong> The most unique mechanic in Free Fire. Gloo Walls create instant cover. Always carry 2–3. Place one when you take shots, heal behind it, then re-engage.</li>
  <li><strong>Health & EP System</strong> HP regenerates from Mushrooms and Medkits. EP (Energy Points) regenerates HP slowly — use Energy Drinks and Coconuts to build EP. Always keep EP maxed before fights.</li>
  <li><strong>Armour Levels</strong> Vest and Helmet come in Level 1, 2, and 3. Level 3 significantly reduces damage. Always upgrade armour when you find a higher level.</li>
  <li><strong>The Airdrop</strong> Airdrops contain the best loot: AWM sniper, Level 3 armour, and rare items. They are heavily contested — approach with caution and only when you have good positioning.</li>
</ul>
<div class="tip-box">💡 Hear shots? Don't run. Crouch behind cover, track the direction using the directional hit indicator on screen, and plan your response. Panic running gets most beginners killed.</div>

<?php elseif($page==3): ?>
<div class="hero-box purple"><div class="hero-icon">🚀</div><div class="hero-title">Your First Week in Free Fire</div><div class="hero-text">Follow this plan for your first 7 days to unlock rewards, learn efficiently, and start climbing faster than most beginners.</div></div>
<div class="section-title">📅 7-Day Action Plan</div>
<ol class="step-list">
  <li><strong>Day 1–2: Learn the map</strong> Play 10 matches on Bermuda (the starter map). Land in different locations each game — learn where the loot is dense and where it's safe to drop early.</li>
  <li><strong>Day 3: Master one weapon</strong> Pick one assault rifle (SCAR or AK) and one SMG (MP40). Only use these two all day. Get 50+ kills total to build muscle memory.</li>
  <li><strong>Day 4: Gloo Wall practice</strong> Spend 20 minutes in Training Ground only placing and using Gloo Walls. A beginner who masters gloo walls instantly plays like an intermediate player.</li>
  <li><strong>Day 5: Daily missions</strong> Complete every Daily Mission today. Learn where the missions panel is and check it every login. Missions give Gold, diamonds, and EXP — never let them expire.</li>
  <li><strong>Day 6: Try Clash Squad</strong> Play 10 Clash Squad matches. Smaller format means more gunfights per minute — the fastest way to improve your aim and reaction time.</li>
  <li><strong>Day 7: Review & spend Gold</strong> Visit the Gold Shop and buy a character or gun skin. Then review — what killed you most this week? Practice that specific weakness next.</li>
</ol>
<div class="tip-box">💡 The most important beginner skill isn't aim — it's knowing when NOT to fight. Avoiding unfavourable fights and surviving to top 10 earns more rank points than aggressive play with poor results.</div>
<?php endif; ?>
</div>
<?php include dirname(__DIR__).'/adbottom.php'; ?>
<div class="pagination">
  <?php if($page>1): ?><a href="?page=<?=$page-1?>" class="pag-btn prev">← Prev</a><?php endif; ?>
  <div class="pag-dots"><?php for($i=1;$i<=$total_pages;$i++): ?><div class="pag-dot <?=$i==$page?'active':''?>"></div><?php endfor; ?></div>
  <?php if($page<$total_pages): ?><a href="?page=<?=$page+1?>" class="pag-btn next">Next →</a><?php endif; ?>
</div>
<?php $footer_base='../'; include dirname(__DIR__).'/footer.php'; ?>
</body></html>
