:root {
    --kiwi-green: #8BC34A;
    --kiwi-dark: #558B2F;
    --harbor-blue: #00BCD4;
    --harbor-deep: #0097A7;
    --glow-yellow: #FFD54F;
    --glow-orange: #FFB74D;
    --tropical-pink: #FF6B9D;
    --sand-light: #FFF8E1;
    --sand-medium: #FFECB3;
    --ocean-dark: #006064;
    --text-dark: #263238;
    --text-medium: #546E7A;
    --text-light: #90A4AE;
    --white: #FFFFFF;
    --background: #FAFAFA;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    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: var(--background);
    overflow-x: hidden;
}

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

.btn {
    display: inline-block;
    padding: 12px 28px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-medium);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--kiwi-green), var(--kiwi-dark));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background: linear-gradient(135deg, var(--harbor-blue), var(--harbor-deep));
    color: var(--white);
}

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

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--kiwi-green);
}

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
}

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

.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    color: var(--kiwi-dark);
    transition: transform var(--transition-fast);
}

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

.logo-icon {
    font-size: 32px;
    animation: float 3s ease-in-out infinite;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--kiwi-dark);
    border-radius: 2px;
    transition: var(--transition-fast);
}

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

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

.nav-menu a:not(.btn):hover {
    color: var(--kiwi-green);
}

.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--kiwi-green) 0%, var(--harbor-blue) 50%, var(--glow-orange) 100%);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 213, 79, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 157, 0.3) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

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

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

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

.hero-features {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.feature-icon {
    font-size: 24px;
}

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

.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--kiwi-dark);
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--text-medium);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.game-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-medium);
}

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

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

.game-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: 1;
}

.tropical-slots {
    background: linear-gradient(135deg, #FFD54F, #FFB74D);
}

.tropical-slots::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 2;
}

.tropical-slots::after {
    content: '🎰';
    position: absolute;
    top: 35%;
    left: 45%;
    font-size: 40px;
    z-index: 3;
}

.kiwi-poker {
    background: linear-gradient(135deg, #8BC34A, #558B2F);
}

.kiwi-poker::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 2;
}

.kiwi-poker::after {
    content: '🃏';
    position: absolute;
    top: 35%;
    left: 45%;
    font-size: 40px;
    z-index: 3;
}

.harbor-roulette {
    background: linear-gradient(135deg, #00BCD4, #006064);
}

.harbor-roulette::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 2;
}

.harbor-roulette::after {
    content: '🎡';
    position: absolute;
    top: 35%;
    left: 45%;
    font-size: 40px;
    z-index: 3;
}

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

.game-card-content h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--kiwi-dark);
}

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

.benefits-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--sand-light), var(--white));
}

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

.benefit-card {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
}

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

.benefit-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

.benefit-card:nth-child(1) .benefit-icon { animation-delay: 0s; }
.benefit-card:nth-child(2) .benefit-icon { animation-delay: 0.2s; }
.benefit-card:nth-child(3) .benefit-icon { animation-delay: 0.4s; }
.benefit-card:nth-child(4) .benefit-icon { animation-delay: 0.6s; }
.benefit-card:nth-child(5) .benefit-icon { animation-delay: 0.8s; }
.benefit-card:nth-child(6) .benefit-icon { animation-delay: 1s; }

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

.benefit-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--kiwi-dark);
}

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

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--harbor-blue), var(--kiwi-green));
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 38px;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

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

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

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--glow-yellow);
}

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

.footer-column a {
    color: var(--text-light);
    text-decoration: none;
    line-height: 2;
    transition: color var(--transition-fast);
}

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

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

.footer-disclaimer strong {
    color: var(--glow-yellow);
}

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

.help-links a {
    color: var(--harbor-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.help-links a:hover {
    color: var(--kiwi-green);
}

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

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

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

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    animation: modalAppear 0.3s ease;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

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

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

.age-checkbox-wrapper {
    margin: 24px 0;
}

.age-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    font-size: 16px;
}

.age-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 20px;
    z-index: 999;
    animation: slideUp 0.3s ease;
}

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

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

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

.cookie-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.cookie-link {
    color: var(--harbor-blue);
    text-decoration: none;
}

.cookie-link:hover {
    text-decoration: underline;
}

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

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 0;
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-medium), padding var(--transition-medium);
    }

    .nav-menu.active {
        max-height: 400px;
        padding: 20px;
    }

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

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

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }

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

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

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}

.page-content {
    padding: 80px 0;
    min-height: 60vh;
}

.page-content h1 {
    font-size: 42px;
    color: var(--kiwi-dark);
    margin-bottom: 24px;
}

.page-content h2 {
    font-size: 28px;
    color: var(--kiwi-dark);
    margin-top: 32px;
    margin-bottom: 16px;
}

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

.page-content ul, .page-content ol {
    margin-left: 24px;
    margin-bottom: 16px;
    color: var(--text-medium);
}

.page-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.page-content a {
    color: var(--harbor-blue);
    text-decoration: none;
}

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

.content-box {
    background: var(--sand-light);
    padding: 24px;
    border-radius: 12px;
    margin: 24px 0;
    border-left: 4px solid var(--kiwi-green);
}

.game-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

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

.game-header h1 {
    font-size: 36px;
    color: var(--kiwi-dark);
    margin-bottom: 12px;
}

.game-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

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

.stat-label {
    font-size: 14px;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.game-board {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 30px;
}

.game-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.game-message {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--kiwi-dark);
    min-height: 30px;
    margin-bottom: 20px;
}

.hidden {
    display: none;
}