/* ===========================================================
   BORDEM BUSTER ARCADE — GX DARK PURPLE THEME
   =========================================================== */

:root {
    --bg-main: #0C0B1A;
    --bg-secondary: #151326;
    --glass: rgba(255,255,255,0.05);
    --glass-border: rgba(255,255,255,0.08);
    --white-soft: #E4E6FF;
    --white-dim: #A7A9C9;

    --blue: #4AA8FF;
    --purple: #6A4BFF;
    --pink: #D36BFF;

    --card-soft: rgba(255,255,255,0.06);
}

/* GLOBAL */

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: linear-gradient(145deg, var(--bg-main), var(--bg-secondary));
    color: var(--white-soft);
}

/* NAVBAR */

.navbar {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: sticky;
    top: 0;
    z-index: 20;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--blue);
}

.nav-links a {
    margin-left: 22px;
    text-decoration: none;
    font-size: 0.95rem;
    color: var(--white-dim);
    transition: 0.25s ease;
}

.nav-links a:hover {
    color: var(--white-soft);
}


/* HERO SECTION */

.hero {
    margin: 40px auto;
    width: 90%;
    height: 260px;
    border-radius: 26px;
    background: linear-gradient(135deg, #131227 0%, #1D1A36 100%);
    display: flex;
    justify-content: space-between;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.hero-content {
    z-index: 10;
    max-width: 480px;
}

.hero h1 {
    font-size: 2.6rem;
    margin: 0;
}

.hero p {
    font-size: 1rem;
    margin-top: 6px;
    opacity: 0.8;
}

/* HERO BUTTONS */

.hero-buttons {
    margin-top: 20px;
    display: flex;
    gap: 14px;
}

.hero-btn {
    padding: 12px 24px;
    border-radius: 14px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    transition: 0.25s ease;
}

.hero-btn.primary {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: white;
    box-shadow: 0 0 15px rgba(90,110,255,0.3);
}

.hero-btn.secondary {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    color: var(--white-soft);
}

.hero-btn:hover {
    transform: translateY(-2px);
}


/* HERO ART */

.hero-art {
    width: 420px;
    opacity: 0.4;
    border-radius: 200px;
    background: radial-gradient(circle at 30% 20%, var(--blue), transparent 70%);
    filter: blur(15px);
    transform: translate(80px, -20px);
}


/* GAME GRID */

.game-grid {
    width: 90%;
    margin: 40px auto 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    grid-gap: 30px;
}

/* GAME CARD */

.game-card {
    height: 260px;
    background: var(--card-soft);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 25px rgba(0,0,0,0.4);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(120,90,255,0.35);
}

/* Thumbnail gradients */

.thumb {
    height: 60%;
    background-size: cover;
    background-position: center;
}

.gradient-life {
    background: linear-gradient(135deg, #3740A0, #4AA8FF);
}

.gradient-ttt {
    background: linear-gradient(135deg, #5C37A0, #A96EFF);
}

.gradient-snake {
    background: linear-gradient(135deg, #0097A7, #29D7F7);
}

.gradient-aim {
    background: linear-gradient(135deg, #7B5AF0, #56C4FF);
}

/* CARD TEXT */

.info {
    padding: 16px 20px;
}

.info h3 {
    margin: 0;
    font-size: 1.2rem;
}

.stats {
    margin-top: 9px;
    font-size: 0.85rem;
    opacity: 0.85;
}

.stats span {
    display: inline-flex;
    align-items: center;
    margin-right: 12px;
}

.stats img {
    width: 16px;
    margin-right: 6px;
}


/* MODAL */

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hidden {
    display: none;
}

.modal-content {
    width: 88%;
    height: 85%;
    background: rgba(255,255,255,0.04);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 40px rgba(0,0,0,0.6);
    position: relative;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* CLOSE BUTTON */

.close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 8px 14px;
    border-radius: 10px;
    cursor: pointer;
    color: var(--white-soft);
    font-size: 1rem;
    transition: 0.25s;
}

.close-btn:hover {
    background: rgba(255,255,255,0.15);
}
