:root {
    --primary-color: #fca311;
    --secondary-color: #14213d;
    --text-color: #ffffff;
    --bg-overlay: rgba(0, 0, 0, 0.6);
    --glass-bg: rgba(20, 33, 61, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Fixed Background Container */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('JAX photo perfect.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

/* Global Overlay removed to show the original picture brightness */

/* Glassmorphism utility */
.glassmorphism {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 1000;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spark {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: #ffd700;
    border-radius: 50%;
    box-shadow: 0 0 6px 2px rgba(255, 215, 0, 0.8);
    opacity: 0;
    pointer-events: none;
    animation: sparkle 2s infinite ease-in-out;
}

.spark-1 {
    top: -2px;
    left: 8px;
    animation-delay: 0s;
}

.spark-2 {
    bottom: 2px;
    right: -2px;
    animation-delay: 0.7s;
}

.spark-3 {
    top: 15px;
    left: -4px;
    animation-delay: 1.4s;
}

@keyframes sparkle {
    0% { opacity: 0; transform: scale(0.3) translate(0, 0); }
    50% { opacity: 1; transform: scale(1.2) translate(1px, -1px); }
    100% { opacity: 0; transform: scale(0.3) translate(0, 0); }
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 700;
    transition: color 0.3s;
}

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

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
}

.social-icons-nav {
    display: flex;
    gap: 15px;
    align-items: center;
    margin: 0 15px;
}

.social-icons-nav a {
    color: var(--text-color);
    transition: color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
}

.social-icons-nav a:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.primary-btn {
    background: var(--primary-color);
    color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(252, 163, 17, 0.4);
}

.primary-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(252, 163, 17, 0.6);
}

.secondary-btn {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Layout */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 20px;
}

.section {
    margin: 80px 0;
    padding: 40px;
    text-align: center;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    text-align: center;
    padding: 60px 40px;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 0 5px #000;
    animation: heartbeat 1.5s infinite ease-in-out;
}

.highlight {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 0 0 5px #000;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Tokenomics */
.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.stat-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Roadmap */
.roadmap-list {
    list-style-type: none;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.roadmap-list li {
    padding: 20px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
}

/* How to Buy */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.step {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    position: relative;
}

.step-num {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 900;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 50px;
}

.disclaimer {
    font-size: 0.8rem;
    color: #ccc;
    max-width: 800px;
    margin: 20px auto 0;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.05); }
    30% { transform: scale(1); }
    45% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        padding: 10px;
    }
    
    .hamburger {
        display: block;
        order: 1; /* hamburger next to logo */
    }
    
    #connect-wallet {
        display: none; /* Hide connect wallet on very small screens, or we can keep it */
    }

    .social-icons-nav {
        display: none; /* Hide social icons in nav on mobile */
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        margin-top: 15px;
        gap: 15px;
    }
    
    .nav-links.active {
        display: flex;
    }

    .hero-content {
        padding: 40px 20px;
    }

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

    .hero-buttons {
        flex-direction: column;
    }
    
    .section {
        padding: 20px;
        margin: 40px 0;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .step {
        padding: 20px;
    }
}
