/* ============================================
   ONE PIECE - $LUFFY TRIBUTE SITE
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0a0a0f;
    --bg-card: rgba(18, 18, 26, 0.75);
    --bg-card-hover: #1a1a2e;
    --red-primary: #D32F2F;
    --red-dark: #8B0000;
    --red-glow: rgba(211, 47, 47, 0.3);
    --gold: #FFD700;
    --gold-glow: rgba(255, 215, 0, 0.3);
    --straw: #F4C430;
    --blue-sea: #1565C0;
    --blue-glow: rgba(21, 101, 192, 0.3);
    --text-primary: #e0e0e0;
    --text-secondary: #888;
    --white: #ffffff;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: #020210;
    background-image: url('images/bg-ocean.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Dark overlay over the background image */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 2, 16, 0.55);
    z-index: 0;
    pointer-events: none;
}

/* ============================================
   IMMERSIVE BACKGROUND SYSTEM
   ============================================ */

/* Particle canvas (stars + fireflies) */
#bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Deep ocean gradient with nebula colors */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        /* Scattered stars */
        radial-gradient(1px 1px at 10% 8%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 25% 3%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 40% 12%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 55% 6%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 15%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 85% 4%, rgba(255,255,255,0.35) 0%, transparent 100%),
        radial-gradient(1px 1px at 95% 18%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 5% 22%, rgba(255,255,255,0.25) 0%, transparent 100%),
        radial-gradient(1px 1px at 33% 20%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 62% 2%, rgba(255,255,255,0.45) 0%, transparent 100%),
        radial-gradient(2px 2px at 78% 10%, rgba(255,215,0,0.3) 0%, transparent 100%),
        radial-gradient(2px 2px at 18% 14%, rgba(211,47,47,0.2) 0%, transparent 100%),
        /* Haki aurora bands */
        radial-gradient(ellipse 600px 200px at 20% 15%, rgba(211, 47, 47, 0.06) 0%, transparent 100%),
        radial-gradient(ellipse 500px 150px at 75% 10%, rgba(255, 215, 0, 0.04) 0%, transparent 100%),
        radial-gradient(ellipse 800px 300px at 50% 85%, rgba(21, 101, 192, 0.12) 0%, transparent 100%),
        /* Deep ocean gradient */
        linear-gradient(180deg,
            #020210 0%,
            #050525 15%,
            #0a0a35 30%,
            #0d1545 45%,
            #0c1a4a 55%,
            #0a1840 70%,
            #081530 85%,
            #061028 100%
        );
    pointer-events: none;
    z-index: 0;
}

/* Haki energy aurora — animated glow */
.haki-aurora {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.aurora-band {
    position: absolute;
    width: 150%;
    height: 200px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    animation: auroraGlow 12s ease-in-out infinite;
}

.aurora-band:nth-child(1) {
    top: 5%;
    left: -25%;
    background: linear-gradient(90deg, transparent, rgba(211, 47, 47, 0.08), rgba(255, 50, 50, 0.12), rgba(211, 47, 47, 0.06), transparent);
    animation-delay: 0s;
    animation-duration: 15s;
}

.aurora-band:nth-child(2) {
    top: 25%;
    left: -10%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.05), rgba(255, 180, 0, 0.08), rgba(255, 215, 0, 0.04), transparent);
    animation-delay: 4s;
    animation-duration: 18s;
    height: 150px;
}

.aurora-band:nth-child(3) {
    top: 60%;
    left: -20%;
    background: linear-gradient(90deg, transparent, rgba(21, 101, 192, 0.08), rgba(30, 136, 229, 0.12), rgba(21, 101, 192, 0.06), transparent);
    animation-delay: 8s;
    animation-duration: 20s;
    height: 250px;
}

.aurora-band:nth-child(4) {
    top: 80%;
    left: -15%;
    background: linear-gradient(90deg, transparent, rgba(123, 31, 162, 0.06), rgba(156, 39, 176, 0.08), rgba(123, 31, 162, 0.04), transparent);
    animation-delay: 12s;
    animation-duration: 22s;
    height: 180px;
}

@keyframes auroraGlow {
    0% { opacity: 0; transform: translateX(-10%) scaleY(0.8); }
    20% { opacity: 1; }
    50% { opacity: 0.7; transform: translateX(5%) scaleY(1.2); }
    80% { opacity: 1; }
    100% { opacity: 0; transform: translateX(10%) scaleY(0.8); }
}

