/* CSS Variables for Color Scheme */
:root {
    --primary-navy: #1a237e;
    --primary-navy-dark: #0d47a1;
    --primary-navy-light: #3949ab;
    --accent-gold: #ffd700;
    --accent-gold-dark: #ffa000;
    --accent-gold-light: #ffeb3b;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-dark: #212121;
    --background-light: #f5f5f5;
    --background-dark: #121212;
    --border-color: #e0e0e0;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
    --shadow-heavy: rgba(0, 0, 0, 0.3);
    --gradient-primary: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-dark) 100%);
    --gradient-gold: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
}

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

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);
    overflow-x: hidden;
}

body.age-modal-open {
    overflow: hidden;
}

body.age-modal-open .sidebar,
body.age-modal-open .main-content,
body.age-modal-open .footer,
body.age-modal-open .mobile-menu-toggle,
body.age-modal-open .cookie-banner,
body.age-modal-open .back-to-top {
    filter: blur(6px);
    pointer-events: none;
    user-select: none;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

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

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 30px 0;
    z-index: 1000;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 0 30px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

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

.close-menu {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
}

.nav-menu {
    list-style: none;
    padding: 0 30px;
}

.nav-menu li {
    margin-bottom: 10px;
}

.nav-link {
    display: block;
    padding: 12px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 215, 0, 0.1);
    color: var(--accent-gold);
    transform: translateX(5px);
}

.sidebar-footer {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1100;
    background: var(--gradient-primary);
    color: var(--text-primary);
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 12px var(--shadow-medium);
}

/* Main Content */
.main-content {
    margin-left: 280px;
    min-height: 100vh;
}

/* Hero Section */
.hero-section {
    background-image: linear-gradient(135deg, rgba(26, 35, 126, 0.9) 0%, rgba(13, 71, 161, 0.9) 100%), url("../images/Structured-Luxury-with-Casino-Atmosphere2.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-primary);
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary);
}

.hero-warning {
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid var(--accent-gold);
    border-radius: 12px;
    padding: 20px;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.age-limit {
    background: var(--accent-gold);
    color: var(--primary-navy);
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
}

.hero-warning p {
    margin: 0;
    font-size: 14px;
}

.hero-warning a {
    color: var(--accent-gold);
    text-decoration: underline;
}

/* Casinos Section */
.casinos-section {
    padding: 80px 0;
    background-image: linear-gradient(180deg, rgba(245, 245, 245, 0.96), rgba(245, 245, 245, 0.96)), url("../images/Subtle-Casino-Elements.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.casinos-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Casino Cards */
.casino-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: row;
    position: relative;
    align-items: stretch;
}

.casino-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.casino-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(26, 35, 126, 0.15);
    border-color: var(--accent-gold);
}

.casino-card:hover::before {
    opacity: 1;
}

.card-header {
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.05) 0%, rgba(13, 71, 161, 0.05) 100%);
    padding: 30px 35px;
    text-align: center;
    border-right: 2px solid var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    flex-shrink: 0;
}

.casino-logo {
    max-width: 180px;
    height: 70px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.casino-card:hover .casino-logo {
    transform: scale(1.05);
}

.videoslots-logo {
    max-width: 100%;
    height: 210px;
    object-fit: contain;
}

.casino-card:first-child .card-header {
    padding: 40px 40px;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.card-body {
    padding: 30px 30px 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bonus-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 12px;
    line-height: 1.3;
}

.bonus-subtitle {
    color: #666;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.5;
}

.bonus-terms {
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.03) 0%, rgba(245, 245, 245, 1) 100%);
    padding: 18px 22px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 3px solid var(--accent-gold);
}

.bonus-terms h4 {
    color: var(--primary-navy);
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 600;
}

.bonus-terms p {
    font-size: 13px;
    line-height: 1.6;
    color: #555;
}

.card-footer {
    padding: 20px 30px;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.02) 0%, rgba(245, 245, 245, 1) 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.rating {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    background: rgba(255, 215, 0, 0.1);
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.rating-score {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent-gold-dark);
}

.rating-text {
    font-size: 13px;
    color: var(--primary-navy);
    font-weight: 500;
}

.cta-button {
    background: var(--gradient-gold);
    color: var(--primary-navy);
    padding: 14px 32px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.4);
}

.cta-button:hover::before {
    left: 100%;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: white;
}

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

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

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

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

.faq-question:hover {
    background: rgba(26, 35, 126, 0.05);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--accent-gold-dark);
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: white;
}

.faq-answer.active {
    padding: 25px;
    max-height: 500px;
}

