/* CSS Custom Properties for Team Colors */
:root {
    /* Team Colors */
    --team-north-color: #1e3a8a;
    --team-south-color: #7f1d1d;
    --team-north-hover: #1d4ed8;
    --team-south-hover: #991b1b;

    /* Brand Colors */
    --brand-green: #15803d;
    --brand-green-light: #16a34a;
    --brand-green-lighter: #22c55e;

    /* Common Colors */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #f8fafc;
    --bg-white: #ffffff;
    --border-light: #e5e7eb;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    padding-top: 64px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Minimal Header - Stripe/Apple Inspired */
.minimal-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.minimal-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
}

.logo-minimal {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    position: relative;
}

.logo-minimal:hover {
    color: #666;
    transform: translateY(-1px);
}

.logo-minimal::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    transition: width 0.3s ease;
}

.logo-minimal:hover::after {
    width: 100%;
}

/* Epic Hero Section */
.epic-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(30, 58, 138, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(127, 29, 29, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(5, 150, 105, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    animation: backgroundShift 15s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { filter: hue-rotate(0deg) brightness(1); }
    25% { filter: hue-rotate(15deg) brightness(1.1); }
    50% { filter: hue-rotate(-10deg) brightness(0.9); }
    75% { filter: hue-rotate(20deg) brightness(1.05); }
}

.golf-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, #22c55e, transparent),
        radial-gradient(2px 2px at 40px 70px, #10b981, transparent),
        radial-gradient(1px 1px at 90px 40px, #8b5cf6, transparent),
        radial-gradient(1px 1px at 130px 80px, #f97316, transparent),
        radial-gradient(2px 2px at 160px 30px, #06b6d4, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particleFloat 20s linear infinite;
    opacity: 0.6;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.animated-golf-course {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(180deg, transparent 0%, rgba(5, 150, 105, 0.1) 100%);
    border-top: 2px solid rgba(5, 150, 105, 0.3);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
    max-width: 1400px;
    padding: 0 20px;
}

.tournament-branding {
    margin-bottom: 4rem;
    animation: titleReveal 2s ease-out;
}

@keyframes titleReveal {
    0% { opacity: 0; transform: translateY(50px) scale(0.8); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.tournament-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 0.5rem;
    letter-spacing: 8px;
}

.epic-title {
    position: relative;
    font-size: 8rem;
    font-weight: 900;
    color: white;
    margin: 1rem 0;
    letter-spacing: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.title-line-1 {
    font-size: 1.2em;
    background: linear-gradient(45deg, #22c55e, #16a34a, #15803d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line-2 {
    font-size: 1em;
    margin-top: -0.3em;
}

.title-golf-ball {
    position: absolute;
    right: -60px;
    top: 20%;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle at 30% 30%, #ffffff, #f3f4f6, #d1d5db);
    border-radius: 50%;
    box-shadow:
        0 0 20px rgba(255, 255, 255, 0.6),
        inset -5px -5px 10px rgba(0, 0, 0, 0.2);
    animation: golfBallFloat 4s ease-in-out infinite;
}

@keyframes golfBallFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.tournament-tagline {
    font-size: 1.8rem;
    font-weight: 600;
    color: #e5e7eb;
    letter-spacing: 4px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: taglineSlide 2s ease-out 0.5s both;
}

@keyframes taglineSlide {
    0% { opacity: 0; transform: translateX(-100px); }
    100% { opacity: 1; transform: translateX(0); }
}

.battle-arena {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: center;
    margin: 4rem 0;
    animation: arenaRise 2s ease-out 1s both;
}

@keyframes arenaRise {
    0% { opacity: 0; transform: translateY(100px); }
    100% { opacity: 1; transform: translateY(0); }
}

.team-showcase {
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: perspective(1000px) rotateY(0deg);
    transition: all 0.5s ease;
    cursor: pointer;
    overflow: hidden;
}

.team-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 3px;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: exclude;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: borderShine 3s linear infinite;
}

@keyframes borderShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.team-showcase:hover {
    transform: perspective(1000px) rotateY(5deg) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.north-showcase {
    background: linear-gradient(145deg, rgba(30, 58, 138, 0.2), rgba(30, 58, 138, 0.1));
    border-color: rgba(30, 58, 138, 0.4);
}

.north-showcase:hover {
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.4);
    transform: perspective(1000px) rotateY(-5deg) scale(1.05);
}

.south-showcase {
    background: linear-gradient(145deg, rgba(127, 29, 29, 0.2), rgba(127, 29, 29, 0.1));
    border-color: rgba(127, 29, 29, 0.4);
}

.south-showcase:hover {
    box-shadow: 0 20px 40px rgba(127, 29, 29, 0.4);
    transform: perspective(1000px) rotateY(5deg) scale(1.05);
}

.team-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.north-showcase:hover .team-backdrop {
    background: radial-gradient(circle at center, rgba(30, 58, 138, 0.3) 0%, transparent 70%);
    opacity: 1;
}

.south-showcase:hover .team-backdrop {
    background: radial-gradient(circle at center, rgba(127, 29, 29, 0.3) 0%, transparent 70%);
    opacity: 1;
}

.team-emblem {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: emblemPulse 2s ease-in-out infinite;
}

@keyframes emblemPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.team-name-epic {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.north-showcase .team-name-epic {
    color: #3b82f6;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

.south-showcase .team-name-epic {
    color: #991b1b;
    text-shadow: 0 0 20px rgba(153, 27, 27, 0.6);
}

.team-battle-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-epic {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #22c55e;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #d1d5db;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-battle-cry {
    font-size: 1.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    color: #22c55e;
    letter-spacing: 1px;
}

.team-roster-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.roster-player {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #e5e7eb;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
}

.roster-player:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #22c55e;
    transform: translateY(-1px);
}

.roster-more {
    grid-column: span 2;
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
}

.roster-more:hover {
    background: rgba(34, 197, 94, 0.3);
    transform: translateY(-1px);
}

.vs-epicenter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.vs-lightning {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    animation: lightningPulse 2s ease-in-out infinite;
}

@keyframes lightningPulse {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.6; }
    50% { transform: translateX(-50%) scale(1.2); opacity: 1; }
}

.vs-text-epic {
    font-size: 4rem;
    font-weight: 900;
    color: white;
    letter-spacing: 4px;
}


.countdown-epic {
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(34, 197, 94, 0.4);
}

.countdown-number-epic {
    font-size: 3rem;
    font-weight: 900;
    color: #22c55e;
    margin-bottom: 0.5rem;
    animation: numberPulse 1.5s ease-in-out infinite;
}

@keyframes numberPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.countdown-label-epic {
    font-size: 0.9rem;
    color: #d1d5db;
    font-weight: 700;
    letter-spacing: 2px;
}

.trophy-epic {
    font-size: 3rem;
    animation: trophyFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(34, 197, 94, 0.6));
}

@keyframes trophyFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(5deg); }
    75% { transform: translateY(-5px) rotate(-5deg); }
}

.hero-call-to-action {
    margin-top: 4rem;
    animation: ctaSlide 2s ease-out 1.5s both;
}

@keyframes ctaSlide {
    0% { opacity: 0; transform: translateY(50px); }
    100% { opacity: 1; transform: translateY(0); }
}

.cta-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 2rem;
    letter-spacing: 3px;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-epic {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.btn-epic::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;
}

.btn-epic:hover::before {
    left: 100%;
}

.btn-primary-epic {
    background: linear-gradient(45deg, #fbbf24, #16a34a);
    color: #000;
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.4);
}

.btn-primary-epic:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.6);
    background: linear-gradient(45deg, #16a34a, #15803d);
}

.btn-secondary-epic {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary-epic:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* Rivalry Showcase */
.rivalry-showcase {
    padding: 6rem 0;
    background: linear-gradient(180deg, #000 0%, #1a1a1a 100%);
    position: relative;
}

.rivalry-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

.rivalry-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title-epic {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    animation: titleReveal 1s ease-out;
}

.rivalry-description {
    font-size: 1.3rem;
    color: #9ca3af;
    font-weight: 500;
    letter-spacing: 1px;
}

.rivalry-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.rivalry-stat-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.rivalry-stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.4);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.stat-big-number {
    font-size: 4rem;
    font-weight: 900;
    color: #22c55e;
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 1.1rem;
    color: #d1d5db;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Event Info Section */
.event-info-section {
    padding: 4rem 0;
    background: white;
}

.event-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.event-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.event-card:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.event-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.event-details {
    margin-bottom: 1.5rem;
}

.event-date {
    font-size: 1.1rem;
    font-weight: 600;
    color: #059669;
    margin-bottom: 0.5rem;
}

.event-venue, .event-time, .event-winner, .event-score {
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.format-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.format-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.format-name {
    font-weight: 600;
    color: #1f2937;
}

.format-desc {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #1e40af, #059669);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: #f1f5f9;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
}

/* Formats Section */
.formats-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.formats-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1f2937;
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.format-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.format-card:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.format-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.format-card p {
    color: #6b7280;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.format-stats {
    display: flex;
    gap: 1rem;
}

.format-stats span {
    background: #f1f5f9;
    padding: 0.25rem 0.75rem;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
    margin-top: auto;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #15803d, #22c55e, #15803d);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
    color: #f9fafb;
}

.team-header-link {
    color: #f9fafb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.team-header-link:hover {
    color: #22c55e;
    text-decoration: underline;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #22c55e;
}

.footer-section p {
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer-nav a {
    color: #9ca3af;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #22c55e;
}


/* Additional Epic Animations */
@keyframes golfBallSpin {
    0% { transform: translateY(0) rotate(0deg) scale(1); }
    50% { transform: translateY(-30px) rotate(360deg) scale(1.3); }
    100% { transform: translateY(0) rotate(720deg) scale(1); }
}

@keyframes epicReveal {
    0% {
        opacity: 0;
        transform: translateY(100px) scale(0.8);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

@keyframes textShadowPulse {
    0%, 100% {
        text-shadow:
            0 0 5px currentColor,
            0 0 10px currentColor,
            0 0 15px currentColor,
            0 0 20px currentColor;
    }
    50% {
        text-shadow:
            0 0 10px currentColor,
            0 0 20px currentColor,
            0 0 30px currentColor,
            0 0 40px currentColor;
    }
}





/* Index Page Specific Styles */
.index-tournament-header {
    background: transparent;
    padding: 3rem 0 2rem;
    text-align: center;
}

.overall-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 600px;
    margin: 0 auto;
}

.index-tournament-header .team-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wins-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.north-section .team-name {
    color: var(--team-north-color);
}

.south-section .team-name {
    color: var(--team-south-color);
}

.score-display {
    display: flex;
    align-items: center;
    gap: 20px;
}

.score-number {
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
}

.north-score {
    color: var(--team-north-color);
}

.south-score {
    color: var(--team-south-color);
}

.vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
}

.vs-text {
    font-size: 32px;
    font-weight: 900;
    color: var(--brand-green);
    letter-spacing: 2px;
}

.trophy {
    font-size: 48px;
    color: #ffc107;
}

.tournaments-table {
    background: var(--bg-white);
    border-radius: 0px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
    overflow: hidden;
    border-top: 1px solid var(--border-light);
}

.tournament-card {
    border-bottom: 1px solid #f3f4f6;
    padding: 0.5rem 1.5rem;
    transition: all 0.2s ease;
}

.tournament-card:hover {
    background: #f9fafb;
}

.tournament-card:last-child {
    border-bottom: none;
}

.tournament-card .tournament-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

.tournament-year {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.tournament-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
    text-align: center;
}

.tournament-location {
    font-size: 16px;
    color: #495057;
    display: flex;
    align-items: center;
}

.country-flag {
    font-size: 16px;
    margin-right: 8px;
}

.tournament-description {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-style: italic;
}

.tournament-formats {
    margin-bottom: 0.5rem;
}

.formats-table {
    width: 100%;
    border-collapse: collapse;
}

.formats-table tr {
    border-bottom: 1px solid #f3f4f6;
}

.formats-table tr:last-child {
    border-bottom: none;
}

.formats-table td {
    padding: 0.15rem 1rem;
}

.format-name {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.format-score {
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.format-score .north-score {
    color: var(--team-north-color);
    font-weight: 600;
}

.format-score .south-score {
    color: var(--team-south-color);
    font-weight: 600;
}

.format-score .vs-divider {
    color: var(--text-secondary);
    font-size: 12px;
}

.tournament-total {
    border-top: 1px solid var(--border-light);
    padding-top: 0.25rem;
    text-align: center;
}

.total-label {
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 0.15rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.total-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.north-total {
    font-size: 28px;
    font-weight: 700;
    color: var(--team-north-color);
}

.south-total {
    font-size: 28px;
    font-weight: 700;
    color: var(--team-south-color);
}

.vs-large {
    font-size: 18px;
    font-weight: 600;
    color: var(--brand-green);
    letter-spacing: 1px;
}

.winner-trophy {
    font-size: 20px;
    margin-left: 8px;
}

.empty-state {
    grid-column: 1 / -1;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
}

.empty-message {
    max-width: 400px;
    margin: 0 auto;
}

.empty-message p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.empty-sub {
    font-size: 0.875rem !important;
    color: var(--text-light) !important;
}

.view-all-section {
    text-align: center;
    padding: 2rem;
    background: #f9fafb;
    border-top: 1px solid #f3f4f6;
}

.view-all-btn {
    background: linear-gradient(135deg, var(--text-secondary), #4b5563);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    display: inline-block;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.view-all-btn:hover {
    background: linear-gradient(135deg, #4b5563, #374151);
    transform: translateY(-1px);
}

.players-section {
    background: var(--bg-white);
    padding: 3rem 0;
    margin: 0;
    border-radius: 0px;
    box-shadow: none;
}

.players-cta {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.players-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.players-cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.players-btn {
    background: linear-gradient(135deg, var(--brand-green), var(--brand-green-lighter));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.3);
}

.players-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(21, 128, 61, 0.4);
    background: linear-gradient(135deg, #166534, var(--brand-green-light));
}

.next-tournament {
    background: linear-gradient(135deg, var(--team-north-color), var(--team-north-hover));
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.next-tournament-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.tournament-date {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.tournament-venue {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.tournament-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 2px;
}

.tournament-link:hover {
    border-bottom-color: white;
}


/* Players Page Specific Styles */
.players-hero {
    background: linear-gradient(135deg, var(--team-north-color), #059669);
    color: white;
    padding: 4rem 0 2rem;
    text-align: center;
}

.players-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.teams-section {
    padding: 3rem 0;
    background: var(--bg-primary);
}

.teams-section .team-section {
    display: block;
}

.teams-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.teams-grid.single-team {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
}

.team-header {
    margin-bottom: 2rem;
    text-align: center;
}

.team-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.north-color {
    color: var(--team-north-color);
}

.south-color {
    color: var(--team-south-color);
}

.team-summary {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.summary-stat {
    text-align: center;
}

.summary-stat .stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.summary-stat .stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.players-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

/* Player Card Styles - Ryder Cup Inspired */
.player-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.player-card {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    overflow: hidden;
}

.player-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.north-card:hover {
    background: linear-gradient(145deg, rgba(30, 58, 138, 0.08), rgba(30, 58, 138, 0.04));
    box-shadow: 0 12px 24px rgba(30, 58, 138, 0.2);
}

.south-card:hover {
    background: linear-gradient(145deg, rgba(127, 29, 29, 0.08), rgba(127, 29, 29, 0.04));
    box-shadow: 0 12px 24px rgba(127, 29, 29, 0.2);
}

.wildcard-card:hover {
    background: linear-gradient(145deg, rgba(21, 128, 61, 0.08), rgba(21, 128, 61, 0.04));
    box-shadow: 0 12px 24px rgba(21, 128, 61, 0.2);
}

.north-card {
    border-top: 4px solid var(--team-north-color);
    background: linear-gradient(145deg, rgba(30, 58, 138, 0.05), rgba(30, 58, 138, 0.02));
}

.south-card {
    border-top: 4px solid var(--team-south-color);
    background: linear-gradient(145deg, rgba(127, 29, 29, 0.05), rgba(127, 29, 29, 0.02));
}

.wildcard-card {
    border-top: 4px solid var(--brand-green);
    background: linear-gradient(145deg, rgba(21, 128, 61, 0.05), rgba(21, 128, 61, 0.02));
}

/* Player Header */
.player-header {
    display: flex;
    padding: 1.5rem;
    gap: 1rem;
    align-items: flex-start;
}

.player-photo-section {
    position: relative;
    flex-shrink: 0;
}

.player-photo-section .player-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-light);
}

.player-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--text-secondary), var(--text-light));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-light);
}

.avatar-initials {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.flag-overlay {
    position: absolute;
    bottom: -5px;
    right: -5px;
    font-size: 20px;
    background: var(--bg-white);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Player Info */
.player-info {
    flex: 1;
}

.player-name-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.player-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.handicap-number {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-primary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    min-width: 2rem;
    text-align: center;
}

.player-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.detail-value {
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 600;
}

.description-item {
    margin-bottom: 0.75rem;
}

.description-text {
    font-style: italic;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.4;
}

/* Player Stats */
.player-stats {
    padding: 0 1.5rem 1rem;
    border-top: 1px solid #f3f4f6;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 0.75rem 0;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Player Description */
.player-description {
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid #f3f4f6;
}

.player-description p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0.75rem 0 0;
    font-style: italic;
}

.stats-comparison {
    padding: 3rem 0;
    background: var(--bg-white);
}

.stats-comparison h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.comparison-grid {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.comparison-item h4 {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.comparison-bar {
    display: flex;
    height: 60px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bar-north, .bar-south {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    transition: width 0.5s ease;
}

.bar-north {
    background: var(--team-north-color);
}

.bar-south {
    background: var(--team-south-color);
}

.comparison-values {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.value-item {
    text-align: center;
}

.value-item .value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.value-item .label {
    font-size: 1rem;
    font-weight: 600;
}

/* Mobile Responsive - DISABLED - Using custom breakpoints instead */
/*
@media (max-width: 768px) {
    .players-list {
        grid-template-columns: 1fr;
    }

    .player-header {
        padding: 1rem;
        gap: 0.75rem;
    }

    .player-photo-section .player-photo,
    .player-avatar {
        width: 60px;
        height: 60px;
    }

    .flag-overlay {
        width: 24px;
        height: 24px;
        font-size: 16px;
    }

    .player-name {
        font-size: 1.1rem;
    }

    .stat-value {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .team-summary {
        gap: 1rem;
    }

    .comparison-values {
        gap: 2rem;
    }
}
*/

/* Player Detail Page Styles */
.player-hero {
    padding: 4rem 0;
    color: white;
}

.north-hero {
    background: linear-gradient(135deg, var(--team-north-color), var(--team-north-hover));
}

.south-hero {
    background: linear-gradient(135deg, var(--team-south-color), var(--team-south-hover));
}

.player-profile {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
}

.player-image-section {
    position: relative;
    flex-shrink: 0;
}

.player-photo {
    width: 280px;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.player-placeholder {
    width: 280px;
    height: 350px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.player-initials {
    font-size: 4rem;
    font-weight: 900;
    color: white;
}

.player-details {
    flex: 1;
    padding-top: 1rem;
}

.player-name-section {
    margin-bottom: 3rem;
}

.player-name {
    line-height: 1;
    margin-bottom: 0.5rem;
}

.firstname {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.lastname {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
}

.player-country {
    font-size: 1.125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.player-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.player-description {
    margin-top: 2rem;
    font-size: 1.125rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    line-height: 1.5;
    max-width: 400px;
}

.career-record-section {
    padding: 4rem 0;
    background: var(--bg-primary);
}

/* Points Total Header */
.points-total-header {
    text-align: center;
    margin-bottom: 4rem;
}

.points-total-header h2 {
    font-size: 1rem;
    font-weight: 700;
    color: #374151;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.total-points-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.points-format {
    text-align: center;
}

.points-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.points-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

/* Career Record Table */
.career-record-table {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 4rem;
}

.table-header {
    background: #f9fafb;
    border-bottom: 1px solid var(--border-light);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.appearances-header {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.appearances-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.year-columns {
    display: flex;
    gap: 1rem;
}

.year-column {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.year-column.active {
    color: #dc2626;
}

/* Table Headers */
.table-headers {
    display: grid;
    grid-template-columns: 200px 1fr;
    background: #f9fafb;
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 2rem;
}

.format-header-col {
    /* Empty space for format names */
}

.record-headers {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.points-header,
.average-header {
    text-align: right;
}

/* Table Rows */
.record-table {
    /* Container for all rows */
}

.record-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #f3f4f6;
    align-items: center;
}

.record-row:last-child {
    border-bottom: none;
}

.format-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.totalt-row {
    text-decoration: underline;
}

.record-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    min-width: 40px;
    text-align: center;
}

.stat-dash {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin: 0 0.5rem;
}

.points-total,
.average-total {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: right;
    min-width: 60px;
}

.north-hero ~ .career-record-section .average-total {
    color: var(--team-north-color);
}

.south-hero ~ .career-record-section .average-total {
    color: var(--team-south-color);
}

.average-total {
    color: #374151;
}

/* Player Insights */
.player-insights {
    margin-top: 4rem;
}

.insights-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.insights-section {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
}

.insights-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.insights-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.positive-icon {
    background: #dcfce7;
    color: #166534;
}

.negative-icon {
    background: #fef3c7;
    color: #d97706;
}

.insights-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.insights-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.insight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #374151;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: var(--bg-primary);
    transition: all 0.2s ease;
}

.insight-item:hover {
    background: #f1f5f9;
    transform: translateX(4px);
}

.insight-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.positive-item .insight-bullet {
    background: #10b981;
}

.negative-item .insight-bullet {
    background: #f59e0b;
}

.back-to-players {
    padding: 2rem 0;
    text-align: center;
    background: var(--bg-white);
}

.btn-back {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--bg-primary);
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid #d1d5db;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: var(--border-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Comprehensive Mobile Support - All Pages */
@media (max-width: 750px) {
    /* Global Mobile Styles */
    .container {
        padding: 0 16px;
    }

    .header-container {
        padding: 0 16px;
    }

    /* INDEX PAGE - Tournament Display */
    .index-tournament-header {
        padding: 2rem 0 1rem;
    }

    .overall-score {
        flex-direction: column;
        gap: 1rem;
    }

    .score-number {
        font-size: 36px;
    }

    .team-name {
        font-size: 1rem;
    }

    .vs-text {
        font-size: 1rem;
    }

    .tournaments-table {
        padding: 1rem;
    }

    .tournament-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .tournament-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 1rem;
        gap: 0.5rem;
    }

    .tournament-year {
        font-size: 1.2rem;
        order: 1;
    }

    .tournament-name {
        font-size: 1.25rem;
        order: 2;
        margin: 0;
    }

    .tournament-location {
        font-size: 1rem;
        order: 3;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
    }

    .formats-table {
        font-size: 0.85rem;
    }

    .tournament-total {
        margin-top: 1rem;
        text-align: center;
    }

    .players-cta {
        text-align: center;
        padding: 2rem 0;
    }

    .players-cta h3 {
        font-size: 1.5rem;
    }

    .players-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* PLAYERS PAGE - Teams Side-by-Side */
    .teams-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .players-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .player-card {
        display: flex;
        flex-direction: column;
        min-height: 160px;
    }

    .player-header {
        padding: 0.75rem;
        gap: 0.5rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .player-photo-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .player-photo-section .player-photo,
    .player-avatar {
        width: 50px;
        height: 50px;
    }

    .avatar-initials {
        font-size: 1rem;
    }

    .player-info {
        width: 100%;
        text-align: center;
    }

    .player-name-row {
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
    }

    .player-name {
        font-size: 0.9rem;
        line-height: 1.2;
    }

    .handicap-number {
        font-size: 0.9rem;
    }

    .player-stats {
        padding: 0.5rem;
        margin-top: auto;
    }

    .stat-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .stat-item {
        text-align: center;
    }

    .stat-value {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .team-header {
        margin-bottom: 1rem;
        text-align: center;
    }

    .team-title {
        font-size: 1.5rem;
    }

    .team-summary {
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .summary-stat {
        text-align: center;
        min-width: 100px;
    }

    .stats-comparison {
        padding: 2rem 0;
    }

    .stats-comparison h2 {
        font-size: 1.5rem;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .comparison-values {
        justify-content: center;
        gap: 2rem;
    }

    /* PLAYER DETAIL PAGE */
    .player-hero {
        padding: 2rem 0;
    }

    .player-profile {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }

    .player-photo,
    .player-placeholder {
        width: 200px;
        height: 250px;
    }

    .player-initials {
        font-size: 2.5rem;
    }

    .player-name .firstname,
    .player-name .lastname {
        font-size: 1.5rem;
    }

    .player-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .total-points-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .points-number {
        font-size: 2.5rem;
    }

    .points-label {
        font-size: 0.8rem;
    }

    /* Player Stats Table - Simple Mobile Fit */
    .career-record-table {
        overflow-x: auto;
        margin-bottom: 2rem;
    }

    .table-headers,
    .record-row {
        grid-template-columns: 120px 1fr;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    .format-name {
        font-size: 0.8rem;
    }

    .record-headers {
        gap: 0.5rem;
        font-size: 0.7rem;
    }

    .record-headers > span:nth-child(2),
    .record-headers > span:nth-child(4) {
        display: none; /* Hide header dashes on mobile */
    }

    /* Change header labels to single letters on mobile */
    .record-headers > span:nth-child(1) { /* Vinst */
        font-size: 0;
    }
    .record-headers > span:nth-child(1)::after {
        content: "V";
        font-size: 0.7rem;
    }

    .record-headers > span:nth-child(3) { /* Förlust */
        font-size: 0;
    }
    .record-headers > span:nth-child(3)::after {
        content: "F";
        font-size: 0.7rem;
    }

    .record-headers > span:nth-child(5) { /* Oavgjort */
        font-size: 0;
    }
    .record-headers > span:nth-child(5)::after {
        content: "O";
        font-size: 0.7rem;
    }

    .record-headers .points-header { /* Poäng */
        font-size: 0;
    }
    .record-headers .points-header::after {
        content: "P";
        font-size: 0.7rem;
    }

    .record-headers .average-header { /* Snitt */
        font-size: 0;
    }
    .record-headers .average-header::after {
        content: "AVG";
        font-size: 0.7rem;
    }

    .record-stats {
        gap: 0.5rem;
    }

    .stat-number,
    .points-total,
    .average-total {
        font-size: 1rem;
        min-width: 30px;
    }

    .stat-dash {
        display: none; /* Hide dashes on mobile to save space */
    }

    .insights-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* FOOTER - All Pages */
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        text-align: center;
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 16px;
    }

    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-nav {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
}



