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

:root {
    --primary-dark-blue: #1a2332;
    --secondary-dark-blue: #2d3748;
    --accent-gold: #ffd700;
    --accent-gold-dark: #ffcc00;
    --text-light: #ffffff;
    --text-gray: #a0aec0;
    --text-dark: #2d3748;
    --background-light: #f7fafc;
    --border-light: #e2e8f0;
    --success-green: #48bb78;
    --warning-orange: #ed8936;
    --danger-red: #f56565;
}

html {
    scroll-behavior: smooth;
}

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

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

/* Age Verification Modal */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.age-modal.hidden {
    opacity: 0;
    pointer-events: none;
}

.age-modal-content {
    background: var(--text-light);
    border-radius: 12px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: scale(1);
    transition: transform 0.3s ease;
}

.age-modal.hidden .age-modal-content {
    transform: scale(0.9);
}

.age-modal-header h2 {
    color: var(--primary-dark-blue);
    font-size: 28px;
    margin-bottom: 20px;
}

.age-modal-body p {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.responsible-gaming-text {
    font-size: 14px;
    color: var(--text-gray);
    margin-top: 20px;
}

.responsible-gaming-text a {
    color: var(--accent-gold);
    text-decoration: none;
}

.age-modal-footer {
    margin-top: 30px;
}

/* Header */
.header {
    background: var(--primary-dark-blue);
    color: var(--text-light);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    color: var(--accent-gold);
    font-size: 24px;
    font-weight: 700;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

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

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-dark-blue);
    z-index: 2000;
    transition: left 0.3s ease;
    padding: 20px;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.mobile-nav-header h3 {
    color: var(--accent-gold);
    font-size: 20px;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 30px;
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 18px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--accent-gold);
}

/* Hero Section */
.hero {
    background:
        linear-gradient(135deg, rgba(26, 35, 50, 0.9) 0%, rgba(45, 55, 72, 0.95) 100%),
        url("images/High-end casino scene featuring.webp") center/cover no-repeat;
    background-blend-mode: overlay;
    color: var(--text-light);
    padding: 120px 0 80px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--text-gray);
}

.hero-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.responsible-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
}

.responsible-link:hover {
    text-decoration: underline;
}

/* Sections */
.section {
    padding: 80px 0;
}

/* Section Backgrounds */
.top-casinos {
    background:
        radial-gradient(circle at top left, rgba(255, 215, 0, 0.08), transparent 55%),
        linear-gradient(180deg, rgba(247, 250, 252, 0.98), rgba(226, 232, 240, 0.98)),
        url("images/Luxury-casino-composition.webp") center/cover no-repeat;
    background-blend-mode: normal, normal, multiply;
}

.our-games {
    background:
        linear-gradient(135deg, rgba(26, 35, 50, 0.96), rgba(45, 55, 72, 0.96)),
        url("images/Dynamic-casino-visual-in-navy-dark.webp") center/cover no-repeat;
    background-blend-mode: overlay;
}

.our-games .game-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6);
}

.our-games .section-title,
.our-games .game-card h3,
.our-games .game-card p {
    color: var(--text-light);
}

.responsible-gaming {
    background:
        radial-gradient(circle at bottom right, rgba(72, 187, 120, 0.12), transparent 55%),
        linear-gradient(180deg, rgba(247, 250, 252, 0.98), rgba(226, 232, 240, 0.98)),
        url("images/Premium-casino-inspired-artwork.webp") center/cover no-repeat;
    background-blend-mode: normal, normal, multiply;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-dark-blue);
}

/* Casino Cards */
.casinos-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.casino-card {
    background: var(--text-light);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.casino-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.casino-logo {
    position: relative;
    flex-shrink: 0;
}

.casino-logo-img {
    width: 140px;
    height: 80px;
    object-fit: contain;
    display: block;
}

.casino-logo-img-betway-black {
    filter: grayscale(100%) brightness(0);
}

.rating-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--accent-gold);
    color: var(--primary-dark-blue);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.casino-info {
    flex: 1;
}

.casino-name {
    font-size: 24px;
    color: var(--primary-dark-blue);
    margin-bottom: 10px;
}

