/* ============================================================
   1win casino - style-9193.css
   All custom classes use the dynamic prefix "v3d4-".
   CSS variables use the "v3d4-" prefix.
   Palette: #BC8F8F | #1B263B | #FFE135 | #F5DEB3 | #FFEF94
   Mobile-first. Root font 62.5% => 1rem = 10px.
   ============================================================ */

:root {
    --v3d4-bg: #1B263B;
    --v3d4-bg-2: #243049;
    --v3d4-bg-3: #0f1828;
    --v3d4-primary: #FFE135;
    --v3d4-text: #F5DEB3;
    --v3d4-text-bright: #FFEF94;
    --v3d4-muted: #BC8F8F;
    --v3d4-accent: #FFE135;
    --v3d4-card: #243049;
    --v3d4-border: rgba(255, 238, 94, 0.18);
    --v3d4-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    --v3d4-radius: 14px;
}

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

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

body {
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(160deg, var(--v3d4-bg-3) 0%, var(--v3d4-bg) 60%, var(--v3d4-bg-2) 100%);
    color: var(--v3d4-text);
    line-height: 1.5rem;
    font-size: 1.5rem;
    min-height: 100vh;
    overflow-x: hidden;
}

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

a { color: var(--v3d4-primary); text-decoration: none; }
a:hover { color: var(--v3d4-text-bright); }

/* ---------- Layout helpers ---------- */
.v3d4-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.v3d4-wrapper { width: 100%; max-width: 430px; margin: 0 auto; }

