/* ============================================
   NEYMAR JR WEBSITE - COMPLETE STYLESHEET
   All Pages CSS in One File
   ============================================ */

/* ============================================
   GOOGLE FONTS IMPORT
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Orbitron:wght@400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700;800;900&family=Montserrat:wght@300;400;500;600;700;800;900&family=Bebas+Neue&display=swap');

/* ============================================
   CSS VARIABLES - ALL COLORS
   ============================================ */
:root {
    /* Home Page / Neon Colors */
    --neon-blue: #00f5ff;
    --neon-pink: #ff00ff;
    --neon-yellow: #ffff00;
    --neon-green: #00ff88;
    --gold: #ffd700;
    
    /* PSG Colors */
    --psg-blue: #004170;
    --psg-red: #DA291C;
    --psg-white: #FFFFFF;
    --psg-gold: #FFD700;
    --psg-dark: #00152B;
    
    /* Brazil Colors */
    --brazil-green: #009739;
    --brazil-yellow: #FEDD00;
    --brazil-blue: #002776;
    
    /* Barcelona Colors */
    --barca-blue: #004D98;
    --barca-red: #A50044;
    --barca-gold: #EDBB00;
    --barca-dark: #1a0a1a;
    --barca-darker: #0d050d;
    
    /* Santos Colors */
    --santos-white: #FFFFFF;
    --santos-black: #1a1a1a;
    --santos-gold: #C9A227;
    --santos-silver: #C0C0C0;
    --santos-gray: #2d2d2d;
    --beach-sand: #F5DEB3;
    --ocean-blue: #006994;
    --ocean-light: #40E0D0;
    
    /* Common Colors */
    --dark-bg: #0a0a0f;
    --darker-bg: #050508;
    --light-text: #ffffff;
    --gray-text: rgba(255, 255, 255, 0.7);
    --shadow-color: rgba(0, 0, 0, 0.3);
    
    /* Animation Speeds */
    --speed-slow: 3s;
    --speed-medium: 1.5s;
    --speed-fast: 0.5s;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::selection {
    background: var(--gold);
    color: var(--dark-bg);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--neon-blue), var(--neon-pink));
    border-radius: 10px;
    border: 2px solid var(--darker-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--gold), var(--neon-pink));
}

/* ============================================
   LOADING SCREENS - ALL PAGES
   ============================================ */
.loader-wrapper,
.loading-screen,
.barca-loader,
.santos-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-wrapper.hidden,
.loading-screen.hidden,
.barca-loader.hidden,
.santos-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Loader Animations */
.loader-circle,
.loader-ring {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 5px solid transparent;
    border-radius: 50%;
}

.loader-ring:nth-child(1) {
    border-top-color: var(--neon-blue);
    animation: loaderSpin 1.5s linear infinite;
}

.loader-ring:nth-child(2) {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-right-color: var(--neon-pink);
    animation: loaderSpin 2s linear reverse infinite;
}

.loader-ring:nth-child(3) {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-bottom-color: var(--gold);
    animation: loaderSpin 1s linear infinite;
}

@keyframes loaderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text,
.loader-text-barca,
.loader-text-santos {
    margin-top: 50px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 15px;
    color: var(--light-text);
    position: relative;
    overflow: hidden;
}

.loader-text::after,
.loader-text-barca::after,
.loader-text-santos::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% { left: 100%; }
}

/* ============================================
   BACK TO HOME BUTTON - ALL PAGES
   ============================================ */
.back-home-btn,
.back-btn-santos,
.back-btn-barca,
.back-home {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 1000;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink));
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

/* PSG specific back button */
.back-home-btn {
    background: linear-gradient(135deg, var(--psg-red), var(--psg-blue));
}

/* Barcelona specific back button */
.back-btn-barca {
    background: linear-gradient(135deg, var(--barca-blue), var(--barca-red));
}

/* Santos specific back button */
.back-btn-santos {
    background: var(--santos-white);
    color: var(--santos-black);
}

.back-home-btn::before,
.back-btn-santos::before,
.back-btn-barca::before,
.back-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.back-home-btn:hover::before,
.back-btn-santos:hover::before,
.back-btn-barca:hover::before,
.back-home:hover::before {
    left: 100%;
}

.back-home-btn:hover,
.back-btn-santos:hover,
.back-btn-barca:hover,
.back-home:hover {
    transform: translateX(10px) scale(1.05);
    box-shadow: 0 15px 50px rgba(255, 0, 255, 0.4);
}

