/**
 * bet345casino.click - Theme Stylesheet
 * All classes prefixed with w5453-
 * Mobile-first design (max-width: 430px base)
 */

:root {
    --w5453-bg: #1A1A2E;
    --w5453-bg-light: #16213E;
    --w5453-primary: #FF1493;
    --w5453-secondary: #9400D3;
    --w5453-accent: #DC143C;
    --w5453-text: #F8F8FF;
    --w5453-text-muted: #CED4DA;
    --w5453-card-bg: #0F3460;
    --w5453-border: rgba(255, 255, 255, 0.08);
    --w5453-radius: 12px;
    --w5453-radius-sm: 8px;
    --w5453-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --w5453-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --w5453-header-h: 56px;
    --w5453-bottom-nav-h: 60px;
    font-size: 62.5%;
}

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

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

body {
    font-family: var(--w5453-font);
    background: var(--w5453-bg);
    color: var(--w5453-text);
    font-size: 1.6rem;
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
}

a {
    color: var(--w5453-primary);
    text-decoration: none;
}

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

/* ===== HEADER ===== */
.w5453-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    height: var(--w5453-header-h);
    background: linear-gradient(135deg, var(--w5453-bg) 0%, var(--w5453-bg-light) 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    z-index: 1000;
    border-bottom: 1px solid var(--w5453-border);
    backdrop-filter: blur(10px);
}

.w5453-logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
}

.w5453-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.w5453-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--w5453-primary), var(--w5453-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.w5453-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.w5453-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: var(--w5453-radius-sm);
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    min-height: 36px;
    min-width: 70px;
}

.w5453-btn-register {
    background: linear-gradient(135deg, var(--w5453-primary), var(--w5453-accent));
    color: #fff;
}

.w5453-btn-register:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 12px rgba(255, 20, 147, 0.4);
}

.w5453-btn-login {
    background: transparent;
    color: var(--w5453-text);
    border: 1px solid var(--w5453-primary);
}

.w5453-btn-login:hover {
    background: rgba(255, 20, 147, 0.1);
}

.w5453-menu-toggle {
    background: none;
    border: none;
    color: var(--w5453-text);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

/* ===== MOBILE MENU ===== */
.w5453-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
}

.w5453-overlay-visible {
    display: block;
}

.w5453-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--w5453-bg-light);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 70px 16px 20px;
    overflow-y: auto;
}

.w5453-menu-open {
    right: 0;
}

.w5453-menu-closed {
    right: -280px;
}

.w5453-menu-link {
    display: block;
    padding: 14px 16px;
    color: var(--w5453-text);
    font-size: 1.5rem;
    border-bottom: 1px solid var(--w5453-border);
    transition: background 0.2s;
}

.w5453-menu-link:hover {
    background: rgba(255, 20, 147, 0.1);
    color: var(--w5453-primary);
}

/* ===== CAROUSEL ===== */
.w5453-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--w5453-radius);
    margin-top: calc(var(--w5453-header-h) + 8px);
}

.w5453-carousel-track {
    position: relative;
    width: 100%;
    height: 180px;
}

.w5453-carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    cursor: pointer;
}

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

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

.w5453-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 8px 0;
}

.w5453-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--w5453-text-muted);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.w5453-dot-active {
    background: var(--w5453-primary);
}

/* ===== MAIN CONTENT ===== */
main {
    padding: 12px;
    padding-bottom: calc(var(--w5453-bottom-nav-h) + 20px);
}

.w5453-section {
    margin-bottom: 24px;
}

.w5453-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--w5453-primary);
    color: var(--w5453-text);
}

.w5453-section-title .material-icons {
    vertical-align: middle;
    font-size: 2rem;
    margin-right: 6px;
    color: var(--w5453-primary);
}

/* ===== GAME GRID ===== */
.w5453-cat-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 0;
    margin-bottom: 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.w5453-cat-tabs::-webkit-scrollbar {
    display: none;
}

.w5453-cat-tab {
    flex-shrink: 0;
    padding: 8px 16px;
    border-radius: 20px;
    background: var(--w5453-card-bg);
    color: var(--w5453-text-muted);
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.25s;
    white-space: nowrap;
}

.w5453-cat-tab:hover,
.w5453-cat-tab-active {
    background: linear-gradient(135deg, var(--w5453-primary), var(--w5453-secondary));
    color: #fff;
    border-color: transparent;
}

.w5453-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.w5453-game-card {
    background: var(--w5453-card-bg);
    border-radius: var(--w5453-radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--w5453-border);
}

.w5453-game-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--w5453-shadow);
}

.w5453-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.w5453-game-card-name {
    padding: 4px 6px;
    font-size: 1.1rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--w5453-text);
}

