:root {
    --aurora-teal: #00d4aa;
    --aurora-cyan: #00bcd4;
    --aurora-blue: #0077be;
    --cedar-green: #2d5a3d;
    --cedar-dark: #1a3326;
    --forest-green: #3d7a52;
    --coastal-blue: #4a90a4;
    --sky-blue: #87ceeb;
    --sand: #f5e6d3;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --gradient-aurora: linear-gradient(135deg, var(--aurora-teal) 0%, var(--aurora-cyan) 50%, var(--aurora-blue) 100%);
    --gradient-cedar: linear-gradient(135deg, var(--cedar-dark) 0%, var(--cedar-green) 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);

    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    line-height: 1.6;
    background-color: var(--gray-50);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cedar-dark);
    text-decoration: none;
    transition: var(--transition-fast);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: var(--transition-fast);
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a:not(.btn-secondary):hover {
    color: var(--aurora-teal);
}

.nav-menu a:not(.btn-secondary)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-aurora);
    transition: var(--transition);
}

.nav-menu a:not(.btn-secondary):hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 1.5rem;
    height: 2px;
    background: var(--cedar-dark);
    transition: var(--transition);
}

.btn-primary {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--gradient-aurora);
    color: var(--white);
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

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

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    padding: 0.75rem 1.5rem;
    background: var(--gradient-cedar);
    color: var(--white);
    border-radius: 0.5rem;
    transition: var(--transition);
}

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

.btn-outline {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--cedar-dark);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6rem 0 4rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-cedar);
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: radial-gradient(circle, var(--aurora-teal) 0%, transparent 70%);
    animation: aurora 20s ease-in-out infinite;
    opacity: 0.3;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: radial-gradient(circle, var(--aurora-cyan) 0%, transparent 70%);
    animation: aurora 15s ease-in-out infinite reverse;
    opacity: 0.2;
}

@keyframes aurora {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30%, 20%) rotate(120deg);
    }
    66% {
        transform: translate(-20%, 30%) rotate(240deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 900px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    font-size: 0.875rem;
    opacity: 0.8;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--cedar-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
}

.games {
    padding: 6rem 0;
    background: var(--white);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.game-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.game-card-image {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
}

.game-card-poker {
    background: linear-gradient(135deg, #1a3326 0%, #2d5a3d 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><text x="50%" y="50%" font-size="80" text-anchor="middle" dy=".3em" fill="rgba(255,255,255,0.1)">♠</text></svg>');
    background-blend-mode: overlay;
}

.game-card-slots {
    background: linear-gradient(135deg, #3d7a52 0%, #2d5a3d 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><text x="50%" y="50%" font-size="80" text-anchor="middle" dy=".3em" fill="rgba(255,255,255,0.1)">🌲</text></svg>');
    background-blend-mode: overlay;
}

.game-card-roulette {
    background: linear-gradient(135deg, #4a90a4 0%, #0077be 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="100" cy="100" r="60" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
    background-blend-mode: overlay;
}

.game-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: var(--white);
    text-align: center;
}

.game-card-overlay h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.game-card-overlay p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.features {
    padding: 6rem 0;
    background: var(--gray-50);
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--cedar-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 4rem 0 2rem;
}

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

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

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

.footer-col a {
    color: var(--gray-300);
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--aurora-teal);
    padding-left: 0.5rem;
}

.footer-disclaimer {
    background: var(--gray-800);
    padding: 2rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.footer-disclaimer p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.help-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.help-links a {
    color: var(--aurora-teal);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid var(--aurora-teal);
    border-radius: 0.25rem;
    transition: var(--transition-fast);
}

.help-links a:hover {
    background: var(--aurora-teal);
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-700);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 1rem;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-content h2 {
    font-family: var(--font-display);
    color: var(--cedar-dark);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.modal-content p {
    margin-bottom: 1rem;
    color: var(--gray-700);
}

.modal-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--gray-700);
}

.modal-content li {
    margin-bottom: 0.5rem;
}

.modal-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 2rem 0;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 0.5rem;
}

.modal-checkbox input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
}

.modal-checkbox label {
    cursor: pointer;
    font-weight: 500;
}

.cookie-consent {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gray-900);
    color: var(--white);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    z-index: 1500;
    animation: slideUp 0.3s ease-out;
}

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

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

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

.cookie-content p {
    flex: 1;
    margin: 0;
}

.cookie-content a {
    color: var(--aurora-teal);
    text-decoration: none;
}

.cookie-content a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        display: none;
        gap: 0;
    }

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

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        padding: 0.75rem 1rem;
        display: block;
        text-align: center;
    }

    .nav-menu a:not(.btn-secondary)::after {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

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

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

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .help-links {
        justify-content: center;
    }
}

.page-header {
    background: var(--gradient-cedar);
    color: var(--white);
    padding: 8rem 0 4rem;
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.page-content {
    padding: 4rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.page-content h2 {
    font-family: var(--font-display);
    color: var(--cedar-dark);
    font-size: 2rem;
    margin: 3rem 0 1rem;
}

.page-content h3 {
    color: var(--cedar-green);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.page-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.page-content ul,
.page-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.page-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: var(--gray-700);
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    margin: 2rem 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--gray-200);
    border-radius: 0.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

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

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.game-container {
    min-height: 100vh;
    background: var(--gradient-cedar);
    padding: 6rem 0 2rem;
}

.game-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.game-header {
    text-align: center;
    color: var(--white);
    margin-bottom: 2rem;
}

.game-header h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.game-board {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
}

.game-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: 0.5rem;
}

.stat-item {
    text-align: center;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cedar-dark);
}

.game-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}