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

body {
    font-family: 'Solway', sans-serif;
    background-color: #f0f8f0; /* Light green background */
    color: #333;
    line-height: 1.6;
}

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

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(to right, #4CAF50, #8BC34A); /* Green gradient header */
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 6px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #FFD700; /* Gold color for logo */
    position: relative;
}

.logo::after {
    content: "🍀"; /* Clover emoji next to logo */
    position: absolute;
    right: -30px;
    top: 0;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.burger-menu span {
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

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

nav ul li {
    margin-left: 30px;
    position: relative;
}


nav ul li a {
    text-decoration: none;
    color: #fff; /* White text for nav items */
    font-weight: 500;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

nav ul li a:hover {
    color: #FFD700; /* Gold color on hover */
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('img/hero-bg.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    text-align: left;
    position: relative;
    overflow: hidden;
}


.hero::after {
    content: "🍀";
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 40px;
    animation: bounce 2s ease-in-out infinite;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFD700; /* Gold color for heading */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(to right, #4CAF50, #8BC34A); /* Green gradient button */
    color: white;
    padding: 15px 30px 15px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #FFD700; /* Gold border */
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    position: relative;
    overflow: hidden;
}



.cta-button:hover {
    background: linear-gradient(to right, #45a049, #7cb342);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* Section Styles */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
    position: relative;
}

section h2::before {
    content: "🍀";
    position: absolute;
    left: -40px;
    top: 0;
}

section h2::after {
    content: "🍀";
    position: absolute;
    right: -40px;
    top: 0;
}

/* About Section */
.about {
    background-color: #e8f5e9; /* Light green background */
    position: relative;
}



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

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid #4CAF50; /* Green border */
}

.about-text {
    flex: 1;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 20px;
    color: #2E7D32;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.7);
    padding: 15px;
    border-radius: 10px;
    border: 1px dashed #4CAF50;
}

/* Features Section */
.features {
    background: linear-gradient(to bottom, #f1f8e9, #dcedc8); /* Green gradient background */
    position: relative;
}

.features::before {
    content: "🍀";
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 40px;
    opacity: 0.3;
}

.features::after {
    content: "🍀";
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 40px;
    opacity: 0.3;
    transform: rotate(180deg);
}

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

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 2px solid #4CAF50; /* Green border */
    position: relative;
    overflow: hidden;
}



.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: #4CAF50; /* Green color for icons */
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
    color: #2E7D32; /* Darker green for headings */
}

/* Game Description Section */
.game-description {
    background-color: #e8f5e9; /* Light green background */
    position: relative;
}

.game-description::before {
    content: "🍀";
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 30px;
    animation: pulse 2s infinite;
}

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

.game-text {
    flex: 1;
}

.game-text h2 {
    text-align: left;
    margin-bottom: 20px;
    color: #2E7D32;
}

.game-text p {
    margin-bottom: 20px;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.7);
    padding: 15px;
    border-radius: 10px;
    border: 1px dashed #FFD700; /* Gold dashed border */
}

.game-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid #FFD700; /* Gold border */
}

/* Game Section */
.game-section {
    padding: 50px 0;
    background: linear-gradient(to bottom, #f1f8e9, #c8e6c9); /* Green gradient */
}

.game-section h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #2E7D32; /* Darker green */
    position: relative;
}

.game-section h1::before {
    content: "🍀";
    position: absolute;
    left: -40px;
    top: 0;
}

.game-section h1::after {
    content: "🍀";
    position: absolute;
    right: -40px;
    top: 0;
}

.game-container {
    background: #f0f4ff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid #FFD700; /* Gold border */
    position: relative;
}



/* FAQ Section */
.faq {
    background: linear-gradient(to bottom, #e8f5e9, #a5d6a7); /* Green gradient */
    position: relative;
}

.faq::before {
    content: "🍀";
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 40px;
    opacity: 0.2;
}

.faq-item {
    max-width: 800px;
    margin: 0 auto 30px;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #4CAF50; /* Green accent border */
    position: relative;
}

.faq-item::before {
    content: "❓";
    position: absolute;
    top: -15px;
    left: 20px;
    background: #4CAF50;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item h3 {
    margin-bottom: 10px;
    color: #4CAF50; /* Green color for questions */
}

/* Policy Content */
.policy-content {
    padding: 50px 0;
    background-color: #f1f8e9; /* Light green background */
}

.policy-content .container {
    max-width: 900px;
}

.policy-content h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #2E7D32; /* Darker green */
}

.policy-content h2 {
    text-align: left;
    margin: 30px 0 15px;
    color: #388E3C; /* Medium green */
    position: relative;
}

.policy-content h2::before {
    content: "🍀";
    position: absolute;
    left: -30px;
    top: 0;
    font-size: 20px;
}

.policy-content p {
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.7);
    padding: 10px;
    border-radius: 5px;
}

.policy-content ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.policy-content ul li {
    margin-bottom: 10px;
    position: relative;
}


/* Contact Us Section */
.contact-us {
    background: linear-gradient(to bottom, #e8f5e9, #a5d6a7); /* Green gradient */
    position: relative;
    padding: 80px 0;
}

.contact-us::before {
    content: "🍀";
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 40px;
    opacity: 0.2;
}

.contact-us h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #2E7D32;
    position: relative;
}

.contact-us h2::before {
    content: "🍀";
    position: absolute;
    left: -40px;
    top: 0;
}

.contact-us h2::after {
    content: "🍀";
    position: absolute;
    right: -40px;
    top: 0;
}

.contact-us p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.7);
    padding: 15px;
    border-radius: 10px;
    border: 1px dashed #FFD700;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #4CAF50;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Solway', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

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

.contact-form .cta-button {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
}

