* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.age-restriction-banner {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.9rem;
    border-bottom: 2px solid #d4af37;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.banner-logo {
    font-weight: 700;
    font-size: 1.1rem;
    color: #d4af37;
    letter-spacing: 0.5px;
}

.age-restriction-banner p {
    margin: 0;
}

.age-restriction-banner strong {
    color: #d4af37;
}

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

.header {
    background: linear-gradient(135deg, #5c1f3d 0%, #7a2d52 100%);
    color: white;
    text-align: center;
    padding: 40px 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 0.95rem;
    opacity: 0.95;
    font-weight: 400;
}

.casino-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.casino-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.casino-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.casino-card:first-child {
    background: linear-gradient(135deg, #fffbf0 0%, #fff9e6 100%);
    border: 3px solid #d4af37;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

.casino-card:first-child:hover {
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.rank-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 36px;
    height: 36px;
    background: #5c1f3d;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    z-index: 10;
}

.casino-card:first-child .rank-badge {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
    color: #5c1f3d;
    font-size: 1.3rem;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.5);
}

.casino-content {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 20px;
    background: #fafafa;
}

.casino-card:first-child .casino-content {
    background: linear-gradient(135deg, #fffef9 0%, #fffcf0 100%);
}

.casino-logo {
    min-width: 120px;
    width: 120px;
    height: 100px;
    background: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo-placeholder {
    font-weight: bold;
    font-size: 1.1rem;
    color: #5c1f3d;
    text-align: center;
    padding: 10px;
}

.casino-details {
    flex: 1;
}

.casino-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 12px;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #555;
}

.checkmark {
    color: #5c1f3d;
    flex-shrink: 0;
}

.casino-action {
    display: flex;
    align-items: center;
}

.visit-btn {
    background: linear-gradient(135deg, #5c1f3d 0%, #7a2d52 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(92, 31, 61, 0.3);
    text-decoration: none;
}

.visit-btn:hover {
    background: linear-gradient(135deg, #6d2448 0%, #8b3560 100%);
    box-shadow: 0 4px 8px rgba(92, 31, 61, 0.4);
    transform: translateY(-1px);
}

.visit-btn:active {
    transform: translateY(0);
}

.arrow-icon {
    transition: transform 0.2s;
}

.visit-btn:hover .arrow-icon {
    transform: translateX(3px);
}

.terms-section {
    border-top: 1px solid #e5e5e5;
    background: #f9f9f9;
}

.terms-header {
    padding: 15px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #5c1f3d;
    background: white;
    border-bottom: 1px solid #e5e5e5;
}

.terms-content {
    background: #f9f9f9;
}

.terms-content p {
    padding: 15px 20px;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
}

.footer {
    margin-top: 40px;
    padding: 40px 20px 30px;
    background: #2b2b2b;
    color: #ffffff;
    text-align: center;
}

.footer-links {
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-disclaimer {
    margin-bottom: 30px;
}

.footer-disclaimer p {
    font-size: 0.9rem;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.footer-logo {
    height: 40px;
    width: auto;
    transition: opacity 0.2s;
}

.footer-logo:hover {
    opacity: 0.8;
}

.copyright {
    font-size: 0.85rem;
    color: #cccccc;
}

.faq-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.faq-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c2c2c;
    text-align: center;
    margin-bottom: 40px;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.faq-question {
    width: 100%;
    background: white;
    border: none;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #2c2c2c;
    text-align: left;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f9f9f9;
}

.faq-question span {
    flex: 1;
    padding-right: 15px;
}

.faq-icon {
    flex-shrink: 0;
    color: #5c1f3d;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
    transition: max-height 0.3s ease-in;
}

.faq-answer p {
    padding: 20px 25px;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

.legal-content {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.legal-section {
    margin-bottom: 30px;
}

.legal-section h2 {
    font-size: 1.4rem;
    color: #5c1f3d;
    margin-bottom: 15px;
    border-bottom: 2px solid #5c1f3d;
    padding-bottom: 10px;
}

.legal-section p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.legal-section ul {
    margin-left: 25px;
    margin-bottom: 15px;
}

.legal-section li {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 8px;
}

.legal-section a {
    color: #5c1f3d;
    text-decoration: none;
    font-weight: 600;
}

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

.back-link {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e5e5e5;
}

.back-link a {
    color: #5c1f3d;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}

.back-link a:hover {
    color: #7a2d52;
    text-decoration: underline;
}

.responsible-gambling-notice {
    background: #f9f9f9;
    padding: 25px;
    border-left: 4px solid #5c1f3d;
    margin-top: 30px;
    border-radius: 4px;
}

.responsible-gambling-notice p {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.gambling-logos {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.gambling-logos p {
    font-size: 0.9rem;
    color: #666;
}

.gambling-logos a {
    color: #5c1f3d;
    text-decoration: none;
    font-weight: 600;
}

.gambling-logos a:hover {
    text-decoration: underline;
}

/* Cookie Consent Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2b2b2b 0%, #1a1a1a 100%);
    color: white;
    padding: 25px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    border-top: 3px solid #d4af37;
}

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

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: #d4af37;
}

.cookie-banner-text p {
    margin: 0 0 8px 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #e0e0e0;
}

.cookie-banner-text a {
    color: #d4af37;
    text-decoration: underline;
}

.cookie-banner-text a:hover {
    color: #ffd700;
}

.cookie-banner-note {
    font-size: 0.85rem !important;
    color: #aaa !important;
    margin-top: 5px !important;
}

.cookie-banner-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #5c1f3d 0%, #7a2d52 100%);
    color: white;
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #7a2d52 0%, #8b3560 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(92, 31, 61, 0.4);
}

.cookie-btn-reject {
    background: transparent;
    color: white;
    border: 2px solid #666;
}

.cookie-btn-reject:hover {
    background: #333;
    border-color: #888;
}

.back-link {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #5c1f3d 0%, #7a2d52 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s;
}

.back-link:hover {
    background: linear-gradient(135deg, #7a2d52 0%, #8b3560 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(92, 31, 61, 0.4);
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header h1 {
        font-size: 1.5rem;
    }
    
    .casino-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }
    
    .casino-logo {
        min-width: 100%;
        width: 100%;
    }
    
    .casino-action {
        width: 100%;
    }
    
    .visit-btn {
        width: 100%;
        justify-content: center;
    }
    
    .rank-badge {
        top: 10px;
        left: 10px;
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .legal-content {
        padding: 20px;
    }
    
    .legal-section h2 {
        font-size: 1.2rem;
    }
    
    .faq-title {
        font-size: 1.5rem;
    }
    
    .faq-question {
        padding: 15px 18px;
        font-size: 0.95rem;
    }
    
    .faq-answer p {
        padding: 15px 18px;
        font-size: 0.9rem;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .cookie-banner-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .cookie-banner-text h3 {
        font-size: 1.1rem;
    }
    
    .cookie-banner-text p {
        font-size: 0.85rem;
    }
    
    .age-restriction-banner {
        flex-direction: column;
        gap: 8px;
        padding: 8px 15px;
    }
    
    .banner-logo {
        font-size: 1rem;
    }
    
    .age-restriction-banner p {
        font-size: 0.8rem;
    }
}

/* Age Verification Modal */
.age-verification-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 25, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.age-verification-modal {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.age-modal-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 24px 0;
}

.age-icon {
    background: linear-gradient(135deg, #7a2d52 0%, #5c1f3d 100%);
    color: #ffffff;
    font-size: 32px;
    font-weight: 800;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    box-shadow: 0 8px 24px rgba(122, 45, 82, 0.4);
}

.age-welcome {
    color: #c4b5fd;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.age-warning {
    color: #e0e0e0;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.age-terms {
    color: #b0b0b0;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 32px 0;
}

.age-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.age-btn {
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.age-btn-accept {
    background: linear-gradient(135deg, #7a2d52 0%, #5c1f3d 100%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(122, 45, 82, 0.3);
}

.age-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(122, 45, 82, 0.5);
}

.age-btn-reject {
    background: transparent;
    color: #888888;
    border: 1px solid #444444;
}

.age-btn-reject:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #666666;
}

@media (max-width: 768px) {
    .age-verification-modal {
        padding: 36px 24px;
    }
    
    .age-modal-title {
        font-size: 24px;
    }
    
    .age-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
}