/* ===== CONTENT BLOCKS ===== */
.w5453-content-block {
    background: var(--w5453-card-bg);
    border-radius: var(--w5453-radius);
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid var(--w5453-border);
}

.w5453-content-block h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--w5453-primary);
}

.w5453-content-block h3 {
    font-size: 1.5rem;
    margin: 12px 0 6px;
    color: var(--w5453-secondary);
}

.w5453-content-block p {
    margin-bottom: 8px;
    color: var(--w5453-text-muted);
    line-height: 1.7;
}

.w5453-content-block ul,
.w5453-content-block ol {
    padding-left: 20px;
    margin-bottom: 10px;
}

.w5453-content-block li {
    margin-bottom: 6px;
    color: var(--w5453-text-muted);
    line-height: 1.6;
}

.w5453-highlight-box {
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.15), rgba(148, 0, 211, 0.15));
    border-left: 4px solid var(--w5453-primary);
    padding: 12px 16px;
    border-radius: 0 var(--w5453-radius-sm) var(--w5453-radius-sm) 0;
    margin: 12px 0;
}

.w5453-cta-btn {
    display: block;
    width: 100%;
    padding: 14px;
    text-align: center;
    background: linear-gradient(135deg, var(--w5453-primary), var(--w5453-accent));
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    border-radius: var(--w5453-radius);
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
    margin: 16px 0;
}

.w5453-cta-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(255, 20, 147, 0.4);
}

/* ===== FAQ ===== */
.w5453-faq-item {
    border: 1px solid var(--w5453-border);
    border-radius: var(--w5453-radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
}

.w5453-faq-q {
    padding: 12px 16px;
    font-weight: 600;
    color: var(--w5453-text);
    background: var(--w5453-card-bg);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.w5453-faq-a {
    padding: 12px 16px;
    color: var(--w5453-text-muted);
    background: rgba(15, 52, 96, 0.5);
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.w5453-footer {
    background: var(--w5453-bg-light);
    padding: 24px 16px;
    border-top: 1px solid var(--w5453-border);
    text-align: center;
}

.w5453-footer-brand {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--w5453-primary), var(--w5453-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.w5453-footer-text {
    color: var(--w5453-text-muted);
    font-size: 1.3rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.w5453-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    margin-bottom: 16px;
}

.w5453-footer-links a {
    color: var(--w5453-text-muted);
    font-size: 1.3rem;
    transition: color 0.2s;
}

.w5453-footer-links a:hover {
    color: var(--w5453-primary);
}

.w5453-footer-copy {
    color: var(--w5453-text-muted);
    font-size: 1.2rem;
    opacity: 0.7;
}

/* ===== BOTTOM NAV ===== */
.w5453-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    height: var(--w5453-bottom-nav-h);
    background: linear-gradient(180deg, var(--w5453-bg-light) 0%, #0a0a1a 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid var(--w5453-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.w5453-bottom-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 54px;
    background: none;
    border: none;
    color: var(--w5453-text-muted);
    cursor: pointer;
    transition: all 0.25s;
    gap: 2px;
    position: relative;
}

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

.w5453-bottom-nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    width: 0;
    height: 3px;
    background: var(--w5453-primary);
    border-radius: 0 0 3px 3px;
    transition: width 0.25s;
}

.w5453-bottom-nav-active::before {
    width: 30px;
}

.w5453-bottom-nav-btn span {
    font-size: 1rem;
}

.w5453-bottom-nav-icon {
    font-size: 2.2rem;
    line-height: 1;
}

/* ===== HELP PAGE ===== */
.w5453-help-hero {
    background: linear-gradient(135deg, var(--w5453-primary), var(--w5453-secondary));
    padding: 24px 16px;
    margin: calc(var(--w5453-header-h) + 8px) -12px 16px;
    text-align: center;
}

.w5453-help-hero h1 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 8px;
}

.w5453-help-hero p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.85);
}

.w5453-help-content {
    padding: 0 12px;
    padding-bottom: calc(var(--w5453-bottom-nav-h) + 20px);
}

.w5453-step-item {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    align-items: flex-start;
}

.w5453-step-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--w5453-primary), var(--w5453-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

.w5453-step-text {
    color: var(--w5453-text-muted);
    line-height: 1.6;
}

.w5453-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
}

.w5453-badge-success {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.w5453-badge-warning {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 769px) {
    .w5453-bottom-nav {
        display: none;
    }

    main {
        padding-bottom: 20px;
    }

    .w5453-help-content {
        padding-bottom: 20px;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 0;
    }
}

@media (max-width: 360px) {
    .w5453-game-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .w5453-btn {
        padding: 6px 10px;
        font-size: 1.2rem;
    }
}
