/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00d4ff;
    --primary-dark: #0099cc;
    --secondary: #ff3366;
    --accent: #ffff00;
    --neon-blue: #00ffff;
    --neon-pink: #ff00ff;
    --neon-green: #00ff88;
    --dark: #0a0a1a;
    --dark-blue: #001a33;
    --light: #f8f9fa;
    --gradient: linear-gradient(135deg, #00d4ff 0%, #0099cc 50%, #006699 100%);
    --gradient-rainbow: linear-gradient(135deg, #00d4ff 0%, #ff00ff 50%, #00ffff 100%);
    --gradient-alt: linear-gradient(135deg, #ff3366 0%, #ff6699 100%);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-neon: 0 0 20px rgba(0, 212, 255, 0.6);
}

body.ocean-mode {
    --primary: #00ffff;
    --neon-blue: #00d4ff;
    background: linear-gradient(180deg, #001a33 0%, #003366 100%);
    animation: oceanPulse 3s ease-in-out infinite;
}

@keyframes oceanPulse {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(20deg); }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: hidden; /* Prevent scrolling during load */
}

body.loaded {
    overflow-y: auto;
}

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

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-blue) 100%);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.loading-fish {
    font-size: 5rem;
    animation: swim 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px var(--neon-blue));
}

.loading-dory-icon {
    width: 150px;
    height: 150px;
    filter: drop-shadow(0 0 30px var(--neon-blue)) drop-shadow(0 0 60px rgba(0, 212, 255, 0.5));
}

@keyframes swim {
    0%, 100% {
        transform: translateX(-20px) rotate(-5deg);
    }
    50% {
        transform: translateX(20px) rotate(5deg);
    }
}

.loading-content h2 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
    font-family: 'Share Tech Mono', monospace;
}

.progress-bar {
    width: 400px;
    max-width: 90vw;
    height: 30px;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid var(--primary);
    border-radius: 15px;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.progress-fill {
    height: 100%;
    background: var(--gradient-rainbow);
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
    animation: shimmer 2s infinite;
    position: relative;
    z-index: 1;
}

@keyframes shimmer {
    0% { filter: brightness(1); }
    50% { filter: brightness(1.5); }
    100% { filter: brightness(1); }
}

.progress-percent {
    font-size: 2rem;
    font-weight: 900;
    margin-top: 1rem;
    color: var(--neon-blue);
    text-shadow: 0 0 20px var(--neon-blue);
    font-family: 'Share Tech Mono', monospace;
}

.loading-status {
    margin-top: 2rem;
    font-family: 'Share Tech Mono', monospace;
    color: var(--accent);
    min-height: 30px;
}

.loading-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 200%;
    height: 100px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
    animation: wave 3s linear infinite;
}

.wave:nth-child(2) {
    animation-delay: 1s;
    opacity: 0.7;
}

.wave:nth-child(3) {
    animation-delay: 2s;
    opacity: 0.5;
}

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

/* Glitch Effect */
.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    left: 2px;
    text-shadow: -2px 0 var(--neon-pink);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: -2px 0 var(--neon-blue);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(10px, 9999px, 31px, 0); }
    5% { clip: rect(70px, 9999px, 71px, 0); }
    10% { clip: rect(40px, 9999px, 65px, 0); }
    15% { clip: rect(25px, 9999px, 60px, 0); }
    20% { clip: rect(85px, 9999px, 15px, 0); }
    25% { clip: rect(15px, 9999px, 90px, 0); }
    30% { clip: rect(50px, 9999px, 55px, 0); }
    35% { clip: rect(5px, 9999px, 100px, 0); }
    40% { clip: rect(95px, 9999px, 5px, 0); }
    45% { clip: rect(30px, 9999px, 75px, 0); }
    50% { clip: rect(60px, 9999px, 35px, 0); }
    55% { clip: rect(80px, 9999px, 20px, 0); }
    60% { clip: rect(20px, 9999px, 80px, 0); }
    65% { clip: rect(45px, 9999px, 50px, 0); }
    70% { clip: rect(75px, 9999px, 25px, 0); }
    75% { clip: rect(35px, 9999px, 70px, 0); }
    80% { clip: rect(65px, 9999px, 40px, 0); }
    85% { clip: rect(90px, 9999px, 10px, 0); }
    90% { clip: rect(10px, 9999px, 95px, 0); }
    95% { clip: rect(55px, 9999px, 45px, 0); }
    100% { clip: rect(72px, 9999px, 28px, 0); }
}