/* Fog / mist layers */
.ocean-fog {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    pointer-events: none;
    z-index: 0;
}

.fog-layer {
    position: absolute;
    width: 200%;
    height: 100%;
    opacity: 0.4;
}

.fog-layer:nth-child(1) {
    background: radial-gradient(ellipse 800px 200px at 30% 80%, rgba(21, 101, 192, 0.06), transparent),
                radial-gradient(ellipse 600px 150px at 70% 90%, rgba(21, 101, 192, 0.04), transparent);
    animation: fogDrift 30s ease-in-out infinite;
}

.fog-layer:nth-child(2) {
    background: radial-gradient(ellipse 700px 180px at 50% 85%, rgba(10, 22, 60, 0.08), transparent),
                radial-gradient(ellipse 500px 120px at 20% 75%, rgba(21, 101, 192, 0.05), transparent);
    animation: fogDrift 40s ease-in-out infinite reverse;
    animation-delay: 5s;
}

@keyframes fogDrift {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-15%); }
}

/* Animated ocean waves at the bottom */
.ocean-waves {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

.wave {
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 300%;
    height: 100%;
    background-repeat: repeat-x;
}

.wave-1 {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='rgba(21,101,192,0.15)' d='M0,50 C180,80 360,20 540,50 C720,80 900,20 1080,50 C1260,80 1350,30 1440,50 L1440,100 L0,100 Z'/%3E%3C/svg%3E");
    background-size: 1440px 100px;
    animation: waveMove 8s linear infinite;
}

.wave-2 {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='rgba(21,101,192,0.10)' d='M0,60 C240,20 480,80 720,40 C960,0 1200,80 1440,60 L1440,100 L0,100 Z'/%3E%3C/svg%3E");
    background-size: 1440px 100px;
    animation: waveMove 12s linear infinite reverse;
    bottom: -10px;
}

.wave-3 {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='rgba(8,18,45,0.7)' d='M0,70 C180,30 360,90 540,50 C720,10 900,80 1080,40 C1260,10 1350,60 1440,70 L1440,100 L0,100 Z'/%3E%3C/svg%3E");
    background-size: 1440px 100px;
    animation: waveMove 15s linear infinite;
    bottom: -20px;
}

@keyframes waveMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.33%); }
}

/* Floating Jolly Roger watermarks */
.bg-jolly-roger {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.jolly-item {
    position: absolute;
    opacity: 0.02;
    animation: jollyFloat 30s ease-in-out infinite;
    color: #fff;
    text-shadow: 0 0 20px rgba(211, 47, 47, 0.3);
}

.jolly-item:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; font-size: 100px; }
.jolly-item:nth-child(2) { top: 40%; right: 8%; animation-delay: 5s; font-size: 60px; }
.jolly-item:nth-child(3) { bottom: 25%; left: 15%; animation-delay: 10s; font-size: 90px; }
.jolly-item:nth-child(4) { top: 60%; left: 60%; animation-delay: 15s; font-size: 70px; }
.jolly-item:nth-child(5) { top: 20%; right: 25%; animation-delay: 8s; font-size: 50px; }
.jolly-item:nth-child(6) { bottom: 40%; right: 20%; animation-delay: 20s; font-size: 85px; }

@keyframes jollyFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.02; }
    25% { transform: translateY(-20px) rotate(5deg); opacity: 0.04; }
    50% { transform: translateY(15px) rotate(-3deg); opacity: 0.03; }
    75% { transform: translateY(-10px) rotate(2deg); opacity: 0.02; }
}

/* Straw hat floating watermarks */
.bg-straw-hats {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.straw-hat-bg {
    position: absolute;
    object-fit: contain;
    opacity: 0.035;
    animation: hatDrift 25s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.2));
}

.straw-hat-bg:nth-child(1) { top: 8%; left: 85%; animation-delay: 0s; width: 80px; height: 80px; }
.straw-hat-bg:nth-child(2) { top: 55%; left: 3%; animation-delay: 7s; width: 50px; height: 50px; }
.straw-hat-bg:nth-child(3) { top: 30%; right: 12%; animation-delay: 13s; width: 70px; height: 70px; }
.straw-hat-bg:nth-child(4) { bottom: 15%; left: 40%; animation-delay: 4s; width: 55px; height: 55px; }

