/* ============================================================
   winb.click - style-winb-6299.css
   All custom classes and CSS variables use the "w6299-" prefix.
   Mobile-first canvas: 320-430px. Centered on wider screens.
   ============================================================ */

:root {
    --w6299-bg: #1B263B;
    --w6299-bg-2: #14203a;
    --w6299-bg-3: #0f1830;
    --w6299-primary: #9400D3;
    --w6299-primary-2: #b347e8;
    --w6299-accent: #DEB887;
    --w6299-accent-2: #D2B48C;
    --w6299-warm: #A0522D;
    --w6299-text: #f3ece0;
    --w6299-text-dim: #c4b8a4;
    --w6299-border: rgba(222, 184, 135, 0.22);
    --w6299-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
    --w6299-radius: 14px;
    --w6299-radius-sm: 10px;
    --w6299-header-h: 56px;
    --w6299-bottomnav-h: 60px;
    --w6299-maxw: 440px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--w6299-bg);
    color: var(--w6299-text);
    font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, -apple-system, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
}

a { color: var(--w6299-accent); text-decoration: none; }
a:focus-visible { outline: 2px solid var(--w6299-accent); outline-offset: 2px; }
img { max-width: 100%; display: block; }

/* ===== App canvas: mobile-first, centered on wide screens ===== */
.w6299-shell {
    max-width: var(--w6299-maxw);
    margin: 0 auto;
    min-height: 100vh;
    background: linear-gradient(180deg, var(--w6299-bg) 0%, var(--w6299-bg-2) 60%, var(--w6299-bg-3) 100%);
    position: relative;
    box-shadow: 0 0 40px rgba(0,0,0,0.45);
}

/* ===== Header: centered identity bar ===== */
.w6299-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-width: var(--w6299-maxw);
    margin: 0 auto;
    z-index: 1000;
    height: var(--w6299-header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 12px;
    background: linear-gradient(90deg, rgba(20,32,58,0.96), rgba(15,24,48,0.96));
    border-bottom: 1px solid var(--w6299-border);
    backdrop-filter: blur(6px);
}

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

.w6299-brand .w6299-logo {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    object-fit: cover;
    border: 1px solid var(--w6299-accent);
    box-shadow: 0 0 0 2px rgba(222,184,135,0.15);
    flex-shrink: 0;
}

.w6299-brand .w6299-name {
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.5px;
    color: var(--w6299-text);
    line-height: 1.1;
    white-space: nowrap;
}
.w6299-brand .w6299-name span { color: var(--w6299-accent); }

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

.w6299-btn {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}
.w6299-btn:active { transform: scale(0.97); }

.w6299-btn-login {
    background: transparent;
    color: var(--w6299-accent);
    border: 1px solid var(--w6299-accent);
}
.w6299-btn-login:hover { background: rgba(222,184,135,0.12); }

.w6299-btn-register {
    background: linear-gradient(135deg, var(--w6299-primary), var(--w6299-primary-2));
    color: #fff;
    box-shadow: 0 4px 14px rgba(148,0,211,0.4);
}
.w6299-btn-register:hover { box-shadow: 0 6px 18px rgba(148,0,211,0.55); }

.w6299-menu-btn {
    background: transparent;
    border: 1px solid var(--w6299-border);
    color: var(--w6299-text);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease;
}
.w6299-menu-btn:hover { background: rgba(222,184,135,0.1); }
.w6299-menu-btn .w6299-bars {
    display: flex; flex-direction: column; gap: 3px;
}
.w6299-menu-btn .w6299-bars span {
    display: block; width: 16px; height: 2px; background: var(--w6299-accent); border-radius: 2px;
}

/* ===== Layered dropdown menu ===== */
.w6299-menu {
    position: absolute;
    top: calc(var(--w6299-header-h));
    right: 8px;
    width: 240px;
    max-height: 0;
    overflow: hidden;
    background: var(--w6299-bg-3);
    border: 1px solid var(--w6299-border);
    border-radius: 12px;
    box-shadow: var(--w6299-shadow);
    z-index: 59;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.25s ease;
    opacity: 0;
    padding: 0 10px;
}
.w6299-menu-open {
    max-height: 520px;
    opacity: 1;
    padding: 10px;
}
.w6299-menu-section {
    padding: 6px 4px;
    border-bottom: 1px dashed rgba(222,184,135,0.18);
}
.w6299-menu-section:last-child { border-bottom: none; }
.w6299-menu-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--w6299-accent);
    margin: 4px 0 4px;
    font-weight: 700;
}
.w6299-menu-section a {
    display: block;
    padding: 8px 8px;
    color: var(--w6299-text);
    font-size: 13.5px;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}