.back-btn-santos:hover {
    background: var(--santos-gold);
}

.back-home-btn i,
.back-btn-santos i,
.back-btn-barca i,
.back-home i {
    transition: transform 0.3s ease;
}

.back-home-btn:hover i,
.back-btn-santos:hover i,
.back-btn-barca:hover i,
.back-home:hover i {
    transform: translateX(-5px);
}

/* ============================================
   NAVIGATION - HOME PAGE
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.5s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 60px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    animation: logoRotate 10s linear infinite;
}

@keyframes logoRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 50px;
    list-style: none;
}

.nav-menu li a {
    color: var(--gray-text);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink));
    transition: width 0.4s ease;
}

.nav-menu li a:hover {
    color: var(--light-text);
    text-shadow: 0 0 20px var(--neon-blue);
}

.nav-menu li a:hover::before {
    width: 100%;
}

/* ============================================
   SECTION COMMON STYLES
   ============================================ */
.section,
.barca-section,
.santos-section {
    padding: 120px 20px;
    position: relative;
    z-index: 1;
}

.container,
.section-container,
.section-container-barca {
    max-width: 1400px;
    margin: 0 auto;
}

/* Section Headers */
.section-header,
.section-header-barca,
.section-header-santos {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle,
.section-tag,
.section-tag-barca {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 20px;
}

.section-tag-barca::before,
.section-tag-barca::after {
    content: '';
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--barca-blue), var(--barca-red));
}

.section-title,
.section-title-barca,
.section-title-santos {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 800;
    color: var(--light-text);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink), var(--gold));
    border-radius: 2px;
}

