:root {
    --bg-dark: #07070a;
    --rcb-red: #E30613;
    --rcb-gold: #D1AB3E;
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --bg-mesh: radial-gradient(circle at top left, rgba(227, 6, 19, 0.15) 0%, transparent 40%),
               radial-gradient(circle at bottom right, rgba(209, 171, 62, 0.1) 0%, transparent 50%),
               linear-gradient(135deg, #050508 0%, #15151a 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; cursor: none; }
body { background: var(--bg-mesh); background-attachment: fixed; color: var(--text-main); font-family: 'Outfit', sans-serif; overflow-x: hidden; }

/* Background Ambient Animations */
#ambient-bg { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: -2; overflow: hidden; mix-blend-mode: screen; opacity: 0.8; }
.smoke { position: absolute; width: 100%; height: 100%; top: 0; left: 0; background-image: radial-gradient(ellipse at center, rgba(209, 171, 62, 0.25) 0%, transparent 60%), radial-gradient(ellipse at center, rgba(227, 6, 19, 0.15) 0%, transparent 70%), radial-gradient(ellipse at center, rgba(255, 245, 184, 0.1) 0%, transparent 60%); background-size: 150vw 150vh, 180vw 200vh, 200vw 180vh; background-repeat: no-repeat; animation: smokeRise 18s linear infinite; }
.smoke-2 { background-image: radial-gradient(ellipse at center, rgba(227, 6, 19, 0.15) 0%, transparent 60%), radial-gradient(ellipse at center, rgba(209, 171, 62, 0.2) 0%, transparent 70%), radial-gradient(ellipse at center, rgba(255, 245, 184, 0.05) 0%, transparent 60%); animation: smokeRise2 22s linear infinite; }

@keyframes smokeRise {
    0% { background-position: -50vw 120vh, 20vw 150vh, 0vw 180vh; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { background-position: 20vw -120vh, -30vw -150vh, 40vw -180vh; opacity: 0; }
}
@keyframes smokeRise2 {
    0% { background-position: 30vw 100vh, -40vw 130vh, 20vw 160vh; opacity: 0; }
    20% { opacity: 0.8; }
    80% { opacity: 0.8; }
    100% { background-position: -30vw -100vh, 40vw -130vh, -20vw -160vh; opacity: 0; }
}

/* Typography */
h1, h2, h3, .logo { font-family: 'Teko', sans-serif; text-transform: uppercase; }
@keyframes goldGlare {
    from { background-position: -200% center; }
    to { background-position: 200% center; }
}
.gold {
    background: linear-gradient(-45deg, #8B6508 0%, #D1AB3E 30%, #FFF5B8 45%, #FFFFFF 50%, #FFF5B8 55%, #D1AB3E 70%, #8B6508 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 4px 4px rgba(0,0,0,0.8)) drop-shadow(0 0 20px rgba(209,171,62,0.5));
    display: inline-block;
    animation: goldGlare 4s linear infinite;
}
.red { color: var(--rcb-red); }
.text-center { text-align: center; }

/* Custom Cursor */
.cursor { position: fixed; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--rcb-red); mix-blend-mode: difference; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s, background 0.2s; }
.cursor.hover-link { width: 60px; height: 60px; background: rgba(209, 171, 62, 0.8); }

/* Lenis */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }

/* Nav */
nav { position: fixed; top: 0; width: 100%; padding: 20px 5%; display: flex; justify-content: space-between; align-items: center; z-index: 100; mix-blend-mode: difference; }
.nav-logo { height: 70px; width: auto; filter: drop-shadow(0 0 10px rgba(209,171,62,0.4)); transition: transform 0.3s ease; }
.nav-logo-link:hover .nav-logo { transform: scale(1.05); filter: drop-shadow(0 0 15px rgba(209,171,62,0.8)); }
.nav-links { list-style: none; display: flex; gap: 30px; }
.nav-links a { color: var(--text-main); text-decoration: none; font-size: 1.1rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }

/* Hero */
.hero { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; top: -10%; left: -10%; width: 120%; height: 120%; object-fit: cover; opacity: 0.7; filter: brightness(0.5); z-index: -1; transform: scale(1.1); pointer-events: none; }
.hero-content { text-align: center; z-index: 1; margin-top: 50px; }
.hero-subtitle { font-size: 2rem; background: linear-gradient(-45deg, #8B6508 0%, #D1AB3E 30%, #FFF5B8 45%, #FFFFFF 50%, #FFF5B8 55%, #D1AB3E 70%, #8B6508 100%); background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; color: transparent; filter: drop-shadow(0 0 15px rgba(209,171,62,0.5)); animation: goldGlare 4s linear infinite; letter-spacing: 8px; margin-bottom: 0px; opacity: 0; transform: translateY(20px); }
.hero-title { font-size: 8rem; line-height: 0.9; text-shadow: 0 0 30px rgba(227,6,19,0.3); overflow: hidden; perspective: 1000px; display: inline-block; padding: 10px 0; }
.char { display: inline-block; transform: translateY(100px) rotateX(-90deg); opacity: 0; }
.hero-desc { max-width: 600px; margin: 30px auto; font-size: 1.2rem; color: var(--text-muted); opacity: 0; }

/* Legacy */
.legacy { padding: 150px 5%; background: linear-gradient(to bottom, transparent, rgba(227,6,19,0.05), transparent); min-height: 80vh; display: flex; align-items: center; }
.legacy-container { max-width: 1000px; margin: 0 auto; }
.section-title { font-size: 5rem; margin-bottom: 30px; line-height: 1; text-shadow: 0 0 20px rgba(227,6,19,0.2); }
.legacy-text { font-size: 1.5rem; line-height: 1.6; color: var(--text-main); margin-bottom: 50px; max-width: 800px; }
.legacy-stats { display: flex; gap: 50px; flex-wrap: wrap; }
.stat-item h3 { font-size: 4rem; background: linear-gradient(-45deg, #8B6508 0%, #D1AB3E 30%, #FFF5B8 45%, #FFFFFF 50%, #FFF5B8 55%, #D1AB3E 70%, #8B6508 100%); background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; color: transparent; filter: drop-shadow(0 4px 4px rgba(0,0,0,0.8)); animation: goldGlare 4s linear infinite; line-height: 1; }
.stat-item p { font-size: 1rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; }

.captains-timeline-wrapper { position: relative; max-width: 1200px; margin: 80px auto; padding: 20px 0; overflow: hidden; }
.captains-scroll-container { position: relative; padding: 40px 0; }
.captains-scroll-container::after { content: ''; position: absolute; width: 4px; background: linear-gradient(180deg, transparent, var(--rcb-gold), transparent); top: 0; bottom: 0; left: 50%; transform: translateX(-50%); border-radius: 2px; box-shadow: 0 0 15px rgba(209,171,62,0.6); }
.timeline-row { position: relative; width: 100%; margin-bottom: 60px; display: flex; justify-content: space-between; }
.timeline-row.left { justify-content: flex-start; }
.timeline-row.right { justify-content: flex-end; }
.timeline-dot { position: absolute; left: 50%; top: 50px; transform: translateX(-50%); width: 24px; height: 24px; background: #07070a; border: 4px solid var(--rcb-gold); border-radius: 50%; z-index: 2; box-shadow: 0 0 15px rgba(209,171,62,1); }
.timeline-content { width: 45%; position: relative; }
.captain-timeline-card { background: rgba(25, 27, 34, 0.4); border: 1px solid rgba(255,255,255,0.05); border-radius: 20px; padding: 25px; backdrop-filter: blur(10px); display: flex; align-items: center; gap: 30px; transition: 0.4s cubic-bezier(0.2,0.8,0.2,1); }
.timeline-row.left .captain-timeline-card { flex-direction: row-reverse; text-align: right; }
.timeline-row.right .captain-timeline-card { flex-direction: row; text-align: left; }
.captain-timeline-card:hover { transform: translateY(-10px) scale(1.02); border-color: rgba(209,171,62,0.5); box-shadow: 0 20px 40px rgba(0,0,0,0.6); }
.timeline-img-box { width: 130px; height: 130px; flex-shrink: 0; border-radius: 50%; overflow: hidden; border: 3px solid var(--rcb-gold); box-shadow: 0 10px 20px rgba(0,0,0,0.5); }
.timeline-img-box img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: 0.5s; }
.captain-timeline-card:hover .timeline-img-box img { transform: scale(1.1); }
.timeline-info { display: flex; flex-direction: column; justify-content: center; }
.timeline-year { font-size: 3.5rem; font-family: 'Teko', sans-serif; line-height: 1; margin-bottom: 5px; }
.timeline-name { font-size: 2rem; color: var(--text-main); text-transform: uppercase; letter-spacing: 2px; font-family: 'Teko', sans-serif; line-height: 1; }

@media (max-width: 900px) {
    .captains-scroll-container::after { left: 40px; }
    .timeline-dot { left: 40px; }
    .timeline-row.left, .timeline-row.right { justify-content: flex-end; }
    .timeline-content { width: calc(100% - 100px); }
    .timeline-row.left .captain-timeline-card, .timeline-row.right .captain-timeline-card { flex-direction: row; text-align: left; padding: 20px; gap: 20px; }
}

/* Trophies */
.trophies { padding: 150px 5%; max-width: 1400px; margin: 0 auto; }
.trophy-container { display: flex; flex-direction: column; align-items: center; }
.trophy-showcase { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: center; margin-top: 60px; width: 100%; }
.trophy-img-wrapper { position: relative; overflow: hidden; border-radius: 20px; box-shadow: 0 0 50px rgba(227,6,19,0.3); border: 2px solid var(--rcb-gold); background: #000; height: 750px; }
.trophy-img { width: 100%; height: 120%; object-fit: cover; object-position: center; transform: scale(1.1); transition: 0.5s; opacity: 0.9; }
.trophy-img-wrapper:hover .trophy-img { transform: scale(1); opacity: 1; filter: contrast(1.1); }
.trophy-info h3 { font-size: 4rem; background: linear-gradient(-45deg, #8B6508 0%, #D1AB3E 30%, #FFF5B8 45%, #FFFFFF 50%, #FFF5B8 55%, #D1AB3E 70%, #8B6508 100%); background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; color: transparent; filter: drop-shadow(0 4px 4px rgba(0,0,0,0.8)) drop-shadow(0 0 20px rgba(209,171,62,0.5)); animation: goldGlare 4s linear infinite; line-height: 1; margin-bottom: 20px; font-family: 'Teko', sans-serif; }
.trophy-info p { font-size: 1.2rem; line-height: 1.6; color: var(--text-muted); padding-left: 20px; border-left: 3px solid var(--rcb-red); }

/* Captain */
.captain { padding: 150px 5%; max-width: 1400px; margin: 0 auto; background: linear-gradient(to top, rgba(209,171,62,0.05), transparent); }
.captain-container { display: flex; flex-direction: column; align-items: center; }
.captain-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 60px; width: 100%; border: 1px solid rgba(255,255,255,0.05); background: rgba(25, 27, 34, 0.4); border-radius: 20px; padding: 50px; backdrop-filter: blur(10px); }
.captain-info h3 { font-size: 5rem; line-height: 1; margin-bottom: 30px; font-family: 'Teko', sans-serif; text-shadow: 0 0 20px rgba(209,171,62,0.4); }
.captain-timeline { list-style: none; border-left: 2px solid var(--rcb-red); padding-left: 30px; }
.captain-timeline li { font-size: 1.2rem; line-height: 1.6; color: var(--text-main); margin-bottom: 25px; position: relative; }
.captain-timeline li::before { content: ''; position: absolute; left: -37px; top: 8px; width: 12px; height: 12px; background: var(--rcb-gold); border-radius: 50%; box-shadow: 0 0 10px var(--rcb-gold); }
.captain-timeline.mirrored li::before { left: auto; right: -37px; }
.captain-timeline strong { color: var(--rcb-gold); font-size: 1.3rem; }
.captain-img-wrapper { position: relative; overflow: hidden; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); height: 600px; }
.captain-img { width: 100%; height: 120%; object-fit: cover; object-position: top; transform: scale(1.1); transition: 0.5s; background: #000; }
.captain-showcase:hover .captain-img { transform: scale(1); filter: brightness(1.1); }

/* Showcase */
.showcase { padding: 150px 5%; max-width: 1400px; margin: 0 auto; }
.showcase-grid { display: flex; flex-direction: column; gap: 100px; margin-top: 60px; }
.showcase-card { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; background: rgba(25, 27, 34, 0.5); border: 1px solid rgba(255,255,255,0.05); padding: 40px; border-radius: 20px; backdrop-filter: blur(10px); transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.showcase-card:nth-child(even) { grid-template-columns: 1fr 1fr; direction: rtl; }
.showcase-card:nth-child(even) .card-content { direction: ltr; }
.showcase-card:hover { transform: scale(1.02); border-color: rgba(209,171,62,0.3); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.card-img-wrapper { overflow: hidden; border-radius: 12px; height: 500px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); background: #000; }
.card-img-inner { width: 100%; height: 120%; object-fit: cover; object-position: top; transform: scale(1.1); filter: grayscale(50%); transition: 0.5s; opacity: 0.8; }
.showcase-card:hover .card-img-inner { filter: grayscale(0%); transform: scale(1); opacity: 1; }
.card-role { color: var(--rcb-red); font-weight: bold; font-size: 1.2rem; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px; }
.card-name { font-size: 5rem; line-height: 1; margin-bottom: 20px; text-shadow: 0 0 20px rgba(227,6,19,0.2); font-family: 'Teko', sans-serif; }
.card-highlight { font-size: 1.2rem; color: var(--text-muted); padding-left: 20px; border-left: 3px solid var(--rcb-gold); margin-bottom: 20px; line-height: 1.5; }
.card-desc { font-size: 1rem; color: rgba(255,255,255,0.7); line-height: 1.6; margin-bottom: 30px; }
.card-stats { display: flex; gap: 30px; }
.card-stat h4 { font-size: 2.5rem; color: var(--text-main); font-family: 'Teko', sans-serif; line-height: 1; }
.card-stat span { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* Footer */
.footer { text-align: center; padding: 100px 20px; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 100px; }
.footer h2 { font-size: 5rem; text-transform: uppercase; letter-spacing: 5px; margin-bottom: 20px; }

@media (max-width: 900px) {
    .showcase-card, .showcase-card:nth-child(even) { grid-template-columns: 1fr; direction: ltr; }
    .trophy-showcase { grid-template-columns: 1fr; }
    .captain-showcase { grid-template-columns: 1fr; padding: 30px; }
    .trophy-img-wrapper, .captain-img-wrapper { height: 500px; }
    .hero-title { font-size: 5rem; }
    .section-title { font-size: 3.5rem; }
}
