:root {
    --primary: #FF6B00;
    --secondary: #1A1A1A;
    --bg-light: #FFFFFF;
    --bg-soft: #F9F9F9;
    --bg-footer: #FFF5F0;
    --text-main: #333333;
    --text-muted: #666666;
    --border: #EEEEEE;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--text-main); line-height: 1.6; background: var(--bg-soft); overflow-x: hidden; }
h1, h2, h3, h4, .logo-text, .bebas { font-family: 'Bebas Neue', sans-serif; text-transform: uppercase; letter-spacing: 1px; }

.container-full { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 2rem; }

/* Header */
header { background: var(--secondary); color: white; padding: 1rem 0; sticky: top; z-index: 1000; position: sticky; top: 0; border-bottom: 2px solid var(--primary); }
nav { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; text-decoration: none; color: white; gap: 0.5rem; }
.logo-icon { font-size: 2rem; }
.logo-text { font-size: 1.8rem; font-weight: 900; }
.logo-text span { color: var(--primary); }
.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a { color: white; text-decoration: none; font-weight: 700; text-transform: uppercase; font-size: 0.9rem; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.header-search input { background: rgba(255,255,255,0.1); border: none; padding: 0.6rem 1.2rem; border-radius: 50px; color: white; font-size: 0.85rem; width: 220px; border: 1px solid rgba(255,255,255,0.2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.8rem; border-radius: 50px; font-weight: 800; text-transform: uppercase; text-decoration: none; transition: all 0.3s; border: none; cursor: pointer; font-size: 0.9rem; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 5px 20px rgba(255,107,0,0.4); }
.btn-secondary { background: white; color: var(--secondary); }
.btn-outline { border: 2px solid white; color: white; }

/* Home Hero */
.home-hero-image { position: relative; height: 550px; overflow: hidden; margin-bottom: 4rem; background: var(--secondary); }
.hero-bg { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.hero-overlay { position: absolute; inset: 0; display: flex; align-items: center; color: white; z-index: 2; background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 100%); }
.hero-overlay h1 { font-size: 6rem; line-height: 0.9; margin-bottom: 1.5rem; }
.hero-overlay p { font-size: 1.3rem; max-width: 650px; margin-bottom: 2.5rem; opacity: 0.9; font-weight: 300; }
.hero-actions { display: flex; gap: 1.5rem; }

/* Home Layout */
.home-layout { display: grid; grid-template-columns: 1fr 380px; gap: 4rem; padding-bottom: 6rem; }
.section-header { margin-bottom: 3rem; border-left: 6px solid var(--primary); padding-left: 2rem; }
.section-header h2 { font-size: 3rem; margin-bottom: 0.5rem; }

/* Game Rows */
.games-compact-list { display: flex; flex-direction: column; gap: 1.2rem; }
.game-row { display: flex; align-items: center; background: white; padding: 1.5rem 2.5rem; border-radius: var(--radius); box-shadow: var(--shadow); transition: all 0.3s; }
.game-row:hover { transform: scale(1.02); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.game-date { font-weight: 800; color: var(--text-muted); font-size: 0.9rem; width: 80px; }
.game-teams { flex: 1; display: flex; align-items: center; justify-content: center; gap: 3rem; }
.team-info { display: flex; align-items: center; gap: 1.5rem; }
.team-abbr { font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; }
.team-score { font-size: 2.5rem; font-weight: 900; background: #F5F5F5; padding: 0.3rem 1.2rem; border-radius: 10px; min-width: 90px; text-align: center; }
.team-info.winner .team-score { background: var(--primary); color: white; }
.vs-divider { font-family: 'Bebas Neue', sans-serif; color: var(--text-muted); font-size: 1.5rem; opacity: 0.5; }
.badge-final { background: #EEE; padding: 0.5rem 1rem; border-radius: 6px; font-size: 0.8rem; font-weight: 900; text-transform: uppercase; }

/* Featured Banner */
.featured-banner { background: var(--secondary); color: white; margin-top: 4rem; position: relative; overflow: hidden; }
.featured-content { position: relative; z-index: 2; padding: 3rem; }
.featured-content h3 { font-size: 3rem; margin-bottom: 1rem; color: var(--primary); }
.featured-content p { font-size: 1.1rem; max-width: 700px; margin-bottom: 2rem; opacity: 0.8; }

/* Sidebar */
.sidebar-block { background: white; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 2.5rem; }
.sidebar-block h3 { font-size: 1.8rem; margin-bottom: 1.5rem; border-bottom: 3px solid var(--primary); display: inline-block; padding-bottom: 0.3rem; }
.sidebar-search-box input { width: 100%; padding: 1rem; border-radius: 10px; border: 1px solid var(--border); margin-bottom: 1.5rem; background: var(--bg-soft); }
.side-player-list { list-style: none; }
.side-player-list li a { display: flex; justify-content: space-between; align-items: center; padding: 0.8rem 0; border-bottom: 1px solid #F9F9F9; text-decoration: none; color: var(--text-main); font-weight: 600; }
.side-player-list li a:hover { color: var(--primary); }
.p-num { color: var(--primary); font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; }
.stat-card { display: flex; align-items: center; gap: 1.5rem; }
.stat-icon { width: 60px; height: 60px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.5rem; }
.stat-nb { display: block; font-size: 2.5rem; font-family: 'Bebas Neue', sans-serif; line-height: 1; }
.stat-txt { font-size: 0.9rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; }

/* Player Profile */
.player-profile-page { background: var(--bg-light); }
.player-hero { position: relative; height: 450px; background: var(--secondary); overflow: hidden; display: flex; align-items: center; color: white; }
.player-hero-bg { position: absolute; right: -50px; bottom: -50px; font-size: 35rem; font-family: 'Bebas Neue', sans-serif; color: rgba(255,107,0,0.12); z-index: 1; line-height: 1; pointer-events: none; }
.player-hero-content { position: relative; z-index: 2; width: 100%; }
.player-title-box h1 { font-size: 7.5rem; line-height: 0.9; margin: 0.5rem 0; }
.player-position-badge { background: var(--primary); color: white; padding: 0.6rem 1.5rem; border-radius: 6px; font-weight: 900; font-size: 1.2rem; }
.player-tags { display: flex; gap: 1.5rem; margin-top: 1rem; }
.player-tags .tag { display: flex; align-items: center; gap: 0.6rem; background: rgba(255,255,255,0.1); padding: 0.6rem 1.2rem; border-radius: 50px; font-weight: 700; text-decoration: none; color: white; }

.stats-bar-full { background: var(--primary); color: white; padding: 2rem 0; box-shadow: 0 10px 30px rgba(255,107,0,0.3); }
.stats-grid-horizontal { display: flex; justify-content: space-around; align-items: center; }
.stat-item { text-align: center; }
.stat-label { font-size: 1rem; font-weight: 800; opacity: 0.8; text-transform: uppercase; margin-bottom: 0.2rem; display: block; }
.stat-value { font-size: 3.5rem; font-family: 'Bebas Neue', sans-serif; line-height: 1; }

.player-content-layout { display: grid; grid-template-columns: 380px 1fr; gap: 4rem; margin-top: 4rem; }

/* Left Sidebar Player */
.player-sidebar-left { display: flex; flex-direction: column; gap: 2.5rem; }
.sidebar-card { background: white; padding: 2.5rem; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 5px solid var(--primary); }
.sidebar-card h3 { font-size: 2rem; margin-bottom: 2rem; border-bottom: 2px solid #F0F0F0; padding-bottom: 0.5rem; }
.profile-details li { list-style: none; margin-bottom: 1.2rem; font-size: 1.1rem; border-bottom: 1px solid #F9F9F9; padding-bottom: 0.8rem; }
.awards-list li { list-style: none; display: flex; gap: 1rem; margin-bottom: 1rem; font-size: 1rem; line-height: 1.4; font-weight: 500; }
.awards-list li i { color: var(--primary); flex-shrink: 0; }

.discovery-links { display: flex; flex-direction: column; gap: 1rem; }
.discovery-link { display: flex; justify-content: space-between; align-items: center; text-decoration: none; color: var(--text-main); background: var(--bg-soft); padding: 1.2rem; border-radius: 10px; font-weight: 800; transition: all 0.3s; font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem; letter-spacing: 1px; }
.discovery-link:hover { background: var(--primary); color: white; transform: scale(1.03); }

/* Main Content Player */
.player-bio-section { padding: 4rem; }
.player-bio-section h2 { font-size: 3.5rem; margin-bottom: 2.5rem; }
.bio-text { font-size: 1.2rem; color: #333; line-height: 2; text-align: justify; }
.bio-text::first-letter { font-size: 5rem; float: left; margin: 0.5rem 1rem 0 0; line-height: 1; color: var(--primary); font-family: 'Bebas Neue', sans-serif; }

.player-navigation-footer { display: flex; gap: 2rem; margin-top: 5rem; border-top: 2px solid #F0F0F0; padding-top: 3rem; }
.btn-nav { flex: 1; display: flex; align-items: center; gap: 1.5rem; padding: 2rem; background: var(--bg-soft); border-radius: 15px; text-decoration: none; color: var(--secondary); transition: all 0.3s; }
.btn-nav:hover { background: #EEE; transform: translateY(-5px); }
.btn-nav small { font-weight: 800; color: var(--text-muted); text-transform: uppercase; font-size: 0.8rem; display: block; }
.btn-nav span { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; line-height: 1; }
.btn-nav.next { text-align: right; justify-content: flex-end; }

/* Similar Legends Pills */
.similar-legends-section { margin-top: 5rem; }
.similar-legends-section h3 { font-size: 3rem; margin-bottom: 2rem; }
.pills-container { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.player-pill-btn { display: flex; align-items: center; gap: 1rem; background: white; padding: 1rem 2rem; border-radius: 50px; box-shadow: var(--shadow); text-decoration: none; color: var(--secondary); font-weight: 800; border: 2px solid transparent; transition: all 0.3s; font-size: 1rem; }
.player-pill-btn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-5px); }
.pill-team { font-size: 0.8rem; background: #F0F0F0; padding: 0.3rem 0.6rem; border-radius: 5px; color: var(--text-muted); }

/* Listing Page */
.listing-hero { padding: 8rem 0; }
.listing-controls { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; margin-top: -4rem; margin-bottom: 4rem; }
.listing-search { position: relative; }
.listing-search i { position: absolute; left: 1.5rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.listing-search input { width: 100%; padding: 1.5rem 1.5rem 1.5rem 4rem; border-radius: 50px; border: none; box-shadow: var(--shadow); font-size: 1.1rem; }
.listing-filters select { width: 100%; padding: 1.5rem; border-radius: 50px; border: none; box-shadow: var(--shadow); font-weight: 700; appearance: none; background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1.5rem center; }

.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2.5rem; margin-bottom: 6rem; }
.player-card-premium { background: white; border-radius: var(--radius); padding: 3rem 2.5rem; box-shadow: var(--shadow); text-decoration: none; color: var(--secondary); position: relative; overflow: hidden; transition: all 0.4s; border: 2px solid transparent; }
.player-card-premium:hover { transform: translateY(-15px); border-color: var(--primary); }
.card-num-bg { position: absolute; right: -20px; bottom: -30px; font-size: 12rem; font-family: 'Bebas Neue', sans-serif; color: rgba(255,107,0,0.06); line-height: 1; z-index: 1; }
.card-pos-badge { position: relative; z-index: 2; background: var(--primary); color: white; font-weight: 900; font-size: 0.8rem; padding: 0.3rem 0.8rem; border-radius: 5px; }
.player-card-premium h3 { position: relative; z-index: 2; font-size: 2.8rem; margin: 1rem 0 0.2rem; line-height: 1; }
.card-team { position: relative; z-index: 2; color: var(--text-muted); font-weight: 700; display: block; margin-bottom: 2rem; }
.card-stats { position: relative; z-index: 2; display: flex; gap: 1.5rem; border-top: 1px solid #F5F5F5; padding-top: 1.5rem; }
.card-stat { text-align: center; }
.cs-val { display: block; font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; line-height: 1; color: var(--secondary); }
.cs-lab { font-size: 0.7rem; font-weight: 800; color: var(--text-muted); text-transform: uppercase; }

/* Footer */
footer { background: var(--bg-footer); padding: 6rem 0 3rem; border-top: 5px solid var(--primary); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-logo .logo-text { font-size: 2.5rem; color: var(--secondary); margin-bottom: 1.5rem; display: inline-block; }
.footer-desc { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 400px; }
.footer-socials { display: flex; gap: 1.2rem; }
.social-icon { width: 50px; height: 50px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--secondary); transition: all 0.3s; box-shadow: var(--shadow); }
.social-icon:hover { background: var(--primary); color: white; transform: scale(1.1) rotate(15deg); }
.footer-col h4 { font-size: 1.6rem; color: var(--secondary); margin-bottom: 2rem; }
.footer-col ul li { list-style: none; margin-bottom: 1rem; }
.footer-col ul li a { text-decoration: none; color: var(--text-muted); font-weight: 600; transition: all 0.3s; }
.footer-col ul li a:hover { color: var(--primary); padding-left: 8px; }
.footer-bottom { border-top: 1px solid rgba(0,0,0,0.05); padding-top: 3rem; text-align: center; color: var(--text-muted); font-weight: 700; font-size: 0.9rem; }

/* Animations */
.reveal-on-scroll { opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }

@media (max-width: 1200px) {
    .home-layout, .player-content-layout { grid-template-columns: 1fr; }
    .player-sidebar-left { order: 2; }
    .player-main-content { order: 1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .container-full { padding: 0 1.5rem; }
    .hero-overlay h1 { font-size: 3.5rem; }
    .player-title-box h1 { font-size: 4rem; }
    .stats-grid-horizontal { flex-wrap: wrap; gap: 3rem; }
    .stat-item { width: 40%; }
    .listing-controls { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .game-teams { flex-direction: column; gap: 1rem; }
}