:root {
    --primary: #ad1457;
    --secondary: #f8bbd0;
    --accent: #ffb300;
    --dark: #1a1a1a;
    --light: #ffffff;
    --gray: #f5f5f5;
    --gray-dark: #333333;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
}


a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: #8b0e46;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--dark);
}

.btn-secondary:hover {
    background: #f48fb1;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

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

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

.age-modal-content {
    background: var(--light);
    padding: var(--spacing-lg);
    border-radius: 8px;
    text-align: center;
    max-width: 500px;
    animation: slideUp 0.4s ease;
}

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

.age-modal-content h2 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
    font-size: 1.8rem;
}

.age-modal-content p {
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.age-warning {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.age-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--dark);
    color: var(--light);
    padding: var(--spacing-md);
    z-index: 9999;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.4s ease;
}

.cookie-banner.hidden {
    display: none;
}

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

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

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

.cookie-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

.header {
    background: var(--light);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    gap: var(--spacing-md);
}

.nav-menu a {
    color: var(--dark);
    font-weight: 500;
    padding: 0.5rem;
}

.nav-menu a:hover {
    color: var(--primary);
}

.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), #8b0e46, var(--dark));
}

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

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 0.8s ease;
}

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

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.8s ease 0.2s both;
}

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

.hero-content .btn {
    animation: fadeInUp 0.8s ease 0.4s both;
}

section {
    padding: var(--spacing-xl) 0;
}

section h2 {
    font-size: 2.5rem;
    text-align: center;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-dark);
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.casinos-section {
    background: var(--gray);
}

.casinos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.casino-card {
    background: var(--light);
    border-radius: 8px;
    padding: var(--spacing-md);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.casino-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.casino-header h3 {
    font-size: 1.5rem;
    color: var(--primary);
}

.casino-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: var(--accent);
    font-size: 1rem;
}

.rating-number {
    font-weight: 700;
    color: var(--dark);
}

.casino-license {
    margin-bottom: var(--spacing-sm);
}