/* ---------- Header ---------- */
.v3d4-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(15, 24, 40, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--v3d4-border);
}
.v3d4-header-inner {
    max-width: 430px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.7rem 1.2rem;
    min-height: 56px;
}
.v3d4-logo {
    display: flex; align-items: center; gap: 0.7rem;
    color: var(--v3d4-text-bright);
    font-weight: 800; font-size: 1.7rem; letter-spacing: 0.3px;
}
.v3d4-logo img { width: 28px; height: 28px; border-radius: 6px; }
.v3d4-logo span { background: linear-gradient(90deg, var(--v3d4-primary), var(--v3d4-text-bright)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.v3d4-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.v3d4-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 0.4rem;
    border: none; border-radius: 999px;
    font-size: 1.3rem; font-weight: 700;
    padding: 0.7rem 1.3rem; cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    min-height: 38px;
}
.v3d4-btn-primary { background: linear-gradient(135deg, var(--v3d4-primary), #ffd400); color: #1B263B; box-shadow: 0 4px 14px rgba(255, 225, 53, 0.35); }
.v3d4-btn-primary:hover { transform: translateY(-1px); filter: brightness(1.05); }
.v3d4-btn-ghost { background: transparent; color: var(--v3d4-text); border: 1px solid var(--v3d4-border); }
.v3d4-btn-ghost:hover { background: rgba(255, 238, 94, 0.08); }
.v3d4-btn-block { width: 100%; padding: 1rem; font-size: 1.5rem; }
.v3d4-btn-lg { padding: 1.1rem 2rem; font-size: 1.6rem; }

.v3d4-menu-toggle {
    background: transparent; border: none; color: var(--v3d4-text);
    font-size: 2rem; cursor: pointer; padding: 0.4rem;
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; min-height: 40px;
}

/* ---------- Mobile menu drawer ---------- */
.v3d4-mobile-menu {
    position: fixed; top: 0; right: 0;
    width: 80%; max-width: 320px; height: 100vh;
    background: var(--v3d4-bg-3);
    border-left: 1px solid var(--v3d4-border);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 1.6rem 1.4rem;
    overflow-y: auto;
}
.v3d4-mobile-menu.v3d4-menu-open { transform: translateX(0); }
.v3d4-menu-overlay {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9998;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
}
.v3d4-mobile-menu.v3d4-menu-open ~ .v3d4-menu-overlay { opacity: 1; pointer-events: auto; }
.v3d4-menu-title { color: var(--v3d4-text-bright); font-size: 1.6rem; font-weight: 800; margin-bottom: 1.2rem; }
.v3d4-menu-link {
    display: block; padding: 1rem 0.6rem;
    color: var(--v3d4-text); font-size: 1.45rem;
    border-bottom: 1px solid rgba(255, 238, 94, 0.08);
}
.v3d4-menu-link:hover { color: var(--v3d4-primary); background: rgba(255, 238, 94, 0.05); padding-left: 1rem; }
.v3d4-menu-cta { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 0.8rem; }

body.v3d4-no-scroll { overflow: hidden; }

/* ---------- Main ---------- */
main { padding-top: 72px; padding-bottom: 80px; }
.v3d4-section { padding: 2rem 0; }
.v3d4-section-alt { background: rgba(36, 48, 73, 0.5); border-top: 1px solid var(--v3d4-border); border-bottom: 1px solid var(--v3d4-border); }

.v3d4-h1 {
    font-size: 2.2rem; font-weight: 800; line-height: 2.8rem;
    color: var(--v3d4-text-bright); margin-bottom: 0.8rem;
}
.v3d4-h2 {
    font-size: 1.9rem; font-weight: 800; line-height: 2.4rem;
    color: var(--v3d4-primary); margin: 1.6rem 0 0.8rem;
    display: flex; align-items: center; gap: 0.6rem;
}
.v3d4-h2 i { color: var(--v3d4-primary); }
.v3d4-h3 { font-size: 1.55rem; font-weight: 700; color: var(--v3d4-text-bright); margin: 1.2rem 0 0.6rem; }
.v3d4-p { margin-bottom: 0.9rem; color: var(--v3d4-text); font-size: 1.45rem; line-height: 2.3rem; }
.v3d4-muted { color: var(--v3d4-muted); }

/* ---------- Carousel ---------- */
.v3d4-carousel { position: relative; border-radius: var(--v3d4-radius); overflow: hidden; margin: 1.2rem 0; box-shadow: var(--v3d4-shadow); }
.v3d4-slide {
    display: none; position: relative; cursor: pointer;
}
.v3d4-slide.v3d4-slide-active { display: block; }
.v3d4-slide img { width: 100%; height: 180px; object-fit: cover; }
.v3d4-slide-cap {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 1rem 1.2rem;
    background: linear-gradient(transparent, rgba(15, 24, 40, 0.85));
    color: var(--v3d4-text-bright); font-weight: 700; font-size: 1.4rem;
}
.v3d4-slide-dots { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; }
.v3d4-slide-dot {
    display: inline-block; width: 8px; height: 8px; margin: 0 3px;
    border-radius: 50%; background: rgba(245, 222, 179, 0.45); cursor: pointer;
}
.v3d4-slide-dot.v3d4-dot-active { background: var(--v3d4-primary); }
.v3d4-carousel-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(15, 24, 40, 0.6); color: var(--v3d4-text);
    border: none; width: 32px; height: 32px; border-radius: 50%;
    font-size: 1.6rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.v3d4-carousel-arrow.v3d4-prev { left: 8px; }
.v3d4-carousel-arrow.v3d4-next { right: 8px; }

/* ---------- Game grid ---------- */
.v3d4-game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin: 1rem 0;
}
.v3d4-game-tile {
    background: var(--v3d4-card);
    border: 1px solid var(--v3d4-border);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    opacity: 0; transform: translateY(8px);
}
.v3d4-game-tile.v3d4-reveal { opacity: 1; transform: translateY(0); }
.v3d4-game-tile:hover { transform: translateY(-3px); box-shadow: var(--v3d4-shadow); border-color: var(--v3d4-primary); }
.v3d4-game-tile img { width: 100%; height: 84px; object-fit: cover; }
.v3d4-game-name { font-size: 1.15rem; color: var(--v3d4-text); padding: 0.4rem 0.3rem; font-weight: 600; line-height: 1.3rem; min-height: 2.6rem; display: flex; align-items: center; justify-content: center; }

.v3d4-cat-header { display: flex; align-items: center; justify-content: space-between; margin: 1.8rem 0 0.8rem; }
.v3d4-cat-title { font-size: 1.65rem; font-weight: 800; color: var(--v3d4-primary); display: flex; align-items: center; gap: 0.5rem; }
.v3d4-cat-tag { font-size: 1.1rem; color: var(--v3d4-muted); background: rgba(255, 238, 94, 0.08); padding: 0.2rem 0.7rem; border-radius: 999px; }

/* ---------- Card ---------- */
.v3d4-card {
    background: var(--v3d4-card);
    border: 1px solid var(--v3d4-border);
    border-radius: var(--v3d4-radius);
    padding: 1.3rem;
    margin: 1rem 0;
    box-shadow: var(--v3d4-shadow);
    opacity: 0; transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.v3d4-card.v3d4-reveal { opacity: 1; transform: translateY(0); }
.v3d4-card-title { font-size: 1.5rem; font-weight: 700; color: var(--v3d4-text-bright); margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.5rem; }

/* ---------- Feature list ---------- */
.v3d4-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; margin: 1rem 0; }
.v3d4-feature {
    background: rgba(255, 238, 94, 0.05);
    border: 1px solid var(--v3d4-border);
    border-radius: 10px; padding: 1rem;
    text-align: center;
}
.v3d4-feature i { font-size: 2.2rem; color: var(--v3d4-primary); margin-bottom: 0.4rem; }
.v3d4-feature strong { display: block; color: var(--v3d4-text-bright); font-size: 1.25rem; margin-bottom: 0.2rem; }
.v3d4-feature span { font-size: 1.15rem; color: var(--v3d4-muted); }

/* ---------- Steps ---------- */
.v3d4-steps { counter-reset: step; margin: 1rem 0; }
.v3d4-step {
    position: relative; padding: 0.8rem 0.8rem 0.8rem 3.2rem;
    margin-bottom: 0.7rem;
    background: rgba(255, 238, 94, 0.04);
    border-left: 3px solid var(--v3d4-primary);
    border-radius: 8px;
}
.v3d4-step::before {
    counter-increment: step; content: counter(step);
    position: absolute; left: 0.6rem; top: 50%; transform: translateY(-50%);
    width: 2.2rem; height: 2.2rem;
    background: var(--v3d4-primary); color: var(--v3d4-bg);
    border-radius: 50%; font-weight: 800; font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
}

/* ---------- RTP table ---------- */
.v3d4-rtp-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 1.3rem; }
.v3d4-rtp-table th, .v3d4-rtp-table td { padding: 0.7rem 0.6rem; text-align: left; border-bottom: 1px solid var(--v3d4-border); }
.v3d4-rtp-table th { color: var(--v3d4-primary); font-size: 1.2rem; }
.v3d4-rtp-table td { color: var(--v3d4-text); }
.v3d4-rtp-badge { background: rgba(255, 238, 94, 0.15); color: var(--v3d4-primary); padding: 0.15rem 0.6rem; border-radius: 999px; font-weight: 700; font-size: 1.1rem; }

/* ---------- Testimonials ---------- */
.v3d4-testimonials { display: grid; grid-template-columns: 1fr; gap: 0.9rem; margin: 1rem 0; }
.v3d4-testimonial { background: var(--v3d4-card); border: 1px solid var(--v3d4-border); border-radius: 12px; padding: 1.1rem; }
.v3d4-stars { color: var(--v3d4-primary); font-size: 1.2rem; margin-bottom: 0.4rem; }
.v3d4-testimonial p { font-size: 1.3rem; color: var(--v3d4-text); margin-bottom: 0.5rem; }
.v3d4-testimonial-author { font-size: 1.15rem; color: var(--v3d4-muted); }

/* ---------- Payment chips ---------- */
.v3d4-pay-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; }
.v3d4-pay-chip {
    background: var(--v3d4-card); border: 1px solid var(--v3d4-border);
    border-radius: 999px; padding: 0.5rem 1rem;
    font-size: 1.2rem; color: var(--v3d4-text);
    display: inline-flex; align-items: center; gap: 0.4rem;
}

