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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #0b0b0c;
    color: #e5e5e7;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

a {
    color: #6366f1;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover, a:focus {
    color: #8b5cf6;
    text-shadow: 0 0 8px rgba(139, 92, 246, 0.5);
}

/* Focus Styles for Accessibility */
*:focus {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #e5e5e7;
    border: 2px solid #374151;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover,
.btn-secondary:focus {
    border-color: #6366f1;
    color: #6366f1;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.btn-primary-small {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary-small {
    background: transparent;
    color: #e5e5e7;
    border: 1px solid #374151;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    text-align: center;
    border: 1px solid #374151;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal-content h2 {
    color: #f59e0b;
    margin-bottom: 20px;
    font-size: 2rem;
}

.age-verification-text {
    margin: 20px 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    padding: 20px;
    border-top: 1px solid #374151;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

.cookie-buttons {
    display: flex;
    gap: 15px;
}

/* Header */
.header {
    background: rgba(17, 24, 39, 0.9);
    backdrop-filter: blur(20px);
    padding: 20px 0;
    border-bottom: 1px solid #374151;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo h2 {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    margin: 0;
}

.logo-tagline {
    font-size: 0.9rem;
    color: #9ca3af;
    margin-top: 5px;
    max-width: 500px;
}

.header-badges {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.age-badge, .license-badge {
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.age-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: white;
}

.license-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

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

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: #d1d5db;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
    margin-bottom: 60px;
}

.cta-button:hover,
.cta-button:focus {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.4);
}

.hero-info-block {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.8) 0%, rgba(17, 24, 39, 0.8) 100%);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #374151;
    text-align: left;
    backdrop-filter: blur(10px);
}

.hero-info-block h3 {
    color: #f59e0b;
    margin-bottom: 15px;
}

.hero-info-block p {
    margin-bottom: 10px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section Styling */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 60px;
}

/* Featured Casino Section */
.filter-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    color: #9ca3af;
    border: 2px solid #374151;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn:focus {
    border-color: #6366f1;
    color: #6366f1;
}

.filter-btn.active {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border-color: transparent;
}

.casino-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.casino-card {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border: 1px solid #374151;
    border-radius: 20px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.casino-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #f59e0b 100%);
}

.casino-card-content {
    display: grid;
    grid-template-columns: 100px 350px 2fr 200px;
    align-items: center;
    gap: 30px;
    padding: 20px 30px;
}

.casino-rank-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.casino-card:hover,
.casino-card:focus-within {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
    border-color: #6366f1;
}

.casino-rank {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.casino-stars {
    color: #f59e0b;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.casino-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.casino-logo {
    width: 180px;
    height: 90px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
}

.casino-bonus-container {
    flex: 1;
}

.casino-bonus {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f59e0b;
    margin-bottom: 10px;
    line-height: 1.3;
}


.casino-cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 200px;
padding-top:15px;
}

.play-now-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 120px;
}

.play-now-btn:hover,
.play-now-btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.casino-license-info {
    font-size: 0.5rem;
    color: #6b7280;
    text-align: center;
    line-height: 1.3;
}

.casino-disclaimer {
    padding: 15px 30px 20px;
    border-top: 1px solid #374151;
    font-size: 0.8rem;
    color: #9ca3af;
    text-align: center;
    background: rgba(17, 24, 39, 0.5);
}

/* Mobile Layout */
@media (max-width: 768px) {
    .casino-card {
        display: flex;
        flex-direction: column;
    }
    
    .casino-card-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
        padding: 20px;
    }
    
    .casino-rank-container {
        order: 1;
    }
    
    .casino-logo-container {
        order: 2;
    }
    
    .casino-bonus-container {
        order: 3;
    }
    
    .casino-bonus {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .casino-cta-container {
        order: 4;
        min-width: auto;
    }
    
    .play-now-btn {
        padding: 15px 30px;
        font-size: 1.1rem;
        min-width: 200px;
    }
    
    .casino-license-info {
        margin-top: 10px;
    }
}

/* About Us Section */
.about-us {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    padding: 80px 0;
    position: relative;
}

.about-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 300"><defs><linearGradient id="aboutGrad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%236366f1;stop-opacity:0.1"/><stop offset="100%" style="stop-color:%238b5cf6;stop-opacity:0.05"/></linearGradient></defs><circle cx="100" cy="100" r="50" fill="url(%23aboutGrad)"/><circle cx="900" cy="200" r="80" fill="url(%23aboutGrad)"/><polygon points="500,50 550,150 450,150" fill="url(%23aboutGrad)"/></svg>') no-repeat center;
    background-size: cover;
    opacity: 0.3;
    z-index: -1;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
}

.about-content p {
    font-size: 1.1rem;
    color: #d1d5db;
    margin-bottom: 20px;
    line-height: 1.7;
}

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

.about-feature {
    background: rgba(31, 41, 55, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid #374151;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.about-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.2);
    border-color: #6366f1;
}

.about-feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.about-feature h3 {
    color: #f59e0b;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.about-feature p {
    color: #9ca3af;
    font-size: 0.95rem;
    margin: 0;
}

/* Trusted & Regulated Section */
.trusted-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 30px;
}