.license-badge {
    display: inline-block;
    background: var(--secondary);
    color: var(--dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.casino-description {
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.casino-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.feature {
    background: var(--gray);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

.casino-card .btn {
    width: 100%;
}

.comparison-section {
    background: var(--light);
}

.table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--light);
    box-shadow: var(--shadow);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table thead {
    background: var(--primary);
    color: var(--light);
}

.comparison-table th,
.comparison-table td {
    padding: var(--spacing-sm);
    text-align: left;
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--gray);
    transition: var(--transition);
}

.comparison-table tbody tr:hover {
    background: var(--gray);
}

.rating-badge {
    background: var(--accent);
    color: var(--dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 700;
}

.reviews-section {
    background: var(--gray);
}

.reviews-grid {
    display: grid;
    gap: var(--spacing-lg);
}

.review-card {
    background: var(--light);
    border-radius: 8px;
    padding: var(--spacing-md);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.review-card:hover {
    box-shadow: var(--shadow-lg);
}

.review-content {
    padding: var(--spacing-md);
}

.review-content h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.review-meta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.review-rating {
    color: var(--accent);
    font-weight: 600;
}

.review-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin: var(--spacing-md) 0;
    padding: var(--spacing-md);
    background: var(--gray);
    border-radius: 4px;
}

.review-pros-cons h4 {
    margin-bottom: var(--spacing-xs);
    color: var(--primary);
}

.review-pros-cons ul {
    list-style: disc;
    padding-left: var(--spacing-md);
}

.review-pros-cons li {
    margin-bottom: 0.25rem;
}

.game-section {
    background: linear-gradient(135deg, var(--primary), #8b0e46);
    color: var(--light);
}

.game-section h2 {
    color: var(--light);
}

.game-section .section-intro {
    color: var(--secondary);
}

.memory-game {
    max-width: 800px;
    margin: 0 auto;
}

.game-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.game-stats {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.game-stats span {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.game-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.memory-card {
    aspect-ratio: 1;
    background: var(--light);
    border-radius: 8px;
    position: relative;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

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

.memory-card.matched {
    opacity: 0.6;
    cursor: default;
}

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

.card-front {
    background: var(--accent);
    color: var(--dark);
    font-weight: 700;
}

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

.game-result {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.responsible-section {
    background: var(--light);
}

.responsible-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.responsible-card {
    background: var(--gray);
    padding: var(--spacing-md);
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

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

.responsible-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.responsible-card h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.responsible-organizations {
    background: var(--gray);
    padding: var(--spacing-lg);
    border-radius: 8px;
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.responsible-organizations h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.org-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.org-link {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--light);
    color: var(--primary);
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
}

.org-link:hover {
    background: var(--primary);
    color: var(--light);
    transform: translateY(-2px);
}

.warning-box {
    background: #fff3cd;
    border-left: 4px solid var(--accent);
    padding: var(--spacing-md);
    border-radius: 4px;
}

.warning-box h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.warning-box ul {
    list-style: disc;
    padding-left: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.warning-box li {
    margin-bottom: 0.25rem;
}

.trust-section {
    background: var(--gray);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.trust-card {
    background: var(--light);
    padding: var(--spacing-md);
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.trust-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.trust-card h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.license-info {
    background: var(--light);
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.license-info h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}


.contact-section {
    background: var(--gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.contact-info {
    background: var(--light);
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-info h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-item strong {
    color: var(--primary);
}

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

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

.contact-item address {
    font-style: normal;
}

.contact-form {
    background: var(--light);
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(173, 20, 87, 0.1);
}

.contact-form .btn {
    width: 100%;
}

.footer {
    background: var(--dark);
    color: var(--light);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

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

.footer-column h3 {
    color: var(--secondary);
    margin-bottom: var(--spacing-sm);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.footer-disclaimer {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md);
    border-radius: 4px;
    margin-bottom: var(--spacing-md);
}

.footer-disclaimer p {
    font-size: 0.9rem;
    line-height: 1.6;
}

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

.footer-bottom p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.affiliate-disclosure {
    font-size: 0.85rem;
    color: var(--secondary);
}

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

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--light);
        flex-direction: column;
        padding: 0;
        box-shadow: var(--shadow);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease, padding 0.3s ease;
    }

    .nav-menu.active {
        max-height: 500px;
        padding: var(--spacing-md);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    section h2 {
        font-size: 2rem;
    }


    .review-pros-cons {
        grid-template-columns: 1fr;
    }

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

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

    .comparison-table thead {
        display: none;
    }

    .comparison-table tr {
        display: block;
        margin-bottom: var(--spacing-md);
        border: 1px solid var(--gray);
        border-radius: 8px;
        overflow: hidden;
    }

    .comparison-table td {
        display: flex;
        justify-content: space-between;
        padding: var(--spacing-sm);
        border-bottom: 1px solid var(--gray);
    }

    .comparison-table td:last-child {
        border-bottom: none;
    }

    .comparison-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--primary);
    }
}

@media (max-width: 480px) {
    .hero {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

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

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

    .card-front,
    .card-back {
        font-size: 2rem;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 0 var(--spacing-xs);
    }

    .hero {
        height: 350px;
    }

    .hero-content {
        padding: var(--spacing-sm);
    }

    .hero-content h1 {
        font-size: 1.25rem;
        margin-bottom: var(--spacing-sm);
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: var(--spacing-md);
    }

    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    section {
        padding: var(--spacing-md) 0;
    }

    section h2 {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-sm);
    }

    .section-intro {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-md);
    }

    .casino-card {
        padding: var(--spacing-sm);
    }

    .casino-header h3 {
        font-size: 1.2rem;
    }

    .casino-description {
        font-size: 0.9rem;
    }

    .comparison-table td {
        padding: 0.5rem;
        font-size: 0.85rem;
    }

    .review-content {
        padding: var(--spacing-sm);
    }

    .review-content h3 {
        font-size: 1.3rem;
    }

    .review-pros-cons {
        grid-template-columns: 1fr;
        padding: var(--spacing-sm);
        gap: var(--spacing-sm);
    }

    .game-stats {
        gap: var(--spacing-xs);
    }

    .game-stats span {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
    }

    .game-board {
        gap: var(--spacing-xs);
    }

    .card-front,
    .card-back {
        font-size: 1.5rem;
    }

    .responsible-card,
    .trust-card {
        padding: var(--spacing-sm);
    }

    .responsible-icon,
    .trust-icon {
        font-size: 2rem;
    }

    .org-link {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.9rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .contact-info,
    .contact-form {
        padding: var(--spacing-md);
    }

    .form-group input,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 0.9rem;
    }

    .footer {
        padding: var(--spacing-md) 0 var(--spacing-sm);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .nav-container {
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .nav-menu {
        padding: var(--spacing-sm);
    }

    .nav-menu a {
        font-size: 0.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}