/* style.css - advanced GameChain landing page */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0b0e17;
    color: #eef2fb;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    padding-bottom: 0;
}

#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.2;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* navbar */
.navbar {
    padding: 18px 0;
    position: sticky;
    top: 0;
    background: rgba(8, 10, 18, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #f5b34230;
    z-index: 100;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.6rem;
    font-weight: 700;
}

.logo h1 {
    font-weight: 800;
    background: linear-gradient(135deg, #fff 30%, #f5d742 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight {
    color: #f5b342;
    background: none;
    -webkit-text-fill-color: initial;
}

.live-price {
    background: #1e2338;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid #f5b34260;
    color: #f5d742;
}

.live-price i {
    margin-right: 6px;
}

.nav-menu ul {
    display: flex;
    gap: 28px;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    color: #d0d9ff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: #f5b342;
}

.btn-nav {
    background: rgba(245, 180, 66, 0.15);
    padding: 10px 24px;
    border-radius: 40px;
    border: 1px solid #f5b342;
    color: #f5b342 !important;
    font-weight: 600;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: #f5b342;
    cursor: pointer;
}

/* Mobile menu panel */
.mobile-menu-panel {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #0f1322;
    border-right: 1px solid #f5b34230;
    backdrop-filter: blur(16px);
    z-index: 200;
    padding: 80px 24px 40px;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0,0,0,0.5);
}

.mobile-menu-panel.active {
    left: 0;
}

.mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #f5b342;
    font-size: 1.8rem;
    cursor: pointer;
}

.mobile-menu-panel ul {
    list-style: none;
    margin-top: 30px;
}

.mobile-menu-panel li {
    margin-bottom: 20px;
}

.mobile-menu-panel a {
    color: #eef2fb;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #2d3450;
}

.mobile-menu-panel a.btn-nav-mobile {
    background: rgba(245, 180, 66, 0.15);
    border: 1px solid #f5b342;
    color: #f5b342;
    text-align: center;
    padding: 12px;
    border-radius: 40px;
    margin-top: 20px;
}

/* hero */
.hero {
    padding: 50px 0 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: rgba(245, 180, 66, 0.15);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #f5b34260;
    margin-bottom: 20px;
}

.hero-content h2 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, #f5d742, #f5a342);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.1rem;
    color: #b0c0f0;
    max-width: 500px;
    margin-bottom: 30px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.hero-stats div span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #f5d742;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.btn-primary, .btn-secondary {
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}

.btn-primary {
    background: linear-gradient(145deg, #f5b342, #f58a42);
    color: #0d0f1a;
    box-shadow: 0 8px 20px #f5b34240;
}

.btn-primary:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 28px #f5b34280;
}

.btn-secondary {
    background: transparent;
    border: 1.5px solid #f5b342;
    color: #f5b342;
}

.btn-secondary:hover {
    background: #f5b34210;
}

.tiny-note {
    color: #9aa9d0;
    font-size: 0.9rem;
}

.floating-ludo {
    display: flex;
    justify-content: center;
    animation: float 4s ease-in-out infinite;
}

