/* TapWin CSS Styles - tapwin.cfd */
/* All classes prefixed with w6b1a- */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --w6b1a-primary: #2C2C2C;
    --w6b1a-bg: #2C2C2C;
    --w6b1a-bg-light: #3A3A3A;
    --w6b1a-bg-card: #353535;
    --w6b1a-accent: #90EE90;
    --w6b1a-cta: #00FF7F;
    --w6b1a-cta-dark: #00CC66;
    --w6b1a-text: #FAFAFA;
    --w6b1a-text-muted: #B0B0B0;
    --w6b1a-border: #4A4A4A;
    --w6b1a-shadow: rgba(0, 255, 127, 0.15);
    --w6b1a-radius: 12px;
    --w6b1a-radius-sm: 8px;
    --w6b1a-radius-lg: 16px;
    --w6b1a-font-primary: 'Outfit', sans-serif;
    --w6b1a-font-secondary: 'Space Grotesk', sans-serif;
    --w6b1a-header-h: 60px;
    --w6b1a-bottom-nav-h: 64px;
}

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

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

body {
    font-family: var(--w6b1a-font-primary);
    background-color: var(--w6b1a-bg);
    color: var(--w6b1a-text);
    line-height: 1.6;
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--w6b1a-cta);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--w6b1a-accent);
}

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

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

.w6b1a-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.w6b1a-header-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
}

.w6b1a-header-brand {
    font-family: var(--w6b1a-font-secondary);
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--w6b1a-cta) 0%, var(--w6b1a-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

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

.w6b1a-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: var(--w6b1a-radius-sm);
    font-family: var(--w6b1a-font-primary);
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.w6b1a-btn-login {
    background: transparent;
    color: var(--w6b1a-cta);
    border: 1.5px solid var(--w6b1a-cta);
}

.w6b1a-btn-login:hover {
    background: rgba(0, 255, 127, 0.1);
}

.w6b1a-btn-register {
    background: linear-gradient(135deg, var(--w6b1a-cta) 0%, #00CC66 100%);
    color: #1A1A1A;
    font-weight: 700;
    box-shadow: 0 2px 12px var(--w6b1a-shadow);
}

.w6b1a-btn-register:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--w6b1a-shadow);
}

.w6b1a-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    z-index: 1001;
}

.w6b1a-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--w6b1a-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== MOBILE MENU ===== */
.w6b1a-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.w6b1a-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: linear-gradient(180deg, #1E1E1E 0%, #2C2C2C 100%);
    z-index: 9999;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 80px 20px 30px;
    overflow-y: auto;
}

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

.w6b1a-menu-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--w6b1a-text);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
}

.w6b1a-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: var(--w6b1a-text);
    font-size: 1.5rem;
    font-weight: 500;
    border-radius: var(--w6b1a-radius-sm);
    transition: all 0.2s ease;
    text-decoration: none;
}

.w6b1a-menu-link:hover {
    background: rgba(0, 255, 127, 0.08);
    color: var(--w6b1a-cta);
}

.w6b1a-menu-link i,
.w6b1a-menu-link .material-icons {
    font-size: 20px;
    color: var(--w6b1a-accent);
}

.w6b1a-menu-divider {
    height: 1px;
    background: var(--w6b1a-border);
    margin: 12px 0;
}

/* ===== MAIN CONTENT ===== */
.w6b1a-main {
    padding-top: var(--w6b1a-header-h);
    padding-bottom: calc(var(--w6b1a-bottom-nav-h) + 16px);
}

@media (min-width: 769px) {
    body { max-width: 100%; }
    .w6b1a-header { max-width: 100%; }
    .w6b1a-bottom-nav { display: none !important; }
    .w6b1a-main { padding-bottom: 40px; }
    .w6b1a-hamburger { display: flex; }
}

@media (max-width: 768px) {
    .w6b1a-hamburger { display: flex; }
    .w6b1a-main { padding-bottom: calc(var(--w6b1a-bottom-nav-h) + 16px); }
}

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

.w6b1a-carousel-track {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}

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

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

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

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

.w6b1a-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.w6b1a-dot-active {
    background: var(--w6b1a-cta);
    width: 24px;
    border-radius: 4px;
}

/* ===== SECTIONS ===== */
.w6b1a-section {
    padding: 24px 16px;
}

.w6b1a-section-title {
    font-family: var(--w6b1a-font-secondary);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--w6b1a-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.w6b1a-section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--w6b1a-cta), var(--w6b1a-accent));
    border-radius: 2px;
}

.w6b1a-section-desc {
    font-size: 1.4rem;
    color: var(--w6b1a-text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* ===== GAME GRID ===== */
.w6b1a-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.w6b1a-game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease;
    border-radius: var(--w6b1a-radius-sm);
    overflow: hidden;
    background: var(--w6b1a-bg-card);
    padding-bottom: 6px;
}

.w6b1a-game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px var(--w6b1a-shadow);
}