.w6299-menu-section a:hover { background: rgba(148,0,211,0.18); color: #fff; }

/* ===== Main / sections ===== */
.w6299-main {
    padding: calc(var(--w6299-header-h) + 14px) 12px 0;
    padding-bottom: calc(var(--w6299-bottomnav-h) + 110px);
}

.w6299-section {
    margin: 22px 0 6px;
}
.w6299-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}
.w6299-section-head h2 {
    font-size: 17px;
    margin: 0;
    color: var(--w6299-text);
    font-weight: 800;
    border-left: 3px solid var(--w6299-accent);
    padding-left: 9px;
}
.w6299-section-head .w6299-more {
    font-size: 12px;
    color: var(--w6299-accent-2);
}
.w6299-chips {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 2px 0 8px;
    -webkit-overflow-scrolling: touch;
}
.w6299-chips::-webkit-scrollbar { display: none; }
.w6299-chip {
    flex-shrink: 0;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    background: rgba(222,184,135,0.08);
    border: 1px solid var(--w6299-border);
    color: var(--w6299-text);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.w6299-chip:hover { background: var(--w6299-primary); color: #fff; }

/* ===== Hero carousel ===== */
.w6299-hero {
    position: relative;
    border-radius: var(--w6299-radius);
    overflow: hidden;
    box-shadow: var(--w6299-shadow);
    margin: 4px 0 6px;
    aspect-ratio: 16 / 9;
    background: #000;
}
.w6299-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
    cursor: pointer;
}
.w6299-slide img { width: 100%; height: 100%; object-fit: cover; }
.w6299-slide-active { opacity: 1; }
.w6299-slide-overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 12px;
    background: linear-gradient(180deg, transparent, rgba(15,24,48,0.85));
    color: #fff;
}
.w6299-slide-overlay strong { font-size: 16px; display: block; color: var(--w6299-accent); }
.w6299-slide-overlay span { font-size: 12px; color: var(--w6299-text-dim); }
.w6299-dots {
    position: absolute;
    bottom: 8px;
    right: 10px;
    display: flex;
    gap: 5px;
    z-index: 2;
}
.w6299-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(255,255,255,0.45);
    transition: background 0.25s ease, transform 0.25s ease;
    cursor: pointer;
}
.w6299-dot-active { background: var(--w6299-accent); transform: scale(1.25); }

/* ===== Promo CTA strip ===== */
.w6299-cta-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 10px 0;
}
.w6299-cta {
    background: linear-gradient(135deg, rgba(148,0,211,0.22), rgba(222,184,135,0.12));
    border: 1px solid var(--w6299-border);
    border-radius: var(--w6299-radius-sm);
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.25s ease;
}
.w6299-cta:active { transform: scale(0.98); }
.w6299-cta strong { display: block; color: var(--w6299-accent); font-size: 14px; }
.w6299-cta span { font-size: 11px; color: var(--w6299-text-dim); }

/* ===== Game grid ===== */
.w6299-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
@media (min-width: 360px) {
    .w6299-grid { gap: 9px; }
}
@media (min-width: 400px) {
    .w6299-grid { grid-template-columns: repeat(5, 1fr); }
}

.w6299-game {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--w6299-border);
    border-radius: var(--w6299-radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}
.w6299-game:hover {
    transform: translateY(-2px);
    border-color: var(--w6299-accent);
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}
.w6299-game-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #0c1428;
}
.w6299-game-name {
    font-size: 11.5px;
    line-height: 1.25;
    padding: 5px 4px 6px;
    text-align: center;
    color: var(--w6299-text);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 30px;
}

/* ===== Info / FAQ / security blocks ===== */
.w6299-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--w6299-border);
    border-radius: var(--w6299-radius-sm);
    padding: 12px;
    margin: 8px 0;
}
.w6299-card h3 {
    margin: 0 0 6px;
    font-size: 15px;
    color: var(--w6299-accent);
}
.w6299-card p { margin: 0 0 8px; font-size: 13.5px; color: var(--w6299-text-dim); }
.w6299-card p:last-child { margin-bottom: 0; }

.w6299-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 8px 0;
}
.w6299-info-grid .w6299-card { margin: 0; }

/* FAQ accordion */
.w6299-faq-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--w6299-border);
    border-radius: var(--w6299-radius-sm);
    margin-bottom: 8px;
    overflow: hidden;
}
.w6299-faq-q {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--w6299-text);
    font-weight: 700;
    font-size: 13.5px;
    padding: 11px 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
    font-family: inherit;
}
.w6299-faq-q .w6299-plus { color: var(--w6299-accent); font-size: 18px; transition: transform 0.25s ease; }
.w6299-faq-item.w6299-faq-open .w6299-plus { transform: rotate(45deg); }
.w6299-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 12px;
    color: var(--w6299-text-dim);
    font-size: 13px;
}
.w6299-faq-open .w6299-faq-a {
    max-height: 360px;
    padding: 0 12px 12px;
}