.board-img {
    max-width: 380px;
    width: 100%;
    filter: drop-shadow(0 20px 30px #f5b34230);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* features */
.features {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-header p {
    color: #b2c2f0;
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(18, 22, 38, 0.7);
    border: 1px solid #2d3450;
    border-radius: 32px;
    padding: 36px 28px;
    transition: 0.25s ease;
    backdrop-filter: blur(4px);
}

.feature-card:hover {
    border-color: #f5b342;
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -10px #f5b34240;
}

.feature-icon {
    font-size: 2.5rem;
    color: #f5b342;
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: #c0cef5;
    font-size: 0.95rem;
}

/* withdrawals ticker */
.withdraw-feed {
    padding: 60px 0;
}

.ticker-container {
    background: #12182a;
    border-radius: 36px;
    padding: 28px;
    border: 1px solid #2d3450;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 30px -10px black;
}

.ticker-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    font-weight: 700;
    color: #f5b342;
    border-bottom: 1px solid #2d3450;
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.withdrawal-list {
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.withdrawal-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 10px 0;
    border-bottom: 1px dashed #2d3450;
    font-size: 0.95rem;
}

.withdrawal-item .amount {
    color: #f5d742;
    font-weight: 600;
}

.ticker-update-note {
    text-align: center;
    margin-top: 16px;
    color: #9aa9d0;
    font-size: 0.9rem;
}

/* leaderboard */
.leaderboard {
    padding: 60px 0;
    background: rgba(0,0,0,0.2);
}

.leaderboard-table-wrapper {
    overflow-x: auto;
    background: #12182a;
    border-radius: 36px;
    padding: 20px;
    border: 1px solid #2d3450;
    max-width: 900px;
    margin: 0 auto;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard-table th {
    text-align: left;
    padding: 16px 8px;
    color: #f5b342;
    border-bottom: 2px solid #f5b34230;
}

.leaderboard-table td {
    padding: 12px 8px;
    border-bottom: 1px solid #2d3450;
}

.leaderboard-table tr:last-child td {
    border-bottom: none;
}

/* steps */
.how-it-works {
    padding: 70px 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.step-item {
    text-align: center;
}

.step-num {
    width: 48px;
    height: 48px;
    background: #f5b342;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    color: #0d0f1a;
    margin: 0 auto 20px;
}

.step-icon {
    font-size: 2.5rem;
    color: #f5b342;
    margin-bottom: 16px;
}

.step-item h5 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.step-item p {
    color: #b0c0e0;
}

/* ========== DETAILED ECOSYSTEM STYLES ========== */
.ecosystem-detailed {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(2px);
}

.eco-block {
    background: rgba(18, 22, 38, 0.8);
    border: 1px solid #2d3450;
    border-radius: 32px;
    padding: 36px;
    margin-bottom: 40px;
    backdrop-filter: blur(4px);
}

.eco-block-icon {
    font-size: 2.5rem;
    color: #f5b342;
    margin-bottom: 20px;
    text-align: center;
}

.eco-block h4 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #f5b342;
}

.eco-block p {
    color: #c0cef5;
    margin-bottom: 20px;
    line-height: 1.7;
}

.eco-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.eco-card {
    background: rgba(18, 22, 38, 0.8);
    border: 1px solid #2d3450;
    border-radius: 28px;
    padding: 36px 24px;
    text-align: left;
    backdrop-filter: blur(4px);
    transition: 0.25s;
}

.eco-card:hover {
    border-color: #f5b342;
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -10px #f5b34240;
}

.eco-card i {
    font-size: 2.8rem;
    color: #f5b342;
    margin-bottom: 20px;
}

.eco-card h4 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.eco-card p {
    color: #c0cef5;
    font-size: 0.95rem;
    line-height: 1.6;
}

.eco-list {
    list-style: none;
    margin-top: 15px;
}

.eco-list li {
    margin-bottom: 10px;
    color: #c0cef5;
    display: flex;
    align-items: center;
    gap: 8px;
}

.eco-list i {
    font-size: 1rem;
    margin-bottom: 0;
    color: #f5b342;
}

.eco-list.columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.launch {
    text-align: center;
    border: 2px solid #f5b34260;
}

/* roadmap */
.roadmap {
    padding: 60px 0;
    background: rgba(10, 15, 28, 0.6);
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.roadmap-item {
    background: #12182a;
    border-radius: 24px;
    padding: 28px 20px;
    border: 1px solid #2d3450;
    text-align: center;
}

.roadmap-item h4 {
    color: #f5b342;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.roadmap-item ul {
    list-style: none;
}

.roadmap-item li {
    margin-bottom: 12px;
    color: #c0cef5;
    font-size: 0.95rem;
}

.roadmap-item i {
    color: #f5b342;
    margin-right: 6px;
}

/* tokenomics */
.tokenomics {
    padding: 80px 0;
}

.token-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.token-details .badge {
    margin-bottom: 20px;
}

.token-details h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.token-description {
    color: #b0c0e0;
    margin-bottom: 30px;
}

.token-list {
    list-style: none;
    margin-bottom: 30px;
}

.token-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.token-list i {
    color: #f5b342;
}

.token-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.token-card {
    background: linear-gradient(145deg, #1b1f31, #0f1220);
    border-radius: 48px;
    padding: 50px 30px;
    text-align: center;
    border: 1px solid #3d435e;
    box-shadow: 0 30px 30px #00000050;
}

.coin-graphic i {
    font-size: 5rem;
    color: #f5d742;
    filter: drop-shadow(0 0 15px gold);
}

.coin-name {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    margin: 15px 0 5px;
}

.price-tag {
    background: #2d334a;
    padding: 8px 16px;
    border-radius: 40px;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 8px;
}

.inr-peg {
    color: #f5b342;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.dex-badge {
    background: #1e2338;
    padding: 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #f5b342;
    border: 1px dashed #f5b34260;
}

/* faq */
.faq {
    padding: 60px 0;
    background: rgba(0, 0, 0, 0.2);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #12182a;
    border-radius: 28px;
    padding: 28px;
    border: 1px solid #2d3450;
}

.faq-q {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #f5b342;
}

.faq-q i {
    margin-right: 8px;
}

.faq-a {
    color: #c0cef5;
}

/* cta */
.download {
    padding: 60px 0 80px;
}

.cta-box {
    background: radial-gradient(circle at 70% 30%, #262d47, #121625);
    border-radius: 48px;
    padding: 56px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    border: 1px solid #f5b34230;
}

.cta-text h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.cta-text p {
    color: #b0c0e0;
    margin-bottom: 24px;
}

.store-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.store-btn {
    background: #2d334a;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
    border: 1px solid #4b5377;
}

.store-btn.web {
    background: #f5b342;
    color: #0d0f1a;
    font-weight: 600;
    border: none;
}

.store-btn:hover {
    background: #3d4569;
}

.cta-image img {
    max-width: 220px;
    border-radius: 40px;
    filter: drop-shadow(0 20px 30px #f5b34230);
}

/* footer */
.footer {
    background: #0a0c14;
    border-top: 1px solid #282e44;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.6rem;
    font-weight: 700;
}

.footer-logo span {
    color: #f5b342;
}

.footer-logo p {
    font-size: 0.9rem;
    color: #9aa5c5;
    margin-top: 10px;
}

.footer-links h6, .footer-social h6 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #d1daf5;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9aa5c5;
    text-decoration: none;
}

.footer-links a:hover {
    color: #f5b342;
}

.social-icons {
    display: flex;
    gap: 20px;
    font-size: 1.5rem;
}

.social-icons a {
    color: #9aa5c5;
    transition: 0.2s;
}

.social-icons a:hover {
    color: #f5b342;
}

.footer-bottom {
    text-align: center;
    color: #6a7299;
    font-size: 0.85rem;
    border-top: 1px solid #202536;
    padding-top: 20px;
}

/* ===== FIXED DOWNLOAD BUTTON ===== */
.fixed-download {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 16px;
    background: linear-gradient(to top, #0b0e17, transparent);
    pointer-events: none;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(145deg, #f5b342, #f58a42);
    color: #0d0f1a;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 14px 20px;
    border-radius: 60px;
    text-decoration: none;
    box-shadow: 0 4px 20px #f5b34280, 0 0 0 2px rgba(245,180,66,0.3);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    border: none;
    pointer-events: auto;
    transition: all 0.2s;
    animation: softPulse 2s infinite ease-in-out;
    position: relative;
}

.download-btn i {
    font-size: 1.3rem;
}

.download-btn:hover {
    transform: scale(1.02);
    background: linear-gradient(145deg, #f5c062, #f59a52);
    box-shadow: 0 6px 24px #f5b342;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: #0d0f1a;
    border-radius: 50%;
    display: inline-block;
    margin-left: 4px;
    animation: pulseDot 1.5s infinite;
}

@keyframes softPulse {
    0% { box-shadow: 0 4px 20px #f5b34280, 0 0 0 0 rgba(245,180,66,0.5); }
    50% { box-shadow: 0 4px 28px #f5b342, 0 0 0 6px rgba(245,180,66,0.2); }
    100% { box-shadow: 0 4px 20px #f5b34280, 0 0 0 0 rgba(245,180,66,0.5); }
}

@keyframes pulseDot {
    0% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); background: #ffffff; }
    100% { opacity: 0.6; transform: scale(1); }
}

/* ===== MOBILE FIXES ===== */
@media (max-width: 1000px) {
    .hero-grid, .token-flex, .footer-grid, .roadmap-grid {
        grid-template-columns: 1fr;
    }
    .steps, .faq-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h2 {
        font-size: 2.5rem;
    }
    .nav-menu {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .cta-box {
        flex-direction: column;
        text-align: center;
    }
    .store-buttons {
        justify-content: center;
    }
    .logo {
        font-size: 1.2rem;
    }
    .logo h1 {
        font-size: 1.4rem;
    }
    .live-price {
        display: none;
    }
    .fixed-download {
        display: block;
    }
    body {
        padding-bottom: 80px;
    }
    .download-btn {
        font-size: 1rem;
        padding: 12px 16px;
        max-width: 94%;
    }
    .eco-list.columns {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1001px) {
    .fixed-download {
        display: none;
    }
    .mobile-menu-panel {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }
    .hero-stats div span {
        font-size: 1.5rem;
    }
}