/* ==========================
   DeepGenX Enterprise Theme
========================== */

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

:root {
    --primary: #0b5cff;
    --secondary: #07152b;
    --dark: #0f172a;
    --light: #f8fafc;
    --text: #334155;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px; /* Offset fixed header */
}

/* ==========================
   Global
========================== */

.container {
    width: min(1200px, 90%);
    margin: 0 auto;
}

section {
    padding: 100px 0;
}

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

h1, h2, h3, h4 {
    color: var(--dark);
    line-height: 1.2;
}

h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    color: var(--text);
}

/* ==========================
   Navbar
========================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,.06);
    transition: background 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
}

.nav-container {
    width: min(1200px, 90%);
    margin: auto;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--dark);
}

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

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

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

/* ==========================
   Hero
========================== */

.hero {
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, #07152b 0%, #0d2e61 100%);
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    color: white;
}

.hero-logo {
    width: 180px;
    margin-bottom: 2rem;
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    color: rgba(255,255,255,.85);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 14px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(11, 92, 255, 0.4);
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* ==========================
   Services
========================== */

.services {
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: .3s;
    border: 1px solid #f1f5f9;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* ==========================
   Dashboard
========================== */

.dashboard-section {
    background: #f8fafc;
}

.dashboard-image {
    max-width: 1000px;
    margin: auto;
}

.dashboard-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* ==========================
   Industries
========================== */

.industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.industry-card {
    background: white;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid #f1f5f9;
}

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

.industry-card-content {
    padding: 1.5rem;
    text-align: center;
}

/* ==========================
   Partners
========================== */

.partners {
    background: white;
    border-top: 1px solid #f1f5f9;
}

.partner-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
    padding: 20px 0;
}

.partner-logos img {
    height: 50px;
    width: auto;
    object-fit: contain;
    opacity: .7;
    transition: opacity 0.3s;
}

.partner-logos img:hover {
    opacity: 1;
}

/* ==========================
   About
========================== */

.about {
    background: #f8fafc;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.about-content h2 {
    text-align: left;
}

.about-content p {
    margin-top: 1.2rem;
    font-size: 1.1rem;
}

/* ==========================
   Contact
========================== */

.contact {
    background: #07152b;
    color: white;
}

.contact h2, .contact h3 {
    color: white;
}

.contact-form {
    max-width: 650px;
    margin: auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    margin-bottom: 1.2rem;
    color: white;
    font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255,255,255,0.1);
}

/* ==========================
   Footer
========================== */

footer {
    background: #020617;
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: 40px 20px;
    font-size: 0.95rem;
}

/* Scroll to Top Utility class helper */
#scrollTop.visible {
    display: block !important;
}

/* Scroll Animation Hooks */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================
   Responsive Design
========================== */

@media(max-width: 992px) {
    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero {
        text-align: center;
        padding: 40px 0;
    }

    .hero-logo {
        margin: 0 auto 2rem;
    }

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

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

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

    .about-content h2 {
        text-align: center;
    }
}

@media(max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .nav-container {
        height: 70px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }

    .nav-menu.active {
        max-height: 350px;
    }

    .nav-menu a {
        padding: 1.2rem 2rem;
        border-bottom: 1px solid #f1f5f9;
        display: block;
    }

    h2 {
        font-size: 2.2rem;
    }

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

    section {
        padding: 60px 0;
    }
    
    .partner-logos {
        gap: 2.5rem;
    }
    
    .partner-logos img {
        height: 40px;
    }
}
/* ==========================
   Upcoming Games Design
========================== */

.games-section {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    border-top: 1px solid #f1f5f9;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.game-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.game-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #10b981; /* Success Green */
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 30px;
    letter-spacing: 0.5px;
}

.game-badge.upcoming {
    background: var(--primary); /* DeepGenX Blue */
}

.game-content {
    padding: 2.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.game-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    margin-top: 0.5rem;
}

.game-genre {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
}

.game-description {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    padding-top: 1rem;
    border-top: 1px dashed #e2e8f0;
    margin-bottom: 1.5rem;
}

.btn-game-notify {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    text-align: center;
    width: 100%;
}

.btn-game-notify:hover {
    background: var(--primary);
}

/* Responsive adjustment for games layout */
@media(max-width: 992px) {
    .games-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}