:root {
    --bg-deep: #020617;
    --bg-mid: #0f172a;
    --bg-light: #1e293b;
    --accent: #ff8c00; /* Orange */
    --accent-dark: #d97700;
    --accent-glow: rgba(255, 140, 0, 0.5);
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --panel-bg: rgba(30, 41, 59, 0.4);
    --panel-border: rgba(255, 140, 0, 0.2);
}

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

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

/* Noise overlay for texture */
.noise {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 50;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Gradient background mixed with deep sea colors */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% -20%, var(--bg-light), var(--bg-deep) 70%);
    z-index: -2;
}

h1, h2, h3, .logo-text {
    font-family: 'Fredoka', sans-serif;
    text-transform: uppercase;
}

/* Bubbles Background */
.bubbles {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; pointer-events: none;
}
.bubble {
    position: absolute;
    bottom: -100px;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), rgba(255,255,255,0.05));
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: inset 0 0 10px rgba(255,255,255,0.2);
    animation: rise infinite ease-in;
}

.bubble:nth-child(1) { width: 40px; height: 40px; left: 10%; animation-duration: 8s; }
.bubble:nth-child(2) { width: 20px; height: 20px; left: 20%; animation-duration: 5s; animation-delay: 1s; }
.bubble:nth-child(3) { width: 50px; height: 50px; left: 35%; animation-duration: 7s; animation-delay: 2s; }
.bubble:nth-child(4) { width: 30px; height: 30px; left: 50%; animation-duration: 11s; }
.bubble:nth-child(5) { width: 15px; height: 15px; left: 60%; animation-duration: 6s; animation-delay: 3s; }
.bubble:nth-child(6) { width: 45px; height: 45px; left: 75%; animation-duration: 9s; animation-delay: 1s; }
.bubble:nth-child(7) { width: 25px; height: 25px; left: 85%; animation-duration: 6s; animation-delay: 2s; }
.bubble:nth-child(8) { width: 35px; height: 35px; left: 95%; animation-duration: 10s; }
.bubble:nth-child(9) { width: 10px; height: 10px; left: 5%; animation-duration: 4s; animation-delay: 4s; }
.bubble:nth-child(10) { width: 60px; height: 60px; left: 65%; animation-duration: 12s; animation-delay: 2s; }

@keyframes rise {
    0% { bottom: -100px; transform: translateX(0); opacity: 0; }
    10% { opacity: 1; }
    50% { transform: translateX(20px); }
    90% { opacity: 1; }
    100% { bottom: 100vh; transform: translateX(-20px); opacity: 0; }
}

/* Light Rays (Sunbeams) */
.sunbeams {
    position: fixed;
    top: 0; left: 0; right: 0; height: 100vh;
    background: radial-gradient(ellipse at 50% -20%, rgba(255, 140, 0, 0.05), transparent 60%);
    pointer-events: none;
    z-index: -1;
}
.ray {
    position: absolute;
    top: -10%;
    width: 15%;
    height: 120%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.03), transparent);
    filter: blur(30px);
    transform-origin: top center;
    animation: sway 10s ease-in-out infinite alternate;
}
.ray-1 { left: 15%; animation-delay: 0s; transform: rotate(10deg); }
.ray-2 { left: 45%; width: 25%; animation-delay: -3s; transform: rotate(5deg); }
.ray-3 { left: 75%; width: 10%; animation-delay: -6s; transform: rotate(15deg); }

@keyframes sway {
    0% { transform: rotate(8deg) translateX(0); }
    100% { transform: rotate(18deg) translateX(30px); }
}

/* Fish Swarm */
.fish-swarm {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: -2;
}
.small-fish {
    position: absolute;
    opacity: 0.15;
    animation: swim linear infinite;
    filter: drop-shadow(0 0 10px rgba(255, 140, 0, 0.5));
}
.fish-1 { top: 15%; animation-duration: 40s; animation-delay: -10s; width: 60px; opacity: 0.1; }
.fish-2 { top: 55%; animation-duration: 30s; animation-delay: -2s; width: 40px; }
.fish-3 { top: 85%; animation-duration: 50s; animation-delay: -25s; width: 80px; opacity: 0.08; }