/* ---------- Winners ---------- */
.v3d4-winner-list { display: grid; grid-template-columns: 1fr; gap: 0.6rem; margin: 1rem 0; }
.v3d4-winner { display: flex; align-items: center; justify-content: space-between; background: rgba(255, 238, 94, 0.05); border: 1px solid var(--v3d4-border); border-radius: 10px; padding: 0.7rem 1rem; }
.v3d4-winner-name { font-weight: 700; color: var(--v3d4-text-bright); font-size: 1.3rem; }
.v3d4-winner-game { font-size: 1.1rem; color: var(--v3d4-muted); }
.v3d4-winner-amount { color: var(--v3d4-primary); font-weight: 800; font-size: 1.35rem; }

/* ---------- FAQ ---------- */
.v3d4-faq-item { background: var(--v3d4-card); border: 1px solid var(--v3d4-border); border-radius: 10px; padding: 1rem 1.1rem; margin-bottom: 0.7rem; }
.v3d4-faq-q { font-weight: 700; color: var(--v3d4-text-bright); font-size: 1.35rem; margin-bottom: 0.4rem; }
.v3d4-faq-a { color: var(--v3d4-text); font-size: 1.3rem; line-height: 2rem; }

/* ---------- CTA banner ---------- */
.v3d4-cta-banner {
    background: linear-gradient(135deg, rgba(255, 225, 53, 0.12), rgba(188, 143, 143, 0.12));
    border: 1px solid var(--v3d4-border);
    border-radius: var(--v3d4-radius);
    padding: 1.6rem; text-align: center; margin: 1.4rem 0;
}
.v3d4-cta-banner h3 { color: var(--v3d4-text-bright); font-size: 1.7rem; margin-bottom: 0.5rem; }
.v3d4-cta-banner p { color: var(--v3d4-text); font-size: 1.3rem; margin-bottom: 1rem; }

