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

:root {
    --primary-color: #ffc400; /* Vibrant Yellow */
    --secondary-color: #ff7b00; /* Bright Orange */
    --dark-color: #2c2c2c;
    --light-color: #f4f4f4;
    --background-dark: #1a1a1a;
    --text-color: #333;
    --white: #fff;
    --accent-color: #4CAF50; /* New accent for improvements */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background: var(--light-color);
    color: var(--text-color);
}

/* --- Utilities --- */
.content-section {
    padding: 80px 20px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
}

/* --- Header & Navbar --- */
.header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
    position: fixed;
    width: 100%;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--dark-color);
}

/* --- Hero Section --- */
.hero-section {
    height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('image/banner.jpeg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

.cta-button {
    background: var(--primary-color);
    color: var(--dark-color);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
}
.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    background: var(--secondary-color);
}
.story-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
/* --- Story Section Improvements --- */
.story-image {
    max-width: 100%;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- Hero Character Improvements --- */
.character-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-color);
}

/* --- Features Section (Tabs) --- */
.tab-container {
    margin-top: 40px;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-button {
    background: var(--light-color);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.tab-button.active {
    background: var(--primary-color);
    color: var(--white);
}

.tab-content {
    display: none;
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.tab-content.active {
    display: block;
}

.tab-image {
    max-width: 100%;
    margin-top: 10px;
    border-radius: 5px;
}

/* --- Arsenal Section (Accordion) --- */
.accordion {
    max-width: 800px;
    margin: 40px auto 0;
}

.accordion-item {
    margin-bottom: 10px;
}

.accordion-header {
    background: var(--primary-color);
    color: var(--dark-color);
    padding: 15px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: var(--secondary-color);
}

.accordion-content {
    display: none;
    background: var(--white);
    padding: 15px;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.accordion-content img {
    max-width: 150px;
    display: block;
    margin: 10px auto 0;
    border-radius: 5px;
}
.enemy-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
/* --- Enemies Section Improvements --- */
.enemy-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

/* --- Game World Improvements --- */
.world-image {
    max-width: 100%;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- CTA 2 (Download) Section --- */
.cta-section-2 { background: var(--dark-color); color: var(--white); }
.cta-section-2 .section-title { color: var(--white); }
.store-buttons { display: flex; justify-content: center; gap: 20px; margin-top: 30px; flex-wrap: wrap; }
.store-button { background: #444; color: var(--white); padding: 15px 30px; border-radius: 8px; text-decoration: none; display: flex; align-items: center; gap: 10px; transition: background 0.3s ease; }
.store-button:hover { background: var(--primary-color); color: var(--dark-color); }
.store-button i { font-size: 1.5rem; }

/* --- Contact Section --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    text-align: left;
    margin-top: 50px;
}
.contact-info p { margin-bottom: 1rem; }
.contact-info i { color: var(--primary-color); margin-right: 10px; }
.contact-form { display: flex; flex-direction: column; gap: 15px; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-family: 'Poppins', sans-serif;
}
a { color:inherit; text-decoration: none; }
.contact-form textarea { resize: none; }
.contact-form button {
    background: var(--primary-color);
    color: var(--dark-color);
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}
.contact-form button:hover { background: var(--secondary-color); }
input [type="checkbox"] {width: 20px; margin-right: 10px; }
.privacy-check { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }

/* --- Footer Improvements --- */
.footer {
    background: var(--dark-color);
    color: var(--white);
    text-align: center;
    padding: 40px 20px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: block;
    margin-bottom: 20px;
}

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

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

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

.social-icons { margin-bottom: 20px; }
.social-icons a { color: var(--white); margin: 0 15px; font-size: 1.5rem; transition: color 0.3s ease; }
.social-icons a:hover { color: var(--primary-color); }

/* --- Animations --- */
.animate-on-load {
    animation: fadeInDown 1s ease-out forwards;
    opacity: 0;
}
.hero-content h1 { animation-delay: 0.2s; }
.hero-content p { animation-delay: 0.4s; }
.hero-content .cta-button { animation-delay: 0.6s; }

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}


/* --- Responsive Design --- */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-item { padding: 1.5rem 0; }
    .hero-content h1 { font-size: 2.5rem; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .tab-buttons { flex-wrap: wrap; }
    .footer-links { flex-wrap: wrap; }
}