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

:root {
    --primary-dark-blue: #050816;
    --secondary-dark-blue: #111827;
    --light-silver: #e5e7eb;
    --medium-silver: #9ca3af;
    --dark-silver: #4b5563;
    --white: #ffffff;
    --accent-gold: #06b6d4;
    --accent-gold-strong: #0ea5e9;
    --accent-gold-soft: #e0f2fe;
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --background-light: #020617;
    --error-red: #ef4444;
    --success-green: #22c55e;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: radial-gradient(circle at top, #1f2937 0, #020617 55%, #000000 100%);
}

.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);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.age-modal.hidden {
    display: none;
}

.age-modal-content {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

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

.age-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    font-size: 14px;
    color: #856404;
}

.age-warning a {
    color: var(--primary-dark-blue);
    text-decoration: underline;
}

.age-modal-buttons {
    margin-top: 25px;
}

/* Header */
.header {
    background: radial-gradient(circle at top left, #1e293b 0%, #020617 55%, #000000 100%);
    color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    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;
}

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

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

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

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

.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(--white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--primary-dark-blue);
    z-index: 2000;
    transition: right 0.3s ease;
    color: var(--white);
}

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

.mobile-nav-header {
    padding: 20px;
    border-bottom: 1px solid var(--secondary-dark-blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.mobile-nav-links {
    padding: 20px;
}

.mobile-nav-link {
    display: block;
    color: var(--light-silver);
    text-decoration: none;
    padding: 15px 0;
    border-bottom: 1px solid var(--secondary-dark-blue);
    transition: color 0.3s ease;
}

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

/* Global Site Background */
.site-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.site-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

/* Hero Section */
.hero {
    position: relative;
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55);
    transform: scale(1.02);
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.65) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

.hero .container {
    position: relative;
    z-index: 1;
}

.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(--light-silver);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-info {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.12), rgba(14, 165, 233, 0.22));
    border-radius: 12px;
    padding: 30px;
    margin-top: 40px;
    backdrop-filter: blur(10px);
}

.hero-info p {
    margin-bottom: 20px;
    font-size: 16px;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold-strong), var(--accent-gold));
    color: #1e293b;
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--accent-gold-strong);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(15, 23, 42, 0.9));
    color: var(--white);
}

/* Section Titles */
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #f9fafb;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -16px;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--accent-gold-strong), transparent);
}

/* Top Casinos Section */
.top-casinos {
    padding: 80px 0;
    background:
        radial-gradient(circle at top, rgba(14, 165, 233, 0.20), rgba(15, 23, 42, 0.98)),
        url("images/High-detail casino scene.webp");
    background-size: cover;
    background-position: center;
}

.casinos-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.casino-card {
    background: radial-gradient(circle at top left, rgba(17, 24, 39, 0.98), rgba(15, 23, 42, 0.98));
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

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

.casino-logo-img {
    width: 120px;
    height: auto;
    display: block;
}

.casino-logo-img--betway {
    filter: grayscale(1) brightness(0) invert(1);
}

.rating-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, var(--accent-gold-strong), var(--accent-gold));
    color: #111827;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
}

.casino-info {
    flex: 1;
}

.casino-info h3 {
    color: var(--accent-gold-soft);
    font-size: 24px;
    margin-bottom: 10px;
}

.bonus-header {
    font-size: 20px;
    font-weight: 600;
    color: var(--accent-gold-soft);
    margin-bottom: 5px;
}

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

.terms-block {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.98));
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.terms-block h4 {
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.terms-block p {
    font-size: 14px;
    color: #e5e7eb;
}

.casino-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.rating-text {
    color: var(--text-secondary);
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 1), rgba(2, 6, 23, 1));
}

.how-it-works-inner {
    display: flex;
    align-items: center;
    gap: 40px;
}

.how-it-works-text {
    flex: 1.2;
}

.how-it-works-lead {
    margin-top: 18px;
    font-size: 16px;
    color: var(--text-secondary);
}

.how-it-works-steps {
    margin-top: 28px;
    display: grid;
    gap: 18px;
}

.how-it-works-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.how-it-works-step-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: radial-gradient(circle at top, var(--accent-gold-strong), var(--accent-gold));
    color: #0b1120;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.9);
}

.how-it-works-step h3 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--accent-gold-soft);
}

.how-it-works-step p {
    font-size: 14px;
    color: var(--text-secondary);
}

.how-it-works-media {
    flex: 1;
    display: flex;
    justify-content: center;
}

.how-it-works-img {
    max-width: 420px;
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.95);
    object-fit: cover;
}

