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

:root {
    --color-ocean-dark: #0a2540;
    --color-ocean-blue: #1a4d7a;
    --color-ocean-light: #2e6fa8;
    --color-harbor-teal: #1c8c99;
    --color-anchor-gold: #d4a14a;
    --color-wave-aqua: #4fb3bf;
    --color-sand: #f4ead5;
    --color-white: #ffffff;
    --color-gray-light: #f8f9fa;
    --color-gray: #6c757d;
    --color-gray-dark: #343a40;
    --color-success: #28a745;
    --color-danger: #dc3545;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-gray-dark);
    background: var(--color-white);
    overflow-x: hidden;
}

.age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-ocean-dark) 0%, var(--color-ocean-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.5s ease;
}

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

.age-gate-content {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    max-width: 500px;
    animation: slideUp 0.5s ease;
}

.age-gate-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.age-gate-content h2 {
    color: var(--color-ocean-dark);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.age-gate-content p {
    color: var(--color-gray);
    margin-bottom: 2rem;
}

.age-gate-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

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

.age-gate-checkbox label {
    cursor: pointer;
    user-select: none;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-ocean-dark);
    color: var(--color-white);
    padding: 1.5rem;
    z-index: 9999;
    animation: slideInUp 0.5s ease;
}

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

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

.cookie-content p {
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cookie-actions a {
    color: var(--color-wave-aqua);
    text-decoration: none;
    white-space: nowrap;
}

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

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

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

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

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

.nav-links {
    display: flex;
    gap: 2rem;
}

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

.nav-links a:hover {
    color: var(--color-harbor-teal);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--color-ocean-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.hero {
    background: linear-gradient(135deg, var(--color-ocean-dark) 0%, var(--color-ocean-blue) 50%, var(--color-harbor-teal) 100%);
    color: var(--color-white);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

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

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-card {
    position: absolute;
    font-size: 4rem;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 20%;
    right: 15%;
    animation-delay: 1.5s;
}

.card-3 {
    bottom: 20%;
    left: 15%;
    animation-delay: 3s;
}

.card-4 {
    bottom: 10%;
    right: 10%;
    animation-delay: 4.5s;
}

.btn-primary, .btn-secondary, .btn-outline, .btn-game {
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--color-anchor-gold);
    color: var(--color-ocean-dark);
}

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

.btn-primary:disabled {
    background: var(--color-gray);
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: var(--color-wave-aqua);
    color: var(--color-white);
}

.btn-secondary:hover {
    background: #3a9aa5;
}

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

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

.btn-game {
    background: var(--color-harbor-teal);
    color: var(--color-white);
    width: 100%;
}

.btn-game:hover {
    background: var(--color-ocean-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--color-ocean-dark);
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--color-gray);
}

.games-section, .features-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.game-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

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

.game-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.game-card h3 {
    font-size: 1.75rem;
    color: var(--color-ocean-dark);
    margin-bottom: 1rem;
}

.game-card p {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.game-stats {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.game-stats span {
    background: var(--color-gray-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--color-gray-dark);
}

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

.feature-card {
    background: var(--color-gray-light);
    padding: 2rem;
    border-radius: 12px;
    transition: var(--transition);
}

.feature-card:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

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

.feature-card h3 {
    color: var(--color-ocean-dark);
    margin-bottom: 0.5rem;
}

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

.cta-section {
    background: linear-gradient(135deg, var(--color-ocean-blue) 0%, var(--color-harbor-teal) 100%);
    color: var(--color-white);
    padding: 5rem 2rem;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.footer {
    background: var(--color-ocean-dark);
    color: var(--color-white);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-column h4 {
    color: var(--color-anchor-gold);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--color-wave-aqua);
    text-decoration: none;
    transition: var(--transition);
}

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

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

.footer-disclaimer h4 {
    color: var(--color-anchor-gold);
    margin-bottom: 1rem;
}

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

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

.help-links a {
    color: var(--color-wave-aqua);
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    transition: var(--transition);
}

.help-links a:hover {
    background: rgba(255,255,255,0.2);
    color: var(--color-anchor-gold);
}

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

.footer-bottom p {
    margin: 0.5rem 0;
}

.footer-contact {
    font-size: 0.9rem;
    opacity: 0.8;
}

.contact-info-block {
    background: var(--color-gray-light);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
    text-align: center;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-text {
    color: var(--color-gray-dark);
}

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

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

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

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

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--color-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        display: none;
    }

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

    .mobile-menu-btn {
        display: flex;
    }

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

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

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

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

    .section-header h2 {
        font-size: 2rem;
    }

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

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

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

.content-page h1 {
    color: var(--color-ocean-dark);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.content-page h2 {
    color: var(--color-ocean-blue);
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-page h3 {
    color: var(--color-harbor-teal);
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

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

.content-page ul, .content-page ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

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

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

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

.contact-form {
    background: var(--color-gray-light);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

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

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

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

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

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