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


body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(to bottom, #0c1445, #1c2a66);
    color: #ffffff;
    position: relative;
    overflow-x: hidden;
}

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

/* Snowflakes Animation */
.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.snowflake {
    position: absolute;
    top: -20px;
    color: #fff;
    font-size: 1em;
    text-shadow: 0 0 5px #000;
    user-select: none;
    opacity: 0.8;
    animation: fall linear infinite;
}

@keyframes fall {
    to {
        transform: translateY(105vh);
    }
}

/* Different sizes and speeds for snowflakes */
.snowflake:nth-child(1) { left: 10%; animation-duration: 10s; animation-delay: 0s; }
.snowflake:nth-child(2) { left: 20%; animation-duration: 12s; animation-delay: 1s; }
.snowflake:nth-child(3) { left: 30%; animation-duration: 8s; animation-delay: 2s; }
.snowflake:nth-child(4) { left: 40%; animation-duration: 14s; animation-delay: 0.5s; }
.snowflake:nth-child(5) { left: 50%; animation-duration: 9s; animation-delay: 3s; }
.snowflake:nth-child(6) { left: 60%; animation-duration: 11s; animation-delay: 1.5s; }
.snowflake:nth-child(7) { left: 70%; animation-duration: 13s; animation-delay: 0.2s; }
.snowflake:nth-child(8) { left: 80%; animation-duration: 7s; animation-delay: 4s; }
.snowflake:nth-child(9) { left: 90%; animation-duration: 15s; animation-delay: 2.5s; }
.snowflake:nth-child(10) { left: 5%; animation-duration: 10s; animation-delay: 1s; }
.snowflake:nth-child(11) { left: 15%; animation-duration: 12s; animation-delay: 2s; }
.snowflake:nth-child(12) { left: 25%; animation-duration: 8s; animation-delay: 0.5s; }
.snowflake:nth-child(13) { left: 35%; animation-duration: 14s; animation-delay: 3s; }
.snowflake:nth-child(14) { left: 45%; animation-duration: 9s; animation-delay: 1.5s; }
.snowflake:nth-child(15) { left: 55%; animation-duration: 11s; animation-delay: 0.2s; }
.snowflake:nth-child(16) { left: 65%; animation-duration: 13s; animation-delay: 4s; }
.snowflake:nth-child(17) { left: 75%; animation-duration: 7s; animation-delay: 2.5s; }
.snowflake:nth-child(18) { left: 85%; animation-duration: 15s; animation-delay: 1s; }
.snowflake:nth-child(19) { left: 95%; animation-duration: 10s; animation-delay: 3s; }
.snowflake:nth-child(20) { left: 2%; animation-duration: 12s; animation-delay: 0.5s; }