/* Wave Text Effect */
.wave-text {
    display: inline-block;
}

.wave-text::first-letter {
    animation: wave-letter 2s ease-in-out infinite;
}

@keyframes wave-letter {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Pulse Effect */
.pulse {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 10px var(--secondary), 0 0 20px var(--secondary);
    }
    50% {
        box-shadow: 0 0 20px var(--secondary), 0 0 40px var(--secondary);
    }
}

/* Typewriter Effect */
.typewriter {
    display: inline-block;
    overflow: hidden;
    border-right: 3px solid var(--accent);
    white-space: nowrap;
    animation: typing 3s steps(30) 1s 1 normal both, blink 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: var(--accent); }
}

/* Navigation */
.nav-extras {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ocean-mode-btn {
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Share Tech Mono', monospace;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.ocean-mode-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    transform: scale(1.05);
}

.ocean-mode-btn.active {
    background: var(--gradient-rainbow);
    color: white;
    animation: rainbow 3s linear infinite;
}

@keyframes rainbow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.ocean-mode-indicator {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid var(--neon-blue);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ocean-mode-indicator.show {
    opacity: 1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 17, 40, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.logo-icon {
    width: 50px;
    height: 50px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 10px var(--neon-blue));
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: scale(1.2) rotate(15deg);
}

.logo-text-container {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 2px;
    margin-top: -5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

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

.nav-link.cta-nav {
    background: var(--gradient);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-link.cta-nav::after {
    display: none;
}

.nav-link.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 168, 232, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--light);
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 0 60px;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-blue) 100%);
    overflow: hidden;
}

.bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
}

.bubble {
    position: absolute;
    bottom: -100px;
    background: radial-gradient(circle, rgba(0, 168, 232, 0.2) 0%, rgba(0, 168, 232, 0.05) 70%);
    border-radius: 50%;
    opacity: 0.5;
    animation: rise 15s infinite ease-in;
}

.bubble:nth-child(1) {
    width: 40px;
    height: 40px;
    left: 10%;
    animation-duration: 8s;
    animation-delay: 0s;
}

.bubble:nth-child(2) {
    width: 60px;
    height: 60px;
    left: 20%;
    animation-duration: 10s;
    animation-delay: 2s;
}

.bubble:nth-child(3) {
    width: 30px;
    height: 30px;
    left: 40%;
    animation-duration: 12s;
    animation-delay: 4s;
}

.bubble:nth-child(4) {
    width: 50px;
    height: 50px;
    left: 60%;
    animation-duration: 14s;
    animation-delay: 1s;
}

.bubble:nth-child(5) {
    width: 45px;
    height: 45px;
    left: 80%;
    animation-duration: 9s;
    animation-delay: 3s;
}

.bubble:nth-child(6) {
    width: 35px;
    height: 35px;
    left: 90%;
    animation-duration: 11s;
    animation-delay: 5s;
}

@keyframes rise {
    0% {
        bottom: -100px;
        transform: translateX(0);
    }
    50% {
        transform: translateX(100px);
    }
    100% {
        bottom: 1080px;
        transform: translateX(-100px);
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 107, 53, 0.2);
    color: var(--secondary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 2px solid var(--secondary);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
}

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

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(248, 249, 250, 0.8);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 168, 232, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 168, 232, 0.4);
}

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

.btn-secondary:hover {
    background: rgba(0, 168, 232, 0.1);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

.contract-address {
    margin-top: 2rem;
}

.contract-label {
    font-size: 0.9rem;
    color: rgba(248, 249, 250, 0.6);
    margin-bottom: 0.5rem;
}

.contract-box {
    display: flex;
    align-items: center;
    background: rgba(0, 168, 232, 0.1);
    border: 2px solid var(--primary);
    border-radius: 10px;
    padding: 1rem;
    gap: 1rem;
}

.contract-text {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    word-break: break-all;
    color: var(--light);
}

.copy-btn {
    background: var(--gradient);
    border: none;
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    transform: scale(1.1);
}

.copy-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--gradient);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10000;
}

.copy-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(0, 212, 255, 0.2);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.stat-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 10px var(--neon-blue));
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--neon-blue);
    text-shadow: 0 0 20px var(--neon-blue);
    font-family: 'Share Tech Mono', monospace;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(248, 249, 250, 0.6);
    text-transform: uppercase;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