/* SEO prose */
.w6299-prose {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--w6299-border);
    border-radius: var(--w6299-radius-sm);
    padding: 14px;
    margin: 12px 0;
}
.w6299-prose h2 {
    margin: 0 0 8px;
    font-size: 16px;
    color: var(--w6299-text);
}
.w6299-prose h3 {
    margin: 12px 0 4px;
    font-size: 14px;
    color: var(--w6299-accent);
}
.w6299-prose p {
    margin: 0 0 10px;
    color: var(--w6299-text-dim);
    font-size: 13.5px;
}
.w6299-prose ul { margin: 0 0 10px; padding-left: 18px; color: var(--w6299-text-dim); font-size: 13.5px; }
.w6299-prose li { margin-bottom: 4px; }

/* ===== Extended footer ===== */
.w6299-extended {
    margin: 22px 0 0;
    padding: 16px 0 0;
    border-top: 1px solid var(--w6299-border);
}
.w6299-ext-block {
    margin-bottom: 14px;
}
.w6299-ext-block h4 {
    margin: 0 0 8px;
    font-size: 13px;
    color: var(--w6299-accent);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.w6299-ext-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.w6299-ext-list li a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 9px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--w6299-border);
    border-radius: 8px;
    font-size: 12px;
    color: var(--w6299-text);
    transition: background 0.2s ease, color 0.2s ease;
}
.w6299-ext-list li a:hover { background: rgba(148,0,211,0.2); color: #fff; }
.w6299-ext-list li a .w6299-ico { width: 16px; height: 16px; flex-shrink: 0; color: var(--w6299-accent); }

.w6299-promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.w6299-promo-grid li a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 10px;
    background: linear-gradient(135deg, rgba(148,0,211,0.18), rgba(222,184,135,0.1));
    border: 1px solid var(--w6299-border);
    border-radius: 8px;
    font-size: 12px;
    color: var(--w6299-accent);
    font-weight: 700;
}

.w6299-brand-blurb {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--w6299-border);
    border-radius: var(--w6299-radius-sm);
    padding: 12px;
    font-size: 12.5px;
    color: var(--w6299-text-dim);
    margin-bottom: 12px;
}
.w6299-brand-blurb strong { color: var(--w6299-accent); }

.w6299-disclaimer {
    font-size: 11px;
    color: var(--w6299-text-dim);
    background: rgba(0,0,0,0.18);
    border-left: 3px solid var(--w6299-warm);
    padding: 8px 10px;
    border-radius: 6px;
    margin-top: 6px;
}

/* ===== Footer (copyright) ===== */
.w6299-footer {
    text-align: center;
    padding: 12px 12px calc(var(--w6299-bottomnav-h) + 14px);
    font-size: 11px;
    color: var(--w6299-text-dim);
    border-top: 1px solid var(--w6299-border);
    background: rgba(0,0,0,0.18);
}

/* ===== Mobile bottom nav: layered bar ===== */
.w6299-bottomnav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: var(--w6299-maxw);
    margin: 0 auto;
    height: var(--w6299-bottomnav-h);
    background: linear-gradient(180deg, rgba(20,32,58,0.98), rgba(15,24,48,0.99));
    border-top: 1px solid var(--w6299-border);
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    z-index: 1000;
    box-shadow: 0 -4px 18px rgba(0,0,0,0.4);
    padding-bottom: env(safe-area-inset-bottom, 0);
}
.w6299-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--w6299-text-dim);
    font-size: 10px;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    border: none;
    font-family: inherit;
    transition: color 0.25s ease, transform 0.2s ease;
    position: relative;
    padding: 6px 2px;
}
.w6299-nav-item .w6299-nav-ico {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: fill 0.25s ease, stroke 0.25s ease;
}
.w6299-nav-item:hover { color: var(--w6299-accent-2); }
.w6299-nav-item.w6299-nav-active { color: var(--w6299-accent); }
.w6299-nav-item.w6299-nav-active .w6299-nav-ico {
    fill: var(--w6299-accent);
    stroke: var(--w6299-accent);
}
.w6299-nav-item.w6299-nav-active::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 3px;
    background: var(--w6299-accent);
    border-radius: 0 0 3px 3px;
}

/* Keep the mobile navigation inside the centered phone canvas. */
@media (min-width: 769px) {
    .w6299-bottomnav { display: none; }
}
@media (min-width: 600px) {
    .w6299-bottomnav { position: fixed; }
}

/* Utility */
.w6299-visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}
