@font-face {
    font-family: "Bungee";
    src: url("fonts/Bungee/Bungee-Regular.ttf");
    font-weight: 700;
    font-style: normal;
  }

  @font-face {
    font-family: "Poppins";
    src: url("fonts/Poppins/Poppins-Regular.ttf") ;
    font-weight: 400;
    font-style: normal;
  }

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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #fff3e0 0%, #e8f5e9 100%);
    color: #333;
    overflow-x: hidden;
}

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

img{
    max-width: 100%;
    object-fit: cover;
}

a{
    color: inherit;
    text-decoration: none;
}

button{
    border: none;
}

/* Header */
header {
    background: linear-gradient(90deg, #ff6f61, #be873a);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav {
    background: linear-gradient(90deg, #ff6f61, #be873a);
    padding: 20px 0;
    
}
.nav .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: 'Bungee', cursive;
    font-size: 2rem;
    color: #fff;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ffeb3b;
}

.burger {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

/* Hero Section (index.html) */
.hero {
    height: 100vh;
    max-height: 1200px;
    display: flex;
    align-items: center;
    background: url('image/banner2.jpg') no-repeat center/cover;
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    position: relative;
    text-align: center;
    color: #fff;
    z-index: 1;
}

.hero h1 {
    font-family: 'Bungee', cursive;
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Button Styles */
.btn {
    display: inline-block;
    margin-top: 10px;
    background: #ff6f61;
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.btn:hover {
    background: #ffb347;
    transform: scale(1.1);
}

/* Worlds Section (index.html) */
.worlds {
    padding: 80px 0;
    background: #fff;
}

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

.world-card {
    background: #f9f9f9;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.world-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.world-card h3 {
    font-size: 1.5rem;
    padding: 20px;
    color: #333;
}

/* Story Section (index.html) */
.story {
    padding: 80px 0;
    background: linear-gradient(135deg, #c3e8c7, #e8f5e9);
    display: flex;
    align-items: center;
}

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

.story-text {
    flex: 1;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.story-img {
    flex: 1;
}

.story-img img {
    width: 100%;
    border-radius: 15px;
}

/* Gameplay Section (index.html) */
.gameplay {
    padding: 80px 0;
    background: #fff;
}


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

.gameplay-card {
    text-align: center;
}

.gameplay-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

.gameplay-card h3 {
    font-size: 1.3rem;
    margin: 15px 0;
}

/* Tips Section (index.html) */
.tips {
    padding: 80px 0;
    background: linear-gradient(135deg, #c68a37, #bb5046);
    color: #fff;
}


.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.accordion-header {
    padding: 15px;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px;
    transition: max-height 0.3s ease;
}

.accordion-content p {
    padding: 15px 0;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
}

/* Gallery Section (index.html) */
.gallery {
    padding: 80px 0;
    background: #fff;
}

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

.gallery-item {
    overflow: hidden;
    height: 200px;
    border-radius: 10px;
}

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

.gallery-item img:hover {
    transform: scale(1.1);
}

/* Download Section (index.html) */
.download {
    padding: 80px 0;
    background: linear-gradient(135deg, #c3e8c7, #e8f5e9);
    text-align: center;
}

.download p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Community Section (index.html) */
.community {
    padding: 80px 0;
    background: #fff;
}


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

.community-card {
    text-align: center;
}

.community-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

/* Contact Section (index.html) */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffb347, #ff6f61);
    color: #fff;
}


.contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact input,
.contact textarea {
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.contact textarea {
    resize: vertical;
}

.contact button {
    background: #fff;
    color: #ff6f61;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.contact button:hover {
    background: #ffeb3b;
}

/* Characters Section (adventure-hub.html) */
.characters {
    padding: 80px 0;
    background: #fff;
}

.characters h1 {
    font-family: 'Bungee', cursive;
    font-size: 2.5rem;
    text-align: center;
    color: #ff6f61;
    margin-bottom: 40px;
}

.character-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 20px;
}
.character-slider::-webkit-scrollbar{
    width: 0;
}
.character-card {
    flex: 1 0 300px;
    background: #f9f9f9;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.character-card:hover {
    transform: scale(1.05);
}

.character-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.character-card h3 {
    font-size: 1.5rem;
    padding: 15px;
}

/* World Deep Dive Section (adventure-hub.html) */
.world-dive {
    padding: 80px 0;
    background: linear-gradient(135deg, #c3e8c7, #e8f5e9);
}


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

.world-dive-text {
    flex: 1;
}

.world-dive-text h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.world-dive-text p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.world-dive-img {
    flex: 1;
}

.world-dive-img img {
    width: 100%;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.world-dive-img img:hover {
    transform: translateY(-10px);
}

/* Power-Ups Section (adventure-hub.html) */
.power-ups {
    padding: 80px 0;
    background: #fff;
}

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

.power-up-card {
    text-align: center;
    background: #f9f9f9;
    border-radius: 15px;
    padding: 20px;
    transition: box-shadow 0.3s ease;
}

.power-up-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.power-up-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

/* Challenges Section (adventure-hub.html) */
.challenges {
    padding: 80px 0;
    background: linear-gradient(135deg, #b88033, #a74941);
    color: #fff;
}


.challenge-list {
    max-width: 800px;
    margin: 0 auto;
}

.challenge-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.challenge-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

.challenge-item-text h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}


/* Behind the Scenes Section (adventure-hub.html) */
.behind-scenes {
    padding: 80px 0;
    background: #fff;
}

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

.behind-scenes-text {
    flex: 1;
}

.behind-scenes-text h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.behind-scenes-img {
    flex: 1;
}

.behind-scenes-img img {
    width: 100%;
    border-radius: 15px;
}

/* Leaderboard Section (adventure-hub.html) */
.leaderboard {
    padding: 80px 0;
    background: linear-gradient(135deg, #ac7931, #ba4e44);
    color: #fff;
}


.leaderboard-table {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
}

.leaderboard-table .row {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.leaderboard-table .row:last-child {
    border-bottom: none;
}

/* Level Highlights Section (game-world.html) */
.level-highlights {
    padding: 80px 0;
    background: #fff;
}

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

.level-card {
    background: #f9f9f9;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.level-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.level-card h3 {
    font-size: 1.5rem;
    padding: 20px;
}

/* Strategy Guide Section (game-world.html) */
.strategy-guide {
    padding: 80px 0;
    background: linear-gradient(135deg, #c3e8c7, #e8f5e9);
}


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

.strategy-text {
    flex: 1;
}

.strategy-text h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.strategy-text ul {
    list-style: none;
    font-size: 1.1rem;
    line-height: 1.6;
}

.strategy-text ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.strategy-text ul li::before {
    content: '\f1b0';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #ff6f61;
}

.strategy-img {
    flex: 1;
}

.strategy-img img {
    width: 100%;
    border-radius: 15px;
}

/* Enemy Spotlight Section (game-world.html) */
.enemy-spotlight {
    padding: 80px 0;
    background: #fff;
}


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

.enemy-card {
    text-align: center;
    background: #f9f9f9;
    border-radius: 15px;
    padding: 20px;
    transition: box-shadow 0.3s ease;
}

.enemy-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.enemy-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

/* Fun Facts Section (game-world.html) */
.fun-facts {
    padding: 80px 0;
    background: linear-gradient(135deg, #ca8d38, #be5349);
    color: #fff;
}

h1,  h2 {
    font-family: 'Bungee', cursive;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
}

.facts-list {
    max-width: 800px;
    margin: 0 auto;
}

.fact-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.fact-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

.fact-item-text h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* Developer Diary Section (game-world.html) */
.developer-diary {
    padding: 80px 0;
    background: #fff;
}

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

.diary-text {
    flex: 1;
}

.diary-text h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.diary-img {
    flex: 1;
}

.diary-img img {
    width: 100%;
    border-radius: 15px;
}

/* Achievements Section (game-world.html) */
.achievements {
    padding: 80px 0;
    background: linear-gradient(135deg, #ad7931, #9b4139);
    color: #fff;
}

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

.achievement-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.achievement-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Privacy Policy and Terms of Service Sections (privacy-policy.html, terms-of-service.html) */
.privacy-policy,
.terms-of-service {
    padding: 100px 0 80px;
}

.section {
    margin-bottom: 40px;
}

.section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.section p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.section ul {
    list-style: none;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.section ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.section ul li::before {
    content: '\f1b0';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #ff6f61;
}

/* Thank You Section (thanks_form.php) */
.thank-you {
    padding: 100px 20px;
    text-align: center;
}

.thank-you p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    padding: 40px 0;
}

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

.footer-column h3, .footer-logo {
    font-family: 'Bungee', cursive;
    font-size: 1.5rem !important;
    margin-bottom: 20px;
}

.footer-column p,
.footer-column a {
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 10px;
    text-decoration: none;
}

.footer-column a:hover {
    color: #ffeb3b;
}
.footer-logo{
    color: #fff !important;
    display: inline-block;
}
/* Mobile Menu */
.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ff6f61;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.nav-menu.active a {
    font-size: 2rem;
    margin: 20px 0;
}


body.no-scroll {
    overflow: hidden;
}
.section-top{
    padding-top: 130px;
}
.yellow{
    color: #ffeb3b;
}
.age-check {
    display: none;
}
.age-check {
            height: 100vh;
            display: none;
            align-items: center;
            justify-content: center;
            background: #fff;
            text-align: center;
        }

        .age-check h2 {
            font-family: 'Bungee', cursive;
            font-size: 2.5rem;
            color: #ff6f61;
            margin-bottom: 40px;
        }

        .age-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
        }

        .age-buttons .btn {
            background: #ff6f61;
            color: #fff;
            padding: 12px 30px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: bold;
            font-size: 1.1rem;
            transition: background 0.3s ease;
        }

        .age-buttons .btn:hover {
            background: #ffb347;
        }
        .age-row{
            background: #fff;
        }
        .age-row .container{
            display: flex;
            gap: 20px;
            padding-top: 5px;
            padding-bottom: 5px;
            align-items: center;
        }
        .header-btn{
            font-size: 18px;
            color: #a74941;
            background-color: transparent;
        }
/* Responsive Design */
@media (max-width: 768px) {
    .age-row{
        display: none;
    }
    .nav-menu {
        display: none;
    }

    .burger {
        display: block;
        position: relative;
        z-index: 999;
    }

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

    .story-content,
    .world-dive-content,
    .behind-scenes-content,
    .strategy-content,
    .diary-content {
        flex-direction: column;
    }

    .story-img,
    .world-dive-img,
    .behind-scenes-img,
    .strategy-img,
    .diary-img {
        order: -1;
    }
    .logo{
        font-size: 1.6rem;
    }

    .character-slider {
        flex-direction: column;
        align-items: center;
    }

    .character-card {
        flex: 0 0 100%;
    }

    .world-grid,
    .gameplay-grid,
    .gallery-grid,
    .community-grid,
    .power-up-grid,
    .fan-grid,
    .level-grid,
    .enemy-grid,
    .creations-grid,
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    .container{
        padding: 0 10px;
    }
    h2 , h1{
        font-size: 1.6rem;
    }

    .section h3 {
        font-size: 1.3rem;
    }

    .thank-you p {
        font-size: 1rem;
    }

    .age-check{
        display: flex;
    }
}