.w6b1a-game-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--w6b1a-radius-sm) var(--w6b1a-radius-sm) 0 0;
}

.w6b1a-game-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--w6b1a-text);
    text-align: center;
    padding: 4px 2px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== CATEGORY TABS ===== */
.w6b1a-category-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.w6b1a-category-tabs::-webkit-scrollbar {
    display: none;
}

.w6b1a-cat-tab {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    border: 1.5px solid var(--w6b1a-border);
    background: transparent;
    color: var(--w6b1a-text-muted);
    transition: all 0.3s ease;
}

.w6b1a-cat-tab:hover,
.w6b1a-cat-active {
    background: linear-gradient(135deg, var(--w6b1a-cta), #00CC66);
    color: #1A1A1A;
    border-color: var(--w6b1a-cta);
}

/* ===== CTA BUTTON ===== */
.w6b1a-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--w6b1a-cta) 0%, #00CC66 100%);
    color: #1A1A1A;
    font-family: var(--w6b1a-font-secondary);
    font-size: 1.6rem;
    font-weight: 700;
    border: none;
    border-radius: var(--w6b1a-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--w6b1a-shadow);
    width: 100%;
}

.w6b1a-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(0, 255, 127, 0.3);
}

/* ===== INFO BLOCK ===== */
.w6b1a-info-block {
    background: var(--w6b1a-bg-card);
    border-radius: var(--w6b1a-radius);
    padding: 20px 16px;
    margin-bottom: 16px;
    border: 1px solid var(--w6b1a-border);
}

.w6b1a-info-block h3 {
    font-family: var(--w6b1a-font-secondary);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--w6b1a-cta);
}

.w6b1a-info-block p {
    font-size: 1.4rem;
    color: var(--w6b1a-text-muted);
    line-height: 1.7;
    margin-bottom: 8px;
}

.w6b1a-info-block ul {
    list-style: none;
    padding: 0;
}

.w6b1a-info-block li {
    font-size: 1.4rem;
    color: var(--w6b1a-text-muted);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.w6b1a-info-block li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--w6b1a-cta);
    font-size: 1.2rem;
}

/* ===== FEATURE GRID ===== */
.w6b1a-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.w6b1a-feature-card {
    background: var(--w6b1a-bg-card);
    border: 1px solid var(--w6b1a-border);
    border-radius: var(--w6b1a-radius);
    padding: 16px 12px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.w6b1a-feature-card:hover {
    border-color: var(--w6b1a-cta);
    box-shadow: 0 2px 12px var(--w6b1a-shadow);
}

.w6b1a-feature-icon {
    font-size: 2.8rem;
    color: var(--w6b1a-cta);
    margin-bottom: 8px;
}

.w6b1a-feature-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--w6b1a-text);
    margin-bottom: 4px;
}

.w6b1a-feature-card p {
    font-size: 1.2rem;
    color: var(--w6b1a-text-muted);
    line-height: 1.4;
}

/* ===== TESTIMONIALS ===== */
.w6b1a-testimonial {
    background: var(--w6b1a-bg-card);
    border-radius: var(--w6b1a-radius);
    padding: 16px;
    margin-bottom: 12px;
    border-left: 3px solid var(--w6b1a-cta);
}

.w6b1a-testimonial-text {
    font-size: 1.4rem;
    color: var(--w6b1a-text-muted);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 8px;
}

.w6b1a-testimonial-author {
    font-size: 1.2rem;
    color: var(--w6b1a-accent);
    font-weight: 600;
}

