/**
 * 1bet Design Stylesheet - design-47f4.css
 * All classes use v482- prefix for namespace isolation
 * Color palette: #0F0F23 | #808080 | #F0E68C | #D4AF37 | #A9A9A9 | #FAFAD2
 */

/* === CSS Variables === */
:root {
    --v482-primary: #0F0F23;
    --v482-secondary: #808080;
    --v482-accent: #F0E68C;
    --v482-gold: #D4AF37;
    --v482-muted: #A9A9A9;
    --v482-light: #FAFAD2;
    --v482-bg-dark: #0F0F23;
    --v482-bg-card: #1a1a35;
    --v482-bg-section: #12122a;
    --v482-text: #FAFAD2;
    --v482-text-muted: #A9A9A9;
    --v482-border: #2a2a4a;
    --v482-hover: #D4AF37;
    --v482-radius: 8px;
    --v482-radius-lg: 12px;
    --v482-shadow: 0 2px 8px rgba(0,0,0,0.3);
    --v482-transition: all 0.3s ease;
    font-size: 62.5%;
}

/* === Reset & Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--v482-primary);
    color: var(--v482-text);
    line-height: 1.5rem;
    font-size: 1.4rem;
    overflow-x: hidden;
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
}

a {
    color: var(--v482-accent);
    text-decoration: none;
    transition: var(--v482-transition);
}

a:hover {
    color: var(--v482-gold);
}

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

/* === Header === */
.v482-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    background: linear-gradient(180deg, #0F0F23 0%, #1a1a35 100%);
    border-bottom: 1px solid var(--v482-border);
    z-index: 1000;
    padding: 0 1rem;
    height: 5.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.v482-header-left {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.v482-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.v482-site-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--v482-gold);
    letter-spacing: 0.5px;
}

.v482-header-right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.v482-btn-register {
    background: linear-gradient(135deg, #D4AF37 0%, #F0E68C 100%);
    color: #0F0F23;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 0.6rem 1.2rem;
    border-radius: var(--v482-radius);
    border: none;
    cursor: pointer;
    transition: var(--v482-transition);
    min-height: 36px;
    min-width: 64px;
}

.v482-btn-register:hover {
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(212,175,55,0.5);
}

.v482-btn-login {
    background: transparent;
    color: var(--v482-accent);
    font-weight: 600;
    font-size: 1.2rem;
    padding: 0.6rem 1.2rem;
    border-radius: var(--v482-radius);
    border: 1px solid var(--v482-gold);
    cursor: pointer;
    transition: var(--v482-transition);
    min-height: 36px;
    min-width: 64px;
}

.v482-btn-login:hover {
    background: rgba(212,175,55,0.15);
}

.v482-menu-toggle {
    background: none;
    border: none;
    color: var(--v482-accent);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
}

/* === Mobile Menu === */
.v482-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--v482-transition);
}

.v482-overlay-active {
    opacity: 1;
    visibility: visible;
}

.v482-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: var(--v482-bg-card);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem 1.5rem;
    overflow-y: auto;
}

.v482-menu-active {
    right: 0;
}

.v482-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--v482-border);
}

.v482-menu-title {
    font-size: 1.6rem;
    color: var(--v482-gold);
    font-weight: 700;
}

.v482-menu-close {
    background: none;
    border: none;
    color: var(--v482-text);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
}

.v482-menu-nav {
    list-style: none;
}

.v482-menu-nav li {
    margin-bottom: 0.4rem;
}

.v482-menu-nav a {
    display: block;
    padding: 1rem;
    color: var(--v482-text);
    font-size: 1.4rem;
    border-radius: var(--v482-radius);
    transition: var(--v482-transition);
}

.v482-menu-nav a:hover {
    background: rgba(212,175,55,0.15);
    color: var(--v482-gold);
    padding-left: 1.5rem;
}

/* === Main Content === */
.v482-main {
    margin-top: 5.6rem;
    padding-bottom: 0;
}

@media (max-width: 768px) {
    .v482-main {
        padding-bottom: 80px;
    }
}

/* === Carousel === */
.v482-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 var(--v482-radius) var(--v482-radius);
}

.v482-carousel-inner {
    position: relative;
    width: 100%;
    height: 200px;
}

.v482-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    cursor: pointer;
}

.v482-slide-active {
    opacity: 1;
}

.v482-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v482-carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.v482-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--v482-transition);
    border: none;
}

.v482-dot-active {
    background: var(--v482-gold);
    transform: scale(1.3);
}

/* === Section === */
.v482-section {
    padding: 2rem 1.2rem;
}

.v482-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--v482-gold);
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--v482-border);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.v482-section-title i {
    font-size: 2rem;
}

/* === Game Grid === */
.v482-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.v482-game-item {
    text-align: center;
    cursor: pointer;
    transition: var(--v482-transition);
    border-radius: var(--v482-radius);
    padding: 0.4rem;
}

.v482-game-item:hover {
    transform: translateY(-3px);
    background: rgba(212,175,55,0.08);
}

.v482-game-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--v482-radius);
    object-fit: cover;
    border: 1px solid var(--v482-border);
}

.v482-game-name {
    font-size: 1rem;
    color: var(--v482-text-muted);
    margin-top: 0.3rem;
    line-height: 1.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* === Category Label === */
.v482-category-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(212,175,55,0.2), rgba(240,230,140,0.1));
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--v482-gold);
    margin-bottom: 1rem;
    border: 1px solid rgba(212,175,55,0.3);
}