/* UK Focus Section */
.uk-focus {
    padding: 80px 0;
    background: radial-gradient(circle at top, rgba(8, 47, 73, 0.85), rgba(2, 6, 23, 1));
}

.uk-focus-header {
    max-width: 780px;
    margin: 0 auto 40px auto;
    text-align: center;
}

.uk-focus-lead {
    margin-top: 18px;
    font-size: 16px;
    color: var(--text-secondary);
}

.uk-focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.uk-focus-card {
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.98), rgba(8, 47, 73, 0.9));
    border-radius: 14px;
    padding: 26px 24px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.85);
}

.uk-focus-card h3 {
    color: var(--accent-gold-soft);
    margin-bottom: 10px;
    font-size: 18px;
}

.uk-focus-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

.uk-focus-image {
    margin-bottom: 18px;
    border-radius: 14px;
    overflow: hidden;
}

.uk-focus-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

/* Why Us Section */
.why-us {
    padding: 80px 0;
}

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

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.98));
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
    transition: transform 0.3s ease;
}

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

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

.feature-card h3 {
    color: var(--accent-gold-soft);
    margin-bottom: 15px;
}

/* Our Games Section */
.our-games {
    padding: 80px 0;
    background: radial-gradient(circle at top, rgba(14, 165, 233, 0.14), rgba(15, 23, 42, 0.96));
}

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

.game-block {
    background: radial-gradient(circle at top, rgba(10, 17, 40, 0.97), rgba(15, 23, 42, 0.98));
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.game-block h3 {
    color: var(--accent-gold-soft);
    margin-bottom: 20px;
    font-size: 24px;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
}

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

.faq .section-title {
    color: #ffffff;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.98));
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
}

.faq-question:hover {
    background: radial-gradient(circle at top, rgba(30, 64, 175, 0.4), rgba(15, 23, 42, 0.98));
}

.faq-toggle {
    font-size: 24px;
    color: var(--accent-gold);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 1));
}

.faq-answer.active {
    max-height: 200px;
    padding: 20px;
}

/* Responsible Gaming Section */
.responsible-gaming {
    padding: 80px 0;
    background:
        radial-gradient(circle at top, rgba(8, 47, 73, 0.9), rgba(15, 23, 42, 0.98)),
        url("images/High-detail casino scene2.webp");
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.responsible-gaming .section-title {
    color: var(--white);
}

.responsible-intro {
    max-width: 780px;
    margin: 0 auto 40px auto;
    text-align: center;
}

.responsible-intro-text {
    margin-top: 18px;
    font-size: 16px;
    color: var(--text-secondary);
}

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

.responsible-card {
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.95), rgba(8, 47, 73, 0.9));
    padding: 28px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.85);
    position: relative;
    overflow: hidden;
}

.responsible-card h3 {
    color: var(--accent-gold);
    margin-bottom: 12px;
    font-size: 18px;
}

.responsible-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

.responsible-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 55%);
    opacity: 0.9;
    pointer-events: none;
}

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

.footer-content > * {
    margin-bottom: 40px;
}

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

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

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

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

.footer-legal {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-legal a {
    color: var(--medium-silver);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-banners {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
    margin-bottom: 30px;
}

.footer-banner {
    width: 160px;
    height: 80px;
    background: #111827;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 10px;
    overflow: hidden;
}

.footer-banner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

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

.footer-banner-img--white {
    filter: none;
}

.footer-banner-img.no-invert {
    filter: none;
}

.footer-banner--white .footer-banner-img {
    filter: none;
}

.footer-banner--white-bg {
    background: #ffffff;
}

.footer-banner--white-bg .footer-banner-img {
    filter: none;
}

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

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

.footer-bottom {
    border-top: 1px solid var(--secondary-dark-blue);
    padding-top: 20px;
    font-size: 14px;
    color: var(--medium-silver);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-dark-blue);
    color: var(--white);
    padding: 20px;
    z-index: 1000;
    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;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-content a {
    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;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

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

.back-to-top:hover {
    background: #38bdf8;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .casino-card {
        flex-direction: column;
        text-align: center;
    }
    
    .casino-footer {
        flex-direction: column;
        gap: 20px;
    }
    
    .features-grid,
    .games-grid,
    .responsible-grid,
    .uk-focus-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-nav,
    .footer-legal {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-banners {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-items: center;
    }
    
    .footer-banner {
        width: 140px;
        height: 70px;
    }
    
    .footer-banner:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .age-modal-content {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .top-casinos,
    .why-us,
    .our-games,
    .faq,
    .responsible-gaming {
        padding: 60px 0;
    }
    
    .casino-logo-img {
        width: 100px;
    }
}