/* ===== WINNER SHOWCASE ===== */
.w6b1a-winner-banner {
    background: linear-gradient(135deg, #1E3A2C 0%, #2C2C2C 100%);
    border: 1px solid var(--w6b1a-cta);
    border-radius: var(--w6b1a-radius);
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.w6b1a-winner-banner:hover {
    box-shadow: 0 4px 20px var(--w6b1a-shadow);
}

.w6b1a-winner-amount {
    font-family: var(--w6b1a-font-secondary);
    font-size: 3rem;
    font-weight: 800;
    color: var(--w6b1a-cta);
    text-shadow: 0 0 20px rgba(0, 255, 127, 0.4);
}

.w6b1a-winner-label {
    font-size: 1.3rem;
    color: var(--w6b1a-text-muted);
    margin-top: 4px;
}

/* ===== FOOTER ===== */
.w6b1a-footer {
    background: linear-gradient(180deg, #1E1E1E 0%, #141414 100%);
    padding: 30px 16px 20px;
    border-top: 1px solid var(--w6b1a-border);
}

.w6b1a-footer-brand {
    text-align: center;
    margin-bottom: 20px;
}

.w6b1a-footer-brand h3 {
    font-family: var(--w6b1a-font-secondary);
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--w6b1a-cta), var(--w6b1a-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

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

.w6b1a-footer-promos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.w6b1a-footer-promo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 8px;
    background: linear-gradient(135deg, var(--w6b1a-cta), #00CC66);
    color: #1A1A1A;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: var(--w6b1a-radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.w6b1a-footer-promo-btn:hover {
    box-shadow: 0 2px 12px var(--w6b1a-shadow);
}

.w6b1a-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    justify-content: center;
    margin-bottom: 16px;
}

.w6b1a-footer-link {
    font-size: 1.2rem;
    color: var(--w6b1a-text-muted);
    transition: color 0.2s;
}

.w6b1a-footer-link:hover {
    color: var(--w6b1a-cta);
}

.w6b1a-footer-partners {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.w6b1a-footer-partners img {
    height: 28px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.w6b1a-footer-partners img:hover {
    opacity: 1;
}

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

/* ===== BOTTOM NAV ===== */
.w6b1a-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    height: var(--w6b1a-bottom-nav-h);
    background: linear-gradient(180deg, #1E1E1E 0%, #141414 100%);
    border-top: 1px solid var(--w6b1a-border);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 1000;
    padding: 0 4px;
}

.w6b1a-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 56px;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 4px 0;
    position: relative;
}

.w6b1a-nav-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--w6b1a-cta);
    transition: width 0.3s ease;
    border-radius: 0 0 2px 2px;
}

.w6b1a-nav-btn:hover::after,
.w6b1a-nav-active::after {
    width: 30px;
}

.w6b1a-nav-icon {
    font-size: 22px;
    color: var(--w6b1a-text-muted);
    margin-bottom: 3px;
    transition: color 0.2s;
}

.w6b1a-nav-btn:hover .w6b1a-nav-icon,
.w6b1a-nav-active .w6b1a-nav-icon {
    color: var(--w6b1a-cta);
}

.w6b1a-nav-label {
    font-size: 1rem;
    color: var(--w6b1a-text-muted);
    font-weight: 500;
    transition: color 0.2s;
}

.w6b1a-nav-btn:hover .w6b1a-nav-label,
.w6b1a-nav-active .w6b1a-nav-label {
    color: var(--w6b1a-cta);
}

/* ===== PAGE CONTENT (FAQ / About) ===== */
.w6b1a-page-header {
    padding: 80px 16px 24px;
    text-align: center;
    background: linear-gradient(180deg, #1E1E1E 0%, var(--w6b1a-bg) 100%);
}

.w6b1a-page-header h1 {
    font-family: var(--w6b1a-font-secondary);
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--w6b1a-cta), var(--w6b1a-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.w6b1a-page-header p {
    font-size: 1.4rem;
    color: var(--w6b1a-text-muted);
}

/* FAQ Accordion */
.w6b1a-faq-item {
    background: var(--w6b1a-bg-card);
    border: 1px solid var(--w6b1a-border);
    border-radius: var(--w6b1a-radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.w6b1a-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--w6b1a-text);
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}

.w6b1a-faq-question i {
    color: var(--w6b1a-cta);
    font-size: 1.4rem;
    transition: transform 0.3s;
}

.w6b1a-faq-answer {
    padding: 0 16px 16px;
    font-size: 1.4rem;
    color: var(--w6b1a-text-muted);
    line-height: 1.7;
}

/* About page styles */
.w6b1a-about-content {
    padding: 0 16px 24px;
}

.w6b1a-about-content h2 {
    font-family: var(--w6b1a-font-secondary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--w6b1a-cta);
    margin: 24px 0 12px;
}

.w6b1a-about-content p {
    font-size: 1.4rem;
    color: var(--w6b1a-text-muted);
    line-height: 1.8;
    margin-bottom: 12px;
}

.w6b1a-about-content strong {
    color: var(--w6b1a-text);
}

/* ===== UTILITY ===== */
.w6b1a-text-center { text-align: center; }
.w6b1a-mt-12 { margin-top: 12px; }
.w6b1a-mt-16 { margin-top: 16px; }
.w6b1a-mb-16 { margin-bottom: 16px; }
.w6b1a-mb-24 { margin-bottom: 24px; }

.w6b1a-divider {
    height: 1px;
    background: var(--w6b1a-border);
    margin: 16px 0;
}

/* Promo inline link */
.w6b1a-promo-link {
    color: var(--w6b1a-cta);
    font-weight: 600;
    cursor: pointer;
    border-bottom: 1px dashed var(--w6b1a-cta);
    transition: all 0.2s;
}

.w6b1a-promo-link:hover {
    color: var(--w6b1a-accent);
    border-color: var(--w6b1a-accent);
}
