:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --gold-color: #d4af37;
    --light-gold: #f4e4c1;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f8f9fa;
    --bg-dark: #0a0a14;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    --gradient-gold: linear-gradient(135deg, var(--gold-color), var(--light-gold));
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

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

.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.age-modal-content {
    background: var(--text-light);
    border-radius: 12px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.age-modal-header h2 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 20px;
}

.age-modal-body p {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.age-disclaimer {
    font-size: 14px;
    color: #666;
}

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

.btn-age {
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-yes:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-no {
    background: #e0e0e0;
    color: var(--text-dark);
}

.btn-no:hover {
    background: #d0d0d0;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 20px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
}

.cookie-consent.show {
    display: block;
}

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

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 250px;
}

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

.cookie-actions {
    display: flex;
    gap: 10px;
}

.btn-cookie {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-accept {
    background: var(--gold-color);
    color: var(--primary-color);
}

.btn-accept:hover {
    background: var(--light-gold);
}

.btn-decline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-decline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.header {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-light);
    font-size: 24px;
    font-weight: 700;
}


.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(15, 52, 96, 0.7));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.btn-hero {
    display: inline-block;
    padding: 16px 48px;
    background: var(--gradient-gold);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.4s backwards;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

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

.casinos-section {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.section-intro {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.casinos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.casino-card {
    background: var(--text-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

.casino-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.casino-header {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 20px;
    position: relative;
}

.casino-rank {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: var(--gold-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.casino-name {
    font-size: 24px;
    margin-bottom: 10px;
}

.casino-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    color: var(--gold-color);
    font-size: 20px;
}

.rating-number {
    font-weight: 600;
    font-size: 18px;
}

.casino-body {
    padding: 20px;
    flex: 1;
}

.casino-description {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
}

.casino-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-item {
    display: flex;
    gap: 10px;
}

.info-label {
    font-weight: 600;
    color: var(--primary-color);
}

.info-value {
    color: #666;
}

.casino-footer {
    padding: 20px;
    background: var(--bg-light);
}

.btn-casino {
    display: block;
    text-align: center;
    padding: 14px;
    background: var(--gradient-gold);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-casino:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.features-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--text-light);
}

.features-section .section-title {
    color: var(--text-light);
}

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

.feature-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--gold-color);
    margin-top: 0;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.game-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.game-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--text-light);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.game-header {
    text-align: center;
    margin-bottom: 30px;
}

.game-header h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.game-score {
    font-size: 20px;
    color: var(--gold-color);
    font-weight: 600;
}

.game-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.card-slot {
    aspect-ratio: 1;
    perspective: 1000px;
    cursor: pointer;
}

.card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.card-slot.flipped .card {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
}

.card-front {
    background: var(--gradient-primary);
    color: var(--text-light);
}

.card-back {
    background: var(--gradient-gold);
    color: var(--primary-color);
    transform: rotateY(180deg);
}

.btn-game {
    display: block;
    width: 100%;
    padding: 16px;
    background: var(--accent-color);
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-game:hover {
    background: var(--primary-color);
}

.game-result {
    margin-top: 20px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: var(--gold-color);
    min-height: 30px;
}

.about-section {
    padding: 80px 0;
    background: var(--text-light);
}

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

.about-text h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.responsible-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--text-light);
}

.responsible-section .section-title {
    color: var(--text-light);
}

.responsible-content {
    max-width: 900px;
    margin: 0 auto;
}

.responsible-content > p {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.8;
}

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

.tip-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.tip-card h3 {
    color: var(--gold-color);
    font-size: 22px;
    margin-bottom: 15px;
}

.tip-card p {
    line-height: 1.6;
}

.responsible-organizations {
    text-align: center;
    margin-bottom: 40px;
}

.responsible-organizations > p {
    font-size: 18px;
    margin-bottom: 20px;
}

.org-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.org-links a {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.org-links a:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--gold-color);
    color: var(--gold-color);
}

.age-warning {
    text-align: center;
    padding: 30px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    border: 2px solid var(--gold-color);
}

.age-warning p {
    font-size: 18px;
    margin: 0;
}

.trust-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.trust-content > p {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
    color: #555;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.licenses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.license-card {
    background: var(--text-light);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--gold-color);
}

.license-card h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 15px;
}

.license-card p {
    color: #555;
    line-height: 1.6;
}

.trust-info {
    background: var(--text-light);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
}

.trust-info h3 {
    color: var(--primary-color);
    font-size: 26px;
    margin-bottom: 20px;
}

.trust-info > p {
    margin-bottom: 20px;
    color: #555;
}

.trust-info ul {
    list-style: none;
    padding-left: 0;
}

.trust-info li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
}

.trust-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold-color);
    font-weight: 700;
    font-size: 20px;
}

.contact-section {
    padding: 80px 0;
    background: var(--text-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h3,
.contact-form-wrapper h3 {
    font-size: 26px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 16px;
}

.contact-item p {
    color: #555;
    line-height: 1.6;
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--gold-color);
}

.support-hours {
    font-size: 14px;
    color: #888;
    font-style: italic;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-color);
}

.btn-submit {
    padding: 14px;
    background: var(--gradient-gold);
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0 20px;
}

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

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

.footer-column p {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

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

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

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-disclaimer {
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 30px;
}

.footer-disclaimer p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .hero {
        height: 400px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .casinos-grid {
        grid-template-columns: 1fr;
    }

    .game-board {
        grid-template-columns: repeat(2, 1fr);
    }


    .contact-content {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

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

    .btn-hero {
        padding: 12px 32px;
        font-size: 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .game-board {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .cookie-content {
        flex-direction: column;
    }
}