@charset "utf-8";
/*!
 * Super King App - screen stylesheet
 * Mobile-first PH gaming portal. All custom classes use the vdc5- prefix.
 * Palette: #3A3A3A (deep ink) / #FFCC02 (crown gold) / #FF6347 (tomato)
 *          #AFEEEE (pale cyan) / #E8F5E8 (mint) / #CCCCCC (silver text)
 * Comments in English only.
 */

:root {
    --vdc5-ink: #3A3A3A;
    --vdc5-ink-soft: #2a2a2a;
    --vdc5-ink-deep: #1e1e1e;
    --vdc5-gold: #FFCC02;
    --vdc5-gold-soft: #fff0a8;
    --vdc5-tomato: #FF6347;
    --vdc5-tomato-soft: #ff8e78;
    --vdc5-cyan: #AFEEEE;
    --vdc5-mint: #E8F5E8;
    --vdc5-silver: #CCCCCC;
    --vdc5-line: rgba(255, 255, 255, 0.10);
    --vdc5-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
    --vdc5-radius: 14px;
    --vdc5-radius-sm: 10px;
    --vdc5-touch: 44px;
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: "Segoe UI", "Helvetica Neue", Arial, "Tahoma", sans-serif;
    background: var(--vdc5-ink);
    color: #f4f4f4;
    font-size: 15px;
    line-height: 1.55;
    overflow-x: hidden;
}

/* Centered mobile canvas on wide screens. No desktop layout is provided. */
.vdc5-canvas {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
    background: linear-gradient(180deg, #34343a 0%, #2c2c30 60%, #232326 100%);
    position: relative;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.45);
    padding-bottom: 84px; /* clearance for fixed bottom nav */
}

a {
    color: var(--vdc5-gold);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

h1, h2, h3, h4 {
    margin: 0 0 0.5em;
    line-height: 1.25;
    font-weight: 700;
    color: #ffffff;
}

p {
    margin: 0 0 0.85em;
}

/* ===================== Header ===================== */
.vdc5-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(180deg, rgba(28, 28, 30, 0.96) 0%, rgba(28, 28, 30, 0.88) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--vdc5-line);
}

.vdc5-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
}

.vdc5-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.vdc5-brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    object-fit: cover;
    background: var(--vdc5-gold);
    box-shadow: 0 2px 8px rgba(255, 204, 2, 0.35);
    flex: 0 0 auto;
}

.vdc5-brand-text {
    min-width: 0;
}

.vdc5-brand-name {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.2px;
    line-height: 1.1;
}

.vdc5-brand-tag {
    font-size: 10px;
    color: var(--vdc5-gold);
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.vdc5-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.vdc5-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--vdc5-touch);
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    border: 0;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.vdc5-btn:active {
    transform: scale(0.94);
}

.vdc5-btn-primary {
    background: linear-gradient(135deg, var(--vdc5-gold) 0%, #ffb700 100%);
    color: #2a1d00;
    box-shadow: 0 4px 12px rgba(255, 204, 2, 0.35);
}

.vdc5-btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid var(--vdc5-line);
}

.vdc5-menu-trigger {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--vdc5-line);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.vdc5-menu-trigger span {
    display: block;
    width: 18px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
}

/* Expanded menu (slide-down rail) */
.vdc5-nav-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
    background: rgba(20, 20, 22, 0.97);
    border-top: 1px solid var(--vdc5-line);
}

.vdc5-nav-menu.vdc5-menu-open {
    max-height: 560px;
}

.vdc5-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--vdc5-line);
    padding: 1px;
}

.vdc5-nav-link {
    display: block;
    padding: 14px 14px;
    background: #262629;
    color: #f1f1f1;
    font-size: 13px;
    font-weight: 600;
    min-height: var(--vdc5-touch);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.vdc5-nav-link:hover {
    background: #2f2f33;
    color: var(--vdc5-gold);
    text-decoration: none;
}

.vdc5-nav-link::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--vdc5-tomato);
    flex: 0 0 auto;
}

.vdc5-nav-link-promo::before {
    background: var(--vdc5-gold);
}

/* ===================== Hero carousel ===================== */
.vdc5-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--vdc5-line);
}

.vdc5-hero-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.4, 0.0, 0.2, 1);
    will-change: transform;
}

.vdc5-hero-slide {
    flex: 0 0 100%;
    position: relative;
}

.vdc5-hero-slide img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.vdc5-hero-caption {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 100%);
    color: #ffffff;
    padding: 26px 14px 12px;
    border-radius: 12px;
}

