/* Base Variables & Setup */
:root {
    --bg-dark: #0a0b10;
    --bg-panel: rgba(20, 22, 30, 0.6);
    --accent-primary: #00ff88;
    /* Neon Green / Cricket field green vibe */
    --accent-secondary: #00b8ff;
    /* Cyber blue */
    --accent-gradient: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    --text-main: #f0f2f5;
    --text-muted: #8b92a5;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --csk-yellow: #fcca00;
    --mi-blue: #004ba0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    max-width: 100vw;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Background Effects */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.glow-bg,
.glow-bg-2,
.glow-bg-3 {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.glow-bg {
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.3) 0%, rgba(10, 11, 16, 0) 70%);
    animation: floatGlow 15s infinite alternate ease-in-out;
}

.glow-bg-2 {
    bottom: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(0, 184, 255, 0.25) 0%, rgba(10, 11, 16, 0) 70%);
    animation: floatGlow2 20s infinite alternate ease-in-out;
}

.glow-bg-3 {
    top: 40%;
    left: 30%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(171, 71, 188, 0.15) 0%, rgba(10, 11, 16, 0) 70%);
    animation: pulseGlow 8s infinite alternate ease-in-out;
}

@keyframes floatGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(5vw, 5vw) scale(1.1);
    }
}

@keyframes floatGlow2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-8vw, -3vw) scale(1.2);
    }
}

