:root {
    --bg-dark: #0a0b0d;
    --bg-card: #16181d;
    --primary: #8b5cf6;
    /* Purple Neon */
    --secondary: #06b6d4;
    /* Cyan Neon */
    --accent: #d946ef;
    /* Pink/Magenta Neon */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --glass: rgba(22, 24, 29, 0.7);
    --border: rgba(255, 255, 255, 0.05);
    --shadow-neon-p: 0 0 15px rgba(139, 92, 246, 0.3);
    --shadow-neon-s: 0 0 15px rgba(6, 182, 212, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar Style */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Global Transitions */
a,
button {
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Text Gradients */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: var(--shadow-neon-p);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--secondary);
    color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary);
    color: var(--bg-dark);
    box-shadow: var(--shadow-neon-s);
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.nav-links {
    display: none;
    /* Hidden on desktop as links are moved to body */
}

.quick-links-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    width: 100%;
}

.quick-nav {
    margin: 40px 0;
}

.btn-nav {
    background: transparent;
    border: 1px solid var(--secondary);
    color: var(--secondary);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-nav:hover {
    background: rgba(6, 182, 212, 0.1);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
    transform: translateY(-2px);
    text-shadow: 0 0 8px rgba(6, 182, 212, 0.6);
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.nav-link:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* WhatsApp Header Button */
.whatsapp-btn-header {
    background: var(--primary);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.whatsapp-btn-header:hover {
    background: var(--accent);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.6);
    transform: translateY(-2px);
}

/* Mobile Menu Button */
.menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

.menu-toggle {
    display: none;
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: #0a0b0d;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 50px 50px, 50px 50px;
    margin-bottom: 60px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--bg-dark) 30%, transparent 100%),
        linear-gradient(to top, var(--bg-dark), transparent);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    max-width: 600px;
    flex: 1;
}

.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-cover {
    max-width: 400px;
    width: 100%;
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    transition: transform 0.5s ease;
}

.hero-cover:hover {
    transform: rotate(0deg) scale(1.15);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

/* Section Styling */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
}

/* Game Grid & Cards */
.game-grid,
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.game-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-neon-p);
}

.game-cover-wrapper {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.game-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover .game-cover {
    transform: scale(1.1);
}

.platform-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid var(--primary);
}

.game-info {
    padding: 20px;
}

.game-genre {
    font-size: 0.75rem;
    color: var(--secondary);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px;
    display: block;
}

