/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Page Background Color */
body {
    background-color: #f2f5ff;
    color: #1a1a2e;
    min-height: 100vh;
    overflow-x: hidden; /* Horizontal scrolling rokne ke liye */
}

/* Navbar Container */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background-color: transparent;
    width: 100%;
}

/* Logo Box Style */
.logo-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    color: #1a1a2e;
    border: 1px solid #e2e8f0;
    box-shadow: 4px 6px 15px rgba(181, 136, 248, 0.35);
    transition: all 0.3s ease;
}

.company-logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 6px;
}

.logo-box:hover {
    box-shadow: 7px 7px 18px rgba(139, 61, 255, 0.5);
}

.logo-icon {
    font-size: 18px;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #5a5d7a;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #8b3dff;
    font-weight: 600;
}

/* Hamburger Menu Button Styling & Cross Animation */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #0f172a;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Hamburger to Cross Animation State */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Responsive Navbar & Professional Slide Menu */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        box-shadow: -15px 0 40px rgba(0, 0, 0, 0.12);
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 999;
        border-left: 1px solid #e2e8f0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 18px;
        font-weight: 700;
        color: #0f172a;
        transition: color 0.3s ease, transform 0.3s ease;
    }

    .nav-links a:hover {
        color: #8b3dff;
        transform: scale(1.05);
    }
}
/* ================= HERO SECTION FIX ================= */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px 20px;
    position: relative;
    width: 100%;
    margin-top: 80px;
}

/* SKYWORLD ANIMATED TEXT*/
#animatedTextCanvas {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

/* Clickable Hero Badge Styling */
.hero-badge-link {
    text-decoration: none;
    display: inline-block;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.hero-badge-link:hover {
    transform: translateY(-3px);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    padding: 25px 30px 25px 25px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 20px rgba(139, 61, 255, 0.15);
}

.badge-game-icon {
    width: 75px;
    height: 75px;
    border-radius: 8px;
    object-fit: cover;
}

.badge-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
    gap: 10px;
}

.badge-game-name {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.badge-game-tag {
    font-size: 12px;
    font-weight: 600;
    color: #8b3dff;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 16px;
}

.highlight-purple {
    background-color: #8b3dff;
    color: #ffffff;
    padding: 4px 22px;
    border-radius: 50px;
    display: inline-block;
    box-shadow: 0 6px 20px rgba(139, 61, 255, 0.35);
}

.hero-subtitle {
    font-size: 20px;
    color: #64748b;
    font-weight: bold;
    margin-bottom: 30px;
}

/* Hero Art Container Fix */
.hero-art-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.hero-main-img {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: contain;
    animation: floatAnimation 4s ease-in-out infinite;
}

.floating-shape {
    position: absolute;
    font-size: 40px;
    user-select: none;
}

.shape-left {
    top: 10%;
    left: 5%;
    animation: floatAnimation 3.5s ease-in-out infinite reverse;
}

.shape-right {
    top: 15%;
    right: 5%;
    animation: floatAnimation 4.5s ease-in-out infinite;
}

@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* ================= GAMES SECTION ================= */
.games-section {
    padding: 80px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    width: 100%;
}

.section-header {
    text-align: center;
    max-width: 1500px;
}

.section-badge {
    display: inline-block;
    padding: 8px 22px;
    border-radius: 50px;
    font-weight: 1000;
    color: #0f172a;
    margin-bottom: 15px;
    font-size: 45px;
}

.section-badge span {
    background-color: #8b3dff;
    color: #ffffff;
    padding: 3px 12px;
    border-radius: 20px;
    margin-right: 6px;
}

.section-desc {
    font-size: 20px;
    font-weight: bold;
    color: #64748b;
    line-height: 1.6;
}

/* Bada Game Card */
.game-card {
    width: 100%;
    max-width: 1550px;
    min-height: 580px;
    background-size: cover;
    background-position: center;
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    gap: 30px;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit; 
    background-size: cover;
    background-position: center;
    filter: blur(6px);
    transform: scale(1.05);
    z-index: 1;
}

.game-inner-box,
.game-review-box {
    position: relative;
    z-index: 2;
}

/* Andar ka Game Card (Inner White Box) */
.game-inner-box {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    padding: 45px 50px;
    border-radius: 26px;
    width: 100%;
    max-width: 780px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-left: 20px;
}

.game-content-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.game-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.game-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    object-fit: cover;
}

