:root {
    /* Brand Colors - SpinGranny */
    --bg-dark: #0f0c1b;
    --bg-card: rgba(25, 20, 40, 0.7);
    --color-primary: #ff007f;
    /* Neon Pink */
    --color-primary-hover: #e00070;
    --color-secondary: #8a2be2;
    /* Deep Purple */
    --color-accent: #ffd700;
    /* Gold */
    --text-main: #f0f0f5;
    --text-muted: #a0a0b5;
    --glass-border: rgba(255, 255, 255, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;

    /* Layout */
    --container-width: 1200px;
    --container-padding: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    text-wrap: balance;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    color: transparent;
}

h2 {
    font-size: 2rem;
    color: var(--text-main);
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 0.5rem;
    display: inline-block;
}

h3 {
    font-size: 1.5rem;
    color: var(--color-accent);
}

p {
    margin-bottom: 1.2rem;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    text-decoration: underline;
    color: var(--color-primary);
}

.text-link {
    color: var(--color-accent);
    text-decoration: underline dashed;
    text-underline-offset: 4px;
    font-weight: 600;
}

.text-link:hover {
    color: var(--color-primary);
    text-decoration-color: var(--color-primary);
}

/* Layout Elements */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Header */
.site-header {
    background: rgba(15, 12, 27, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-container img {
    height: 40px;
    width: auto;
}

.brand-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.brand-text span {
    color: var(--color-primary);
}

.desktop-nav a {
    margin-left: 1.5rem;
    color: var(--text-main);
    font-weight: 500;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--color-primary);
    text-decoration: none;
}

.header-cta {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.4);
}

.header-cta:hover {
    background: linear-gradient(135deg, var(--color-primary-hover), var(--color-secondary));
    transform: translateY(-2px);
    text-decoration: none;
    color: #fff;
}

/* Hamburger */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 5rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(15, 12, 27, 0.95) 0%, rgba(15, 12, 27, 0.6) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff !important;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.4);
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 0, 127, 0.6);
    text-decoration: none;
}

.btn-secondary {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff !important;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    text-align: center;
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

/* Info Cards / Grids */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 4rem 0;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    color: var(--color-accent);
}

/* SEO Content Section */
.seo-content {
    padding: 4rem 0;
    background: var(--bg-dark);
}

.seo-article {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
}

.seo-news-links {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--color-primary);
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.seo-news-links a {
    display: flex;
    align-items: center;
    color: var(--text-main);
    font-weight: 500;
}

.seo-news-links a::before {
    content: '→';
    color: var(--color-accent);
    margin-right: 10px;
    font-weight: bold;
}

.related-sports {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sport-link {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid transparent;
}

.sport-link:hover {
    border-color: var(--color-secondary);
    background: rgba(138, 43, 226, 0.1);
    text-decoration: none;
}

.sport-link span {
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 5px;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.2);
}

caption {
    padding: 1rem;
    font-weight: bold;
    background: rgba(138, 43, 226, 0.2);
    color: var(--color-accent);
    text-align: left;
}

th,
td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

th {
    background: rgba(255, 255, 255, 0.05);
    font-weight: 700;
    color: var(--color-primary);
}

tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Author Box */
.author-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(to right, rgba(25, 20, 40, 0.8), rgba(15, 12, 27, 0.9));
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--color-accent);
    margin-top: 3rem;
}

.author-box img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-primary);
}

.author-content h4 {
    margin-bottom: 0.2rem;
    color: #fff;
}

.author-content p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Footer */
.site-footer {
    background: #080610;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-nav-old {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.footer-nav a {
    color: var(--text-muted);
}

.footer-nav a:hover {
    color: var(--color-primary);
}

.disclaimer {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.disclaimer strong {
    color: #888;
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 12, 27, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px;
    z-index: 999;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

.mobile-sticky-cta .btn-primary {
    display: block;
    width: 100%;
    padding: 12px;
}

/* Responsive */
@media (max-width: 992px) {
    .desktop-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--glass-border);
    }

    .desktop-nav.active {
        display: flex;
    }

    .desktop-nav a {
        margin: 0.5rem 0;
    }

    .mobile-toggle {
        display: block;
    }

    /* Hide desktop CTA on mobile */
    .header-cta {
        display: none;
    }

    /* Show mobile sticky CTA */
    .mobile-sticky-cta {
        display: block;
    }

    body {
        padding-bottom: 70px;
        /* Space for sticky nav */
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    h1 {
        font-size: 2.5rem;
    }

    .seo-article {
        padding: 1.5rem;
    }
}
/* ENHANCED FOOTER */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    text-align: left;
}
.footer-brand .brand-text {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: inline-block;
}
.footer-brand p {
    color: var(--text-muted);
    line-height: 1.6;
}
.footer-grid h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    justify-content: flex-start;
    margin-bottom: 0;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
}
.age-badge {
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.5);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    margin-top: 1.5rem;
    font-weight: bold;
    color: var(--text-muted);
}

.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { left: 0; width: auto; height: auto; position: static; background: #fff; color: #000; padding: 10px; z-index: 10000; }

/* Responsive Diagram (Pure CSS) */
.chart-container {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem 0;
}
.chart-title { text-align: center; color: var(--color-accent); margin-bottom: 2rem; font-size: 1.2rem; font-weight: bold; }
.bar-chart {
    display: flex;
    align-items: flex-end;
    height: 250px;
    gap: 1rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}
.bar-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    height: 100%;
}
.bar {
    width: 60%;
    background: linear-gradient(to top, var(--color-primary), var(--color-secondary));
    border-radius: 4px 4px 0 0;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}
.bar-label {
    position: absolute;
    bottom: -25px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    width: 100%;
    white-space: nowrap;
}
.bar-value {
    position: absolute;
    top: -25px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #fff;
    width: 100%;
    text-align: center;
}
@media (max-width: 600px) {
    .bar-chart { height: 200px; gap: 0.5rem; }
    .bar { width: 80%; }
    .bar-label { font-size: 0.7rem; bottom: -40px; transform: rotate(-45deg); padding-right: 15px; }
    .chart-container { padding-bottom: 4rem; }
}

/* Tables Enhancements */
.table-responsive {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
}
table { width: 100%; border-collapse: collapse; }
caption { padding: 1rem; font-weight: bold; background: rgba(138, 43, 226, 0.2); color: var(--color-accent); text-align: left; }
th, td { padding: 1rem; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
th { background: rgba(255, 255, 255, 0.05); color: var(--color-primary); }
tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