.section-title span,
.section-title-barca span,
.section-title-santos span {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title-barca span {
    background: linear-gradient(135deg, var(--barca-blue), var(--barca-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   BUTTONS - ALL STYLES
   ============================================ */
.btn,
.hero-btn,
.btn-barca,
.btn-santos {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 45px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.btn-primary,
.hero-btn-primary,
.btn-barca-primary,
.btn-santos-primary {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink));
    color: white;
    box-shadow: 0 15px 40px rgba(0, 245, 255, 0.3);
}

.btn-barca-primary {
    background: linear-gradient(135deg, var(--barca-blue), var(--barca-red));
    box-shadow: 0 15px 40px rgba(165, 0, 68, 0.3);
}

.btn-santos-primary {
    background: var(--santos-white);
    color: var(--santos-black);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover,
.hero-btn-primary:hover,
.btn-barca-primary:hover,
.btn-santos-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(255, 0, 255, 0.5);
}

.btn-outline,
.hero-btn-outline,
.btn-barca-outline,
.btn-santos-outline {
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--gold);
}

.btn-santos-outline {
    border-color: var(--santos-white);
}

.btn-barca-outline {
    border-color: var(--barca-gold);
}

.btn-outline:hover,
.hero-btn-outline:hover,
.btn-barca-outline:hover,
.btn-santos-outline:hover {
    background: var(--gold);
    color: var(--dark-bg);
    transform: translateY(-5px);
}

.btn-barca-outline:hover {
    background: var(--barca-gold);
    color: var(--barca-darker);
}

.btn-santos-outline:hover {
    background: var(--santos-white);
    color: var(--santos-black);
}

/* ============================================
   STATS CARDS - ALL PAGES
   ============================================ */
.stats-grid,
.stats-cards-container,
.stats-grid-barca {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card,
.santos-stat-card,
.stat-card-barca {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 50px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-card::before,
.santos-stat-card::before,
.stat-card-barca::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.7s ease;
}

.stat-card:hover::before,
.santos-stat-card:hover::before,
.stat-card-barca:hover::before {
    left: 100%;
}

.stat-card:hover,
.santos-stat-card:hover,
.stat-card-barca:hover {
    transform: translateY(-20px) scale(1.02);
    border-color: var(--gold);
    box-shadow: 0 30px 60px rgba(255, 215, 0, 0.3);
}

.stat-card-barca::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--barca-blue), var(--barca-red));
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.stat-card-barca:hover::before {
    transform: scaleX(1);
}

.stat-icon,
.stat-icon-santos,
.stat-icon-barca {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: white;
    box-shadow: 0 15px 35px rgba(0, 245, 255, 0.3);
    transition: all 0.5s ease;
    animation: iconFloat 3s ease-in-out infinite;
}

.stat-icon-barca {
    background: linear-gradient(135deg, var(--barca-blue), var(--barca-red));
}

.stat-icon-santos {
    background: linear-gradient(135deg, var(--santos-white), #e0e0e0);
    color: var(--santos-black);
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.stat-card:hover .stat-icon,
.santos-stat-card:hover .stat-icon-santos,
.stat-card-barca:hover .stat-icon-barca {
    transform: rotateY(180deg) scale(1.1);
}

.santos-stat-card:hover .stat-icon-santos {
    background: linear-gradient(135deg, var(--santos-gold), #e8c547);
}

.stat-number,
.stat-number-santos,
.stat-number-barca {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 10px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.stat-number-barca {
    background: linear-gradient(135deg, var(--barca-blue), var(--barca-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-number-santos {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--santos-white);
}

.stat-label,
.stat-label-santos,
.stat-label-barca {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* ============================================
   GALLERY - ALL PAGES
   ============================================ */
.gallery-grid,
.gallery-masonry,
.gallery-grid-barca {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.gallery-item,
.gallery-masonry-item,
.gallery-item-barca {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
}

.gallery-item:hover,
.gallery-masonry-item:hover,
.gallery-item-barca:hover {
    transform: translateY(-10px);
}

.gallery-item img,
.gallery-masonry-item img,
.gallery-item-barca img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.7s ease;
}

.gallery-masonry-item img {
    filter: grayscale(30%);
}

.gallery-item:hover img,
.gallery-masonry-item:hover img,
.gallery-item-barca:hover img {
    transform: scale(1.15);
}

.gallery-masonry-item:hover img {
    filter: grayscale(0%);
}

.gallery-overlay,
.gallery-masonry-overlay,
.gallery-overlay-barca {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.95), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-item:hover .gallery-overlay,
.gallery-masonry-item:hover .gallery-masonry-overlay,
.gallery-item-barca:hover .gallery-overlay-barca {
    opacity: 1;
}

.gallery-overlay h3,
.gallery-masonry-overlay h3,
.gallery-overlay-barca h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-overlay h3,
.gallery-masonry-item:hover .gallery-masonry-overlay h3,
.gallery-item-barca:hover .gallery-overlay-barca h3 {
    transform: translateY(0);
}

.gallery-overlay p,
.gallery-masonry-overlay p,
.gallery-overlay-barca p {
    color: var(--gold);
    transform: translateY(20px);
    transition: transform 0.5s ease 0.1s;
}

.gallery-masonry-overlay p {
    color: var(--santos-gold);
}

.gallery-overlay-barca p {
    color: var(--barca-gold);
}

.gallery-item:hover .gallery-overlay p,
.gallery-masonry-item:hover .gallery-masonry-overlay p,
.gallery-item-barca:hover .gallery-overlay-barca p {
    transform: translateY(0);
}

/* Glowing border on hover */
.gallery-item::before,
.gallery-masonry-item::before,
.gallery-item-barca::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 4px solid transparent;
    border-radius: 25px;
    z-index: 10;
    transition: all 0.5s ease;
    pointer-events: none;
}

.gallery-item:hover::before {
    border-color: var(--gold);
}

.gallery-masonry-item:hover::before {
    border-image: linear-gradient(135deg, var(--santos-white), var(--santos-gold)) 1;
}

.gallery-item-barca:hover::before {
    border-image: linear-gradient(135deg, var(--barca-blue), var(--barca-red)) 1;
}

/* ============================================
   TIMELINE - ALL PAGES
   ============================================ */
.timeline,
.santos-timeline,
.timeline-barca {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before,
.santos-timeline::before,
.timeline-barca::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--neon-blue), var(--neon-pink), var(--gold));
    border-radius: 2px;
}

.santos-timeline::before {
    background: linear-gradient(to bottom, var(--santos-gold), var(--santos-white), var(--santos-gold));
}

.timeline-barca::before {
    background: linear-gradient(to bottom, var(--barca-blue), var(--barca-red), var(--barca-gold));
}

.timeline-item,
.timeline-item-santos,
.timeline-item-barca {
    display: flex;
    justify-content: flex-end;
    padding-right: 70px;
    width: 50%;
    margin-bottom: 80px;
    position: relative;
}

.timeline-item:nth-child(even),
.timeline-item-santos:nth-child(even),
.timeline-item-barca:nth-child(even) {
    margin-left: 50%;
    padding-right: 0;
    padding-left: 70px;
    justify-content: flex-start;
}

.timeline-content,
.timeline-content-santos,
.timeline-content-barca {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 25px;
    max-width: 400px;
    transition: all 0.5s ease;
}

.timeline-content:hover,
.timeline-content-santos:hover,
.timeline-content-barca:hover {
    transform: scale(1.05);
    border-color: var(--gold);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.2);
}

.timeline-content-barca:hover {
    border-color: var(--barca-gold);
}

.timeline-dot,
.timeline-dot-santos,
.timeline-dot-barca {
    position: absolute;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink));
    border-radius: 50%;
    right: -85px;
    top: 40px;
    border: 5px solid var(--darker-bg);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    animation: dotPulse 2s infinite;
}

.timeline-dot-barca {
    background: linear-gradient(135deg, var(--barca-blue), var(--barca-red));
}

.timeline-dot-santos {
    background: var(--santos-gold);
    border-color: var(--santos-black);
}

.timeline-item:nth-child(even) .timeline-dot,
.timeline-item-santos:nth-child(even) .timeline-dot-santos,
.timeline-item-barca:nth-child(even) .timeline-dot-barca {
    left: -85px;
    right: auto;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.5); }
    50% { box-shadow: 0 0 40px rgba(255, 215, 0, 0.8); }
}