/* === Content Modules === */
.v482-card {
    background: var(--v482-bg-card);
    border-radius: var(--v482-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.2rem;
    border: 1px solid var(--v482-border);
}

.v482-card-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--v482-accent);
    margin-bottom: 0.8rem;
}

.v482-card p {
    color: var(--v482-text-muted);
    line-height: 1.6;
    font-size: 1.3rem;
}

.v482-promo-text {
    display: inline;
    color: var(--v482-gold);
    font-weight: 700;
    cursor: pointer;
    transition: var(--v482-transition);
}

.v482-promo-text:hover {
    color: var(--v482-accent);
    text-decoration: underline;
}

.v482-promo-btn {
    display: inline-block;
    background: linear-gradient(135deg, #D4AF37 0%, #F0E68C 100%);
    color: #0F0F23;
    font-weight: 700;
    font-size: 1.3rem;
    padding: 0.8rem 1.6rem;
    border-radius: var(--v482-radius);
    cursor: pointer;
    transition: var(--v482-transition);
    border: none;
    text-align: center;
    margin: 0.6rem 0;
}

.v482-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 16px rgba(212,175,55,0.4);
}

/* === H1 Title === */
.v482-h1-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--v482-gold);
    text-align: center;
    padding: 1.5rem 1rem;
    line-height: 1.3;
}

/* === Footer === */
.v482-footer {
    background: var(--v482-bg-section);
    padding: 2rem 1.2rem;
    border-top: 1px solid var(--v482-border);
}

.v482-footer-brand {
    color: var(--v482-text-muted);
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
}

.v482-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.v482-footer-link {
    display: inline-block;
    background: rgba(212,175,55,0.12);
    color: var(--v482-accent);
    padding: 0.5rem 1rem;
    border-radius: var(--v482-radius);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--v482-transition);
    border: 1px solid rgba(212,175,55,0.2);
}

.v482-footer-link:hover {
    background: rgba(212,175,55,0.25);
    color: var(--v482-gold);
}

.v482-footer-copy {
    text-align: center;
    color: var(--v482-secondary);
    font-size: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--v482-border);
}

/* === Bottom Navigation (Mobile) === */
.v482-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    height: 62px;
    background: linear-gradient(180deg, #1a1a35 0%, #0F0F23 100%);
    border-top: 1px solid var(--v482-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0 0.3rem;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.4);
}

.v482-bottom-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 56px;
    background: none;
    border: none;
    color: var(--v482-muted);
    cursor: pointer;
    transition: var(--v482-transition);
    padding: 0.4rem;
    border-radius: var(--v482-radius);
    position: relative;
}

.v482-bottom-nav-btn:hover,
.v482-bottom-nav-btn:active {
    color: var(--v482-gold);
}

.v482-bottom-nav-btn .v482-nav-icon {
    font-size: 2.2rem;
    margin-bottom: 0.2rem;
    transition: var(--v482-transition);
}

.v482-bottom-nav-btn:hover .v482-nav-icon {
    transform: scale(1.15);
}

.v482-bottom-nav-btn .v482-nav-label {
    font-size: 1rem;
    color: inherit;
    white-space: nowrap;
}

.v482-nav-pressed {
    color: var(--v482-gold) !important;
    transform: scale(0.95);
}

.v482-nav-current {
    color: var(--v482-gold);
}

.v482-nav-current::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--v482-gold);
    border-radius: 2px;
}

/* === Utility === */
.v482-text-center { text-align: center; }
.v482-text-gold { color: var(--v482-gold); }
.v482-text-accent { color: var(--v482-accent); }
.v482-text-muted { color: var(--v482-text-muted); }
.v482-mb-1 { margin-bottom: 0.8rem; }
.v482-mb-2 { margin-bottom: 1.6rem; }
.v482-mt-1 { margin-top: 0.8rem; }

/* === Internal Link === */
.v482-internal-link {
    color: var(--v482-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.v482-internal-link:hover {
    color: var(--v482-gold);
}

/* === Help Page Styles === */
.v482-help-section {
    padding: 2rem 1.2rem;
}

.v482-help-h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--v482-gold);
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.v482-help-h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--v482-accent);
    margin: 1.5rem 0 0.8rem;
    padding-left: 0.8rem;
    border-left: 3px solid var(--v482-gold);
}

.v482-help-h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--v482-accent);
    margin: 1.2rem 0 0.6rem;
}

.v482-help-p {
    color: var(--v482-text-muted);
    line-height: 1.6;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.v482-help-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.v482-help-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.6rem;
    color: var(--v482-text-muted);
    font-size: 1.3rem;
    line-height: 1.5;
}

.v482-help-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--v482-gold);
    font-size: 1rem;
}

.v482-help-numbered {
    counter-reset: v482-counter;
    list-style: none;
    padding-left: 0;
}

.v482-help-numbered li {
    counter-increment: v482-counter;
    position: relative;
    padding-left: 2.4rem;
    margin-bottom: 0.8rem;
    color: var(--v482-text-muted);
    font-size: 1.3rem;
    line-height: 1.5;
}

.v482-help-numbered li::before {
    content: counter(v482-counter);
    position: absolute;
    left: 0;
    width: 1.8rem;
    height: 1.8rem;
    background: var(--v482-gold);
    color: var(--v482-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
}

/* === Responsive: Desktop === */
@media (min-width: 769px) {
    body {
        max-width: 430px;
        box-shadow: 0 0 30px rgba(0,0,0,0.5);
    }

    .v482-bottom-nav {
        display: none;
    }

    .v482-main {
        padding-bottom: 0;
    }
}