@keyframes hatDrift {
    0%, 100% { transform: translateY(0) rotate(-8deg); }
    33% { transform: translateY(-25px) rotate(3deg); }
    66% { transform: translateY(10px) rotate(8deg); }
}

/* Glowing Devil Fruit orbs */
.devil-fruit-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.df-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: orbPulse 10s ease-in-out infinite;
}

.df-orb:nth-child(1) {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 10%;
    background: radial-gradient(circle, rgba(211, 47, 47, 0.12), transparent 70%);
    animation-delay: 0s;
    animation-duration: 12s;
}

.df-orb:nth-child(2) {
    width: 80px;
    height: 80px;
    top: 45%;
    right: 15%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.10), transparent 70%);
    animation-delay: 3s;
    animation-duration: 15s;
}

.df-orb:nth-child(3) {
    width: 100px;
    height: 100px;
    bottom: 30%;
    left: 70%;
    background: radial-gradient(circle, rgba(21, 101, 192, 0.12), transparent 70%);
    animation-delay: 6s;
    animation-duration: 18s;
}

.df-orb:nth-child(4) {
    width: 60px;
    height: 60px;
    top: 70%;
    left: 25%;
    background: radial-gradient(circle, rgba(123, 31, 162, 0.10), transparent 70%);
    animation-delay: 9s;
    animation-duration: 14s;
}

.df-orb:nth-child(5) {
    width: 90px;
    height: 90px;
    top: 30%;
    left: 45%;
    background: radial-gradient(circle, rgba(255, 152, 0, 0.08), transparent 70%);
    animation-delay: 2s;
    animation-duration: 16s;
}

@keyframes orbPulse {
    0%, 100% { transform: scale(1) translateY(0); opacity: 0.6; }
    25% { transform: scale(1.3) translateY(-15px); opacity: 1; }
    50% { transform: scale(0.9) translateY(10px); opacity: 0.5; }
    75% { transform: scale(1.2) translateY(-8px); opacity: 0.8; }
}

/* Section dividers — Grand Line wave */
.section-divider {
    width: 100%;
    height: 60px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.section-divider svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Log Pose compass */
.log-pose {
    position: fixed;
    bottom: 80px;
    left: 20px;
    width: 50px;
    height: 50px;
    z-index: 998;
    pointer-events: none;
    opacity: 0.15;
    animation: compassSpin 20s linear infinite;
}

.log-pose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold-glow);
}

.log-pose::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, var(--red-primary), var(--gold));
    transform-origin: bottom center;
    transform: translate(-50%, -100%);
    box-shadow: 0 0 8px var(--red-glow);
}

@keyframes compassSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Music toggle */
.music-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--red-primary);
    background: rgba(10, 10, 15, 0.9);
    color: var(--gold);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--red-glow);
}

.music-toggle:hover {
    box-shadow: 0 0 20px var(--red-glow);
    transform: scale(1.1);
}

.music-toggle.playing {
    animation: musicPulse 1s ease-in-out infinite;
}

@keyframes musicPulse {
    0%, 100% { box-shadow: 0 0 10px var(--red-glow); }
    50% { box-shadow: 0 0 25px var(--red-glow), 0 0 40px rgba(211, 47, 47, 0.2); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 60px;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.95), rgba(18, 18, 26, 0.95));
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(211, 47, 47, 0.15);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(211, 47, 47, 0.1);
}

.nav-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--red-primary);
    text-decoration: none;
    text-shadow: 0 0 10px var(--red-glow), 0 0 30px var(--red-glow);
    letter-spacing: 3px;
    flex-shrink: 0;
    transition: text-shadow 0.3s ease;
}

.nav-logo:hover {
    text-shadow: 0 0 15px var(--red-glow), 0 0 40px var(--red-glow), 0 0 60px var(--red-glow);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-links a {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 1.5px;
    padding: 0.4rem 0;
    position: relative;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red-primary);
    box-shadow: 0 0 8px var(--red-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--red-primary); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    color: #000;
    background: linear-gradient(135deg, var(--red-primary), #e53935);
    text-decoration: none;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    letter-spacing: 2px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--red-glow);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 15px var(--red-glow), 0 0 35px rgba(211, 47, 47, 0.3);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.98);
        padding: 1.5rem;
        gap: 1.2rem;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(211, 47, 47, 0.15);
    }
    .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
    .nav-hamburger { display: flex; }
    .nav-cta { display: none; }
}

