/* Variables */
:root {
    --sf-font: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --primary-green: #509624;
    --secondary-green: #7ec850;
    --background: #121212;
    --text-primary: #ffffff;
    --text-secondary: #ffffff;
    --card-background: rgba(255, 255, 255, 0.05);
    --nav-blur: rgba(255, 255, 255, 0.8);
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --border-radius: 12px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--sf-font);
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    color: var(--text-primary);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 0px; /* For notification banner */
}

body.loading {
    overflow: hidden;
}

.container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Notification Banner */
.notification-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #509624, #7ec850);
    color: white;
    text-align: center;
    padding: 12px;
    font-weight: 500;
    z-index: 2000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Navigation */
.nav-blur {
    background: rgba(251, 251, 253, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease, top 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    max-width: 1024px;
    margin: 0 auto;
    color: black;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    height: 36px;
}

.logo img {
    margin-right: 0.5em;
    width: 1em;
    height: 1em;
}

.logo h1 {
    font-size: 1.25rem;
    font-weight: 600;
    color: black;
}

.star-of-david {
    color: var(--primary-green);
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-link {
    text-decoration: none;
    color: black;
    font-weight: 500;
    transition: color 0.2s ease;
    font-size: 0.9rem;
    padding: 8px 12px;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    color: var(--primary-green);
}

.nav-link-button {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-green);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    height: 36px;
    margin-left: 4px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1E3B11, var(--primary-green));
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: var(--spacing-sm);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

/* Token Metrics */
.token-metrics {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin: var(--spacing-lg) 0;
}

.metric-card {
    background: rgba(0, 0, 0, 0.2);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-card:hover {
    transform: translateY(-5px);
}

/* CTA Buttons */
.cta-group {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
}

.button-primary, .button-secondary {
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 980px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    font-size: 1.1rem;
}

.button-primary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.button-secondary {
    background: rgba(0, 0, 0, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Chart Section */
.chart-section {
    padding: var(--spacing-xl) 0;
    background: #1a1a1a;
}


.phase-label {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--primary-green);
    color: white;
    border-radius: 980px;
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
}

.roadmap-card h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.roadmap-card ul {
    list-style: none;
}

.roadmap-card ul li {
    margin-bottom: var(--spacing-xs);
    padding-left: var(--spacing-md);
    position: relative;
    color: var(--text-secondary);
}

.roadmap-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-green);
}

/* Footer */
footer {
    background: #1a1a1a;
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: var(--primary-green);
}

/* Gallery Section */
.gallery-section {
    padding: var(--spacing-xl) 0;
    background: var(--background);
}

.gallery-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1024px;
    margin: 0 auto;
}

.gallery-card {
    background: var(--card-background);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-card:hover {
    transform: translateY(-5px);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1E3B11, var(--primary-green));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.splash-content {
    text-align: center;
    color: white;
    animation: splashFadeIn 0.8s ease forwards;
}

.splash-star {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: starSpin 1.5s ease-out;
}

.splash-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: titleSlideUp 0.5s ease forwards 0.3s;
}

.splash-subtitle {
    font-size: 1.2rem;
    opacity: 0;
    animation: titleSlideUp 0.5s ease forwards 0.5s;
}

.splash-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Steps Cards */
.step-card {
    background: var(--card-background);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 50px;
}

/* Animations */
@keyframes splashFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes starSpin {
    0% {
        transform: scale(0) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(180deg);
    }
    100% {
        transform: scale(1) rotate(360deg);
    }
}

@keyframes titleSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .token-metrics {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .cta-group {
        flex-direction: column;
    }

    .nav-container {
        padding: var(--spacing-sm);
    }

    .nav-links {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

.footer-disclaimer {
    margin-top: var(--spacing-md);
    color: var(--text-secondary);
    opacity: 0.7;
}

.roadmap-grid {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.roadmap-card {
    background: var(--card-background);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex: 1;
    min-width: 0; /* Prevents flex items from overflowing */
}

.roadmap-card h3 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.roadmap-card p {
    color: var(--text-secondary);
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .roadmap-grid {
        flex-direction: column;
    }
    
    .roadmap-card {
        margin-bottom: 2rem;
    }
}

/* Optional: Add some hover effects */
.roadmap-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}