.faq-answer p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

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

.faq-answer li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.faq-answer a {
    color: var(--primary-navy);
    text-decoration: underline;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-image: linear-gradient(90deg, rgba(245, 245, 245, 0.98) 0%, rgba(245, 245, 245, 0.95) 55%, rgba(245, 245, 245, 0.9) 100%), url("../images/Data-Transparency.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-section .section-title {
    color: var(--primary-navy);
}

.about-section .about-item p {
    color: var(--text-dark);
}

.about-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.about-gallery-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px var(--shadow-light);
    background: #000;
}

.about-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.9;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.about-item h3 {
    color: var(--primary-navy);
    margin-bottom: 15px;
    font-size: 20px;
}

.about-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Footer */
.footer {
    background: var(--primary-navy);
    color: var(--text-primary);
    padding: 60px 0 0;
    margin-left: 280px;
    clear: both;
}

/* Trust & Responsibility Banners */
.trust-banners {
    background: #0b102f;
    padding: 40px 0;
}

.trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.trust-badge {
    background: #151b3d;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    box-shadow: 0 6px 18px var(--shadow-heavy);
}

.trust-badge-logo {
    max-width: 100%;
    max-height: 40px;
    filter: brightness(0) invert(1);
}

.trust-badge-logo.no-filter {
    filter: none;
}

@media (max-width: 1024px) {
    .trust-badges-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .trust-badges-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

.footer-column {
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

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

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

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    word-wrap: break-word;
}

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

.responsible-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.responsible-links a {
    background: rgba(255, 215, 0, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    border: 1px solid var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    word-wrap: break-word;
}

.footer-bottom a {
    color: var(--accent-gold);
    text-decoration: underline;
    word-wrap: break-word;
}

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

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

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

.cookie-content p {
    margin: 0;
    font-size: 14px;
}

.cookie-content a {
    color: var(--accent-gold);
    text-decoration: underline;
}

.cookie-accept {
    background: var(--accent-gold);
    color: var(--primary-navy);
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-accept:hover {
    background: var(--accent-gold-light);
    transform: translateY(-1px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    color: var(--primary-navy);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 12px var(--shadow-medium);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--shadow-heavy);
}

/* Age Verification Modal */
.age-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.age-modal.show {
    opacity: 1;
    visibility: visible;
}

.age-modal-dialog {
    background: var(--background-dark);
    color: var(--text-primary);
    padding: 30px 24px;
    border-radius: 16px;
    max-width: 460px;
    width: 92%;
    box-shadow: 0 16px 48px var(--shadow-heavy);
    text-align: left;
}

.age-modal-dialog h2 {
    margin-bottom: 12px;
    font-size: 22px;
    color: var(--accent-gold);
}

.age-modal-dialog p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.age-modal-actions {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.age-btn {
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.age-btn-yes {
    background: var(--gradient-gold);
    color: var(--primary-navy);
}

.age-btn-yes:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 215, 0, 0.35);
}

.age-btn-no {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.age-btn-no:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .close-menu {
        display: block;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-section {
        background-image: none;
        background-color: var(--background-light);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer {
        margin-left: 0;
        width: 100%;
    }
    
    .footer .container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-warning {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .casinos-section,
    .faq-section,
    .about-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .casinos-grid {
        gap: 20px;
        padding: 0 10px;
    }
    
    .casino-card {
        margin: 0;
        flex-direction: column;
    }
    
    .card-header {
        border-right: none;
        border-bottom: 2px solid var(--background-light);
        min-width: auto;
        padding: 25px 20px;
    }
    
    .card-content {
        width: 100%;
    }
    
    .card-body {
        padding: 25px 20px 0;
    }
    
    .card-footer {
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .card-footer .rating {
        justify-content: center;
    }
    
    .card-footer .cta-button {
        width: 100%;
        text-align: center;
    }
    
    .faq-question {
        padding: 15px 20px;
        font-size: 14px;
    }
    
    .faq-answer.active {
        padding: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer {
        margin-left: 0;
        width: 100%;
        padding: 40px 0 0;
    }
    
    .footer .container {
        padding: 0 15px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .bonus-title {
        font-size: 18px;
    }
    
    .card-footer {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
}

/* Utility Classes */
.current-year {
    display: inline-block;
}

/* Print Styles */
@media print {
    .sidebar,
    .mobile-menu-toggle,
    .cookie-banner,
    .back-to-top {
        display: none !important;
    }
    
    .main-content {
        margin-left: 0 !important;
    }
    
    .hero-section {
        background: var(--primary-navy) !important;
        color: white !important;
    }
}