.vdc5-hero-title {
    font-size: 19px;
    font-weight: 800;
    margin: 0 0 4px;
}

.vdc5-hero-sub {
    font-size: 12px;
    color: var(--vdc5-gold);
    margin: 0;
}

.vdc5-hero-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.vdc5-hero-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 0;
    padding: 0;
    cursor: pointer;
}

/* ===================== Quick promo strip ===================== */
.vdc5-promo-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px;
}

.vdc5-promo-tile {
    background: linear-gradient(135deg, rgba(255, 99, 71, 0.18) 0%, rgba(255, 204, 2, 0.12) 100%);
    border: 1px solid rgba(255, 204, 2, 0.22);
    border-radius: var(--vdc5-radius-sm);
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.12s ease;
}

.vdc5-promo-tile:active {
    transform: scale(0.96);
}

.vdc5-promo-tile-num {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: var(--vdc5-gold);
    line-height: 1.1;
}

.vdc5-promo-tile-label {
    font-size: 11px;
    color: #ffffff;
    margin-top: 4px;
    display: block;
}

/* ===================== Sections ===================== */
.vdc5-section {
    padding: 14px 12px 6px;
}

.vdc5-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 8px;
}

.vdc5-section-title {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    position: relative;
    padding-left: 12px;
    margin: 0;
}

.vdc5-section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, var(--vdc5-gold), var(--vdc5-tomato));
    border-radius: 4px;
}

.vdc5-section-link {
    font-size: 12px;
    color: var(--vdc5-gold);
    font-weight: 600;
}

/* ===================== Game grid ===================== */
.vdc5-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

@media (min-width: 375px) {
    .vdc5-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
}

@media (min-width: 400px) {
    .vdc5-game-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.vdc5-game-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--vdc5-line);
    border-radius: var(--vdc5-radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.18s ease;
    display: block;
    text-align: center;
    padding: 0;
    color: inherit;
}

.vdc5-game-card:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 204, 2, 0.45);
}

.vdc5-game-card:active {
    transform: scale(0.96);
}

.vdc5-game-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #15151a;
}

.vdc5-game-name {
    display: block;
    font-size: 11px;
    line-height: 1.25;
    color: #f1f1f1;
    padding: 6px 4px 8px;
    min-height: 32px;
    word-break: break-word;
}

.vdc5-game-card:hover .vdc5-game-name {
    color: var(--vdc5-gold);
}

/* Category divider with chip */
.vdc5-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--vdc5-cyan);
    padding: 4px 10px;
    border: 1px solid rgba(175, 238, 238, 0.3);
    border-radius: 999px;
    background: rgba(175, 238, 238, 0.06);
    margin-bottom: 8px;
}

/* ===================== Feature / info cards ===================== */
.vdc5-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.vdc5-info-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--vdc5-line);
    border-radius: var(--vdc5-radius-sm);
    padding: 12px;
}

.vdc5-info-card h3 {
    font-size: 14px;
    color: var(--vdc5-gold);
    margin: 0 0 6px;
}

.vdc5-info-card p {
    font-size: 12.5px;
    margin: 0;
    color: #e8e8e8;
}

/* Three-column compact strip */
.vdc5-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.vdc5-mini-item {
    background: linear-gradient(135deg, rgba(175, 238, 238, 0.10) 0%, rgba(232, 245, 232, 0.05) 100%);
    border: 1px solid rgba(175, 238, 238, 0.18);
    border-radius: var(--vdc5-radius-sm);
    padding: 10px 6px;
    text-align: center;
}

.vdc5-mini-num {
    display: block;
    font-weight: 800;
    color: var(--vdc5-cyan);
    font-size: 16px;
}

.vdc5-mini-text {
    display: block;
    font-size: 11px;
    color: #f1f1f1;
    margin-top: 4px;
}

/* Testimonial cards */
.vdc5-testi {
    background: rgba(255, 255, 255, 0.04);
    border-left: 3px solid var(--vdc5-gold);
    border-radius: var(--vdc5-radius-sm);
    padding: 12px;
    margin-bottom: 8px;
}

.vdc5-testi-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--vdc5-gold);
    margin: 0 0 4px;
}

.vdc5-testi-text {
    font-size: 13px;
    color: #f1f1f1;
    margin: 0;
    font-style: italic;
}

/* SEO text block */
.vdc5-seo-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--vdc5-line);
    border-radius: var(--vdc5-radius);
    padding: 14px;
    margin: 14px 12px;
    font-size: 13.5px;
    color: #d9d9d9;
}

