:root {
    --bg-dark: #0f1115;
    --bg-darker: #050608;
    --text-light: #f5f5f5;
    --accent: #7a4c2a; /* Brown */
    --brand: #ccff00; /* Neon Robinhood Green */
    --accent-glow: rgba(122, 76, 42, 0.4);
    --brand-glow: rgba(204, 255, 0, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Bangers', cursive;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    letter-spacing: 2px;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-darker);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-out;
}

.loading-content {
    text-align: center;
    width: 80%;
    max-width: 400px;
}

.loading-logo {
    width: 120px;
    height: auto;
    margin-bottom: 1.5rem;
    animation: bounce-pulse 2s infinite cubic-bezier(0.28, 0.84, 0.42, 1);
    filter: drop-shadow(0 0 20px var(--brand-glow));
}

@keyframes bounce-pulse {
    0%, 100% { transform: scale(1) translateY(0); filter: drop-shadow(0 0 20px var(--brand-glow)); }
    50% { transform: scale(1.1) translateY(-10px); filter: drop-shadow(0 0 40px var(--brand-glow)); }
}

.logo-pulse {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--brand);
}

.accent {
    color: var(--accent);
}

.loading-bar-wrapper {
    width: 100%;
    height: 6px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.loading-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    transition: width 0.1s linear;
    box-shadow: 0 0 15px var(--accent);
    position: relative;
}

.loading-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
}

/* Scroll Progress Bar */
.progress-bar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 1000;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    width: 0%;
    box-shadow: 0 0 10px var(--accent-glow);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    top: 20px;
    width: 90%;
    max-width: 1200px;
    padding: 0.8rem 1.5rem;
    background: var(--brand);
    border: 4px solid var(--bg-darker);
    border-radius: 50px;
    box-shadow: 4px 4px 0px var(--bg-darker);
}

.navbar.hidden {
    transform: translate(-50%, -150%);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo-img {
    height: 40px;
    width: auto;
}

.nav-logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    letter-spacing: 2px;
}

.nav-logo-brand {
    color: var(--brand);
}

.nav-logo-accent {
    color: var(--text-light);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.navbar.scrolled .nav-links a {
    color: var(--bg-darker);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--brand);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-socials {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* CA Container */
.ca-container {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.4);
    border: 3px solid var(--bg-darker);
    padding: 10px 15px;
    border-radius: 12px;
    margin: 15px 0 25px 0;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    box-shadow: 2px 2px 0px var(--bg-darker);
}

.ca-container:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: var(--brand);
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0px var(--brand);
}

.ca-label {
    font-weight: 800;
    color: var(--brand);
}

.ca-text {
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--text-light);
    word-break: break-all;
}

.copy-icon {
    color: var(--text-light);
    transition: color 0.2s ease;
}

.ca-container:hover .copy-icon {
    color: var(--brand);
}

.copy-tooltip {
    position: absolute;
    top: -35px;
    right: 0;
    background: var(--brand);
    color: var(--bg-darker);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 800;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    box-shadow: 2px 2px 0px var(--bg-darker);
    border: 2px solid var(--bg-darker);
}

/* Buttons */
[class*="btn-"] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    background: var(--accent);
    color: #ffffff;
    border-radius: 50px;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    position: relative;
    border: 3px solid var(--bg-darker);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 2px 2px 0px var(--bg-darker);
}

[class*="btn-"]::before {
    display: none;
}

[class*="btn-"]:hover {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0px var(--bg-darker);
    border-color: var(--bg-darker);
    color: #ffffff;
}

.btn-primary-small {
    padding: 0.6rem 1.2rem;
    font-size: 1.1rem;
}

.btn-primary {
    padding: 1rem 2rem;
    font-size: 1.3rem;
}

.btn-icon {
    padding: 0.6rem 1.2rem;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

.bounce-btn {
    animation: bounce 2s infinite;
}

/* Canvas Background */
#scroll-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    object-fit: cover;
    opacity: 0.6; /* Dim canvas to make text readable */
}

/* Content Container */
.content-container {
    position: relative;
    z-index: 1;
}

.scroll-section {
    min-height: 100vh;
    padding: 0 5%;
    position: relative;
}

#hero-spacer {
    height: 150vh; /* Scrubbing height */
}

.hero-overlay {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scroll-indicator-wrapper {
    position: absolute;
    bottom: 5vh;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: pulse 2s infinite;
    color: var(--accent);
    font-family: var(--font-heading);
    letter-spacing: 2px;
    font-size: 1.2rem;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-light);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--brand);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-mouse 1.5s infinite;
}

@keyframes scroll-mouse {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

.content-section {
    padding: 100px 5%;
}

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

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

.section-header h2 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-header p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
}