/* Section Divider */
.section-divider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
    background: var(--dark);
    overflow: hidden;
}

.divider-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--neon-blue) 20%, var(--neon-blue) 80%, transparent 100%);
    box-shadow: 0 0 10px var(--neon-blue);
}

.divider-dory {
    position: relative;
    width: 80px;
    height: 80px;
    z-index: 2;
    background: var(--dark);
    border-radius: 50%;
    padding: 10px;
    animation: float 4s ease-in-out infinite, glow 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px var(--neon-blue));
}

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 20px var(--neon-blue));
    }
    50% {
        filter: drop-shadow(0 0 40px var(--neon-blue)) drop-shadow(0 0 60px rgba(0, 212, 255, 0.6));
    }
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--dark);
}

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

.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(248, 249, 250, 0.7);
}

.about-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 17, 40, 0.8) 100%);
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-card {
    background: rgba(0, 168, 232, 0.05);
    border: 2px solid rgba(0, 168, 232, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.about-card:hover {
    background: rgba(0, 168, 232, 0.1);
    border-color: var(--primary);
    transform: translateX(10px);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.about-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.about-card p {
    color: rgba(248, 249, 250, 0.8);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(0, 168, 232, 0.1) 0%, rgba(0, 52, 89, 0.1) 100%);
    border: 2px solid rgba(0, 168, 232, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 168, 232, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(248, 249, 250, 0.7);
    font-weight: 600;
}

/* Game Section */
.game-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--dark-blue) 0%, var(--dark) 100%);
    position: relative;
    overflow: hidden;
}

.game-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 0, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.game-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.game-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.game-info p {
    margin-bottom: 1.5rem;
    color: rgba(248, 249, 250, 0.8);
    line-height: 1.8;
}

.game-controls {
    background: rgba(0, 212, 255, 0.05);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.game-controls p {
    margin-bottom: 1rem;
    font-family: 'Share Tech Mono', monospace;
}

.high-score {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent);
}

.game-canvas-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

#gameCanvas {
    border: 3px solid var(--neon-blue);
    border-radius: 15px;
    background: linear-gradient(180deg, #001a33 0%, #000d1a 100%);
    box-shadow: 
        0 0 30px rgba(0, 212, 255, 0.5),
        inset 0 0 50px rgba(0, 0, 0, 0.5);
    max-width: 100%;
    height: auto;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    transition: opacity 0.3s ease;
}

.game-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

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

.game-ready h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--neon-blue);
    text-shadow: 0 0 20px var(--neon-blue);
}

.score-display {
    font-size: 1.5rem;
    margin-top: 1rem;
    font-family: 'Share Tech Mono', monospace;
    color: var(--accent);
}

/* Comic Section */
.comic-section {
    padding: 100px 0;
    background: var(--dark);
}

.comic-book {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.comic-page {
    display: none;
    opacity: 0;
    transform: rotateY(90deg);
    transition: all 0.5s ease;
}

.comic-page.active {
    display: block;
    opacity: 1;
    transform: rotateY(0deg);
    animation: flipIn 0.5s ease;
}

@keyframes flipIn {
    from {
        transform: rotateY(90deg);
        opacity: 0;
    }
    to {
        transform: rotateY(0deg);
        opacity: 1;
    }
}

.comic-panel {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 52, 89, 0.1) 100%);
    border: 3px solid var(--neon-blue);
    border-radius: 20px;
    padding: 3rem;
    min-height: 400px;
    position: relative;
    box-shadow: 
        0 0 40px rgba(0, 212, 255, 0.3),
        inset 0 0 50px rgba(0, 0, 0, 0.3);
}

.panel-content h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--accent);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.panel-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(248, 249, 250, 0.9);
}

.comic-image {
    font-size: 5rem;
    text-align: center;
    margin: 2rem 0;
    filter: drop-shadow(0 0 20px var(--neon-blue));
    animation: float 3s ease-in-out infinite;
}

.comic-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.comic-btn {
    background: var(--gradient);
    border: none;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Share Tech Mono', monospace;
}

.comic-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
}

.comic-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.page-indicator {
    display: flex;
    gap: 0.5rem;
}

.page-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-dot.active {
    background: var(--neon-blue);
    box-shadow: 0 0 15px var(--neon-blue);
    transform: scale(1.3);
}