@keyframes swim {
    0% { transform: translateX(-150px) translateY(0) scaleX(1); }
    25% { transform: translateX(25vw) translateY(-30px) scaleX(1); }
    50% { transform: translateX(50vw) translateY(20px) scaleX(1); }
    75% { transform: translateX(75vw) translateY(-10px) scaleX(1); }
    100% { transform: translateX(110vw) translateY(0) scaleX(1); }
}

/* Glassmorphism */
.glass-panel {
    background: var(--panel-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--panel-border);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 140, 0, 0.05);
}

/* Scroll Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation */
.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--panel-border);
}
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-logo {
    width: 40px; height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--accent-glow);
}
.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin: 0 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-btn {
    background: var(--accent);
    color: #000;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Fredoka', sans-serif;
    transition: all 0.3s ease;
}
.nav-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--accent-glow);
}

/* Section Shared */
section {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-header h2 {
    font-size: 3.5rem;
    letter-spacing: 2px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
.highlight {
    color: var(--accent);
    text-shadow: 0 0 20px var(--accent-glow);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
}
.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}
.hero-text {
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.glow-text {
    font-size: 5rem;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 4px 4px 0 var(--accent-dark);
}
.subtitle {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 300;
}
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}
.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 800;
    text-decoration: none;
    font-family: 'Fredoka', sans-serif;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}
.primary-btn {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 25px var(--accent-glow);
}
.primary-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 35px var(--accent-glow);
}
.chart-btn {
    background: rgba(0,0,0,0.5);
    color: var(--text-main);
    border: 2px solid var(--accent);
}
.chart-btn:hover {
    background: rgba(255, 140, 0, 0.1);
    transform: translateY(-5px);
}
.contract-box {
    background: rgba(0,0,0,0.4);
    padding: 1.2rem;
    border-radius: 16px;
    border: 1px dashed var(--panel-border);
}
.contract-box p {
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-family: 'Fredoka', sans-serif;
}
.copy-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(0,0,0,0.3);
    padding: 0.8rem 1rem;
    border-radius: 10px;
}
#contract-address {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    min-width: 0;
}
#copy-btn {
    background: var(--text-main);
    color: #000;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 800;
    transition: all 0.3s;
}
#copy-btn:hover { background: var(--accent); }

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.mascot-container {
    width: 100%;
    max-width: 500px;
    position: relative;
    animation: float 6s ease-in-out infinite;
}
.mascot-container img {
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    position: relative;
    z-index: 2;
    border: 4px solid var(--accent);
}
.glow-orb {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; height: 80%;
    background: var(--accent);
    filter: blur(100px);
    border-radius: 50%;
    opacity: 0.3;
    z-index: 1;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(-2deg); }
    50% { transform: translateY(-30px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(-2deg); }
}

/* Marquee */
.marquee-container {
    background: var(--accent);
    color: #000;
    padding: 1.5rem 0;
    overflow: hidden;
    position: relative;
    transform: rotate(-2deg) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin: 4rem 0;
    border-top: 4px solid #fff;
    border-bottom: 4px solid #fff;
}
.marquee {
    display: flex;
    white-space: nowrap;
    width: 200%;
    animation: scroll-marquee 15s linear infinite;
    font-family: 'Fredoka', sans-serif;
    font-size: 2rem;
    font-weight: 900;
}
.marquee span { padding: 0 2rem; }

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

/* Grids */
.about-grid, .tokenomics-grid, .steps-grid, .roadmap-timeline {
    display: grid;
    gap: 2rem;
}
.about-grid { grid-template-columns: 1fr 1fr; }
.tokenomics-grid { grid-template-columns: repeat(3, 1fr); }
.steps-grid { grid-template-columns: repeat(4, 1fr); }

/* Cards */
.about-card, .stat-card, .step-card, .phase-card {
    padding: 3rem 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}
.about-card:hover, .stat-card:hover, .step-card:hover, .phase-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6), inset 0 0 20px var(--accent-glow);
    border-color: var(--accent);
}

.about-card h3, .phase-card h3 {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}
.about-card p { font-size: 1.2rem; color: var(--text-muted); }

.stat-card { text-align: center; }
.stat-icon { font-size: 4rem; margin-bottom: 1rem; }
.stat-card h3 { color: var(--text-muted); font-size: 1.5rem; }
.stat { font-size: 3.5rem; font-family: 'Fredoka', sans-serif; font-weight: 900; color: var(--accent); margin: 1rem 0; }