.timeline-year,
.timeline-year-santos,
.timeline-year-barca {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.timeline-year-santos {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--santos-gold);
}

.timeline-year-barca {
    background: linear-gradient(135deg, var(--barca-blue), var(--barca-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-content h3,
.timeline-content-santos h3,
.timeline-content-barca h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 15px;
}

.timeline-content p,
.timeline-content-santos p,
.timeline-content-barca p {
    color: var(--gray-text);
    line-height: 1.8;
}

/* ============================================
   TROPHY/ACHIEVEMENT CARDS
   ============================================ */
.achievements-grid,
.trophy-showcase,
.trophies-grid-barca {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.achievement-card,
.trophy-card,
.trophy-card-barca {
    background: linear-gradient(135deg, rgba(0, 77, 152, 0.1), rgba(165, 0, 68, 0.1));
    border-radius: 30px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.achievement-card::before,
.trophy-card::before,
.trophy-card-barca::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: conic-gradient(from 0deg, transparent, var(--gold), transparent);
    animation: trophyRotate 8s linear infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.achievement-card:hover::before,
.trophy-card:hover::before,
.trophy-card-barca:hover::before {
    opacity: 0.2;
}

@keyframes trophyRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.achievement-card:hover,
.trophy-card:hover,
.trophy-card-barca:hover {
    transform: translateY(-15px) rotateX(5deg);
    border-color: var(--gold);
    box-shadow: 0 30px 60px rgba(255, 215, 0, 0.2);
}

.trophy-card-barca:hover {
    border-color: var(--barca-gold);
}

.achievement-icon,
.trophy-icon,
.trophy-icon-barca,
.trophy-icon-santos {
    font-size: 5rem;
    margin-bottom: 25px;
    display: block;
    animation: trophyFloat 3s ease-in-out infinite;
}

@keyframes trophyFloat {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-15px) rotate(3deg); }
}

.achievement-card h3,
.trophy-card h3,
.trophy-card-barca h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.trophy-card-barca h3 {
    background: linear-gradient(135deg, var(--barca-blue), var(--barca-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.achievement-card p,
.trophy-card p,
.trophy-card-barca p {
    color: var(--gray-text);
    line-height: 1.7;
}

/* ============================================
   QUOTE SECTIONS - ALL PAGES
   ============================================ */
.quote-section,
.santos-quote-section,
.quote-section-barca {
    padding: 150px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quote-box,
.santos-quote-box,
.quote-container-barca {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px;
    border-radius: 40px;
    position: relative;
}

.quote-box::before,
.quote-box::after,
.santos-quote-box::before,
.santos-quote-box::after {
    content: '"';
    font-size: 8rem;
    color: var(--gold);
    font-family: Georgia, serif;
    position: absolute;
    opacity: 0.3;
}

.quote-box::before,
.santos-quote-box::before {
    top: 20px;
    left: 30px;
}

.quote-box::after,
.santos-quote-box::after {
    bottom: -30px;
    right: 30px;
}

.quote-text,
.quote-text-santos,
.quote-text-barca {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-style: italic;
    line-height: 1.8;
    color: white;
    margin-bottom: 40px;
}

.quote-author,
.quote-author-santos,
.quote-author-barca {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.quote-author img,
.quote-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.quote-author-info {
    text-align: left;
}

.quote-author-name,
.quote-author-santos {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
}

.quote-author-name {
    background: linear-gradient(135deg, var(--barca-blue), var(--barca-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quote-author-title {
    color: var(--gray-text);
    font-size: 0.9rem;
}

/* ============================================
   FOOTER - ALL PAGES
   ============================================ */
.footer,
.santos-footer,
.footer-barca {
    background: var(--darker-bg);
    padding: 80px 20px 40px;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content,
.footer-content-santos,
.footer-content-barca {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo,
.footer-logo-barca {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.footer-logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
}

.footer-logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-nav,
.footer-nav-santos,
.footer-nav-barca {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.footer-nav a,
.footer-nav-santos a,
.footer-nav-barca a {
    color: var(--gray-text);
    font-weight: 500;
    padding: 15px 25px;
    border-radius: 30px;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-nav a:hover,
.footer-nav-santos a:hover,
.footer-nav-barca a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--gold);
    transform: translateY(-5px);
}

.social-links,
.social-links-santos,
.social-links-barca {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.social-links a,
.social-links-santos a,
.social-links-barca a {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gray-text);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a:hover,
.social-links-santos a:hover,
.social-links-barca a:hover {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink));
    border-color: transparent;
    color: white;
    transform: translateY(-10px) rotate(360deg);
    box-shadow: 0 20px 40px rgba(0, 245, 255, 0.4);
}

.social-links-barca a:hover {
    background: linear-gradient(135deg, var(--barca-blue), var(--barca-red));
}

.social-links-santos a:hover {
    background: var(--santos-gold);
    color: var(--santos-black);
}

.copyright,
.copyright-santos,
.copyright-barca {
    color: var(--gray-text);
    font-size: 0.9rem;
}

.copyright span,
.copyright-santos span,
.copyright-barca span {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.copyright-barca span {
    background: linear-gradient(135deg, var(--barca-blue), var(--barca-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   RESPONSIVE DESIGN - ALL PAGES
   ============================================ */
@media (max-width: 1200px) {
    .stats-grid,
    .stats-cards-container,
    .stats-grid-barca {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title,
    .section-title-barca,
    .section-title-santos {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .gallery-grid,
    .gallery-masonry,
    .gallery-grid-barca {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .achievements-grid,
    .trophy-showcase,
    .trophies-grid-barca {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 20px 30px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .section,
    .barca-section,
    .santos-section {
        padding: 80px 15px;
    }
    
    .section-title,
    .section-title-barca,
    .section-title-santos {
        font-size: 2rem;
    }
    
    .stats-grid,
    .stats-cards-container,
    .stats-grid-barca {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid,
    .gallery-masonry,
    .gallery-grid-barca {
        grid-template-columns: 1fr;
    }
    
    .timeline::before,
    .santos-timeline::before,
    .timeline-barca::before {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even),
    .timeline-item-santos,
    .timeline-item-santos:nth-child(even),
    .timeline-item-barca,
    .timeline-item-barca:nth-child(even) {
        width: 100%;
        padding-left: 60px;
        padding-right: 0;
        margin-left: 0;
    }
    
    .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot,
    .timeline-dot-santos,
    .timeline-item-santos:nth-child(even) .timeline-dot-santos,
    .timeline-dot-barca,
    .timeline-item-barca:nth-child(even) .timeline-dot-barca {
        left: 5px;
        right: auto;
    }
    
    .quote-text,
    .quote-text-santos,
    .quote-text-barca {
        font-size: 1.5rem;
    }
    
    .quote-box,
    .santos-quote-box,
    .quote-container-barca {
        padding: 50px 30px;
    }
    
    .back-home-btn,
    .back-btn-santos,
    .back-btn-barca,
    .back-home {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
    
    .footer-nav,
    .footer-nav-santos,
    .footer-nav-barca {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .stat-number,
    .stat-number-santos,
    .stat-number-barca {
        font-size: 3rem;
    }
    
    .btn,
    .hero-btn,
    .btn-barca,
    .btn-santos {
        padding: 15px 30px;
        font-size: 0.85rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.hidden { display: none !important; }
.visible { display: block !important; }

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}