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

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #000;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(45deg, #4a90e2, #357abd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2rem;
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.3rem;
    color: #4a90e2;
}

p {
    margin-bottom: 1rem;
    color: #ccc;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(45deg, #4a90e2, #357abd);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background: linear-gradient(45deg, #357abd, #2968a3);
    transform: translateY(-2px);
}

.btn-primary {
    font-size: 1.1rem;
    padding: 15px 30px;
}

.btn-cookie {
    background: linear-gradient(45deg, #28a745, #20c997);
    margin-left: 15px;
}

/* Age Verification Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    padding: 2rem;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    border: 2px solid #4a90e2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-header h2 {
    color: #4a90e2;
    margin-bottom: 1rem;
}

.modal-body p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.warning-text {
    color: #ff6b6b;
    font-weight: bold;
}

.modal-actions {
    margin-top: 1.5rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    color: white;
    padding: 1rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-top: 2px solid #4a90e2;
}

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

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

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

.cookie-content a {
    color: #4a90e2;
    text-decoration: none;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #4a90e2;
}

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

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #4a90e2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Navigation */
.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-list a:hover {
    color: #4a90e2;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
    z-index: 1100;
    background: transparent;
    border: none;
    padding: 0;
}

.burger-line {
    display: block;
    width: 100%;
    height: 3px;
    background: #4a90e2;
    position: absolute;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.burger-line:nth-child(1) {
    top: 0;
}

.burger-line:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.burger-line:nth-child(3) {
    bottom: 0;
}

.nav-open .burger-menu .burger-line:nth-child(1) {
    transform: rotate(45deg);
    top: 50%;
    margin-top: -1.5px;
}

.nav-open .burger-menu .burger-line:nth-child(2) {
    transform: scale(0);
}

.nav-open .burger-menu .burger-line:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 50%;
    margin-bottom: -1.5px;
}

/* Global background for main content */
.page-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.page-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3);
}

.main-content {
    position: relative;
    z-index: 0;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: transparent;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: -1;
}

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

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #4a90e2;
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(74, 144, 226, 0.1);
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    border: 1px solid rgba(74, 144, 226, 0.3);
}

.feature-icon {
    font-size: 1.2rem;
}

.feature-text {
    color: #fff;
    font-weight: 500;
}

.hero-text {
    max-width: 800px;
    margin: 2rem auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Offers Section */
.offers {
    padding: 4rem 0;
    background: rgba(10, 10, 10, 0.9);
    position: relative;
    overflow: hidden;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.casino-card {
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    border: 2px solid #4a90e2;
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.casino-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.1), transparent);
    transition: left 0.5s;
}

.casino-card:hover::before {
    left: 100%;
}

.casino-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.casino-logo-link {
    display: inline-flex;
    align-items: center;
}