/* ============================================
   HERO
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 40px;
    position: relative;
    overflow: hidden;
    background: url('images/bg-hero.png') center center / cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(2, 2, 16, 0.30) 0%,
        rgba(2, 2, 16, 0.45) 40%,
        rgba(2, 2, 16, 0.60) 80%,
        rgba(2, 2, 16, 0.75) 100%
    );
    z-index: 0;
}

.hero-floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 2;
}

.floating-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    object-fit: contain;
    opacity: 0.15;
    animation: floatIcon 6s ease-in-out infinite;
}

.icon-1 { top: 15%; left: 5%; animation-delay: 0s; }
.icon-2 { top: 25%; right: 8%; animation-delay: 1s; }
.icon-3 { bottom: 20%; left: 10%; animation-delay: 2s; }
.icon-4 { top: 10%; right: 25%; animation-delay: 0.5s; }
.icon-5 { bottom: 30%; right: 5%; animation-delay: 1.5s; }

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-image-container {
    margin-bottom: 20px;
}

.hero-main-img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px var(--red-glow));
    animation: heroPulse 3s ease-in-out infinite;
}

@keyframes heroPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 30px var(--red-glow)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 50px var(--red-glow)); }
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 8rem;
    color: var(--red-primary);
    text-shadow: 0 0 20px var(--red-glow), 0 0 60px var(--red-glow);
    line-height: 0.9;
    letter-spacing: 10px;
    margin-bottom: 10px;
}

.hero-tagline {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--gold);
    text-shadow: 0 0 15px var(--gold-glow);
    letter-spacing: 5px;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-primary {
    background: linear-gradient(135deg, var(--red-primary), #e53935);
    color: #fff;
    box-shadow: 0 0 15px var(--red-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--red-glow), 0 0 50px rgba(211, 47, 47, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    box-shadow: 0 0 10px var(--gold-glow);
}

.btn-secondary:hover {
    background: var(--gold);
    color: #000;
    transform: translateY(-2px);
}

.hero-quote {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto 30px;
    padding: 15px;
    border-left: 3px solid var(--red-primary);
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}

.stat-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 6px 15px;
    position: relative;
    overflow: hidden;
}

.stat-bar .stat-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--red-dark), var(--red-primary));
    opacity: 0.2;
    border-radius: 20px;
    transition: width 1s ease;
}

.stat-bar .bounty-fill { background: linear-gradient(90deg, #B8860B, var(--gold)); }
.stat-bar .meat-fill { background: linear-gradient(90deg, #8B4513, #D2691E); }

.stat-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 1px;
    z-index: 1;
    min-width: 100px;
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--gold);
    margin-left: auto;
    z-index: 1;
}

/* ============================================
   ABOUT
   ============================================ */

.about {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: url('images/bg-about.png') center center / cover no-repeat fixed;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(2, 2, 16, 0.65) 0%,
        rgba(2, 2, 16, 0.55) 50%,
        rgba(2, 2, 16, 0.65) 100%
    );
    z-index: 0;
}

.about > .container {
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    text-align: center;
    color: var(--white);
    letter-spacing: 5px;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.about-text {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 50px;
}

.about-text strong { color: var(--text-primary); }

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(211, 47, 47, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(211, 47, 47, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px var(--red-glow);
}

.feature-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 8px var(--red-glow));
}

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: var(--red-primary);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ============================================
   CREW
   ============================================ */

.crew {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: url('images/bg-crew.jpg') center center / cover no-repeat fixed;
}

.crew::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(2, 2, 16, 0.60) 0%,
        rgba(2, 2, 16, 0.50) 50%,
        rgba(2, 2, 16, 0.60) 100%
    );
    z-index: 0;
}

.crew > .container {
    position: relative;
    z-index: 1;
}

.crew-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.crew-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.crew-card:hover {
    transform: translateY(-8px);
    border-color: rgba(211, 47, 47, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px var(--red-glow);
}

.crew-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(211, 47, 47, 0.2));
    transition: transform 0.3s ease;
}