.contact-form .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* Footer */
footer {
    background: linear-gradient(to right, #1B5E20, #388E3C); /* Dark green gradient */
    color: white;
    padding: 50px 0 20px;
    position: relative;
}

footer::before {
    content: "🍀";
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 30px;
    opacity: 0.3;
}

footer::after {
    content: "🍀";
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    opacity: 0.3;
    transform: scaleX(-1);
}

.disclaimer {
    text-align: center;
    margin-bottom: 30px;
}

.disclaimer p:first-child {
    font-size: 24px;
    font-weight: bold;
    color: #FFD700; /* Gold color */
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    animation: pulse 2s infinite;
}

.disclaimer p {
    margin: 10px 0;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
}

@keyframes pulse {
    0% { text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
    50% { text-shadow: 0 0 20px rgba(255, 215, 0, 0.8); }
    100% { text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
}

.partners {
    display: flex;
    justify-content: center; /* Horizontal layout for desktop */
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.partners img {
    height: 50px;
    filter: grayscale(0%); /* Remove grayscale to show original colors */
    opacity: 1; /* Full opacity */
    max-width: 200px; /* Limit width for better alignment */
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

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


.footer-links a:hover {
    color: #FFD700; /* Gold color on hover */
}

.copyright {
    text-align: center;
    color: #aaa;
    font-size: 14px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

/* Cookie Consent Popup */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: linear-gradient(to right, #4CAF50, #8BC34A);
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s ease;
    border: 2px solid #FFD700;
}

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

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

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

.cookie-consent-content a {
    color: #FFD700;
    text-decoration: underline;
    font-weight: bold;
}

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

.cookie-consent-buttons .cta-button {
    padding: 10px 20px;
    font-size: 14px;
    margin: 0;
}

.cookie-consent-buttons .cta-button.secondary {
    background: transparent;
    border: 2px solid #FFD700;
    color: #FFD700;
}

.cookie-consent-buttons .cta-button.secondary:hover {
    background: rgba(255, 215, 0, 0.1);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

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

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: row;
        text-align: center;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(to right, #4CAF50, #8BC34A);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 5;
    }
    
    .main-nav.active {
        transform: translateX(0);
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 15px 0;
        padding: 15px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    nav ul li:last-child {
        border-bottom: none;
    }
    
    nav ul li::before {
        left: 50%;
        top: 10px;
        transform: translateX(-50%);
    }
    
    nav ul li a {
        font-size: 20px;
        padding: 10px 0;
    }
    
    .burger-menu.active span:nth-child(1) {
        transform: rotate(45deg);
    }
    
    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    .burger-menu.active span:nth-child(3) {
        transform: rotate(-45deg);
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    section {
        padding: 60px 0;
    }
    
    section h2 {
        font-size: 28px;
    }
    
    .partners {
        flex-direction: column; /* Vertical layout for mobile */
        align-items: center;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
    }
    
    section h2::before,
    section h2::after,
    .game-section h1::before,
    .game-section h1::after {
        display: none;
    }
    
    /* Responsive for about section */
    .about-content {
        flex-direction: column-reverse;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
    
    /* Responsive for game description */
    .game-description-content {
        flex-direction: column;
    }
    
    .game-image {
        margin-top: 30px;
    }

    /* Contact Us Section */
    .contact-us {
        background: linear-gradient(to bottom, #e8f5e9, #a5d6a7); /* Green gradient */
        position: relative;
        padding: 80px 0;
    }

    .contact-us::before {
        content: "🍀";
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 40px;
        opacity: 0.2;
    }

    .contact-us h2 {
        text-align: center;
        margin-bottom: 20px;
        color: #2E7D32;
        position: relative;
    }

    .contact-us h2::before {
        content: "🍀";
        position: absolute;
        left: -40px;
        top: 0;
    }

    .contact-us h2::after {
        content: "🍀";
        position: absolute;
        right: -40px;
        top: 0;
    }

    .contact-us p {
        text-align: center;
        max-width: 600px;
        margin: 0 auto 30px;
        font-size: 18px;
        background: rgba(255, 255, 255, 0.7);
        padding: 15px;
        border-radius: 10px;
        border: 1px dashed #FFD700;
    }

    .contact-form {
        max-width: 600px;
        margin: 0 auto;
        background: white;
        padding: 30px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        border-left: 5px solid #4CAF50;
    }

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

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

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-family: 'Solway', sans-serif;
        font-size: 16px;
        transition: border-color 0.3s ease;
    }

    .form-group input:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: #4CAF50;
        box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
    }

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

    .contact-form .cta-button {
        width: 100%;
        padding: 15px;
        font-size: 18px;
        font-weight: 600;
    }

    .contact-form .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    }

    .game-image {
        margin-top: 30px;
    }
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
    position: relative;
    border: 3px solid #4CAF50;
}

.popup-overlay.active .popup-content {
    transform: translateY(0);
}

.popup-header {
    padding: 20px;
    background: linear-gradient(to right, #4CAF50, #8BC34A);
    color: white;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-header h3 {
    margin: 0;
    font-size: 24px;
}

.popup-header h3::before {
    content: "🍀";
    margin-right: 10px;
}

.popup-close {
    font-size: 28px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.popup-close:hover {
    transform: rotate(90deg);
}

.popup-body {
    padding: 30px;
    text-align: center;
}

.popup-body p {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
}

.popup-footer {
    padding: 0 30px 30px;
    text-align: center;
}

.popup-close-btn {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
}

.popup-close-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* Responsive Popup */
@media (max-width: 768px) {
    .popup-header h3 {
        font-size: 20px;
    }
    
    .popup-body p {
        font-size: 16px;
    }
    
    .popup-close {
        font-size: 24px;
    }
}