:root {
    --fire: #FF4500;
    --fire-glow: #ff6a00;
    --base: #0052FF;
    --gold: #FFD700;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --bg: #020202;
}

/* --- Global Reset & Anti-Overflow --- */
* { box-sizing: border-box; margin: 0; padding: 0; outline: none; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { 
    background-color: var(--bg); 
    color: #fff; 
    font-family: 'Inter', sans-serif; 
    overflow-x: hidden; 
    width: 100%;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.hidden { display: none; }
.text-center { text-align: center; }
.w-100 { width: 100%; justify-content: center; }

/* --- Premium Glassmorphism --- */
.glass-premium {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

/* --- Header --- */
.glass-header {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
    width: 90%; max-width: 1100px; z-index: 1000;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    padding: 10px 25px;
}
.header-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; font-family: 'Bangers'; font-size: 1.2rem; }
.logo img { height: 35px; border-radius: 50%; }
.desktop-nav { display: none; gap: 30px; }
.desktop-nav a { text-decoration: none; color: #fff; font-weight: 700; font-size: 0.8rem; opacity: 0.6; transition: 0.3s; }
.desktop-nav a:hover { opacity: 1; color: var(--fire); }
.nav-button { background: var(--fire); padding: 10px 20px; border-radius: 50px; color: #fff; text-decoration: none; font-weight: 900; box-shadow: 0 0 15px var(--fire); }

/* --- Hero Section --- */
#hero { min-height: 100vh; display: flex; align-items: center; padding-top: 100px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.hero-text { padding: 40px; position: relative; overflow: hidden; }
.badge { background: var(--base); padding: 5px 15px; border-radius: 50px; font-size: 0.7rem; font-weight: 800; margin-bottom: 20px; display: inline-block; }
.hero-title { font-family: 'Bangers'; font-size: 3.5rem; line-height: 1; margin-bottom: 20px; }
.fire-gradient { background: linear-gradient(to bottom, var(--gold), var(--fire)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 10px var(--fire)); }
.hero-text p { font-size: 1.1rem; color: #aaa; margin-bottom: 30px; }

.cta-group { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }
.btn { padding: 16px 32px; border-radius: 12px; font-weight: 900; text-decoration: none; transition: 0.3s; display: flex; align-items: center; gap: 10px; border: none; cursor: pointer; }
.btn-main { background: var(--base); color: #fff; }
.btn-alt { background: var(--fire); color: #fff; }
.ca-container { margin-top: 25px; background: rgba(255,255,255,0.05); padding: 15px; border-radius: 12px; display: flex; justify-content: space-between; border: 1px dashed #444; cursor: pointer; word-break: break-all; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.floating-dragon { width: 100%; max-width: 400px; z-index: 5; animation: float 5s infinite ease-in-out; }
.dragon-glow { position: absolute; width: 300px; height: 300px; background: var(--fire); filter: blur(120px); opacity: 0.3; }

@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-20px) rotate(2deg); } }

/* --- Staking Section (GÜNCELLENDİ) --- */
.staking-card { padding: 40px; max-width: 900px; margin: 0 auto; border: 1px solid rgba(255, 69, 0, 0.2); }
.staking-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }

.staking-tabs { display: flex; gap: 10px; margin-bottom: 20px; }
.tab-btn { 
    background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); color: #fff; 
    padding: 12px 20px; border-radius: 12px; cursor: pointer; flex: 1;
    font-weight: 800; transition: 0.3s; font-family: 'Inter', sans-serif;
}
.tab-btn.active { background: var(--fire); border-color: var(--fire); box-shadow: 0 0 15px var(--fire); }

.tab-panel { display: none; }
.tab-panel.active { display: flex; flex-direction: column; gap: 15px; }

.stat-box { margin-bottom: 25px; }
.stat-box small { color: #888; text-transform: uppercase; letter-spacing: 1px; font-weight: 800; font-size: 0.75rem; }
.stat-box h3 { font-size: 2rem; font-weight: 900; }

.staking-action { display: flex; flex-direction: column; gap: 15px; }
.wallet-info { display: flex; justify-content: flex-end; font-size: 0.85rem; color: #ccc; }
.wallet-info strong { color: var(--gold); }

.input-group { 
    position: relative; 
    display: flex; 
    background: rgba(255, 255, 255, 0.05); 
    border-radius: 16px; 
    padding: 8px; 
    border: 1px solid var(--glass-border);
    transition: 0.3s;
}
.input-group:focus-within { border-color: var(--fire); box-shadow: 0 0 15px rgba(255, 69, 0, 0.2); }

.input-group input { 
    background: transparent; 
    border: none; 
    color: white; 
    padding: 12px; 
    width: 100%; 
    font-size: 1.2rem; 
    font-weight: 700;
}
.btn-max { 
    background: rgba(255, 255, 255, 0.1); 
    border: none; 
    color: var(--gold); 
    padding: 0 15px; 
    border-radius: 10px; 
    cursor: pointer; 
    font-weight: 900;
    transition: 0.3s;
}
.btn-max:hover { background: var(--fire); color: white; }

/* Rewards Section */
.rewards-section { 
    margin-top: 15px; padding: 20px; display: flex; 
    justify-content: space-between; align-items: center;
    border: 1px solid rgba(255, 215, 0, 0.2);
    background: rgba(255, 215, 0, 0.02);
}
.reward-info small { color: #888; display: block; margin-bottom: 5px; font-weight: 800; font-size: 0.7rem; }
.reward-info h4 { color: var(--gold); font-size: 1.4rem; font-weight: 900; }
.btn-claim { 
    background: var(--gold); color: #000; border: none; 
    padding: 10px 20px; border-radius: 10px; cursor: pointer;
    font-weight: 900; transition: 0.3s;
}
.btn-claim:hover { transform: scale(1.05); box-shadow: 0 0 15px var(--gold); }

/* --- Sections --- */
section { padding: 100px 0; }
.section-title { font-family: 'Bangers'; font-size: 3rem; margin-bottom: 50px; color: var(--gold); text-shadow: 0 0 15px var(--fire); text-center; width: 100%; }

/* --- Story Card --- */
.story-card { padding: 50px; display: flex; justify-content: center; }
.story-content { width: 100%; max-width: 800px; margin: 0 auto; }
.stats-mini { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 30px; justify-content: center; }
.stat-item { background: rgba(255,255,255,0.05); padding: 15px; border-radius: 15px; flex: 1; text-align: center; min-width: 140px; }
.stat-item strong { display: block; color: var(--fire); font-size: 1.2rem; }

/* --- Tokenomics --- */
.token-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.token-box { padding: 40px; text-align: center; transition: 0.4s; }
.token-box:hover { transform: translateY(-10px); border-color: var(--fire); }
.token-box iconify-icon { font-size: 3rem; color: var(--fire); margin-bottom: 20px; display: block; }
.token-box h3 { font-family: 'Bangers'; font-size: 1.8rem; margin-bottom: 10px; }

/* --- Roadmap --- */
.roadmap-wrapper { position: relative; padding: 40px 0; }
.roadmap-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; background: linear-gradient(to bottom, transparent, var(--fire), var(--base), transparent); transform: translateX(-50%); }

.roadmap-step { position: relative; width: 50%; padding: 20px 40px; margin-bottom: 20px; }
.roadmap-step.left { left: 0; text-align: right; }
.roadmap-step.right { left: 50%; text-align: left; }

.step-dot { 
    position: absolute; top: 30px; width: 50px; height: 50px; background: #000; 
    border: 3px solid var(--fire); border-radius: 50%; display: flex; 
    align-items: center; justify-content: center; font-family: 'Bangers'; 
    z-index: 10; box-shadow: 0 0 20px var(--fire);
}
.roadmap-step.left .step-dot { right: -25px; }
.roadmap-step.right .step-dot { left: -25px; }

.step-content { padding: 30px; }
.step-content h3 { color: var(--fire); font-family: 'Bangers'; font-size: 1.5rem; margin-bottom: 15px; }
.step-content ul { list-style: none; }
.step-content ul li { margin-bottom: 8px; color: #ccc; font-weight: 600; }

/* --- Footer --- */
.final-footer { padding: 100px 0 40px; }
.footer-glass { 
    padding: 50px; border-radius: 40px; background: var(--glass); 
    backdrop-filter: blur(20px); border: 1px solid var(--glass-border);
    display: flex; flex-direction: column; gap: 40px; align-items: center; text-align: center;
}
.footer-nav { display: flex; gap: 30px; }
.footer-nav a { text-decoration: none; color: #888; font-weight: 900; font-size: 0.8rem; }
.footer-social { display: flex; gap: 20px; font-size: 2rem; }
.footer-social a { color: #fff; transition: 0.3s; }
.footer-social a:hover { color: var(--fire); transform: scale(1.1); }
.footer-bottom { margin-top: 40px; text-align: center; color: #333; font-size: 0.8rem; }

/* --- Responsiveness --- */
@media (min-width: 768px) {
    .desktop-nav { display: flex; }
    .hero-grid { grid-template-columns: 1fr 1fr; text-align: left; }
    .hero-text { text-align: left; }
    .cta-group { justify-content: flex-start; }
    .footer-glass { flex-direction: row; justify-content: space-between; text-align: left; }
    .staking-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
    .hero-title { font-size: 2.5rem; }
    .hero-text { padding: 25px; text-align: center; }
    .story-card { padding: 25px; }
    .section-title { font-size: 2rem; }
    .roadmap-line { left: 20px; }
    .roadmap-step { width: 100%; left: 0 !important; padding-left: 60px; text-align: left !important; }
    .step-dot { left: -5px !important; }
    .stat-item { flex: 1 1 100%; }
    .staking-card { padding: 25px; }
    .rewards-section { flex-direction: column; gap: 15px; text-align: center; }
}

/* --- Background Effects --- */
#background-fire-container { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.vignette { position: fixed; inset: 0; background: radial-gradient(circle, transparent 30%, #000 100%); pointer-events: none; z-index: 2; }
.noise { position: fixed; inset: 0; background: url('https://grainy-gradients.vercel.app/noise.svg'); opacity: 0.05; pointer-events: none; z-index: 3; }

#fire-overlay { position: fixed; inset: 0; background: #000; z-index: 9999; display: flex; align-items: center; justify-content: center; transition: 1s; }
.progress-bar { width: 200px; height: 4px; background: #111; margin-top: 20px; border-radius: 10px; overflow: hidden; }
.progress-fill { width: 0%; height: 100%; background: var(--fire); animation: load 2s forwards; }
@keyframes load { to { width: 100%; } }
/* --- GELİŞMİŞ MOBİL OPTİMİZASYON (style.css en altına ekle) --- */

@media (max-width: 767px) {
    /* Yazıları küçültelim ki ekran sığsın */
    .hero-title { 
        font-size: 2.2rem !important; 
        line-height: 1.1;
        margin-top: 20px;
    }

    /* Kahraman (Hero) bölümünü toparla */
    #hero { padding-top: 80px; min-height: auto; }
    .hero-grid { gap: 20px; }
    .hero-text { padding: 20px; border-radius: 15px; }
    .cta-group .btn { width: 100%; justify-content: center; } /* Butonlar tam genişlik */

    /* Ejderhayı mobil için küçült */
    .floating-dragon { max-width: 250px; margin: 0 auto; }

    /* STAKING KARTI - En önemli kısım */
    .staking-card { 
        padding: 15px !important; 
        margin: 10px;
        border-radius: 15px; 
    }
    
    .staking-grid { 
        display: flex; 
        flex-direction: column; 
        gap: 20px; 
    }

    /* İstatistik kutularını yan yana 2'li yapalım */
    .staking-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        text-align: center;
    }
    .stat-box { margin-bottom: 0; padding: 10px; background: rgba(255,255,255,0.02); border-radius: 10px; }
    .stat-box h3 { font-size: 1.2rem; }
    .stat-box:last-child { grid-column: span 2; } /* Total Staked tam genişlik */

    /* Giriş alanlarını düzenle */
    .input-group { padding: 5px; }
    .input-group input { font-size: 1rem; padding: 8px; }

    /* Ödül Paneli Mobilde Alt Alta gelmesin, şık dursun */
    .rewards-section {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center;
        padding: 15px;
    }
    .reward-info h4 { font-size: 1.1rem; }

    /* Yol haritası (Roadmap) Mobildeki çizgiyi ve noktaları düzelt */
    .roadmap-line { left: 15px; }
    .roadmap-step { padding-left: 45px !important; margin-bottom: 30px; }
    .step-dot { 
        left: -10px !important; 
        width: 35px; 
        height: 35px; 
        font-size: 0.9rem; 
    }
    .step-content { padding: 15px; }

    /* Header'ı basitleştir */
    .glass-header { width: 95%; top: 10px; padding: 8px 15px; }
    .logo span { font-size: 1rem; }
    .nav-button { padding: 8px 15px; font-size: 0.7rem; }
}

/* Küçük ekranlı telefonlar için (iPhone SE vb.) */
@media (max-width: 380px) {
    .hero-title { font-size: 1.8rem !important; }
    .stat-box h3 { font-size: 1rem; }
}