.vdc5-seo-block h2 {
    font-size: 16px;
    margin: 0 0 8px;
}

.vdc5-seo-block h3 {
    font-size: 14px;
    color: var(--vdc5-gold);
    margin: 12px 0 4px;
}

.vdc5-seo-block p {
    margin: 0 0 10px;
}

/* Inline internal link inside paragraphs */
.vdc5-inline-link {
    color: var(--vdc5-gold);
    font-weight: 600;
    border-bottom: 1px dashed rgba(255, 204, 2, 0.5);
}

.vdc5-inline-link:hover {
    text-decoration: none;
    border-bottom-style: solid;
}

/* ===================== Extended footer ===================== */
.vdc5-ext-footer {
    margin: 12px 0 0;
    padding: 16px 12px;
    background: linear-gradient(180deg, #202024 0%, #18181b 100%);
    border-top: 1px solid var(--vdc5-line);
}

.vdc5-ext-block {
    margin-bottom: 16px;
}

.vdc5-ext-block:last-child {
    margin-bottom: 0;
}

.vdc5-ext-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--vdc5-cyan);
    margin: 0 0 8px;
}

.vdc5-ext-shortcuts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.vdc5-ext-shortcut {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--vdc5-line);
    border-radius: var(--vdc5-radius-sm);
    color: #f1f1f1;
    font-size: 11px;
    text-align: center;
    min-height: var(--vdc5-touch);
    justify-content: center;
    cursor: pointer;
    transition: transform 0.12s ease, border-color 0.18s ease;
}

.vdc5-ext-shortcut:hover {
    text-decoration: none;
    color: var(--vdc5-gold);
    border-color: rgba(255, 204, 2, 0.45);
    transform: translateY(-1px);
}

.vdc5-ext-shortcut:active {
    transform: scale(0.96);
}

.vdc5-ext-shortcut .vdc5-glyph {
    font-size: 18px;
    line-height: 1;
}

.vdc5-ext-shortcut.vdc5-ext-promo {
    background: linear-gradient(135deg, rgba(255, 99, 71, 0.22) 0%, rgba(255, 204, 2, 0.18) 100%);
    border-color: rgba(255, 204, 2, 0.4);
}

.vdc5-ext-directory {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.vdc5-ext-directory a {
    font-size: 12px;
    color: #d9d9d9;
    padding: 6px 4px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.vdc5-ext-directory a:hover {
    color: var(--vdc5-gold);
    text-decoration: none;
}

.vdc5-disclaimer {
    font-size: 11px;
    color: #999;
    line-height: 1.5;
    border-top: 1px solid var(--vdc5-line);
    padding-top: 12px;
}

/* ===================== Bottom navigation ===================== */
.vdc5-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: linear-gradient(180deg, rgba(28, 28, 30, 0.96) 0%, rgba(18, 18, 20, 1) 100%);
    border-top: 1px solid var(--vdc5-line);
    z-index: 60;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.4);
}

.vdc5-navbtn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 2px 10px;
    color: #b6b6b6;
    font-size: 10px;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    min-height: 60px;
    transition: transform 0.12s ease, color 0.18s ease;
    position: relative;
}

.vdc5-navbtn:active {
    transform: scale(0.92);
}

.vdc5-navbtn-icon {
    width: 22px;
    height: 22px;
    display: block;
}

.vdc5-navbtn-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.vdc5-navbtn-label {
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.2px;
}

.vdc5-navbtn-active {
    color: var(--vdc5-gold);
    transform: translateY(-3px);
}

.vdc5-navbtn-active::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--vdc5-gold);
    border-radius: 0 0 4px 4px;
}

.vdc5-navbtn-promo {
    color: var(--vdc5-tomato);
}

.vdc5-navbtn-promo.vdc5-navbtn-active {
    color: var(--vdc5-gold);
}

/* Copyright line */
.vdc5-copyright {
    text-align: center;
    padding: 14px 12px 8px;
    font-size: 11px;
    color: #888;
    background: #18181b;
}

/* Reveal animation */
.vdc5-reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.vdc5-reveal.vdc5-revealed {
    opacity: 1;
    transform: none;
}

/* No-desktop rule: hide bottom nav cannot happen — keep mobile canvas */
@media (min-width: 600px) {
    .vdc5-canvas {
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        border-right: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* Visually-hidden helper for a11y labels */
.vdc5-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