.game-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Catalog Controls */
.catalog-controls {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.search-bar {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.search-bar input {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 12px 12px 45px;
    color: #fff;
    outline: none;
    transition: border-color 0.3s;
}

.search-bar input:focus {
    border-color: var(--secondary);
}

.filters {
    display: flex;
    gap: 10px;
}

.filters select {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    outline: none;
}

/* Contact Form */
.contact-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    max-width: 800px;
    margin: 60px auto;
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 15px;
    color: #fff;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

/* Footer */
.footer {
    border-top: none;
    background: #000;
    /* Black background as per image */
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 20px;
    color: var(--primary);
    /* Purple branding */
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    display: block;
    margin-bottom: 15px;
}

.footer-tagline {
    font-size: 1.2rem;
    color: var(--secondary);
    /* Cyan text */
    margin-bottom: 15px;
}

.rocket-icon {
    margin-right: 8px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 400px;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.join-text {
    font-size: 1rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 10px;
}

.flame-icon {
    color: #ff5722;
    /* Orange flame */
    margin-right: 5px;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: var(--accent);
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(139, 92, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0);
    }
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-desc {
        margin: 0 auto;
    }

    .footer-links a {
        justify-content: center;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    overflow-y: auto;
    padding: 20px;
}

.modal-content {
    background: var(--bg-card);
    width: 100%;
    max-width: 900px;
    margin: 50px auto;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--primary);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: #fff;
    z-index: 10;
}

.modal-details-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    padding: 40px;
}

.modal-hero {
    height: 300px;
    width: 100%;
    object-fit: cover;
}

.modal-desc {
    color: var(--text-secondary);
    margin: 20px 0;
}

.modal-requirements {
    background: var(--bg-dark);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: flex;
        /* Visible on mobile as sidebar */
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 280px;
        background: var(--bg-card);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 50px 30px;
        gap: 30px;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        z-index: 2000;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.nav-active {
        transform: translateX(0);
    }

    /* Menu Overlay */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 1500;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        backdrop-filter: blur(3px);
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .menu-toggle {
        display: block;
        font-size: 1.4rem;
        /* Reduced from 1.8rem */
        cursor: pointer;
        color: #fff;
        z-index: 2001;
        /* Above sidebar */
        position: relative;
    }

    .logo {
        font-size: 1rem;
        /* Reduced logo size further */
    }

    .whatsapp-btn-header {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .header-search-bar {
        max-width: 180px !important;
    }

    .header-search-bar input {
        padding: 6px 12px !important;
        font-size: 0.8rem !important;
    }

    .hero-container {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .hero-image-wrapper {
        margin-bottom: 20px;
    }

    .hero-cover {
        max-width: 250px;
        transform: rotate(0deg);
    }

    .hero-title {
        font-size: 2.2rem;
        /* Smaller font for mobile */
    }

    .hero {
        text-align: center;
        height: auto;
        padding: 100px 0 60px;
    }

    .hero-btns {
        justify-content: center;
    }

    .modal-details-grid {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .modal-content {
        margin: 20px 10px;
        /* More margin on mobile */
        width: auto;
    }

    .modal-info-left .hero-btns {
        flex-direction: column;
        gap: 10px;
    }

    .modal-info-left .hero-btns .btn {
        width: 100%;
        margin-left: 0 !important;
        margin-bottom: 10px;
    }
}

/* Split Hero Styles */

/* Slider Styles for Sales & Demo */
.slider-container {
    position: relative;
    height: 100%;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease-in-out;
}

.slide .hero-container {
    padding-top: 0;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

@media (max-width: 768px) {
    .slider-container {
        min-height: 600px;
        /* Fix collapsed height on mobile */
        padding-bottom: 40px;
    }

    .slide {
        position: absolute;
        /* Keep absolute for transitions */
        opacity: 0;
        /* Let JS handle opacity */
        display: flex;
        /* Ensure flex layout works */
    }

    /* Force opacity for first slide if JS hasn't kicked in yet (fallback) */
    .slide:first-child {
        opacity: 1;
    }
}

.promo-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(139, 92, 246, 0.3);
}

.promo-content {
    flex: 1;
    z-index: 2;
}

.promo-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 10px;
}

.promo-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    max-width: 90%;
}

.promo-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.promo-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.promo-image img {
    max-width: 180px;
    /* Smaller to fit two cards */
    transition: transform 0.5s ease;
}

.promo-card:hover .promo-image img {
    transform: scale(1.1) rotate(0deg) !important;
}

@media (max-width: 992px) {
    .hero-split {
        grid-template-columns: 1fr;
    }

    .promo-card {
        flex-direction: row;
    }
}

@media (max-width: 576px) {
    .promo-card {
        flex-direction: column-reverse;
        text-align: center;
        padding: 20px;
    }

    .promo-subtitle {
        margin: 0 auto 20px;
    }

    .promo-btns {
        justify-content: center;
    }

    .promo-image {
        margin-bottom: 20px;
    }
}

/* Secondary Slider Styles */
#secondary-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    width: 100%;
    margin-bottom: 60px;
    background: #0a0b0d;
}

.sec-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    z-index: 0;
}

.sec-slide.active {
    opacity: 1;
    z-index: 1;
}

.sec-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10, 11, 13, 0.95) 35%, rgba(10, 11, 13, 0.4) 100%);
    z-index: 1;
}

.sec-slide .hero-container {
    z-index: 2;
    position: relative;
    padding: 0 50px;
    width: 100%;
}

.sec-slide .hero-content {
    max-width: 600px;
}

.sec-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.sec-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.sec-dot.active {
    background: var(--primary);
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--primary);
}

@media (max-width: 768px) {
    #secondary-slider {
        height: auto;
        min-height: 550px;
    }

    .sec-slide {
        padding-top: 20px;
        align-items: flex-start;
    }

    .sec-slide .hero-container {
        flex-direction: column-reverse;
        padding: 20px;
        text-align: center;
    }

    .sec-slide .hero-image-wrapper {
        margin-bottom: 20px;
    }
}

/* Mobile Grid Standardization */
@media (max-width: 768px) {

    .game-grid,
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .game-card {
        border-radius: 8px;
    }

    .game-cover-wrapper {
        aspect-ratio: 3/4;
    }

    .game-info {
        padding: 10px;
    }

    .game-name {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .game-genre {
        font-size: 0.65rem;
    }

    .game-card .btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

}

/* Catalog Pagination */
.catalog-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    margin-top: -10px;
}

.pagination-dot {
    width: 10px;
    height: 10px;
    background-color: var(--text-secondary);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.pagination-dot:hover {
    opacity: 1;
    transform: scale(1.2);
}

.pagination-dot.active {
    background-color: #fff;
    opacity: 1;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Purple Glow Button (Home) */
/* Purple Glow Button (Home) */
.btn-purple-glow {
    background: linear-gradient(90deg, #a855f7, #d946ef) !important;
    background-image: linear-gradient(90deg, #a855f7, #d946ef) !important;
    color: white !important;
    border: none;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    display: inline-flex !important;
    align-items: center;
    gap: 10px !important;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.6) !important;
    transition: all 0.3s ease;
    text-decoration: none !important;
    margin-right: 15px !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.5px !important;
}

.btn-purple-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.9) !important;
    background: linear-gradient(90deg, #9333ea, #c026d3) !important;
}