/* Header */
.site-header {
    background: rgba(12, 20, 69, 0.8);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
    font-family: 'Rubik Scribble', 'Comic Sans MS', cursive, sans-serif;
    font-size: 1.3rem;
    font-weight: bold;
    background: linear-gradient(to right, #ffd700, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Active Hamburger Animation */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav a:hover {
    color: #ffd700;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('img/hero-bg.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 20, 69, 0.6);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-family: 'Rubik Scribble', 'Comic Sans MS', cursive, sans-serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.scroll-down {
    display: inline-block;
    color: #ffffff;
    font-size: 2rem;
    text-decoration: none;
    animation: bounce 2s infinite;
}

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

/* Sections */
section {
    padding: 80px 0;
}

.about {
    background: rgba(28, 42, 102, 0.8);
}

.about h2, .game-description h2, .faq h2 {
    font-family: 'Rubik Scribble', 'Comic Sans MS', cursive, sans-serif;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.feature h3 {
    font-family: 'Rubik Scribble', 'Comic Sans MS', cursive, sans-serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffd700;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.game-description {
    background: url('img/bg.png') no-repeat center center;
    background-size: cover;
    text-align: center;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.game-description .container {
    background: rgba(12, 20, 69, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 40px;
    margin: 0 auto;
    width: 100%;
}

.game-description p {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(to right, #ffd700, #ffaa00);
    color: #0c1445;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.faq {
    background: rgba(28, 42, 102, 0.8);
}

.faq-item {
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
}

.faq-item h3 {
    font-family: 'Rubik Scribble', 'Comic Sans MS', cursive, sans-serif;
    color: #ffd700;
    margin-bottom: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    display: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-answer.active {
    display: block;
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-toggle.rotated {
    transform: rotate(45deg);
}

/* Policy Section */
.policy-section {
    padding: 120px 0 80px;
}

.policy-content h1 {
    font-family: 'Rubik Scribble', 'Comic Sans MS', cursive, sans-serif;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffd700;
}

.policy-content h2 {
    font-family: 'Rubik Scribble', 'Comic Sans MS', cursive, sans-serif;
    font-size: 1.8rem;
    margin: 30px 0 15px;
    color: #ffd700;
}

.policy-content h3 {
    font-family: 'Rubik Scribble', 'Comic Sans MS', cursive, sans-serif;
    font-size: 1.4rem;
    margin: 20px 0 10px;
    color: #ffffff;
}

.policy-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.policy-content ul {
    margin: 15px 0 15px 30px;
}

.policy-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Footer */
.site-footer {
    background: #0a1033;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

/* Snow hills effect */
.snow-hills {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23ffffff"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23ffffff"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23ffffff"/></svg>');
    background-size: cover;
    background-position: center bottom;
    transform: scaleY(-1);
}

.footer-content {
    position: relative;
    z-index: 2;
}

.disclaimer {
    text-align: center;
    padding: 20px;
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 5px;
    margin-bottom: 40px;
}

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

.partner-logos img {
    height: 40px;
    filter: grayscale(100%) brightness(150%);
    transition: filter 0.3s ease;
    object-fit: contain;
}

.partner-logos img:hover {
    filter: grayscale(0%) brightness(100%);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
    text-align: center;
}

.footer-column h4 {
    font-family: 'Rubik Scribble', 'Comic Sans MS', cursive, sans-serif;
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

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

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

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #ffd700;
}

.copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: black;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background: linear-gradient(to bottom, #0c1445, #1c2a66);
    margin: 15% auto;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #ffd700;
    width: 80%;
    max-width: 500px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 15px;
    top: 10px;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #ffd700;
}

/* Cookie Consent Popup */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: linear-gradient(to bottom, #0c1445, #1c2a66);
    border: 1px solid #ffd700;
    border-radius: 10px;
    padding: 20px;
    z-index: 1001;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.cookie-consent.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-content p {
    margin-bottom: 20px;
    line-height: 1.5;
}

.cookie-content a {
    color: #ffd700;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.cookie-decline {
    background: transparent;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 30px;
    border: 1px solid #ffffff;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cookie-decline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Contact Form Styles */
.contact-section {
    padding: 120px 0 80px;
}

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

.contact-info h2, .contact-form h2 {
    font-family: 'Rubik Scribble', 'Comic Sans MS', cursive, sans-serif;
    color: #ffd700;
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item h3 {
    font-family: 'Rubik Scribble', 'Comic Sans MS', cursive, sans-serif;
    color: #ffd700;
    margin-bottom: 5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffd700;
}

/* Game Section */
.game-section {
    padding: 120px 0 80px;
}

.game-container {
    margin: 40px 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.game-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
}

.game-info h2, .game-info h3 {
    font-family: 'Rubik Scribble', 'Comic Sans MS', cursive, sans-serif;
    color: #ffd700;
    margin-bottom: 15px;
}

.game-info ul {
    padding-left: 20px;
}

.game-info li {
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    /* Hamburger Menu for Mobile */
    .menu-toggle {
        display: flex;
    }
    
    .main-nav ul {
        flex-direction: column;
        background: rgba(12, 20, 69, 0.9);
        position: absolute;
        top: 100%;
        right: 0;
        width: 200px;
        padding: 20px;
        border-radius: 0 0 10px 10px;
        display: none;
        z-index: 1000;
    }
    
    .main-nav ul.active {
        display: flex;
    }
    
    .main-nav li {
        margin: 10px 0;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 90%;
    }
    
    .policy-content h1 {
        font-size: 2rem;
    }
    
    .policy-content h2 {
        font-size: 1.5rem;
    }
}