@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&family=Open+Sans:wght@400;500;600&display=swap');

:root {
    --primary: #29553a;
    --secondary: #FFFFFF;
    --accent: #FFD700;
    --dark: #1a1a1a;
    --light: #FFFFFF;
    --gray: #e0e0e0;
    --success: #00C853;
    --danger: #FF1744;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

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

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

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    color: #888;
    max-width: 600px;
    margin: 0 auto;
}

/* Header */
header {
    background: var(--secondary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 0;
}

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

.logo {
    display: inline-block;
}

.logo img {
    height: 50px;
    width: auto;
}


.nav-links {
    display: flex !important;
    gap: 30px;
    flex-direction: row;
}

.nav-links ul {
    display: flex;
}

.nav-links ul li {
    margin: 0 10px;
}

.nav-links a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

.login-btn {
    background: linear-gradient(135deg, var(--primary), #ff8a5c);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.hamburger {
    display: none !important;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--light);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Banner Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    overflow: hidden;
    margin-top: 60px;
    background: #f0f0f0;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.slider-nav button {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav button:hover {
    background: var(--primary);
    color: white;
}

.btn {
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #3d7a52);
    color: white;
    box-shadow: 0 4px 20px rgba(41, 85, 58, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(41, 85, 58, 0.5);
}

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

.btn-secondary:hover {
    background: var(--accent);
    color: var(--dark);
    border-color: var(--accent);
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: var(--secondary);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--gray);
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

.price span {
    font-size: 1rem;
    color: #888;
}

.pricing-card ul {
    margin: 20px 0;
    text-align: left;
}

.pricing-card li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-card li::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
}

.reward-box {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 20px;
    border-radius: 15px;
    margin-top: 20px;
}

.reward-box h4 {
    margin-bottom: 10px;
}

.reward-box p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Puzzle Section */
.puzzles {
    padding: 80px 0;
}

.puzzle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.puzzle-card {
    background: var(--secondary);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--gray);
}

.puzzle-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.puzzle-icon {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
}

.puzzle-icon img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.puzzle-content {
    padding: 25px;
}

.puzzle-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.puzzle-content p {
    color: #555;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.puzzle-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.difficulty {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.difficulty.easy {
    background: #29553a;
    color: white;
}

.difficulty.medium {
    background: #FFC107;
    color: #333;
}

.difficulty.hard {
    background: #FF1744;
    color: white;
}

.points {
    color: var(--primary);
    font-weight: 600;
}

.play-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    border: 2px solid var(--primary);
    color: white;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn:hover {
    background: #1e3d28;
    border-color: #1e3d28;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text p {
    color: #aaa;
    margin-bottom: 20px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-box {
    text-align: center;
    padding: 20px;
    background: var(--dark);
    border-radius: 15px;
}

.stat-box h3 {
    font-size: 2rem;
    color: var(--accent);
}

.stat-box p {
    font-size: 0.9rem;
    color: #888;
}

.about-image {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
}

/* How to Play */
.how-to-play {
    padding: 80px 0;
}

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

.step-card {
    background: var(--secondary);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-card h3 {
    color: var(--accent);
    margin-bottom: 15px;
}

.step-card p {
    color: #888;
    font-size: 0.9rem;
}

.faq {
    margin-top: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: var(--secondary);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-answer {
    padding: 0 20px 20px;
    color: #888;
    display: none;
}

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

/* Contact */
.contact {
    padding: 80px 0;
    background: var(--secondary);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background: var(--dark);
    padding: 40px;
    border-radius: 20px;
}

.contact-form h3 {
    color: var(--accent);
    margin-bottom: 25px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--secondary);
    border: 1px solid var(--gray);
    border-radius: 10px;
    color: var(--light);
    font-family: inherit;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-box {
    background: var(--dark);
    padding: 30px;
    border-radius: 20px;
}

.info-box h4 {
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box p {
    color: #888;
}

/* Vision Mission */
.vision-mission {
    padding: 80px 0;
}

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

.vm-card {
    background: var(--secondary);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

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

.vm-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 25px;
}

.vm-card h3 {
    color: var(--accent);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.vm-card p {
    color: #aaa;
    line-height: 1.8;
}

.values {
    margin-top: 60px;
}

.values h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.value-item {
    background: var(--secondary);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
}

.value-item span {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.value-item h4 {
    color: var(--accent);
}

/* Login */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--primary), #3d7a52);
}

.login-container {
    background: white;
    padding: 50px;
    border-radius: 20px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.login-container h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 10px;
}

.login-container>p {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

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

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

.login-form input {
    width: 100%;
    padding: 15px;
    background: var(--dark);
    border: 1px solid var(--gray);
    border-radius: 10px;
    color: var(--light);
    font-family: inherit;
}

.login-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.forgot-link {
    color: var(--accent);
    font-size: 0.9rem;
    float: right;
    margin-bottom: 20px;
}

.login-form .btn {
    width: 100%;
    margin-bottom: 20px;
}

.divider {
    text-align: center;
    margin: 20px 0;
    color: #888;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--gray);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.social-login {
    display: flex;
    gap: 15px;
}

.social-btn {
    flex: 1;
    padding: 12px;
    background: var(--dark);
    border: 1px solid var(--gray);
    border-radius: 10px;
    color: var(--light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.social-btn:hover {
    border-color: var(--primary);
}

.register-link {
    text-align: center;
    margin-top: 20px;
    color: #888;
}

.register-link a {
    color: var(--accent);
    font-weight: 600;
}

/* Footer */
footer {
    background: var(--secondary);
    padding: 60px 0 30px;
    border-top: 1px solid var(--gray);
}

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

.footer-section h4 {
    color: var(--primary);
    margin-bottom: 20px;
}

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

.footer-section ul li a {
    color: #888;
}

.footer-section ul li a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--gray);
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        background: var(--secondary);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        transition: left 0.3s ease;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links {
        display: flex !important;
    }

    .hero-slider {
        min-height: 100vh;
    }

    .slider-nav button {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

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

    .puzzle-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

    .hero-slider {
        min-height: 100vh;
    }

    .slider-nav button {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .btn {
        padding: 12px 25px;
    }

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