.trusted-item {
    background: rgba(31, 41, 55, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid #374151;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #e5e5e7;
}

.trusted-item:hover,
.trusted-item:focus {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.2);
    border-color: #6366f1;
    color: #6366f1;
}

.trusted-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.trusted-item:hover img {
    filter: brightness(1);
}

.trusted-item span {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
}

.age-badge-item {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    border-color: #f59e0b;
}

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

.feature-card {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border: 1px solid #374151;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.2);
    border-color: #6366f1;
}

.feature-card h3 {
    color: #f59e0b;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

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

.faq-item {
    border: 1px solid #374151;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

.faq-question {
    width: 100%;
    padding: 25px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #e5e5e7;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #6366f1;
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.open {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 25px 25px;
    color: #d1d5db;
    line-height: 1.6;
}

/* Responsible Gambling Section */
.responsible-gambling {
    background: linear-gradient(135deg, #7c2d12 0%, #92400e 100%);
    padding: 60px 0;
}

.responsible-gambling-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.responsible-gambling h2 {
    color: #fbbf24;
    margin-bottom: 20px;
}

.responsible-gambling p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.responsible-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.responsible-links a {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.responsible-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.helpline {
    font-size: 1.2rem;
    color: #fbbf24;
}

/* Help Widget */
.help-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

#help-toggle {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3);
    transition: all 0.3s ease;
}

#help-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.4);
}

.help-icon {
    font-size: 1.5rem;
    font-weight: 700;
}

.help-content {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 12px;
    padding: 20px;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.help-content.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.help-content h4 {
    color: #f59e0b;
    margin-bottom: 15px;
    font-size: 1rem;
}

.help-content a {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #374151;
    font-size: 0.9rem;
}

.help-content a:last-of-type {
    border-bottom: none;
}

.help-content p {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #d1d5db;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #111827 0%, #0f172a 100%);
    padding: 80px 0 30px;
    border-top: 1px solid #374151;
}

.disclaimer {
    background: rgba(31, 41, 55, 0.6);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 50px;
    border: 1px solid #374151;
}

.disclaimer h3 {
    color: #f59e0b;
    margin-bottom: 15px;
}

.disclaimer p {
    color: #d1d5db;
    line-height: 1.6;
}

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

.footer-section h4 {
    color: #6366f1;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

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

.footer-section a {
    color: #9ca3af;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #6366f1;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid #374151;
    border-radius: 8px;
    background: rgba(31, 41, 55, 0.6);
    color: #e5e5e7;
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: #6b7280;
}

.newsletter-form button {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.newsletter-disclaimer {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
    color: #6b7280;
}

        .legal-page {
            padding: 60px 0;
            max-width: 800px;
            margin: 0 auto;
            line-height: 1.8;
        }

        .legal-page section {
            margin-bottom: 25px;
        }

        .legal-page h2 {
            color: #f59e0b;
            font-size: 1.5rem;
            margin-bottom: 15px;
            margin-top: 20px;
        }

        .legal-page h3 {
            color: #8b5cf6;
            font-size: 1.2rem;
            margin-bottom: 10px;
            margin-top: 15px;
        }

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .modal-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .casino-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .filter-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .trusted-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .responsible-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .help-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .casino-grid {
        grid-template-columns: 1fr;
    }
    
    .trusted-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-info-block {
        padding: 20px;
    }
    
    .modal-content {
        padding: 20px 15px;
    }
    
    .casino-card {
        padding: 20px;
    }
}

/* Print Styles */
@media print {
    .modal-overlay,
    .cookie-banner,
    .help-widget,
    .header {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .casino-card,
    .feature-card,
    .trusted-item {
        background: white !important;
        border: 1px solid #ccc !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    body {
        background: #000 !important;
        color: #fff !important;
    }
    
    .casino-card,
    .feature-card,
    .trusted-item {
        border-color: #fff !important;
    }
    
    a {
        color: #00ffff !important;
    }
    
    .btn-primary {
        background: #fff !important;
        color: #000 !important;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .casino-card:hover,
    .feature-card:hover,
    .trusted-item:hover {
        transform: none !important;
    }
}

/* Apply consistent formatting to all legal pages, using !important to override other styles */
.legal-page section {
  margin-bottom: -10rem !important;   /* spacing between sections */
}

.legal-page h1 {
  margin-bottom: 1rem !important;
}

.legal-page h2 {
  margin-top: 2rem !important;        /* space before subsection */
  margin-bottom: 0.75rem !important;
}

.legal-page h3 {
  margin-top: 1.5rem !important;
  margin-bottom: 0.5rem !important;
}

.legal-page p,
.legal-page ul,
.legal-page ol {
  margin-bottom: 1rem !important;     /* spacing between paragraphs/lists */
  line-height: 1.6 !important;        /* improve readability */
}

.legal-page ul,
.legal-page ol {
  padding-left: 1.5rem !important;    /* indent lists */
}

/* Optional: constrain content width for readability */
.legal-page .container {
  max-width: 900px !important;
  margin: 0 auto !important;
  padding: 20px !important;
}

