@import url('https://fonts.googleapis.com/css2?family=Cutive+Mono&family=Ewert&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cutive Mono', monospace;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, rgb(253, 229, 236) 0%, rgb(252, 186, 173) 50%, rgb(228, 133, 134) 100%);
    min-height: 100vh;
}

/* Color variables */
:root {
    --pink-light: rgb(253, 229, 236);
    --pink-medium: rgb(252, 186, 173);
    --pink-dark: rgb(228, 133, 134);
    --purple: rgb(145, 109, 179);
    --text-dark: #2d3748;
    --text-light: #4a5568;
    --gold: #d69e2e;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Ewert', cursive;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

h1 {
    font-size: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

h2 {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

h3 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

.section {
    padding: 4rem 0;
    position: relative;
}

.section:nth-child(even) {
    background: rgba(255, 255, 255, 0.1);
}

/* Header */
.main-header {
    background: linear-gradient(135deg, var(--purple), var(--pink-dark));
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 3px solid var(--gold);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.logo-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
    border: 2px solid var(--gold);
}

.logo-text {
    font-family: 'Ewert', cursive;
    color: var(--pink-light);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0.7rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--pink-light);
    text-decoration: none;
    font-family: 'Cutive Mono', monospace;
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    position: relative;
}

.nav-link:hover {
    color: var(--gold);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
}

.header-actions {
    display: flex;
    align-items: center;
}

.header-actions .btn-play {
    font-size: 1rem;
    padding: 10px 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/desert_with_mountains.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--pink-light);
}

.hero-content h1 {
    color: var(--pink-light);
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--pink-light);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.warning-text {
    background: rgba(220, 53, 69, 0.7);
    color: var(--pink-light);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 2rem;
    font-size: 0.9rem;
    border: 2px solid #dc3545;
    max-width: 500px;
    margin: 20px auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cutive Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(45deg, var(--purple), var(--pink-dark));
    color: var(--pink-light);
    box-shadow: 0 4px 15px rgba(145, 109, 179, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(145, 109, 179, 0.6);
}

.btn-secondary {
    background: linear-gradient(45deg, var(--pink-medium), var(--pink-light));
    color: var(--text-dark);
    border: 2px solid var(--pink-dark);
}

.btn-secondary:hover {
    background: var(--pink-dark);
    color: var(--pink-light);
}

.btn-play {
    background: linear-gradient(45deg, var(--gold), #f6ad55);
    color: var(--pink-light);
    font-size: 1.2rem;
    padding: 15px 30px;
    box-shadow: 0 6px 20px rgba(214, 158, 46, 0.5);
}

.btn-play:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(214, 158, 46, 0.7);
}

/* Game Section */
.game-section {
    text-align: center;
    padding: 2rem 0;
}

.game-frame {
    width: 100%;
    max-width: 1000px;
    height: 1000px;
    border: 3px solid var(--purple);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin: 2rem auto;
    overflow: hidden;
    position: relative;
}

.game-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    transform-origin: top left;
}

/* Content Sections */
.content-section {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(45deg, var(--purple), var(--pink-dark));
    border-radius: 2px;
}

/* Cards and Grids */
.card {
    background: var(--pink-dark);
    color: var(--pink-light);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.grid {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

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

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Features */
.feature {
    text-align: center;
    padding: 1.5rem;
}

.feature-icon {
    font-size: 3rem;
    color: var(--purple);
    margin-bottom: 1rem;
}

/* Rating */
.rating {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.star {
    color: var(--gold);
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text-dark), #1a202c);
    color: var(--pink-light);
    padding: 3rem 0 1rem;
}

.card-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
}

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

.footer-section h3 {
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--pink-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.responsible-gaming {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.responsible-gaming a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--pink-light);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.responsible-gaming a:hover {
    opacity: 0.8;
}

.responsible-gaming img {
    height: 40px;
    width: auto;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--pink-light);
    margin: 15% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-dark);
    font-weight: bold;
    padding: 1rem;
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.cookie-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;

}

.cookie-banner p {
    color: whitesmoke;
}

.cookie-banner a {
    color: var(--gold);
}

.cookie-banner a:hover {
    color: var(--pink-light);
}

.cookie-banner .btn-primary {

    /* Responsive Design */
    @media (max-width: 768px) {
        .btn-play {
            display: none;
        }

        .header-content {
            flex-direction: column;
            gap: 1rem;
            text-align: center;
        }

        .main-nav {
            order: 3;
            width: 100%;
            display: none
        }

        .nav-list {
            justify-content: center;
            gap: 1rem;
        }

        .nav-link {
            font-size: 0.9rem;
            padding: 0.4rem 0.8rem;
        }

        .logo-text {
            font-size: 1.5rem;
        }

        .hero-content h1 {
            font-size: 2.5rem;
        }

        .hero-content p {
            font-size: 1rem;
        }

        h1 {
            font-size: 2rem;
        }

        h2 {
            font-size: 1.8rem;
        }

        .game-frame {
            height: 1050px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;

        }

        .grid-2,
        .grid-3 {
            grid-template-columns: 1fr;
        }

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

        .responsible-gaming {
            flex-direction: column;
            gap: 1rem;
        }

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

    @media (max-width: 480px) {
        .main-header {
            padding: 0.5rem 0;
        }

        .header-content {
            gap: 0.5rem;
        }

        .logo {
            gap: 0.5rem;
        }

        .logo-image {
            width: 40px;
            height: 40px;
        }

        .logo-text {
            font-size: 1.3rem;
        }

        .nav-list {
            gap: 0.5rem;
        }

        .nav-link {
            font-size: 0.8rem;
            padding: 0.3rem 0.6rem;
        }

        .container {
            padding: 0 15px;
        }

        .section {
            padding: 2rem 0;
        }

        .hero-content h1 {
            font-size: 2rem;
        }

        .game-frame {
            height: 1000px;
            margin: 0.5rem auto;
        }

        .btn {
            padding: 10px 20px;
            font-size: 0.9rem;
        }
    }

    @media (max-width: 360px) {
        .game-frame {
            height: 1000px;
            transform-origin: top center;
            margin: 0.25rem auto;
        }

        .hero-content h1 {
            font-size: 1.8rem;
        }

        .hero-content p {
            font-size: 0.9rem;
        }

        .logo-text {
            font-size: 1.1rem;
        }

        .nav-link {
            font-size: 0.7rem;
            padding: 0.2rem 0.4rem;
        }

        .btn {
            padding: 8px 16px;
            font-size: 0.8rem;
        }
    }

    @media (max-width: 320px) {
        .container {
            padding: 0 10px;
        }

        .main-header {
            padding: 0.25rem 0;
        }

        .header-content {
            gap: 0.25rem;
        }

        .logo {
            gap: 0.25rem;
        }

        .logo-image {
            width: 35px;
            height: 35px;
        }

        .logo-text {
            font-size: 1rem;
        }

        .nav-list {
            gap: 0.25rem;
        }

        .nav-link {
            font-size: 0.6rem;
            padding: 0.15rem 0.3rem;
        }

        .hero-content h1 {
            font-size: 1.6rem;
        }

        .hero-content p {
            font-size: 0.8rem;
        }

        .game-frame {
            height: 1000px;
            transform-origin: top center;
            margin: 0.1rem auto;
        }

        .section {
            padding: 1.5rem 0;
        }

        .content-section {
            padding: 2rem 0;
        }

        .card {
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .grid {
            gap: 1.5rem;
            margin: 1.5rem 0;
        }

        .btn {
            padding: 6px 12px;
            font-size: 0.7rem;
        }

        .section-title {
            margin-bottom: 2rem;
        }

        .section-title::after {
            width: 80px;
            height: 2px;
        }

        .warning-text {
            padding: 0.75rem;
            font-size: 0.8rem;
            max-width: 280px;
        }

        .footer {
            padding: 2rem 0 1rem;
        }

        .footer-content {
            gap: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .responsible-gaming {
            gap: 1rem;
            margin: 1.5rem 0;
        }

        .responsible-gaming img {
            height: 30px;
        }

        .modal-content {
            padding: 1.5rem;
            margin: 10% auto;
        }

        .cookie-banner {
            padding: 0.75rem;
        }

        .cookie-banner .container {
            gap: 0.75rem;
        }

        .btn-sound {
            width: 35px;
            height: 35px;
            font-size: 1rem;
            margin-right: 8px;
        }
    }

    /* Animations */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes pulse {
        0% {
            box-shadow: 0 0 0 0 rgba(214, 158, 46, 0.7);
        }

        70% {
            box-shadow: 0 0 0 10px rgba(214, 158, 46, 0);
        }

        100% {
            box-shadow: 0 0 0 0 rgba(214, 158, 46, 0);
        }
    }

    .fade-in-up {
        animation: fadeInUp 0.6s ease-out;
    }

    /* Utility Classes */
    .text-center {
        text-align: center;
    }

    .mb-1 {
        margin-bottom: 0.5rem;
    }

    .mb-2 {
        margin-bottom: 1rem;
    }

    .mb-3 {
        margin-bottom: 1.5rem;
    }

    .mb-4 {
        margin-bottom: 2rem;
    }

    .mt-1 {
        margin-top: 0.5rem;
    }

    .mt-2 {
        margin-top: 1rem;
    }

    .mt-3 {
        margin-top: 1.5rem;
    }

    .mt-4 {
        margin-top: 2rem;
    }

    .hidden {
        display: none;
    }

    .visible {
        display: block;
    }
}