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

:root {
    --ice-blue: #0288D1;
    --ice-light: #4FC3F7;
    --ice-pale: #B3E5FC;
    --ice-white: #E1F5FE;
    --frost-white: #F1F8FB;
    --ice-dark: #01579B;
    --ice-deep: #014a7d;
    --silver: #B0BEC5;
    --silver-light: #CFD8DC;
    --dark-text: #263238;
    --light-text: #546E7A;
    --white: #FFFFFF;
    --shadow: rgba(1, 87, 155, 0.15);
    --shadow-strong: rgba(1, 87, 155, 0.25);
    --gradient-primary: linear-gradient(135deg, #4FC3F7 0%, #0288D1 100%);
    --gradient-secondary: linear-gradient(135deg, #B3E5FC 0%, #4FC3F7 100%);
    --gradient-dark: linear-gradient(135deg, #01579B 0%, #014a7d 100%);
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--frost-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    line-height: 1.2;
}

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

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 87, 155, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    background: var(--white);
    padding: 48px;
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px var(--shadow-strong);
    animation: slideUp 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.ice-crown-icon {
    font-size: 64px;
    margin-bottom: 24px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

.age-modal p {
    color: var(--light-text);
    margin-bottom: 32px;
    font-size: 16px;
}

.age-confirmation {
    margin-bottom: 32px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    gap: 12px;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid var(--ice-blue);
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-container input:checked ~ .checkmark {
    background: var(--gradient-primary);
    border-color: var(--ice-blue);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-label {
    color: var(--dark-text);
    font-size: 14px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
    text-decoration: none;
    display: inline-block;
}

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

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

.btn-secondary {
    background: var(--white);
    color: var(--ice-blue);
    border: 2px solid var(--ice-blue);
    padding: 14px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--ice-pale);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 -4px 20px var(--shadow);
    z-index: 9999;
    animation: slideUpBanner 0.4s ease;
}

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

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

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

.cookie-content p {
    flex: 1;
    margin: 0;
    color: var(--dark-text);
}

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

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ice-dark);
    font-size: 24px;
    font-weight: 700;
    font-family: 'Cinzel', serif;
}

.logo-icon {
    font-size: 32px;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--ice-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 15px;
}

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

.btn-nav-contact {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 8px;
}

.btn-nav-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--gradient-dark);
}

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

.ice-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 85%, white, transparent),
        radial-gradient(1px 1px at 75% 45%, white, transparent);
    background-size: 200% 200%;
    animation: particles 20s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes particles {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(5%, -5%); }
    50% { transform: translate(-5%, 5%); }
    75% { transform: translate(5%, 5%); }
}

.aurora-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
        rgba(79, 195, 247, 0.3) 0%,
        rgba(2, 136, 209, 0.2) 50%,
        rgba(1, 87, 155, 0.3) 100%);
    animation: aurora 15s ease-in-out infinite;
}