.casino-logo {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.card-header h3 {
    color: #4a90e2;
    font-size: 1.4rem;
}

.rating {
    color: #ffd700;
    font-size: 1.2rem;
}

.bonus-info {
    margin: 1rem 0;
}

.bonus-amount {
    font-size: 1.2rem;
    font-weight: bold;
    color: #4a90e2;
}

.bonus-wagering {
    color: #ccc;
    font-size: 0.9rem;
}

.key-features p {
    margin: 0.5rem 0;
    color: #ccc;
}

.payment-methods {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
    color: #4a90e2;
}

/* Checklist Section */
.checklist {
    padding: 4rem 0;
    background: rgba(10, 10, 10, 0.9);
    position: relative;
    overflow: hidden;
}

.checklist-items {
    max-width: 800px;
    margin: 0 auto;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin: 1rem 0;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 10px;
    border-left: 4px solid #4a90e2;
}

.check-icon {
    font-size: 1.2rem;
    color: #4a90e2;
    min-width: 24px;
}

.check-text {
    color: #fff;
    font-size: 1.1rem;
}

/* Criteria Section */
.criteria {
    padding: 4rem 0;
    background: rgba(10, 10, 10, 0.9);
    position: relative;
    overflow: hidden;
}

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

.criteria-item {
    text-align: center;
    padding: 2rem;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
}

.criteria-item:hover {
    background: rgba(74, 144, 226, 0.2);
    transform: translateY(-3px);
}

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

.criteria-item h3 {
    color: #fff;
    margin-bottom: 1rem;
}

/* Bonuses Section */
.bonuses {
    padding: 4rem 0;
    background: rgba(10, 10, 10, 0.9);
    position: relative;
    overflow: hidden;
}

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

.analysis-item {
    background: rgba(74, 144, 226, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(74, 144, 226, 0.3);
}

.analysis-item h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.analysis-item ul {
    list-style: none;
    padding: 0;
}

.analysis-item li {
    margin: 0.5rem 0;
    padding-left: 1rem;
    position: relative;
    color: #ccc;
}

.analysis-item li::before {
    content: '•';
    color: #4a90e2;
    position: absolute;
    left: 0;
}

/* Protection Section */
.protection {
    padding: 4rem 0;
    background: rgba(10, 10, 10, 0.9);
    position: relative;
    overflow: hidden;
}

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

.protection-item {
    text-align: center;
    padding: 2rem;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
}

.protection-item:hover {
    background: rgba(74, 144, 226, 0.2);
    transform: translateY(-3px);
}

.protection-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.protection-item h3 {
    color: #fff;
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq {
    padding: 4rem 0;
    background: rgba(10, 10, 10, 0.9);
    position: relative;
    overflow: hidden;
}

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

.faq-item {
    background: rgba(74, 144, 226, 0.1);
    margin: 1rem 0;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #4a90e2;
}

.faq-item h3 {
    color: #fff;
    margin-bottom: 1rem;
}

/* Disclaimer Section */
.disclaimer {
    padding: 4rem 0;
    background: rgba(10, 10, 10, 0.9);
    position: relative;
    overflow: hidden;
}

.disclaimer-text {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.disclaimer-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
}

/* Section-specific background images */
.section-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.section-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35);
}
/* Responsible gaming banners */
.responsible-banners {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.banner-item {
    position: relative;
    background: #111;
    border-radius: 10px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 1;
    border: 1px solid #4a90e2;
    text-decoration: none;
}

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

.banner-item--over18 img {
    filter: none;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: white;
    padding: 3rem 0 2rem;
    border-top: 2px solid #4a90e2;
}

.legal-info {
    text-align: center;
    margin-bottom: 2rem;
}

.legal-info h3 {
    color: #4a90e2;
    margin-bottom: 1rem;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.legal-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #4a90e2;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #444;
}

.copyright p {
    margin: 0.5rem 0;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile optimizations - remove section padding */
    .hero, .offers, .checklist, .criteria, .bonuses, .protection, .faq, .disclaimer {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    /* Reduce margins and font sizes on mobile */
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-features {
        gap: 1rem;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .feature-item {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        flex: 1;
        min-width: 140px;
    }
    
    .hero-text {
        font-size: 1rem;
        margin: 1.5rem auto;
    }
    
    /* Reduce spacing between elements */
    .casino-card {
        margin: 0.5rem 0;
        padding: 1rem;
    }
    
    .checklist-item, .faq-item, .criteria-item, .analysis-item, .protection-item {
        margin: 0.8rem 0;
        padding: 1rem;
    }
    
    /* Smaller fonts for mobile */
    .card-header h3 {
        font-size: 1.2rem;
    }
    
    .bonus-amount {
        font-size: 1.1rem;
    }
    
    .criteria-icon, .protection-icon {
        font-size: 2rem;
    }
    
    /* Burger menu for mobile */
    .burger-menu {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-open .nav {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        padding: 4rem 2rem;
        gap: 1.5rem;
    }
    
    .nav-list a {
        font-size: 1.2rem;
        padding: 1rem;
        border-bottom: 1px solid #444;
        display: block;
    }
    
    /* Cookie banner responsive */
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    /* Responsible banners mobile layout: 2 columns, last centered if odd */
    .responsible-banners {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .responsible-banners > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: 230px;
        width: 100%;
    }
    
    /* Legal links responsive */
    .legal-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* Modal responsive */
    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile optimizations */
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-item {
        min-width: 120px;
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }
    
    /* Keep 2-column layout on very small screens for banners */
    .responsible-banners {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Additional mobile optimizations */
@media (max-width: 768px) {
    /* Remove extra margins and padding */
    .container {
        padding: 0 15px;
    }
    
    .hero-features {
        margin: 1.5rem 0;
    }
    
    .hero-text p {
        margin-bottom: 1rem;
    }
    
    /* Compact card layouts */
    .top-casinos, .other-casinos {
        gap: 1rem;
    }
    
    .casino-card {
        border-radius: 10px;
    }
    
    /* Smaller checklist items */
    .checklist-item {
        gap: 0.8rem;
    }
    
    .check-icon {
        font-size: 1rem;
    }
    
    .check-text {
        font-size: 1rem;
    }
    
    /* Compact FAQ */
    .faq-item {
        padding: 1rem;
        margin: 0.8rem 0;
    }
    
    .faq-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    /* Smaller criteria and protection items */
    .criteria-item, .protection-item {
        padding: 1.5rem;
    }
    
    .criteria-icon, .protection-icon {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .criteria-item h3, .protection-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
}

/* Placeholder images */
.placeholder {
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    border: 2px dashed #4a90e2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a90e2;
    font-weight: bold;
    aspect-ratio: 16/9;
}

/* Smooth transitions for interactive elements */
.casino-card, .criteria-item, .protection-item, .btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus styles for accessibility */
.btn:focus, .nav-list a:focus {
    outline: 2px solid #4a90e2;
    outline-offset: 2px;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Error states */
.error {
    color: #ff6b6b;
    font-weight: bold;
}

/* Success states */
.success {
    color: #28a745;
    font-weight: bold;
}

/* Legal Pages Styles */
.legal-page {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    min-height: 100vh;
}

.legal-page .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.legal-page h1 {
    color: #4a90e2;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.legal-page h2 {
    color: #fff;
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem 0;
    text-align: left;
}

.legal-page h3 {
    color: #4a90e2;
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
}

.legal-page p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
    color: #ccc;
}

.legal-page ul, .legal-page ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.legal-page li {
    margin: 0.8rem 0;
    color: #ccc;
    line-height: 1.6;
}

.legal-page a {
    color: #4a90e2;
    text-decoration: none;
}

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

.last-updated {
    text-align: center;
    color: #888;
    font-style: italic;
    margin-bottom: 3rem;
}

.cookie-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.cookie-table th,
.cookie-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(74, 144, 226, 0.3);
}

.cookie-table th {
    background: rgba(74, 144, 226, 0.2);
    color: #fff;
    font-weight: bold;
}

.cookie-table td {
    color: #ccc;
}

.back-link {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #444;
}

.back-link a {
    color: #4a90e2;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-link a:hover {
    color: #357abd;
    text-decoration: none;
}

.emergency-box {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin: 3rem 0;
    text-align: center;
    border: 2px solid #fff;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.emergency-box h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.emergency-box p {
    color: #fff;
    margin: 0.5rem 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.emergency-box strong {
    font-size: 1.2rem;
}

/* Responsive for legal pages */
@media (max-width: 768px) {
    .legal-page {
        padding: 2rem 0;
    }
    
    .legal-page h1 {
        font-size: 2rem;
    }
    
    .legal-page h2 {
        font-size: 1.5rem;
        margin: 2rem 0 0.8rem 0;
    }
    
    .legal-page h3 {
        font-size: 1.2rem;
        margin: 1.5rem 0 0.8rem 0;
    }
    
    .cookie-table {
        font-size: 0.9rem;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 0.8rem;
    }
    
    .emergency-box {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .emergency-box h3 {
        font-size: 1.3rem;
    }
    
    .emergency-box p {
        font-size: 1rem;
    }
}