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

:root {
    --primary-color: #00e676; /* Sportsbook Green */
    --primary-dark: #00b359;
    --secondary-color: #29b6f6; /* Info Blue */
    --accent-color: #ff9100; /* CTA Orange */
    --text-dark: #ffffff;
    --text-light: #b0b3b8;
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --bg-light: #2d2d2d;
    --bg-white: #121212; /* Redefining white to dark for easy swap, or I should be more careful */
    /* Actually, let's keep bg-white as white for legacy but introduce bg-main */
    --bg-main: #121212;
    --border-color: #333333;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-main);
}

html {
    scroll-behavior: smooth;
}

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

/* Header and Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-card);
    box-shadow: var(--shadow-md);
    z-index: 1003; /* ensure header/nav stays above the age notice */
    border-bottom: 1px solid var(--border-color);
}

.site-header .navbar {
    padding: 1rem 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo:hover {
    color: var(--primary-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1540747913346-19e32dc3e97e?q=80&w=2805&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-dark);
    text-align: center;
    /* ensure hero content clears the fixed header (header height ~76px) */
    margin-top: 76px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, #000000 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
    color: var(--text-dark);
}

.hero-tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    color: var(--text-light);
}

/* Hero News Section */
.hero-news-section {
    max-width: 1000px;
    margin: 3rem auto 2rem;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.hero-news-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

/* Ensure pagination sits as a full-width row inside the grid and is centered */
.hero-news-grid .news-pagination {
    grid-column: 1 / -1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.hero-news-grid .blog-preview-card {
    background-color: var(--bg-light);
    padding: 1.25rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.hero-news-grid .blog-preview-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.hero-news-grid .blog-preview-meta {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.hero-news-grid .blog-preview-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: var(--text-dark);
}

.hero-news-grid .blog-preview-card h3 a {
    color: var(--text-dark);
    text-decoration: none;
}

.hero-news-grid .blog-preview-card h3 a:hover {
    color: var(--primary-color);
}

.hero-news-grid .blog-preview-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.hero-news-grid .blog-preview-link {
    font-size: 0.85rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.hero-news-grid .blog-preview-link:hover {
    color: var(--primary-dark);
}

.hero-cta {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-secondary:hover {
    background-color: var(--text-dark);
    color: var(--bg-dark);
}

.subscribe-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.subscribe-form input {
    flex: 1;
    min-width: 250px;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.urgency-text {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Button Styles */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000000; /* Black text on bright green for high contrast */
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Content Area / Article Section */
.content-area {
    padding: 5rem 0;
    background-color: var(--bg-main);
}

.content-area article {
    max-width: 900px;
    margin: 0 auto;
}

.content-area h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.content-area > .container > h2 {
    text-align: center;
}

.content-area > .container > .section-subtitle {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.content-area h3 {
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.content-area p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.content-area ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.content-area li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.content-area li strong {
    color: var(--text-dark);
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.testimonial-card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.testimonial-rating {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-dark);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: var(--bg-main);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background-color: var(--bg-card);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
}

/* Legal Sections */
.legal-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.legal-section:nth-child(odd) {
    background-color: var(--bg-main);
}

.legal-section .container {
    max-width: 800px;
}

.legal-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.legal-section h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.25rem;
}

.legal-section p,
.legal-section ul {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text-light);
}

.legal-section ul {
    padding-left: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

.warning-box {
    background-color: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.warning-box p {
    color: #92400e;
    margin: 0;
    font-weight: 600;
}

/* Age Notice */
.age-notice {
    background-color: #991b1b;
    color: var(--bg-white);
    padding: 0.75rem 0;
    text-align: center;
    font-size: 0.9rem;
    position: relative;
    z-index: 999; /* keep notice below fixed header */
    margin-top: 0; /* remove extra space above the notice */
}

.age-notice p {
    margin: 0;
}

/* New age tile styling for hero */
.age-tile {
    display: inline-block;
    background-color: #991b1b;
    color: var(--bg-white);
    padding: 0.6rem 0.9rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    font-size: 0.95rem;
    margin: 0.75rem 0 1rem;
}
.age-tile p {
    margin: 0;
    font-weight: 600;
}

/* Hide previous top-of-page notice (now replaced by .age-tile) */
.age-notice {
    display: none !important;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--bg-white);
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--bg-white);
}

.social-links {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
}

.social-links a {
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

.legal-disclaimer {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #1f2937;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.6;
    text-align: left;
}

.legal-disclaimer p {
    margin: 0;
    color: #d1d5db;
}

/* Responsive Design */
@media (max-width: 1100px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-card);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .subscribe-form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .subscribe-form input {
        min-width: 100%;
    }

    .features h2,
    .testimonials h2,
    .contact h2,
    .content-area h2 {
        font-size: 2rem;
    }

    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .container {
        padding: 0 15px;
    }

    .features,
    .testimonials,
    .contact,
    .content-area {
        padding: 3rem 0;
    }
}

/* Accessibility Improvements */
:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-light: #4b5563;
    }
}

/* Legal Sections */
.legal-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.legal-section .container {
    max-width: 800px;
}

.legal-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
    text-align: center;
}

.legal-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Legal Accordion */
.legal-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.legal-tile {
    background-color: var(--bg-card);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.legal-tile:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.legal-tile-header {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--bg-light), var(--bg-card));
    color: var(--text-dark);
    cursor: pointer;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.legal-tile-header:hover {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-light));
    color: var(--primary-color);
}

.legal-tile-header:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.tile-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    color: var(--primary-color);
}

.tile-title {
    flex: 1;
    font-size: 1.2rem;
}

.tile-arrow {
    font-size: 1rem;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    color: var(--primary-color);
}

/* Rotate arrow when expanded */
.legal-tile[open] .tile-arrow {
    transform: rotate(180deg);
}

.legal-tile-content {
    padding: 1.5rem;
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.legal-tile-content h4 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.legal-tile-content h4:first-child {
    margin-top: 0;
}

.legal-tile-content p,
.legal-tile-content ul {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text-light);
}

.legal-tile-content ul {
    padding-left: 1.5rem;
}

.legal-tile-content li {
    margin-bottom: 0.5rem;
}

.legal-tile-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.legal-tile-content a:hover {
    text-decoration: underline;
}

.warning-box {
    background-color: rgba(245, 158, 11, 0.1);
    border-left: 4px solid #f59e0b;
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 8px;
}

.warning-box p {
    color: #f59e0b;
    margin: 0;
    font-weight: 600;
    font-size: 1rem;
}

/* Mobile responsiveness for legal tiles */
@media (max-width: 768px) {
    .legal-tile-header {
        padding: 1.25rem;
        font-size: 1rem;
    }
    
    .tile-icon {
        font-size: 1.25rem;
        margin-right: 0.75rem;
    }
    
    .tile-title {
        font-size: 1.1rem;
    }
    
    .legal-tile-content {
        padding: 1.25rem;
    }
    
    .legal-tile-content h4 {
        font-size: 1rem;
    }
}

/* Alternate Background */
.alternate-bg {
    background-color: var(--bg-light);
}

/* Sports Guides Grid */
.sports-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.sport-guide-card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.sport-guide-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.sport-guide-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.sport-guide-card h4 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.sport-guide-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.sport-guide-card ul {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.sport-guide-card li {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
}

.faq-section h2 {
    text-align: center;
}

.faq-section .section-subtitle {
    text-align: center;
}

.faq-container {
    max-width: 900px;
    margin: 2rem auto 0;
}

.faq-item {
    background-color: var(--bg-card);
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    list-style: none;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-answer p {
    margin-bottom: 1rem;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tool-card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.tool-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.tool-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Additional Content Enhancements */
.content-area h4 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

/* Mobile Responsiveness for New Sections */
@media (max-width: 768px) {
    .sports-guide-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1.25rem;
    }

    .faq-answer {
        padding: 0 1.25rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* News Pagination */
.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem auto 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    width: 100%;
    box-sizing: border-box;
}

/* Ensure Previous/Next buttons are equal width and centered.
   Use flex-basis so they stay the same size while the page info can flex naturally. */
.pagination-btn {
    padding: 0.65rem 0.75rem; /* smaller horizontal padding because we set width */
    border: 2px solid var(--primary-color);
    background-color: var(--bg-white);
    color: var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex: 0 0 140px; /* equal fixed size */
    min-width: 120px;
    box-sizing: border-box;
}

.pagination-btn:hover:not(:disabled) {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: var(--border-color);
    color: var(--text-light);
}

.pagination-info {
    font-weight: 600;
    color: var(--text-dark);
    padding: 0 1rem;
    text-align: center;
    flex: 0 0 auto;
}

@media (max-width: 768px) {
    .news-pagination {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
        margin: 2rem 1rem 0;
        max-width: none;
        width: auto;
    }
    
    .pagination-info {
        padding: 0.5rem 0;
    }
    
    /* On small screens make buttons full-width but keep equal sizing visually */
    .pagination-btn {
        flex: 0 0 auto;
        width: 100%;
        max-width: 360px;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
}

/* Loading Spinner for RSS Feed */
.loading-spinner {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.loading-spinner::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Sport News Sections */
.sport-news-section {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

.sport-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    padding: 0 1rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
}

.sport-tab {
    background: none;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    position: relative;
    bottom: -1rem;
}

.sport-tab:hover {
    color: var(--text-dark);
}

.sport-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.sport-content {
    min-height: 400px;
}

.sport-panel {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.sport-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.sport-section-header h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.sport-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-top: 2rem;
}

.sport-news-card {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.sport-news-section.alternate-bg .sport-news-card {
    background-color: var(--bg-light);
}

.sport-news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.sport-news-card .news-meta {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.sport-news-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    flex-grow: 1;
}

.sport-news-card h3 a {
    color: var(--text-dark);
    text-decoration: none;
}

.sport-news-card h3 a:hover {
    color: var(--primary-color);
}

.sport-news-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
    flex-grow: 1;
}

.sport-news-card .news-link {
    font-size: 0.85rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    align-self: flex-start;
}

.sport-news-card .news-link:hover {
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .sport-news-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .blog-preview-grid {
        grid-template-columns: 1fr;
    }
}

/* Odds Converter */
.converter-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.converter-card {
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border: 1px solid var(--border-color);
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.input-group input {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1.1rem;
    transition: border-color 0.3s ease;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.read-only-output {
    padding: 1rem;
    background-color: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Glossary Section */
.glossary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.glossary-item {
    background-color: var(--bg-card);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.glossary-item:hover {
    transform: translateX(5px);
    background-color: var(--bg-light);
}

.glossary-item h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.glossary-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Mobile Responsiveness for New Sections */
@media (max-width: 768px) {
    .converter-card {
        padding: 1.5rem;
    }
    
    .glossary-grid {
        grid-template-columns: 1fr;
    }
}


