/* ============================================================
   GO2RUN — CASES — NIGHT SPEED THEME
   ============================================================ */

:root {
    --bg-base:        #06070D;
    --bg-surface:     #0F1220;
    --bg-elevated:    #171B28;
    --fire:           #EE00EE;
    --fire-mid:       #BB00BB;
    --fire-glow:      rgba(238,0,238,0.25);
    --fire-subtle:    rgba(238,0,238,0.08);
    --fire-border:    rgba(238,0,238,0.35);
    --text-primary:   #EEF1FF;
    --text-secondary: #8A92B0;
    --border-subtle:  rgba(255,255,255,0.06);
    --border-mid:     rgba(255,255,255,0.12);
    --transition:     all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; }

body {
    background: var(--bg-base);
    color: var(--text-primary);
    font-family: 'DM Sans', sans-serif;
    margin: 0;
    padding-top: 72px;
    -webkit-font-smoothing: antialiased;
}

/* ── NAVBAR ── */
.navbar { position: fixed; top: 0; width: 100%; z-index: 1000; background: rgba(6,7,13,0.97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(238,0,238,0.18); padding: 0.6rem 0; }
.navbar .nav-link { color: rgba(255,255,255,0.88) !important; transition: color 0.2s; font-weight: 500; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: #EE00EE !important; }
.navbar .navbar-brand img { max-height: 36px; width: auto; }
.navbar .dropdown-menu { background: rgba(9,11,20,0.98); border: 1px solid rgba(255,255,255,0.08); border-radius: 6px; box-shadow: 0 8px 32px rgba(0,0,0,0.7); }
.navbar .dropdown-item { color: #8A92B0; transition: color 0.2s, background 0.2s; }
.navbar .dropdown-item:hover { background: rgba(238,0,238,0.1); color: #EE00EE; }
.navbar .btn-outline-primary { color: #EE00EE !important; border-color: #EE00EE !important; font-size: 0.85rem; padding: 0.35rem 1rem; }
.navbar .btn-outline-primary:hover { background: #EE00EE !important; color: #fff !important; }

/* ── HERO ── */
.hero-section {
    padding: 4rem 0 3rem;
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
}
.hero-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}
.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── CASE CARD ── */
.case-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}
.case-card:hover {
    border-color: var(--fire-border);
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(238,0,238,0.12);
}

.case-image-container {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.case-gradient {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    opacity: 0.88;
}
.case-images {
    position: relative;
    z-index: 2;
    padding: 16px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.case-main-image {
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    width: 160px;
    height: 185px;
    object-fit: cover;
    background: var(--bg-elevated);
    flex-shrink: 0;
    max-width: 100%;
}
.case-logo-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    align-items: center;
}
.case-logo {
    border-radius: 10px;
    height: 72px;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.12);
    overflow: hidden;
    backdrop-filter: blur(6px);
}
.case-logo img {
    max-width: 110px;
    max-height: 60px;
    object-fit: contain;
}

.case-content {
    padding: 1.2rem 1.4rem 1.6rem;
}
.case-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}
.case-link {
    color: var(--fire);
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.case-link:hover { color: var(--fire-mid); text-decoration: none; }

/* ── SHOW MORE ── */
.show-more-btn {
    background: transparent;
    border: 1px solid var(--fire-border);
    color: var(--fire);
    padding: 0.7rem 2.2rem;
    border-radius: 6px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: var(--transition);
}
.show-more-btn:hover {
    background: var(--fire);
    color: #fff;
    box-shadow: 0 6px 20px var(--fire-glow);
}

/* ── EMPTY STATE ── */
.text-muted { color: var(--text-secondary) !important; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .case-image-container { height: 190px; }
    .case-main-image { width: 130px; height: 155px; }
    .hero-section { padding: 2.5rem 0 2rem; }
}
@media (max-width: 480px) {
    .case-main-image { width: 110px; height: 130px; }
}