.crew-card:hover .crew-img {
    transform: scale(1.1);
}

.crew-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.crew-role {
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.captain { background: var(--red-primary); color: #fff; }
.swordsman { background: #2E7D32; color: #fff; }
.navigator { background: var(--gold); color: #000; }
.cook { background: #1565C0; color: #fff; }
.sniper { background: #F57F17; color: #000; }
.doctor { background: #E91E63; color: #fff; }
.archaeologist { background: #7B1FA2; color: #fff; }

.crew-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ============================================
   QUOTES
   ============================================ */

.quotes {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: url('images/bg-quotes.jpg') center center / cover no-repeat fixed;
}

.quotes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(2, 2, 16, 0.60) 0%,
        rgba(2, 2, 16, 0.50) 50%,
        rgba(2, 2, 16, 0.60) 100%
    );
    z-index: 0;
}

.quotes > .container {
    position: relative;
    z-index: 1;
}

.quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
    margin-bottom: 40px;
}

.quote-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
}

.quote-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px var(--gold-glow);
}

.quote-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 10px;
    line-height: 1.3;
}

.quote-tag {
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    background: var(--red-primary);
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.quote-author {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 10px;
}

.quote-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.quotes-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.quote-stat {
    text-align: center;
}

.quote-stat-name {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.quote-stat-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--red-primary);
    text-shadow: 0 0 10px var(--red-glow);
}

/* ============================================
   MOMENTS
   ============================================ */

.moments {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: url('images/bg-dark.jpeg') center center / cover no-repeat fixed;
}

.moments::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(2, 2, 16, 0.55) 0%,
        rgba(2, 2, 16, 0.45) 50%,
        rgba(2, 2, 16, 0.55) 100%
    );
    z-index: 0;
}

.moments > .container {
    position: relative;
    z-index: 1;
}

.moments-list {
    max-width: 700px;
    margin: 50px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.moment-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.moment-card:hover {
    transform: translateX(10px);
    border-color: rgba(211, 47, 47, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3), 0 0 10px var(--red-glow);
}

.moment-rank {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--red-primary);
    text-shadow: 0 0 10px var(--red-glow);
    flex-shrink: 0;
    line-height: 1;
}

.moment-info h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: var(--gold);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.moment-info p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ============================================
   MINI-GAME
   ============================================ */

.minigame {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: url('images/bg-game.png') center center / cover no-repeat fixed;
}

.minigame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(2, 2, 16, 0.60) 0%,
        rgba(2, 2, 16, 0.50) 50%,
        rgba(2, 2, 16, 0.60) 100%
    );
    z-index: 0;
}

.minigame > .container {
    position: relative;
    z-index: 1;
}

.game-container {
    max-width: 800px;
    margin: 0 auto;
}

.game-controls {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.control {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.key {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold);
    padding: 3px 10px;
    border-radius: 4px;
    margin-right: 5px;
    letter-spacing: 1px;
}

.game-area {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(211, 47, 47, 0.2);
    margin-bottom: 20px;
    background: #050510;
}

#game-canvas {
    display: block;
    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.6);
    cursor: pointer;
    transition: opacity 0.3s;
}

.game-overlay p {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--gold);
    text-shadow: 0 0 20px var(--gold-glow);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

.game-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.game-stat {
    text-align: center;
}

.game-stat-label {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    color: var(--text-secondary);
    letter-spacing: 1.5px;
    margin-bottom: 5px;
}

.game-stat-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--white);
}

.leaderboard {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
}

.leaderboard h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 15px;
}

.leaderboard table {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard th {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.leaderboard td {
    font-size: 0.9rem;
    padding: 10px;
    text-align: center;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.pump-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    background: var(--bg-card);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 15px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.pump-link:hover {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 20px var(--gold-glow);
    transform: translateY(-2px);
}

.pump-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* ============================================
   LEGACY / TIMELINE
   ============================================ */

.legacy {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: url('images/bg-sunny.jpg') center center / cover no-repeat fixed;
}

.legacy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(2, 2, 16, 0.55) 0%,
        rgba(2, 2, 16, 0.45) 50%,
        rgba(2, 2, 16, 0.55) 100%
    );
    z-index: 0;
}

.legacy > .container {
    position: relative;
    z-index: 1;
}

.timeline {
    max-width: 700px;
    margin: 50px auto 0;
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--red-primary), var(--gold));
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -29px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--red-primary);
    box-shadow: 0 0 10px var(--red-glow);
}