/* Glass Cards & 3D Effects -> Now Comic Style Cards */
.glass-card {
    background: #ffffff;
    color: var(--bg-darker);
    border: 4px solid var(--bg-darker);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 2px 2px 0px var(--bg-darker);
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out, box-shadow 0.3s ease;
}

.glass-card:hover {
    box-shadow: 3px 3px 0px var(--brand);
    transform: translate(-1px, -1px);
}

.glass-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.glass-card h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.glass-card h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.glass-card p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--bg-darker);
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 152, 116, 0.1);
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.3rem !important;
    font-weight: 300;
    margin-bottom: 2.5rem !important;
}

.left-align { margin-right: auto; max-width: 600px; }
.center-align { margin: 0 auto; text-align: center; }

/* Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 56px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--brand), var(--accent));
    opacity: 0.5;
}

.timeline-item {
    display: flex;
    padding: 2.5rem;
    position: relative;
    gap: 2rem;
}

.timeline-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--bg-dark);
    border: 2px solid var(--brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--brand);
    position: relative;
    z-index: 2;
    box-shadow: 0 0 20px var(--brand-glow);
    margin-left: -14px; /* Gives good breathing room from the edge, while aligning with the line */
}

.timeline-content h3 {
    font-size: 2rem;
    color: var(--bg-darker);
    margin-bottom: 1rem;
}

.timeline-content ul {
    margin: 1rem 0 1rem 2rem;
    color: var(--bg-darker);
}

.timeline-content li {
    margin-bottom: 0.5rem;
}

.note {
    font-style: italic;
    color: var(--accent) !important;
    font-size: 1rem !important;
}

/* Tokenomics Grid */
.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tokenomics-card {
    text-align: center;
    padding: 3rem 2rem;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--brand);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 0px var(--bg-darker);
    -webkit-text-stroke: 1px var(--bg-darker);
}

.stat-label {
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: var(--bg-darker);
}

/* Footer */
.footer {
    padding: 2rem 5%;
    margin-bottom: 2rem;
}

.footer .nav-logo-brand {
    color: var(--brand);
    text-shadow: 2px 2px 0px var(--bg-darker);
    -webkit-text-stroke: 1px var(--bg-darker);
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem 3rem;
    border-radius: 20px;
}

.footer-left {
    max-width: 100%;
}

.disclaimer {
    font-size: 0.85rem !important;
    color: #888 !important;
    margin-top: 1rem;
    margin-bottom: 0 !important;
}

.credit-link {
    color: var(--bg-darker);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.credit-link:hover {
    color: var(--accent);
}

/* Animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-7px); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Mobile Burger */
.mobile-burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-burger .burger-line {
    width: 100%;
    height: 4px;
    background-color: var(--text-light);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.navbar.scrolled .mobile-burger .burger-line {
    background-color: var(--bg-darker);
}

.mobile-burger.open .burger-line {
    background-color: var(--text-light);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100vw;
    height: 100vh;
    background: var(--bg-darker);
    border-left: 8px solid var(--brand);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    right: 0;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
    margin-bottom: 2rem;
}

.mobile-nav-links li {
    margin: 1.5rem 0;
}

.mobile-nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 3rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

.mobile-nav-links a:hover,
.mobile-nav-links a:active {
    color: var(--brand);
}

.mobile-socials {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* Mobile Adjustments */
@media (max-width: 992px) {
    .nav-right { display: none; }
    .navbar { justify-content: space-between; }
    .mobile-burger { display: flex; }
    
    .navbar .nav-logo-brand, .mobile-menu .nav-logo-brand { 
        color: var(--text-light); 
        text-shadow: 2px 2px 0px var(--bg-darker);
        -webkit-text-stroke: 1px var(--bg-darker);
    }
    .footer .nav-logo-brand { 
        color: var(--brand); 
        text-shadow: 2px 2px 0px var(--bg-darker);
        -webkit-text-stroke: 1px var(--bg-darker);
    }
    
    .initial-hero-card { margin-top: 150vh; }
    
    .glass-card h1 { font-size: 3.5rem; }
    .glass-card h2 { font-size: 2.5rem; }
    
    .timeline::before { left: 53px; }
    .timeline-number { width: 50px; height: 50px; font-size: 1.5rem; margin-left: 0; }
    .timeline-item { padding: 1.5rem; flex-direction: column; gap: 1rem; }
    
    .footer-content { flex-direction: column; gap: 2rem; text-align: center; }
    .footer-left { max-width: 100%; }
    
    .credit-link, .disclaimer { color: var(--bg-darker) !important; }
}
