/* ===========================
   CSS Variables & Base Setup
   =========================== */
   :root {
    /* Primary Colors - New Palette: Dark Green Theme */
    --primary-bg: #022c22; /* Deep green for main background */
    --secondary-bg: #064e3b; /* Darker green for secondary areas */
    --card-bg: #d1fae5; /* Light emerald for cards */

    /* Accent Colors - New Palette: Orange and Gold Accents */
    --primary-cta: #ea580c; /* Bright orange for CTAs */
    --secondary-cta: #c2410c; /* Darker orange for hovers */
    --success-rating: #059669; /* Emerald green for ratings */
    --accent-gold: #fbbf24; /* Gold for highlights */
    --accent-dark: #064e3b; /* Dark green for contrast */
    --warning-stars: #eab308; /* Golden yellow for stars */
    --text-primary: #ffffff; /* White for dark backgrounds */
    --text-secondary: #022c22; /* Deep green for light backgrounds */
    --text-muted: #4b5563; /* Gray for secondary text */
    --text-light: #d1d5db; /* Light gray for subtle elements */

    /* Semantic Colors - Adjusted */
    --error: #dc2626; /* Red for errors */
    --warning: #d97706; /* Amber for warnings */
    --info: #ea580c; /* Orange for info */
    --success: #16a34a; /* Green for success */

    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-h1: 2.6rem;
    --font-h2: 1.6rem;
    --font-h3: 1.3rem;
    --font-body: 1.05rem;
    --font-small: 0.9rem;
    --font-xs: 0.8rem;
    --font-rating: 2.1rem;

    /* Spacing */
    --container-max-width: 1250px;
    --header-height: 85px;
    --card-gap: 25px;
    --section-padding: 65px;
}
/* ===========================
   Base Styles & Reset
   =========================== */
   * {
    box-sizing: border-box;
}
body {
    font-family: var(--font-family);
    font-size: var(--font-body);
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 25px;
}
/* ===========================
   Age Verification Modal
   =========================== */
   .age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.4s ease-in-out;
}
.age-modal.hidden {
    display: none;
}
.age-modal-content {
    background: var(--secondary-bg);
    padding: 45px;
    border-radius: 15px;
    text-align: center;
    max-width: 520px;
    margin: 25px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}
.age-modal-content h2 {
    color: #fff;
    margin-bottom: 25px;
    font-size: var(--font-h2);
}
.age-modal-content p {
    color: #fff;
    margin-bottom: 35px;
    font-size: var(--font-body);
}
.age-modal-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-confirm, .btn-exit {
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: var(--font-body);
    cursor: pointer;
    transition: all 0.4s ease;
    min-width: 130px;
}
.btn-confirm {
    background-color: var(--success);
    color: var(--text-primary);
}
.btn-confirm:hover {
    background-color: var(--success-rating);
    transform: translateY(-2px);
}
.btn-exit {
    background-color: var(--error);
    color: var(--text-primary);
}
.btn-exit:hover {
    background-color: var(--secondary-cta);
    transform: translateY(-2px);
}
/* ===========================
   Alert Banner
   =========================== */
   .alert-banner {
    background: var(--primary-bg);
    color: var(--text-primary);
    padding: 18px 0;
    text-align: center;
    font-size: var(--font-small);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.alert-banner p {
    margin: 0;
    font-weight: 500;
    line-height: 1.5;
}
/* ===========================
   Header Styles
   =========================== */
   .header {
    height: var(--header-height);
    background: transparent;
    position: relative;
    z-index: 100;
    padding-top: 40px;
}
.header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #d1fae5;
    border-radius: 50%;
    padding: 10px;
}
.logo a {
    display: block;
    transition: opacity 0.4s ease;
}
.logo a:hover {
    opacity: 0.85;
}
.logo img {
    height: 55px;
    width: auto;
    object-fit: contain;
}
/* ===========================
   Main Content
   =========================== */
   .main-content {
    flex: 1;
}
/* ===========================
   Hero Section
   =========================== */
   .hero {
    text-align: center;
    padding: var(--section-padding) 0;
}
.hero-title {
    font-size: var(--font-h1);
    font-weight: bold;
    margin: 0 0 25px 0;
    color: var(--text-primary);
    line-height: 1.3;
}
.hero-subtitle {
    font-size: var(--font-h2);
    color: var(--text-primary);
    margin: 0;
    opacity: 0.95;
}
/* ===========================
   Platform Cards Grid
   =========================== */
   .platforms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--card-gap);
    padding-bottom: var(--section-padding);
}
.platform-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 35px;
    position: relative;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 360px;
}
.platform-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}
.platform-card.highlighted {
    border: 3px solid var(--primary-cta);
    box-shadow: 0 0 15px var(--primary-cta); /* Glowing effect */
}
.featured-banner {
    position: absolute;
    top: 18px;
    right: -28px;
    background: var(--primary-cta);
    color: var(--text-primary);
    padding: 6px 38px;
    font-size: var(--font-small);
    font-weight: bold;
    transform: rotate(25deg);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.22);
}
.card-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 25px;
}
.card-logo {
    width: 160px;
    height: 65px;
    background: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    padding: 10px;
}
.card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.logo-placeholder {
    display: none;
    font-weight: bold;
    color: var(--text-secondary);
    font-size: var(--font-small);
}
.platform-name {
    flex: 1;
}
.platform-name h3 {
    margin: 0;
    color: var(--text-secondary);
    font-size: var(--font-h3);
    font-weight: bold;
    line-height: 1.3;
}
.card-content {
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.rating-section {
    margin-bottom: 25px;
}
.rating-number {
    font-size: var(--font-rating);
    font-weight: bold;
    color: var(--success-rating);
    line-height: 1;
}
.rating-denominator {
    font-size: var(--font-body);
    color: var(--text-muted);
    margin-left: 3px;
}
.star-rating {
    margin-top: 10px;
}
.star-rating i {
    color: var(--warning-stars);
    font-size: var(--font-body);
    margin-right: 3px;
}
.bonus-description {
    margin-bottom: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.bonus-description p {
    margin: 0;
    font-size: var(--font-body);
    line-height: 1.6;
    color: var(--text-secondary);
}
.cta-button {
    background: var(--primary-cta);
    color: var(--text-primary);
    border: none;
    border-radius: 10px;
    padding: 14px 28px;
    font-size: var(--font-body);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.4s ease;
    width: 100%;
    text-transform: none;
    margin-top: auto;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
}
.cta-button:hover {
    background: var(--secondary-cta);
    transform: translateY(-2px);
}
.cta-button:focus {
    outline: 3px solid var(--accent-gold);
    outline-offset: 3px;
}
.cta-helper {
    font-size: var(--font-xs);
    color: var(--text-muted);
    text-align: center;
    margin-top: 10px;
    line-height: 1.4;
    font-style: italic;
}
/* ===========================
   Responsible Gaming Notice
   =========================== */
   .responsible-gaming-notice {
    background: rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 35px 0;
    margin-top: 45px;
}
.notice-content {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}
.notice-content p {
    font-size: var(--font-small);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}
.notice-content a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.4s ease;
}
.notice-content a:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}
/* ===========================
   Footer Styles
   =========================== */
   .footer-gamcare {
    padding: 35px 0;
}
.gamcare-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 45px;
    flex-wrap: wrap;
}
.gamcare-logo {
    display: block;
    transition: all 0.4s ease;
    opacity: 0.95;
}
.gamcare-logo:hover {
    opacity: 1;
    transform: translateY(-3px);
}
.gamcare-logo img {
    height: 55px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.2);
}
.footer {
    background: var(--primary-bg);
    color: var(--text-primary);
    padding: 45px 0 25px;
    margin-top: auto;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
    margin-bottom: 35px;
}
.footer-section h3 {
    font-size: var(--font-h3);
    margin-bottom: 18px;
    color: var(--text-primary);
}
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-section li {
    margin-bottom: 10px;
}
.footer-section a {
    color: var(--text-primary);
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.4s ease;
}
.footer-section a:hover {
    opacity: 1;
    color: var(--accent-gold);
}