/* Live Ticker */
.live-ticker {
    background: rgba(0, 212, 255, 0.1);
    border-top: 2px solid var(--neon-blue);
    border-bottom: 2px solid var(--neon-blue);
    padding: 1rem 0;
    overflow: hidden;
    position: relative;
}

.ticker-content {
    display: flex;
    gap: 3rem;
    animation: scroll-ticker 30s linear infinite;
    white-space: nowrap;
}

.ticker-content span {
    font-family: 'Share Tech Mono', monospace;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

@keyframes scroll-ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Clone ticker content for seamless loop */
.ticker-content::after {
    content: '🐟 $DORY LIVE UPDATES 💎 DIAMOND FINS ONLY 📈 JUST KEEP SWIMMING 🚀 NEXT STOP: MOON 🔥 BURRY APPROVED 💰 WAGMI 🌊 MAKING WAVES ⚡ LFG';
    margin-left: 3rem;
}

/* Tokenomics Section */
.tokenomics {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-blue) 100%);
}

.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.tokenomics-card {
    background: rgba(0, 168, 232, 0.05);
    border: 2px solid rgba(0, 168, 232, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.tokenomics-card:hover {
    background: rgba(0, 168, 232, 0.1);
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 168, 232, 0.3);
}

.tokenomics-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tokenomics-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.tokenomics-value {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.tokenomics-desc {
    font-size: 0.9rem;
    color: rgba(248, 249, 250, 0.7);
}

.tokenomics-chart {
    background: rgba(0, 168, 232, 0.05);
    border: 2px solid rgba(0, 168, 232, 0.2);
    border-radius: 20px;
    padding: 3rem;
}

.tokenomics-chart h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.chart-bars {
    margin-bottom: 2rem;
}

.chart-bar {
    margin-bottom: 1.5rem;
}

.bar-fill {
    height: 60px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    margin-bottom: 0.5rem;
    animation: fillBar 2s ease-out;
}

@keyframes fillBar {
    from {
        width: 0 !important;
    }
}

.bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: rgba(248, 249, 250, 0.8);
}

.chart-note {
    text-align: center;
    color: rgba(248, 249, 250, 0.6);
    font-style: italic;
}

/* How to Buy Section */
.how-to-buy {
    padding: 100px 0;
    background: var(--dark);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-card {
    background: rgba(0, 168, 232, 0.05);
    border: 2px solid rgba(0, 168, 232, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    background: rgba(0, 168, 232, 0.1);
    border-color: var(--primary);
    transform: translateY(-10px);
}

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

.step-icon {
    font-size: 3rem;
    margin: 1rem 0;
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.step-card p {
    color: rgba(248, 249, 250, 0.8);
}

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

/* Roadmap Section */
.roadmap {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--dark-blue) 0%, var(--dark) 100%);
}

.roadmap-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary) 0%, rgba(0, 168, 232, 0.2) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    padding-left: 50%;
    padding-left: calc(50% + 50px);
}

.timeline-item:nth-child(even) {
    padding-left: 0;
    padding-right: calc(50% + 50px);
    text-align: right;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--dark);
    border: 4px solid rgba(0, 168, 232, 0.3);
    border-radius: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.timeline-item.completed .timeline-marker {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 168, 232, 0.5);
}

.timeline-item.active .timeline-marker {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(255, 210, 63, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) scale(1.2);
    }
}

.timeline-content {
    background: rgba(0, 168, 232, 0.05);
    border: 2px solid rgba(0, 168, 232, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.timeline-item.completed .timeline-content {
    border-color: var(--primary);
    background: rgba(0, 168, 232, 0.1);
}

.timeline-item.active .timeline-content {
    border-color: var(--accent);
    background: rgba(255, 210, 63, 0.05);
}

.timeline-content:hover {
    transform: scale(1.05);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.timeline-content ul {
    list-style: none;
}

.timeline-content li {
    padding: 0.5rem 0;
    color: rgba(248, 249, 250, 0.8);
}

/* Memes Section */
.memes {
    padding: 100px 0;
    background: var(--dark);
}

.memes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 1024px) {
    .memes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.meme-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    cursor: pointer;
}

.meme-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 20px 40px rgba(0, 168, 232, 0.3);
}

.meme-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.meme-card:hover img {
    transform: scale(1.1);
}

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

.meme-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(248, 249, 250, 0.8);
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(0, 168, 232, 0.1);
    border: 2px solid var(--primary);
    border-radius: 50px;
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--gradient);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 168, 232, 0.3);
}