.game-info h3 {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
}

.game-tag {
    font-size: 14px;
    color: #8b3dff;
    font-weight: 600;
}

.game-stats-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f8fafc;
    padding: 8px 14px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    width: fit-content;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-icon {
    font-size: 14px;
}

.stat-val {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.stat-lbl {
    font-size: 11px;
    color: #64748b;
}

.stat-divider {
    width: 1px;
    height: 18px;
    background-color: #cbd5e1;
}

.game-detail {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
}

.direct-download-buttons {
    display: flex;
    gap: 12px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.download-btn {
    background-color: #0f172a;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: #8b3dff;
}

/* ================= RIGHT SIDE GAME REVIEW BOX (UPDATED) ================= */
.game-review-box {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    padding: 35px 30px;
    border-radius: 26px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-right: 20px;
}

.game-review-box h4 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
}

.review-subtitle {
    font-size: 13px;
    color: #64748b;
}

.overall-rating-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f8fafc;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    text-align: center;
    margin: 10px 0;
}

.rating-big {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
}

.stars-display {
    font-size: 18px;
    margin: 4px 0;
}

.total-reviews-count {
    font-size: 12px;
    color: #64748b;
}

.review-action-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.review-btn {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.primary-btn {
    background-color: #8b3dff;
    color: #ffffff;
}

.primary-btn:hover {
    background-color: #7226e0;
}

.secondary-btn {
    background-color: #f1f5f9;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}

.secondary-btn:hover {
    background-color: #e2e8f0;
}

/* ================= POPUP MODAL STYLING ================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 2000;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 24px;
    width: 90%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease-in-out;
}

.modal-overlay.active .modal-box {
    transform: translateY(0);
}

.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
}

.close-modal-btn:hover {
    color: #0f172a;
}

.modal-subtitle {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 15px;
}

.star-rating {
    display: flex;
    gap: 8px;
    font-size: 30px;
    color: #cbd5e1;
    cursor: pointer;
    margin: 4px 0;
}

.star-rating .star {
    transition: color 0.2s ease;
}

.star-rating .star.selected,
.star-rating .star:hover {
    color: #ffb800;
}

.game-review-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.game-review-form input,
.game-review-form textarea {
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.game-review-form input:focus,
.game-review-form textarea:focus {
    border-color: #8b3dff;
}

.submit-review-btn {
    background-color: #8b3dff;
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-review-btn:hover {
    background-color: #7226e0;
}

/* Mobile Screen Mockup & Horizontal Slider Styling */
.game-mobile-mockup {
    width: 220px;
    flex-shrink: 0;
}

.mobile-frame {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
}

.slider-container {
    display: flex;
    width: 100%;
    height: 420px;
    transition: transform 0.4s ease-in-out;
}

.slider-container .slide {
    min-width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #fcfcfc;
}

.slider-container .slide.active {
    opacity: 1;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 14px;
    z-index: 10;
    transition: background 0.3s;
}

.slider-arrow:hover {
    background: #8b3dff;
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

/* ================= HOW TO INSTALL SECTION ================= */
.install-section {
    padding: 70px 8%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.install-platform-wrapper {
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.platform-divider {
    width: 100%;
    max-width: 1100px;
    height: 1px;
    background-color: #e2e8f0;
    margin: 20px 0;
}

.install-steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    width: 100%;
}

.step-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 30px;
    border-radius: 20px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.step-number {
    font-size: 28px;
    font-weight: 800;
    color: #8b3dff;
    display: block;
    margin-bottom: 12px;
}

.step-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
}

/* ================= FAQS SECTION STYLING ================= */
.faqs-section {
    padding: 70px 8%;
    background-color: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.faqs-container {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    text-align: left;
}

.faq-question span {
    transition: color 0.3s ease;
}

.faq-question:hover span {
    color: #8b3dff;
}

.faq-icon {
    font-size: 22px;
    font-weight: 600;
    color: #8b3dff;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease;
}

.faq-answer p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    padding-bottom: 20px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* ================= FEEDBACK SECTION ================= */
.feedback-section {
    background-color: #8b3dff;
    padding: 80px 8%;
    color: #ffffff;
    display: flex;
    justify-content: center;
}

.feedback-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1300px;
    gap: 100px;
}

.feedback-text-area {
    flex: 1;
}

.mini-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 25px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
}

.feedback-text-area h2 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
}

.feedback-text-area p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.feedback-form-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 24px;
    width: 100%;
    max-width: 420px;
    color: #0f172a;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.feedback-form-box h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.form-group input,
.form-group textarea {
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #8b3dff;
}

.submit-btn {
    background-color: #0f172a;
    color: #ffffff;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #8b3dff;
}

/* ================= FOOTER SECTION FIXES ================= */
.footer-section {
    background-color: #f2f5ff;
    padding: 60px 8% 30px;
    border-top: 1px solid #e2e8f0;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo-box {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.brand-desc {
    font-size: 13px;
    color: #64748b;
    margin-top: 12px;
}

.footer-newsletter h4 {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 13px;
    outline: none;
    width: 220px;
}

.subscribe-btn {
    background-color: #8b3dff;
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscribe-btn:hover {
    background-color: #7226e0;
}

.footer-divider {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 24px 0;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-col h5 {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.footer-col a {
    display: block;
    text-decoration: none;
    color: #64748b;
    font-size: 13px;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #8b3dff;
}

.footer-bottom {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.copyright-text {
    font-size: 12px;
    color: #94a3b8;
}

/* ================= MOBILE RESPONSIVE COMPLETE FIX ================= */
@media (max-width: 1100px) {
    .game-card {
        flex-direction: column;
        padding: 25px;
        justify-content: center;
    }
    .game-inner-box, .game-review-box {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }
    .game-mobile-mockup {
        width: 180px;
    }
    .feedback-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .feedback-form-box {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 4%;
        gap: 10px;
    }
    .logo-box {
        padding: 6px 10px;
        font-size: 12px;
        max-width: calc(100% - 50px);
    }
    .logo-icon {
        font-size: 16px;
    }
    .hero-title {
        font-size: 32px;
    }
    .section-badge {
        font-size: 26px !important;
        padding: 6px 14px;
    }
    .game-card {
        padding: 15px 10px;
        border-radius: 20px;
        min-height: auto;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    .game-inner-box {
        flex-direction: column;
        padding: 20px 15px;
        margin-left: 0;
        max-width: 100%;
        width: 100%;
        gap: 24px;
        border-radius: 18px;
    }
    .game-content-left {
        width: 100%;
        gap: 20px;
    }
    .game-info h3 {
        font-size: 20px;
    }
    .game-stats-bar {
        width: 100%;
        justify-content: space-around;
        padding: 8px 10px;
    }
    .direct-download-buttons {
        flex-direction: column;
        width: 100%;
    }
    .download-btn {
        text-align: center;
        width: 100%;
    }
    .game-mobile-mockup {
        width: 100%;
        max-width: 220px;
        margin: 0 auto;
        flex-shrink: 0;
    }
    .slider-container {
        height: 380px;
    }
    .game-review-box {
        max-width: 100%;
        width: 100%;
        margin-right: 0;
        padding: 20px 15px;
        border-radius: 18px;
    }
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }
    .newsletter-form input {
        width: 100%;
    }
}