.logo-footer {
    width: max-content;
    background-color: #d1fae5;
    border-radius: 50%;
    padding: 10px;
    margin-bottom: 20px;
}

.logo-footer img{
    height: 55px;
    width: auto;
    object-fit: contain;
}

.trust-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.badge {
    background: var(--primary-cta);
    color: var(--text-primary);
    padding: 7px 14px;
    border-radius: 25px;
    font-size: var(--font-small);
    font-weight: bold;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}
.footer-bottom p {
    margin: 0;
    opacity: 0.85;
}
.responsible-gaming-logos span {
    font-size: var(--font-small);
    opacity: 0.85;
}
/* ===========================
   Animations
   =========================== */
   @keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/* ===========================
   Responsive Design
   =========================== */
   /* Tablet Styles */
   @media (max-width: 1023px) {
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .container {
        padding: 0 35px;
    }

    .gamcare-logos {
        gap: 35px;
    }

    .gamcare-logo img {
        height: 50px;
    }
}
/* Mobile Styles */
@media (max-width: 767px) {
    :root {
        --font-h1: 2.1rem;
        --font-h2: 1.4rem;
        --font-rating: 1.9rem;
    }

    .container {
        padding: 0 18px;
    }

    .header .container {
        justify-content: center;
        padding: 12px 18px;
    }

    .logo img {
        height: 45px;
    }

    .hero {
        padding: 45px 0;
    }

    .hero-title {
        font-size: 1.9rem;
        line-height: 1.4;
    }

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

    .platforms-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .platform-card {
        padding: 28px;
        min-height: 330px;
    }

    .age-modal-content {
        margin: 25px 12px;
        padding: 35px 25px;
    }

    .age-modal-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-confirm, .btn-exit {
        width: 100%;
        max-width: 220px;
    }

    .responsible-gaming-notice {
        padding: 25px 0;
        margin-top: 35px;
    }

    .notice-content {
        padding: 0 12px;
    }

    .notice-content p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .alert-banner {
        padding: 14px 0;
        font-size: 0.85rem;
    }

    .alert-banner p {
        line-height: 1.4;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-gamcare {
        padding: 25px 0;
    }

    .gamcare-logos {
        gap: 25px;
        justify-content: center;
    }

    .gamcare-logo img {
        height: 45px;
    }
}
/* Extra Small Mobile */
@media (max-width: 480px) {
    .platform-card {
        padding: 22px;
        min-height: 310px;
    }

    .featured-banner {
        font-size: 0.75rem;
        padding: 5px 32px;
    }

    .card-header {
        gap: 14px;
    }

    .card-logo {
        width: 75px;
        height: 75px;
    }

    .card-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 50%;
    }

    .platform-name h3 {
        font-size: 1.05rem;
    }
}
/* ===========================
   Accessibility
   =========================== */
   /* Focus styles for accessibility */
   button:focus,
   a:focus {
    outline: 3px solid var(--accent-gold);
    outline-offset: 3px;
}
/* CTA button focus handled separately above */
/* High contrastmode support */
@media (prefers-contrast: high) {
    .platform-card {
        border: 2px solid var(--text-secondary);
    }

    .rating-number {
        color: var(--secondary-cta);
    }
}
/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}