.step-card { position: relative; overflow: hidden; padding-top: 4rem; }
.step-number {
    position: absolute;
    top: 0px; right: 10px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255,255,255,0.05);
    font-family: 'Fredoka', sans-serif;
    line-height: 1;
    user-select: none;
}
.step-card h3 { font-size: 1.8rem; margin-bottom: 1rem; color: var(--accent); }

.roadmap-timeline {
    grid-template-columns: repeat(3, 1fr);
}
.phase-card ul {
    list-style: none;
}
.phase-card li {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    color: var(--text-main);
}
.phase-card li::before {
    content: '🐟';
    position: absolute;
    left: 0; top: 2px;
    font-size: 1.2rem;
}

/* Proof Section */
.proof-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}
.proof-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6), inset 0 0 30px var(--accent-glow);
    border-color: var(--accent);
}
.proof-link {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}
.proof-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transition: filter 0.3s ease;
}
.proof-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 140, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #000;
    font-weight: 800;
    font-size: 1.5rem;
    font-family: 'Fredoka', sans-serif;
    gap: 1rem;
}
.proof-link:hover .proof-overlay {
    opacity: 1;
}
.proof-link:hover .proof-image {
    filter: blur(5px) brightness(0.8);
}

/* Footer */
footer {
    padding: 0 5% 4rem;
}
.footer-content {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}
.footer-content h2 { font-size: 4rem; color: var(--accent); margin-bottom: 0.5rem; }
.footer-content > p { font-size: 1.5rem; margin-bottom: 2rem; }
.social-links { display: flex; justify-content: center; gap: 1rem; margin-bottom: 3rem; }
.secondary-btn {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--accent);
}
.secondary-btn:hover { background: var(--accent); color: #000; }
.disclaimer { font-size: 0.9rem; color: var(--text-muted); max-width: 800px; margin: 0 auto 2rem; opacity: 0.7; }
.copyright { color: var(--accent-dark); font-weight: bold; }

@media (max-width: 1024px) {
    .hero-content { display: flex; flex-direction: column-reverse; text-align: center; gap: 2rem; }
    .hero-image { margin-bottom: 2rem; width: 100%; }
    .hero-text { padding: 2rem; align-items: center; width: 100%; }
    .cta-buttons { justify-content: center; }
    .copy-container { justify-content: center; max-width: 100%; }
    .about-grid { grid-template-columns: 1fr; }
    .tokenomics-grid, .roadmap-timeline { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .glow-text { font-size: 4rem; }
    .mascot-container { max-width: 350px; margin: 0 auto; }
}

@media (max-width: 768px) {
    section { padding: 4rem 5%; }
    .section-header { margin-bottom: 3rem; }
    .section-header h2 { font-size: 2.5rem; }
    .nav-links { display: none; }
    .glow-text { font-size: 2.8rem; text-shadow: 2px 2px 0 var(--accent-dark); }
    .tokenomics-grid, .roadmap-timeline, .steps-grid { grid-template-columns: 1fr; }
    .marquee { font-size: 1.5rem; }
    .hero-text { padding: 2rem; }
    .btn { padding: 0.8rem 1.5rem; font-size: 1rem; }
    .contract-box { padding: 1rem; }
    .copy-container { flex-direction: column; align-items: stretch; gap: 0.8rem; }
    #contract-address { font-size: 0.7rem; letter-spacing: -0.2px; text-align: center; word-break: break-all; }
    #copy-btn { width: 100%; padding: 0.8rem; }
    .footer-content h2 { font-size: 3rem; }
    .footer-content > p { font-size: 1.2rem; }
}

@media (max-width: 480px) {
    .glow-text { font-size: 2.2rem; }
    .subtitle { font-size: 1.1rem; }
    .section-header h2 { font-size: 2rem; }
    .stat { font-size: 2.5rem; }
    .about-card, .stat-card, .step-card, .phase-card { padding: 2rem 1.5rem; }
    .about-card h3, .phase-card h3 { font-size: 1.6rem; }
    .step-number { font-size: 6rem; top: 5px; right: 10px; }
    .mascot-container { max-width: 250px; }
    .cta-buttons { flex-direction: column; width: 100%; }
    .cta-buttons .btn { width: 100%; text-align: center; }
    .logo-text { font-size: 1.4rem; }
    .nav-btn { padding: 0.5rem 1rem; font-size: 0.9rem; }
}