/* ---------- Footer ---------- */
.v3d4-footer {
    background: var(--v3d4-bg-3);
    border-top: 1px solid var(--v3d4-border);
    padding: 2.2rem 1.2rem 2rem;
    margin-top: 1.5rem;
}
.v3d4-footer-brand { color: var(--v3d4-text-bright); font-weight: 800; font-size: 1.7rem; margin-bottom: 0.6rem; }
.v3d4-footer p { color: var(--v3d4-muted); font-size: 1.25rem; line-height: 2rem; margin-bottom: 1rem; }
.v3d4-footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin: 0.8rem 0; }
.v3d4-footer-links a { color: var(--v3d4-text); font-size: 1.2rem; text-decoration: underline; }
.v3d4-footer-promos { display: flex; flex-direction: column; gap: 0.6rem; margin: 1rem 0; }
.v3d4-copyright { color: var(--v3d4-muted); font-size: 1.15rem; border-top: 1px solid var(--v3d4-border); padding-top: 1rem; margin-top: 1rem; text-align: center; }

/* ---------- Bottom navigation ---------- */
.v3d4-bottomnav {
    position: fixed; bottom: 0; left: 0; right: 0;
    height: 62px;
    background: linear-gradient(180deg, var(--v3d4-bg-2), var(--v3d4-bg-3));
    border-top: 1px solid var(--v3d4-border);
    display: flex; justify-content: space-around; align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
}
.v3d4-bottomnav-btn {
    flex: 1;
    background: transparent; border: none;
    color: var(--v3d4-muted);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px;
    min-width: 60px; min-height: 60px;
    cursor: pointer;
    font-size: 1.05rem; font-weight: 600;
    transition: color 0.18s ease, transform 0.18s ease;
}
.v3d4-bottomnav-btn i, .v3d4-bottomnav-btn .material-icons-outlined,
.v3d4-bottomnav-btn ion-icon { font-size: 22px; }
.v3d4-bottomnav-btn:hover { color: var(--v3d4-primary); transform: translateY(-1px); }
.v3d4-bottomnav-btn.v3d4-bottomnav-active { color: var(--v3d4-primary); }
.v3d4-bottomnav-btn.v3d4-bottomnav-active i { color: var(--v3d4-primary); }
.v3d4-bottomnav-promo { color: var(--v3d4-primary); }
.v3d4-bottomnav-badge {
    position: absolute; top: 6px; right: 18px;
    background: #ff5a5a; color: #fff; font-size: 0.9rem;
    min-width: 16px; height: 16px; border-radius: 999px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 4px;
}

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
    .v3d4-bottomnav { display: none; }
    main { padding-bottom: 2rem; }
    .v3d4-container, .v3d4-wrapper, .v3d4-header-inner { max-width: 720px; }
    .v3d4-game-grid { grid-template-columns: repeat(5, 1fr); }
    .v3d4-feature-grid { grid-template-columns: repeat(4, 1fr); }
    .v3d4-testimonials { grid-template-columns: repeat(2, 1fr); }
    .v3d4-winner-list { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Mobile padding safety ---------- */
@media (max-width: 768px) {
    main { padding-bottom: 84px; }
}