/* Footer */
.footer {
    background: var(--dark-blue);
    padding: 4rem 0 2rem;
    border-top: 2px solid rgba(0, 168, 232, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo .logo {
    margin-bottom: 1rem;
}

.footer-tagline {
    color: rgba(248, 249, 250, 0.6);
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: rgba(248, 249, 250, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 168, 232, 0.1);
}

.footer-bottom p {
    color: rgba(248, 249, 250, 0.5);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 0.8rem !important;
    font-style: italic;
}

.developer-credit {
    margin-top: 1rem;
    font-size: 0.9rem !important;
    color: rgba(248, 249, 250, 0.6);
}

.developer-credit a {
    color: var(--neon-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.developer-credit a:hover {
    color: var(--primary);
    text-shadow: 0 0 10px var(--neon-blue);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container,
    .about-content,
    .game-container {
        grid-template-columns: 1fr;
    }

    .hero-image {
        order: -1;
    }

    .hero-stats {
        justify-content: space-around;
    }

    .stats-grid,
    .tokenomics-grid,
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-extras {
        display: none;
    }

    .game-canvas-wrapper {
        margin-top: 2rem;
    }

    #gameCanvas {
        width: 100%;
        height: auto;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 50px;
        padding-right: 0;
        text-align: left;
    }

    .roadmap-timeline::before {
        left: 0;
    }

    .timeline-marker {
        left: 0;
        transform: translateX(0);
    }

    .timeline-item.active .timeline-marker,
    .timeline-item.completed .timeline-marker {
        transform: translateX(0) scale(1);
    }

    .timeline-item.active .timeline-marker {
        animation: pulseLeft 2s infinite;
    }

    @keyframes pulseLeft {
        0%, 100% {
            transform: translateX(0) scale(1);
        }
        50% {
            transform: translateX(0) scale(1.2);
        }
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 26, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 3rem;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

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

    .typewriter {
        animation: none;
        border-right: none;
        white-space: normal;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stats-grid,
    .tokenomics-grid,
    .steps-grid,
    .memes-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .contract-text {
        font-size: 0.7rem;
    }

    .progress-bar {
        width: 90vw;
    }

    .loading-content h2 {
        font-size: 1.5rem;
    }

    .comic-panel {
        padding: 2rem;
        min-height: 350px;
    }

    .panel-content h3 {
        font-size: 1.5rem;
    }

    .panel-content p {
        font-size: 1rem;
    }

    .ocean-mode-indicator {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .section-title {
        font-size: 1.8rem;
    }

    .contract-text {
        font-size: 0.6rem;
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Dory Icons */
.floating-dorys {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.3;
}

.floating-dory {
    position: absolute;
    width: 80px;
    height: 80px;
    animation: floatDory 8s ease-in-out infinite;
    filter: drop-shadow(0 0 15px var(--neon-blue));
}

.floating-dory:nth-child(1) {
    animation-delay: 0s;
    animation-duration: 7s;
}

.floating-dory:nth-child(2) {
    animation-delay: 2s;
    animation-duration: 9s;
    transform: scaleX(-1);
}

.floating-dory:nth-child(3) {
    animation-delay: 4s;
    animation-duration: 8s;
}

.floating-dory:nth-child(4) {
    animation-delay: 6s;
    animation-duration: 10s;
    transform: scaleX(-1);
}

@keyframes floatDory {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) translateX(20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) translateX(-15px) rotate(-3deg);
    }
    75% {
        transform: translateY(-40px) translateX(10px) rotate(7deg);
    }
}

/* Custom Cursor Dory */
.cursor-dory {
    position: fixed;
    width: 40px;
    height: 40px;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.15s ease;
    transform: translate(-50%, -50%);
}

.cursor-dory.active {
    opacity: 0.8;
}

.cursor-dory img {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px var(--neon-blue));
    animation: cursorSwim 1s ease-in-out infinite;
}

@keyframes cursorSwim {
    0%, 100% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(5deg);
    }
}

/* Hide floating elements on mobile for performance */
@media (max-width: 768px) {
    .floating-dorys {
        display: none;
    }
    
    .cursor-dory {
        display: none;
    }
}

/* Smooth scrolling offset for fixed nav */
html {
    scroll-padding-top: 80px;
}

