/* ===== CSS Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0B132B;
    --turquoise: #00D1FF;
    --silver: #F5F5F5;
    --gold: #FFD700;
    --dark-bg: #050914;
    --card-bg: #1a2332;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--navy);
    color: var(--silver);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ===== Buttons ===== */
.btn-primary, .btn-secondary, .btn-hero, .btn-play {
    display: inline-block;
    padding: 12px 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--turquoise), #0099cc);
    color: var(--navy);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 209, 255, 0.3);
}

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

.btn-secondary:hover {
    background: var(--turquoise);
    color: var(--navy);
}

.btn-hero {
    background: linear-gradient(135deg, var(--gold), #ffaa00);
    color: var(--navy);
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 700;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.4);
}

.btn-play {
    background: var(--turquoise);
    color: var(--navy);
    padding: 10px 25px;
    font-size: 14px;
}

.btn-play:hover {
    background: var(--gold);
    transform: scale(1.05);
}

/* ===== Modals ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 19, 43, 0.95);
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    border: 2px solid var(--turquoise);
    animation: modalFadeIn 0.3s ease;
}

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

.modal-content h2 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 28px;
}

.modal-content p {
    margin-bottom: 15px;
    font-size: 16px;
}

.age-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

/* ===== Cookie Consent Banner ===== */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-top: 3px solid var(--turquoise);
    padding: 20px;
    z-index: 9998;
    animation: slideUp 0.4s ease;
}

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

@keyframes slideUp {
    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: 20px;
    flex-wrap: wrap;
}

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

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

/* ===== Header & Navigation ===== */
.header {
    background: rgba(11, 19, 43, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--turquoise);
}

.navbar {
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--turquoise);
}

.logo svg {
    transition: transform 0.3s ease;
}

.logo:hover svg {
    transform: rotate(360deg);
}

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

.nav-menu a {
    font-weight: 600;
    color: var(--silver);
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--turquoise);
    background: rgba(0, 209, 255, 0.1);
}

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

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--turquoise);
    transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #0B132B 0%, #1a2332 50%, #0B132B 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 209, 255, 0.15), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.1), transparent 50%);
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(0,209,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 60px 20px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--turquoise), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--silver);
    margin-bottom: 15px;
    animation: fadeInUp 1s ease;
}

.hero-text {
    font-size: 18px;
    color: rgba(245, 245, 245, 0.8);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1.2s ease;
}

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

/* ===== Featured Games Section ===== */
.featured-games {
    padding: 80px 0;
    background: var(--dark-bg);
}

.section-title {
    text-align: center;
    font-size: 42px;
    color: var(--turquoise);
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: rgba(245, 245, 245, 0.7);
    margin-bottom: 50px;
}

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

.game-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 20px;
    text-align: center;
}

.game-card:hover {
    border-color: var(--turquoise);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 209, 255, 0.2);
}

.game-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    width: 60px;
    height: 60px;
}

.game-icon svg {
    transition: transform 0.3s ease;
}

.game-card:hover .game-icon svg {
    transform: scale(1.1) rotate(5deg);
}

.game-thumbnail {
    height: 200px;
    background: linear-gradient(135deg, #1a2332, #0B132B);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.game-thumbnail::after {
    content: '🎰';
    font-size: 60px;
    position: absolute;
    opacity: 0.3;
}

.game-card:nth-child(1) .game-thumbnail::after {
    content: '🍌';
}

.game-card:nth-child(2) .game-thumbnail::after {
    content: '🎣';
}

.game-card:nth-child(3) .game-thumbnail::after {
    content: '🦍';
}

.game-card:nth-child(4) .game-thumbnail::after {
    content: '🐟';
}

.game-card:nth-child(5) .game-thumbnail::after {
    content: '🎣';
}

.game-card:nth-child(6) .game-thumbnail::after {
    content: '🐷';
}

.game-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-thumbnail img {
    transform: scale(1.1);
}

.game-card h3 {
    padding: 0 0 10px;
    font-size: 22px;
    color: var(--gold);
}

.game-card p {
    padding: 0 0 20px;
    color: rgba(245, 245, 245, 0.7);
    font-size: 14px;
}

.game-card .btn-play {
    margin: 0;
    width: 100%;
}

.view-all {
    text-align: center;
    margin-top: 40px;
}

/* ===== Info Section ===== */
.info-section {
    padding: 80px 0;
    background: var(--navy);
}

.info-section .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: var(--turquoise);
    transform: translateY(-5px);
}

.info-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.info-card h3 {
    color: var(--turquoise);
    margin-bottom: 15px;
    font-size: 22px;
}

.info-card p {
    color: rgba(245, 245, 245, 0.7);
    font-size: 15px;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark-bg);
    padding: 60px 0 30px;
    border-top: 3px solid var(--turquoise);
}

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

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

.footer-section p {
    color: rgba(245, 245, 245, 0.7);
    font-size: 14px;
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(245, 245, 245, 0.7);
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--turquoise);
    padding-left: 5px;
}

.responsible-logos {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
}

.responsible-logos a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    background: white;
    padding: 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.responsible-logos a:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 209, 255, 0.3);
}

.responsible-logos img {
    max-height: 30px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.footer-disclaimer {
    border-top: 1px solid rgba(0, 209, 255, 0.2);
    padding-top: 30px;
    text-align: center;
}

.age-warning {
    color: var(--gold);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
}

.footer-disclaimer p {
    color: rgba(245, 245, 245, 0.5);
    font-size: 13px;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(11, 19, 43, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

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

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

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

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

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

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

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .btn-hero {
        padding: 12px 30px;
        font-size: 16px;
    }

    .modal-content {
        padding: 25px;
        margin: 20px;
    }

    .age-buttons {
        flex-direction: column;
    }

    .age-buttons button {
        width: 100%;
    }
}

/* ===== Page-Specific Styles ===== */
.page-header {
    background: linear-gradient(135deg, var(--navy), var(--card-bg));
    padding: 60px 0;
    text-align: center;
    margin-top: 0;
}

.page-title {
    font-size: 42px;
    color: var(--turquoise);
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 18px;
    color: rgba(245, 245, 245, 0.7);
}

.content-section {
    padding: 60px 0;
    background: var(--dark-bg);
}

.content-section h2 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 28px;
}

.content-section h3 {
    color: var(--turquoise);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 22px;
}

.content-section p {
    color: rgba(245, 245, 245, 0.8);
    margin-bottom: 15px;
    line-height: 1.8;
}

.content-section ul {
    margin: 20px 0;
    padding-left: 30px;
}

.content-section li {
    color: rgba(245, 245, 245, 0.8);
    margin-bottom: 10px;
    line-height: 1.8;
}

.game-iframe-container {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 20px;
    margin: 30px 0;
    border: 2px solid var(--turquoise);
}

.game-iframe-container iframe {
    width: 100%;
    min-height: 600px;
    border: none;
    border-radius: 10px;
}

.contact-info {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    border-left: 4px solid var(--turquoise);
}

.contact-info h3 {
    color: var(--gold);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info a {
    color: var(--turquoise);
    text-decoration: underline;
}

.faq-item {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid var(--turquoise);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-left-color: var(--gold);
    transform: translateX(5px);
}

.faq-question {
    color: var(--turquoise);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    color: rgba(245, 245, 245, 0.8);
    line-height: 1.8;
}