.timeline-year {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--red-primary);
    text-shadow: 0 0 10px var(--red-glow);
    margin-bottom: 5px;
}

.timeline-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: var(--gold);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.timeline-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ============================================
   COMMUNITY
   ============================================ */

.community {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: url('images/bg-community.jpg') center center / cover no-repeat fixed;
}

.community::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(2, 2, 16, 0.60) 0%,
        rgba(2, 2, 16, 0.50) 50%,
        rgba(2, 2, 16, 0.60) 100%
    );
    z-index: 0;
}

.community > .container {
    position: relative;
    z-index: 1;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.community-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.community-card:hover {
    transform: translateY(-5px);
    border-color: rgba(211, 47, 47, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px var(--red-glow);
}

.community-icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
}

.community-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.reddit-icon-text, .crunchyroll-icon-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reddit-icon-text { background: #FF4500; }
.crunchyroll-icon-text { background: #F47521; }

.community-info h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    color: var(--white);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.community-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 5px;
}

.community-cta {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--red-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.footer-disclaimer {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.footer-links a {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    color: var(--text-secondary);
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--red-primary); }

.footer-copy {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .hero-title { font-size: 5rem; }
    .hero-tagline { font-size: 1.4rem; }
    .hero-main-img { width: 200px; height: 200px; }
    .section-title { font-size: 2.5rem; }
    .floating-icon { width: 50px; height: 50px; }
    .moment-card { flex-direction: column; align-items: center; text-align: center; }
    .crew-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
}

@media (max-width: 480px) {
    .hero-title { font-size: 3.5rem; }
    .hero-tagline { font-size: 1.1rem; }
    .section-title { font-size: 2rem; }
    .hero-stats { max-width: 100%; }
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */

.reveal-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-section.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children animation */
.revealed .feature-card,
.revealed .crew-card,
.revealed .quote-card,
.revealed .moment-card,
.revealed .community-card,
.revealed .timeline-item {
    animation: fadeSlideUp 0.6s ease forwards;
    opacity: 0;
}

.revealed .feature-card:nth-child(1),
.revealed .crew-card:nth-child(1),
.revealed .quote-card:nth-child(1),
.revealed .moment-card:nth-child(1),
.revealed .community-card:nth-child(1),
.revealed .timeline-item:nth-child(1) { animation-delay: 0.1s; }

.revealed .feature-card:nth-child(2),
.revealed .crew-card:nth-child(2),
.revealed .quote-card:nth-child(2),
.revealed .moment-card:nth-child(2),
.revealed .community-card:nth-child(2),
.revealed .timeline-item:nth-child(2) { animation-delay: 0.2s; }

.revealed .feature-card:nth-child(3),
.revealed .crew-card:nth-child(3),
.revealed .quote-card:nth-child(3),
.revealed .moment-card:nth-child(3),
.revealed .community-card:nth-child(3),
.revealed .timeline-item:nth-child(3) { animation-delay: 0.3s; }

.revealed .feature-card:nth-child(4),
.revealed .crew-card:nth-child(4),
.revealed .quote-card:nth-child(4),
.revealed .moment-card:nth-child(4),
.revealed .community-card:nth-child(4),
.revealed .timeline-item:nth-child(4) { animation-delay: 0.4s; }

.revealed .crew-card:nth-child(5),
.revealed .moment-card:nth-child(5),
.revealed .timeline-item:nth-child(5) { animation-delay: 0.5s; }

.revealed .crew-card:nth-child(6),
.revealed .moment-card:nth-child(6),
.revealed .timeline-item:nth-child(6) { animation-delay: 0.6s; }

.revealed .crew-card:nth-child(7) { animation-delay: 0.7s; }

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Section title glow on reveal */
.revealed .section-title {
    animation: titleReveal 0.8s ease forwards;
}

@keyframes titleReveal {
    from {
        opacity: 0;
        text-shadow: 0 0 0 rgba(255, 255, 255, 0);
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
        transform: scale(1);
    }
}