.casino-bonus {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-gold-dark);
    margin-bottom: 5px;
}

.bonus-subtext {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.bonus-terms {
    background: var(--background-light);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.bonus-terms h4 {
    color: var(--primary-dark-blue);
    margin-bottom: 10px;
}

.bonus-terms p {
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.5;
}

.casino-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.rating-stars {
    color: var(--accent-gold);
    font-weight: 600;
}

.rating-text {
    color: var(--text-gray);
    font-size: 14px;
}

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

.btn-primary {
    background: var(--accent-gold);
    color: var(--primary-dark-blue);
}

.btn-primary:hover {
    background: var(--accent-gold-dark);
    transform: translateY(-2px);
}

.btn-cta {
    background: var(--success-green);
    color: var(--text-light);
    font-size: 16px;
    padding: 15px 40px;
}

.btn-cta:hover {
    background: #38a169;
    transform: translateY(-2px);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature-card {
    background: var(--text-light);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--primary-dark-blue);
    margin-bottom: 15px;
    font-size: 20px;
}

.disclaimer-text {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.game-card {
    background: var(--text-light);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.game-card h3 {
    color: var(--primary-dark-blue);
    margin-bottom: 15px;
    font-size: 22px;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--text-light);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-dark-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: var(--background-light);
}

.faq-toggle {
    font-size: 24px;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
}

.faq-answer p {
    margin-bottom: 15px;
}

.faq-answer ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.faq-answer li {
    margin-bottom: 5px;
}

/* Responsible Gaming */
.responsible-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.responsible-card {
    background: var(--text-light);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.responsible-card h3 {
    color: var(--primary-dark-blue);
    margin-bottom: 15px;
    font-size: 18px;
}

.help-resources {
    background: var(--primary-dark-blue);
    color: var(--text-light);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}

.help-resources h3 {
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.help-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.help-links a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid var(--accent-gold);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.help-links a:hover {
    background: var(--accent-gold);
    color: var(--primary-dark-blue);
}

/* Footer */
.footer {
    background: var(--primary-dark-blue);
    color: var(--text-light);
    padding: 60px 0 30px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-section h3 {
    color: var(--accent-gold);
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-nav a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--accent-gold);
}

.footer-banners {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
    background: var(--secondary-dark-blue);
    padding: 20px;
    border-radius: 12px;
}

.banner-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 70px;
    background: transparent;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.banner-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-gold);
    background-color: rgba(255, 255, 255, 0.05);
}

.banner-icon {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.banner-icon-no-filter {
    filter: none;
}

.banner-text {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light);
    text-align: center;
}

.banner-text-no-filter {
    color: var(--text-light);
}

.footer-disclaimer {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.footer-disclaimer a {
    color: var(--accent-gold);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    margin-top: 20px;
}

.footer-bottom a {
    color: var(--accent-gold);
    text-decoration: none;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--primary-dark-blue);
    color: var(--text-light);
    padding: 20px;
    z-index: 1500;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.cookie-link {
    color: var(--accent-gold);
    text-decoration: none;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    color: var(--primary-dark-blue);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-gold-dark);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .casino-card {
        flex-direction: column;
        text-align: center;
    }
    
    .casino-logo {
        margin: 0 auto 20px;
    }
    
    .features-grid,
    .games-grid,
    .responsible-grid {
        grid-template-columns: 1fr;
    }
    
    .help-links {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-banners {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-items: center;
        background: var(--secondary-dark-blue);
        padding: 20px;
    }

    .banner-item {
        width: 140px;
        height: 70px;
    }

    .footer-banners .banner-item:nth-last-child(1):nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
    }
    
    .age-modal-content {
        padding: 30px 20px;
    }
    
    .age-modal-header h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .casino-card {
        padding: 20px;
    }
    
    .feature-card,
    .game-card,
    .responsible-card {
        padding: 25px;
    }
    
    .help-resources {
        padding: 30px 20px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-gold {
    color: var(--accent-gold);
}

.bg-dark-blue {
    background: var(--primary-dark-blue);
}

.bg-gold {
    background: var(--accent-gold);
}

.hidden {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}