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

:root {
    --primary-color: #1a5f7a;
    --secondary-color: #159895;
    --accent-color: #57c5b6;
    --dark-bg: #002b36;
    --light-bg: #f8f9fa;
    --text-dark: #212529;
    --text-light: #ffffff;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --gold: #ffd700;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #e8f4f8 0%, #ffffff 100%);
    overflow-x: hidden;
}

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

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

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

.age-modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.age-modal-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.age-modal-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.age-modal-content p {
    font-size: 16px;
    margin-bottom: 30px;
    color: #6c757d;
}

.age-modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-accept,
.btn-decline {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(26, 95, 122, 0.3);
}

.btn-decline {
    background: #6c757d;
    color: white;
}

.btn-decline:hover {
    background: #5a6268;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-image {
    width: 50px;
    height: 50px;
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: -0.5px;
}

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

.nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

.nav a:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.03)"/></svg>');
    opacity: 0.3;
}

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

.hero-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge svg {
    color: var(--gold);
}

.badge span {
    font-weight: 600;
    font-size: 14px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.8;
}

/* Table Headers */
.table-headers {
    background: white;
    padding: 30px 0;
    border-bottom: 3px solid var(--accent-color);
    margin-bottom: 40px;
}

.headers-grid {
    display: grid;
    grid-template-columns: 2fr 2fr 1.5fr 1fr 1.5fr;
    gap: 20px;
    align-items: center;
}

.header-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.header-item span {
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-item svg {
    color: var(--secondary-color);
}

/* Casino Cards */
.casinos-section {
    padding: 40px 0 80px;
}

.casino-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.casino-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.casino-card.best-choice {
    border: 3px solid var(--gold);
    background: linear-gradient(135deg, #fffbf0 0%, white 100%);
}

.best-choice-badge {
    position: absolute;
    top: -15px;
    left: 30px;
    background: linear-gradient(135deg, var(--gold), #ffed4e);
    color: var(--text-dark);
    padding: 8px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.best-choice-badge svg {
    color: var(--text-dark);
}

.casino-grid {
    display: grid;
    grid-template-columns: 2fr 2fr 1.5fr 1fr 1.5fr;
    gap: 30px;
    align-items: center;
}

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

.casino-logo img {
    max-width: 150px;
    max-height: 80px;
    object-fit: contain;
}

.casino-bonus {
    display: flex;
    align-items: center;
    gap: 15px;
}

.casino-bonus svg {
    color: var(--secondary-color);
    flex-shrink: 0;
}

.bonus-text {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.4;
}

.casino-rating {
    text-align: center;
}

.rating-score {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.rating-stars {
    margin-bottom: 8px;
}

.rating-stars span {
    color: var(--gold);
    font-size: 18px;
}

.rating-count {
    font-size: 13px;
    color: #6c757d;
}

.casino-score {
    display: flex;
    justify-content: center;
}

.score-circle {
    position: relative;
    width: 80px;
    height: 80px;
}

.score-circle svg {
    color: var(--secondary-color);
}

.score-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-color);
}

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

.btn-visit {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(26, 95, 122, 0.3);
    display: inline-block;
}

.btn-visit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(26, 95, 122, 0.4);
}

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

.faq-section h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 50px;
}

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

.faq-item {
    margin-bottom: 20px;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-color);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: white;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--light-bg);
}

.faq-icon {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

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

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

.faq-answer p {
    padding: 0 30px 25px 30px;
    color: #6c757d;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #001f28 100%);
    color: var(--text-light);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo .logo-text {
    font-size: 32px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

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

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
}

.footer-badges {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-badges img {
    max-height: 50px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-badges img:hover {
    opacity: 1;
}

.footer-disclaimer {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
}

.footer-disclaimer p {
    margin-bottom: 15px;
}

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

.footer-bottom p {
    margin-bottom: 10px;
}

.cookie-notice {
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .headers-grid,
    .casino-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .header-item {
        display: none;
    }

    .casino-logo,
    .casino-bonus,
    .casino-rating,
    .casino-score,
    .casino-cta {
        justify-content: flex-start;
        text-align: left;
    }

    .casino-score {
        justify-content: flex-start;
    }

    .nav {
        gap: 15px;
    }

    .nav a {
        font-size: 14px;
        padding: 6px 12px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-badges {
        flex-direction: column;
    }

    .age-modal-content {
        padding: 30px 20px;
        margin: 0 20px;
    }

    .age-modal-buttons {
        flex-direction: column;
    }

    .btn-accept,
    .btn-decline {
        width: 100%;
    }

    .logo-text {
        font-size: 20px;
    }

    .nav {
        flex-direction: column;
        gap: 10px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-description {
        font-size: 16px;
    }

    .faq-section h2 {
        font-size: 32px;
    }

    .casino-card {
        padding: 20px;
    }

    .best-choice-badge {
        position: static;
        margin-bottom: 20px;
        justify-content: center;
    }
}

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

.casino-card {
    animation: fadeInUp 0.5s ease-out;
}

.casino-card:nth-child(1) { animation-delay: 0.1s; }
.casino-card:nth-child(2) { animation-delay: 0.2s; }
.casino-card:nth-child(3) { animation-delay: 0.3s; }
.casino-card:nth-child(4) { animation-delay: 0.4s; }
.casino-card:nth-child(5) { animation-delay: 0.5s; }
.casino-card:nth-child(6) { animation-delay: 0.6s; }
.casino-card:nth-child(7) { animation-delay: 0.7s; }