@keyframes aurora {
    0%, 100% { opacity: 0.3; transform: translateY(0) scale(1); }
    50% { opacity: 0.6; transform: translateY(-20px) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 40px 24px;
    animation: fadeInUp 1s ease;
}

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

.hero-title {
    font-size: 72px;
    color: var(--white);
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.highlight {
    background: linear-gradient(135deg, #4FC3F7 0%, #B3E5FC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 28px;
    color: var(--ice-pale);
    margin-bottom: 16px;
    font-weight: 300;
}

.hero-description {
    font-size: 18px;
    color: var(--ice-white);
    margin-bottom: 40px;
    line-height: 1.8;
}

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

.hero-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--ice-white);
    font-size: 14px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.warning-icon {
    font-size: 18px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--ice-white);
    font-size: 14px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.scroll-arrow {
    font-size: 24px;
    margin-top: 8px;
}

.games-section {
    padding: 100px 0;
    background: var(--frost-white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 48px;
    color: var(--ice-dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--light-text);
    font-weight: 300;
}

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

.game-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px var(--shadow-strong);
}

.game-card-image {
    position: relative;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.slots-bg {
    background: linear-gradient(135deg, #4FC3F7 0%, #0288D1 100%);
}

.blackjack-bg {
    background: linear-gradient(135deg, #0288D1 0%, #01579B 100%);
}

.roulette-bg {
    background: linear-gradient(135deg, #B3E5FC 0%, #4FC3F7 100%);
}

.game-icon {
    font-size: 96px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
    animation: float 3s ease-in-out infinite;
}

.game-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--ice-dark);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-card-content {
    padding: 32px;
}

.game-card-content h3 {
    font-size: 28px;
    color: var(--ice-dark);
    margin-bottom: 16px;
}

.game-card-content p {
    color: var(--light-text);
    margin-bottom: 24px;
    line-height: 1.6;
}

.game-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 24px;
    padding: 16px 0;
    border-top: 1px solid var(--silver-light);
    border-bottom: 1px solid var(--silver-light);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--ice-dark);
}

.btn-game {
    display: block;
    text-align: center;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-game:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--shadow);
}

.features-section {
    padding: 100px 0;
    background: var(--white);
}

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

.feature-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: var(--frost-white);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 64px;
    margin-bottom: 24px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.feature-card h3 {
    font-size: 24px;
    color: var(--ice-dark);
    margin-bottom: 16px;
}

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

.footer {
    background: var(--ice-deep);
    color: var(--ice-white);
    padding: 60px 0 0;
}

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

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

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

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

.footer-column a {
    color: var(--ice-pale);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 15px;
}

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

.footer-disclaimer {
    background: rgba(0, 0, 0, 0.2);
    padding: 32px;
    border-radius: 12px;
    margin-bottom: 32px;
}

.disclaimer-content h4 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 20px;
}

.disclaimer-content p {
    color: var(--ice-white);
    line-height: 1.7;
    margin-bottom: 16px;
}

.help-resources {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.help-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.help-links a {
    background: var(--white);
    color: var(--ice-dark);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.help-links a:hover {
    background: var(--ice-pale);
    transform: translateY(-2px);
}

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

.footer-bottom p {
    color: var(--silver-light);
    font-size: 14px;
}

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

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 10px var(--shadow);
        display: none;
    }

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

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

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

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

    .hero-cta {
        flex-direction: column;
    }

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

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

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

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

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

.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-hero {
    background: var(--gradient-dark);
    padding: 120px 0 80px;
    text-align: center;
    color: var(--white);
}

.page-hero h1 {
    font-size: 56px;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 20px;
    color: var(--ice-pale);
    max-width: 700px;
    margin: 0 auto;
}

.page-content {
    flex: 1;
    padding: 80px 0;
}

.content-section {
    margin-bottom: 60px;
}

.content-section h2 {
    font-size: 36px;
    color: var(--ice-dark);
    margin-bottom: 24px;
}

.content-section h3 {
    font-size: 24px;
    color: var(--ice-blue);
    margin-bottom: 16px;
    margin-top: 32px;
}

.content-section p {
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-section ul,
.content-section ol {
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 16px;
    padding-left: 24px;
}

.content-section li {
    margin-bottom: 8px;
}

.game-container {
    background: var(--frost-white);
    min-height: 100vh;
    padding: 100px 0 60px;
}

.game-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.game-title {
    font-size: 48px;
    color: var(--ice-dark);
    margin-bottom: 16px;
}

.game-description {
    font-size: 18px;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto 32px;
}

.game-board {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 32px var(--shadow);
    margin-bottom: 24px;
}

.game-controls {
    text-align: center;
    margin-top: 32px;
}

.game-info {
    display: flex;
    justify-content: space-around;
    margin-bottom: 32px;
    padding: 24px;
    background: var(--frost-white);
    border-radius: 16px;
}

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

.info-label {
    font-size: 14px;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.info-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--ice-dark);
}

.btn-game-action {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 16px 48px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
    margin: 0 8px;
}

.btn-game-action:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow);
}

.btn-game-action:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ice-blue);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.back-link:hover {
    gap: 12px;
    color: var(--ice-dark);
}