@keyframes pulseGlow {
    0% {
        transform: scale(0.8);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -3;
    /* Placed behind animations */
    pointer-events: none;
}

/* Payout Ticker */
.payout-ticker-container {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(0, 255, 136, 0.05);
    border-top: 1px solid rgba(0, 255, 136, 0.2);
    backdrop-filter: blur(10px);
    z-index: 999;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
}

.payout-ticker {
    display: inline-block;
    animation: tickerRoll 20s linear infinite;
}

.ticker-item {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 40px;
}

@keyframes tickerRoll {
    0% {
        transform: translateX(100vw);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Typography & Utilities */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gold-text {
    color: #ffd700;
}

.text-yellow {
    color: var(--csk-yellow);
}

.text-blue {
    color: var(--accent-secondary);
}

.text-red {
    color: #ff3366;
}

.small-caps {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.mt-2 {
    margin-top: 2rem;
}

.mt-4 {
    margin-top: 4rem;
}

.text-center {
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Reusable Components */
.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shimmer 3s infinite;
    z-index: -1;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.btn-primary:hover {
    box-shadow: 0 0 35px rgba(0, 255, 136, 0.7);
    transform: translateY(-3px) scale(1.02);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-main);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.navbar.scrolled {
    background: rgba(10, 11, 16, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 255, 136, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-main);
    letter-spacing: -1px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4.8rem;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    animation: textGlow 3s infinite alternate;
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
    }

    100% {
        text-shadow: 0 0 40px rgba(0, 255, 136, 0.4), 0 0 80px rgba(0, 184, 255, 0.2);
    }
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

/* Presale Status Card */
.presale-status-card {
    padding: 1.5rem;
    max-width: 450px;
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.live-ping {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    margin-left: 10px;
    box-shadow: 0 0 10px var(--accent-primary);
    animation: ping 1.5s infinite;
}

@keyframes ping {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 10px;
    box-shadow: 0 0 10px var(--accent-primary);
}

.countdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-block small {
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 400;
    text-transform: uppercase;
    margin-top: 4px;
}

/* Hero Visual (Floating Cards) */
.hero-visual {
    position: relative;
    height: 500px;
}

.floating-cards {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

.nft-card {
    position: absolute;
    width: 260px;
    height: 380px;
    padding: 15px;
    border-radius: 24px;
    transition: transform 0.5s ease;
}

.card-1 {
    top: 10%;
    right: 30%;
    transform: rotateY(-15deg) rotateX(10deg) translateZ(50px);
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    top: 20%;
    right: 10%;
    transform: rotateY(-15deg) rotateX(10deg) translateZ(-50px) scale(0.9);
    z-index: 1;
    opacity: 0.8;
    animation: float 8s ease-in-out infinite 1s;
}

.card-image {
    width: 100%;
    height: 250px;
    border-radius: 16px;
    margin-bottom: 1rem;
    background-size: cover;
    background-position: center;
}

.bg-yellow {
    background-image: url('assets/yellow_jersey.png');
}

.bg-blue {
    background-image: url('assets/blue_jersey.png');
}

.bg-red {
    background-image: url('assets/rcb_jersey.png');
}

.bg-purple {
    background-image: url('assets/kkr_jersey.png');
}

.bg-orange {
    background-image: url('assets/srh_jersey.png');
}

.card-details h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.yield-tag {
    font-size: 0.85rem;
    color: var(--accent-primary);
    font-weight: 600;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotateY(-15deg) rotateX(10deg);
    }

    50% {
        transform: translateY(-20px) rotateY(-10deg) rotateX(15deg);
    }

    100% {
        transform: translateY(0px) rotateY(-15deg) rotateX(10deg);
    }
}

/* Sections Base */
section {
    padding: 8rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step-card {
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.interactive {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.interactive:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
}

.highlight-border {
    border: 1px solid rgba(0, 255, 136, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.05);
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 6rem;
    font-family: var(--font-heading);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--text-muted);
}

/* Virality Features */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.feature-text ul {
    list-style-type: none;
}

.feature-text ul li {
    margin-bottom: 0.8rem;
    padding-left: 2rem;
    position: relative;
    color: var(--text-main);
}

.feature-text ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

.clash-visual {
    background: var(--bg-panel);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.vs-text {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Featured Teams Section */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    padding: 1rem;
    position: relative;
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.team-card .card-image {
    height: 220px;
    margin-bottom: 1rem;
    transform: translateZ(30px);
}

.yield-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--accent-gradient);
    color: var(--bg-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.4);
}

.team-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
}

.team-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Yield Calculator */
.calculator-panel {
    padding: 3rem;
}

.calc-controls label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    height: 8px;
    border-radius: 4px;
    outline: none;
    margin-bottom: 2rem;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-primary);
    cursor: pointer;
    box-shadow: 0 0 10px var(--accent-primary);
    transition: transform 0.1s;
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.custom-select {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

.custom-select:focus {
    border-color: var(--accent-primary);
}

.custom-select option {
    background: var(--bg-dark);
    color: #fff;
    padding: 10px;
}

.custom-select optgroup {
    background: var(--bg-panel);
    color: var(--accent-primary);
    font-weight: bold;
    font-style: normal;
}

.calc-results {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.huge-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-primary);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
    margin: 1rem 0;
}

.text-green {
    color: var(--accent-primary);
}

.roi-number {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 5px;
}

/* Match Simulator */
.sim-dashboard {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
}

.sim-teams {
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.sim-team .score {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
}

.sim-vs {
    font-size: 2rem;
    font-style: italic;
    color: var(--text-muted);
}

.sim-result {
    font-size: 1.5rem;
    font-weight: bold;
    min-height: 35px;
}

.wallet-balance {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: #ffd700;
    margin-top: 10px;
    transition: all 0.3s;
}

.wallet-balance.bump {
    transform: scale(1.3);
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
}

/* Roadmap Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background: rgba(0, 255, 136, 0.2);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 60px;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.timeline-item.active {
    opacity: 1;
    transform: translateX(0);
}

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--accent-primary);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.6);
    transition: all 0.4s ease;
}

.timeline-item.active .timeline-dot {
    background: var(--accent-primary);
    box-shadow: 0 0 20px rgba(0, 255, 136, 1);
}

.timeline-content {
    padding: 1.5rem 2rem;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
    color: var(--accent-primary);
}

/* Tokenomics */
.token-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.token-stats {
    padding: 2rem;
}

.stat-row {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.stat-row .label {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.stat-row .value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.allocation-chart {
    padding: 2.5rem;
}

.allocation-chart h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.allocation-item {
    margin-bottom: 1.5rem;
}

.bar-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.bar-bg {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 6px;
}

.color-1 {
    background: var(--accent-gradient);
}

.color-2 {
    background: #00b8ff;
}

.color-3 {
    background: #ab47bc;
}

.color-4 {
    background: #ff7043;
}

.color-5 {
    background: #8d6e63;
}

.tax-split span {
    margin: 0 10px;
    font-weight: bold;
}

/* Footer */
.footer {
    padding: 6rem 0 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(to top, rgba(0, 255, 136, 0.05), transparent);
}

.footer h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--text-main);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 2rem;
}

/* Animation Classes */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text {
        order: 2;
    }

    .hero-visual {
        order: 1;
        height: 350px;
    }

    .floating-cards {
        display: flex;
        justify-content: center;
    }

    .card-1 {
        right: auto;
        left: 50%;
        top: 20%;
        transform: translateX(-60%) rotateY(-10deg) rotateX(10deg);
    }

    .card-2 {
        right: auto;
        left: 50%;
        top: 30%;
        transform: translateX(20%) scale(0.9) rotateY(-10deg) rotateX(10deg);
    }

    .hero-cta-group {
        justify-content: center;
    }

    .presale-status-card {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .split-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .feature-text ul li {
        padding-left: 0;
        padding-top: 1.5rem;
    }

    .feature-text ul li::before {
        left: 50%;
        top: 0;
        transform: translateX(-50%);
    }

    .token-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Base Team Colors used in JS Generator */
.bg-yellow {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.4), rgba(255, 215, 0, 0.1));
    border: 2px solid rgba(255, 215, 0, 0.5);
}

.bg-blue {
    background: linear-gradient(135deg, rgba(0, 90, 156, 0.4), rgba(0, 90, 156, 0.1));
    border: 2px solid rgba(0, 90, 156, 0.5);
}

.bg-red {
    background: linear-gradient(135deg, rgba(213, 21, 44, 0.4), rgba(213, 21, 44, 0.1));
    border: 2px solid rgba(213, 21, 44, 0.5);
}

.bg-purple {
    background: linear-gradient(135deg, rgba(58, 34, 93, 0.4), rgba(58, 34, 93, 0.1));
    border: 2px solid rgba(58, 34, 93, 0.5);
}

.bg-orange {
    background: linear-gradient(135deg, rgba(242, 101, 34, 0.4), rgba(242, 101, 34, 0.1));
    border: 2px solid rgba(242, 101, 34, 0.5);
}

.bg-pink {
    background: linear-gradient(135deg, rgba(234, 26, 133, 0.4), rgba(234, 26, 133, 0.1));
    border: 2px solid rgba(234, 26, 133, 0.5);
}

.bg-blue-dark {
    background: linear-gradient(135deg, rgba(0, 0, 139, 0.4), rgba(0, 0, 139, 0.1));
    border: 2px solid rgba(0, 0, 139, 0.5);
}

.bg-navy {
    background: linear-gradient(135deg, rgba(27, 33, 51, 0.4), rgba(27, 33, 51, 0.1));
    border: 2px solid rgba(27, 33, 51, 0.5);
}

.bg-red-light {
    background: linear-gradient(135deg, rgba(237, 27, 36, 0.4), rgba(237, 27, 36, 0.1));
    border: 2px solid rgba(237, 27, 36, 0.5);
}

.bg-cyan {
    background: linear-gradient(135deg, rgba(0, 177, 225, 0.4), rgba(0, 177, 225, 0.1));
    border: 2px solid rgba(0, 177, 225, 0.5);
}

/* Team Filter Tabs */
.team-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--accent-primary);
    color: var(--bg-dark);
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(0, 255, 170, 0.5);
}

@media (max-width: 768px) {
    .team-filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
    }
}

/* Star Player Highlight */
.star-card {
    border: 2px solid #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4), inset 0 0 10px rgba(255, 215, 0, 0.1);
    position: relative;
    transform: scale(1.02);
}

.star-card::after {
    content: '★ STAR PLAYER';
    position: absolute;
    top: -12px;
    right: -10px;
    background: linear-gradient(135deg, #FFD700, #F2A900);
    color: #000;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.6);
    z-index: 5;
    animation: gold-pulse 2s infinite;
}

@keyframes gold-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(255, 215, 0, 0.5);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 20px rgba(255, 215, 0, 0.8);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(255, 215, 0, 0.5);
    }
}

/* Vesting Cards */
.vesting-card {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.text-sm {
    font-size: 0.9rem;
}

.text-main {
    color: var(--text-main);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 11, 16, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    width: 90%;
    max-width: 450px;
    padding: 2.5rem 2rem;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--text-main);
}

.modal-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.login-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

.social-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

.social-btn img {
    width: 20px;
    height: 20px;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0.5rem 0;
    font-weight: bold;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.divider span {
    padding: 0 10px;
}

.crypto-btn {
    background: rgba(0, 0, 0, 0.4);
    color: var(--text-main);
}

.crypto-btn.metamask-btn:hover {
    border-color: #f6851b;
    box-shadow: 0 0 15px rgba(246, 133, 27, 0.2);
}

.crypto-btn.walletconnect-btn:hover {
    border-color: #3b99fc;
    box-shadow: 0 0 15px rgba(59, 153, 252, 0.2);
}

.social-btn.google-btn:hover {
    border-color: #4285F4;
    box-shadow: 0 0 15px rgba(66, 133, 244, 0.2);
}

.text-muted {
    color: var(--text-muted);
}

/* Cap Badges (Oracle Managed) */
.cap-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    z-index: 10;
    white-space: nowrap;
    animation: gold-pulse 2s infinite;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.orange-cap {
    background: linear-gradient(135deg, #FF6600, #FF9933);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.purple-cap {
    background: linear-gradient(135deg, #660099, #9933CC);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.orange-cap-card {
    border: 3px solid #ff7d2a !important;
    box-shadow: 0 0 25px rgba(255, 102, 0, 0.5) !important;
}

.purple-cap-card {
    border: 3px solid #b757e6 !important;
    box-shadow: 0 0 25px rgba(102, 0, 153, 0.5) !important;
}

/* --- Mobile Responsiveness --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1000;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: 0.3s;
}

@media (max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr;
    }

    .hero-content h1.glitch,
    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: rgba(10, 11, 16, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        margin: 1.5rem 0;
        font-size: 1.2rem;
    }

    /* Transform hamburger to 'X' */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .cta-nav {
        display: none;
        /* Hide on small mobile header, could move into full-screen nav */
    }

    .nav-links.active .cta-nav {
        display: block;
        margin-top: 10px;
    }
}

@media (max-width: 600px) {

    .steps-grid,
    .teams-grid,
    .token-grid,
    .timeline {
        grid-template-columns: 1fr;
    }

    .team-filter-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
    }

    .filter-btn {
        flex-shrink: 0;
        padding: 0.5rem 1rem;
    }

    .hero-content h1.glitch,
    .hero h1 {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 1rem;
    }

    .btn-large {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .modal-content {
        padding: 2rem 1.5rem;
    }

    .clash-visual {
        flex-direction: column;
        gap: 1rem;
        padding: 2rem;
    }
}