/**
 * Bingo Card - Main Stylesheet
 * Class prefix: v53d-
 * Mobile-first responsive design
 * Color palette: #FF4500 | #00695C | #FFCCCB | #141414 | #FF9500
 */

/* CSS Reset & Base Styles */
:root {
    --v53d-primary: #FF4500;
    --v53d-secondary: #00695C;
    --v53d-accent: #FF9500;
    --v53d-bg-dark: #141414;
    --v53d-bg-light: #FFCCCB;
    --v53d-text-light: #ffffff;
    --v53d-text-dark: #141414;
    --v53d-gradient: linear-gradient(135deg, #FF4500 0%, #FF9500 100%);
    --v53d-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --v53d-radius: 8px;
    --v53d-transition: all 0.3s ease;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--v53d-text-light);
    background-color: var(--v53d-bg-dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--v53d-transition);
}

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

/* Container */
.v53d-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header Styles */
.v53d-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--v53d-bg-dark) 0%, rgba(20, 20, 20, 0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 69, 0, 0.3);
}

.v53d-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
}

.v53d-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

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

.v53d-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--v53d-primary);
}

.v53d-header-actions {
    display: flex;
    gap: 0.8rem;
}

.v53d-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: var(--v53d-radius);
    cursor: pointer;
    transition: var(--v53d-transition);
    border: none;
    min-height: 44px;
    min-width: 80px;
}

.v53d-btn-primary {
    background: var(--v53d-gradient);
    color: var(--v53d-text-light);
    box-shadow: var(--v53d-shadow);
}

.v53d-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.4);
}

.v53d-btn-outline {
    background: transparent;
    color: var(--v53d-primary);
    border: 2px solid var(--v53d-primary);
}

.v53d-btn-outline:hover {
    background: var(--v53d-primary);
    color: var(--v53d-text-light);
}

/* Hamburger Menu */
.v53d-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.v53d-hamburger span {
    width: 28px;
    height: 3px;
    background: var(--v53d-primary);
    border-radius: 3px;
    transition: var(--v53d-transition);
    transform-origin: left;
}

.v53d-hamburger-active span:nth-child(1) {
    transform: rotate(45deg);
}

.v53d-hamburger-active span:nth-child(2) {
    opacity: 0;
}

.v53d-hamburger-active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* Mobile Menu */
.v53d-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--v53d-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 8rem 2rem 2rem;
    overflow-y: auto;
}

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

.v53d-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: var(--v53d-transition);
}

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

.v53d-mobile-menu ul {
    list-style: none;
}

.v53d-mobile-menu li {
    margin-bottom: 0.5rem;
}

.v53d-mobile-menu a {
    display: block;
    padding: 1.2rem 1.5rem;
    font-size: 1.5rem;
    color: var(--v53d-text-light);
    border-radius: var(--v53d-radius);
    transition: var(--v53d-transition);
}

.v53d-mobile-menu a:hover {
    background: rgba(255, 69, 0, 0.2);
    color: var(--v53d-primary);
}

/* Hero Section */
.v53d-hero {
    padding-top: 7rem;
    background: linear-gradient(135deg, var(--v53d-bg-dark) 0%, #1a1a2e 100%);
}

.v53d-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--v53d-radius);
    margin-bottom: 2rem;
}

.v53d-carousel-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.v53d-carousel-slide {
    min-width: 100%;
    position: relative;
}

.v53d-carousel-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    cursor: pointer;
}

.v53d-carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.v53d-carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--v53d-transition);
}

.v53d-indicator-active {
    background: var(--v53d-primary);
    transform: scale(1.2);
}

/* Main Content */
.v53d-main {
    padding-bottom: 8rem;
}

/* Section Styles */
.v53d-section {
    padding: 2.5rem 0;
}

.v53d-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--v53d-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.v53d-section-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 2rem;
}

/* Game Grid */
.v53d-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.v53d-game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--v53d-radius);
    overflow: hidden;
    transition: var(--v53d-transition);
    cursor: pointer;
}

.v53d-game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 69, 0, 0.3);
}

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

.v53d-game-name {
    padding: 0.5rem;
    font-size: 1.1rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--v53d-text-light);
}

/* Category Section */
.v53d-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.v53d-category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--v53d-accent);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.v53d-category-icon {
    font-size: 2.2rem;
}

/* Features Section */
.v53d-features {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--v53d-radius);
    padding: 2rem;
    margin-bottom: 2rem;
}

.v53d-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.v53d-feature-item:last-child {
    margin-bottom: 0;
}

.v53d-feature-icon {
    width: 44px;
    height: 44px;
    background: var(--v53d-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.v53d-feature-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--v53d-primary);
}

.v53d-feature-text p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* FAQ Section */
.v53d-faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--v53d-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.v53d-faq-question {
    padding: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--v53d-text-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.v53d-faq-answer {
    padding: 0 1.5rem 1.5rem;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* CTA Section */
.v53d-cta {
    background: var(--v53d-gradient);
    border-radius: var(--v53d-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    margin: 2rem 0;
}

.v53d-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--v53d-text-light);
}

.v53d-cta p {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.v53d-cta .v53d-btn {
    font-size: 1.5rem;
    padding: 1rem 2.5rem;
}

/* Testimonials */
.v53d-testimonials {
    margin: 2rem 0;
}

.v53d-testimonial {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--v53d-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.v53d-testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.v53d-testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--v53d-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.v53d-testimonial-name {
    font-weight: 600;
    font-size: 1.4rem;
}

.v53d-testimonial-rating {
    color: var(--v53d-accent);
}

.v53d-testimonial-text {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* Payment Methods */
.v53d-payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.v53d-payment-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: var(--v53d-radius);
    font-size: 1.3rem;
    font-weight: 500;
}

/* Footer */
.v53d-footer {
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.95) 0%, #0a0a0a 100%);
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(255, 69, 0, 0.2);
}

.v53d-footer-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.v53d-footer-brand p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 350px;
    margin: 0 auto;
}

.v53d-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.v53d-footer-links a {
    background: rgba(255, 69, 0, 0.2);
    padding: 0.8rem 1.2rem;
    border-radius: var(--v53d-radius);
    font-size: 1.2rem;
    color: var(--v53d-text-light);
    transition: var(--v53d-transition);
}

.v53d-footer-links a:hover {
    background: var(--v53d-primary);
    color: var(--v53d-text-light);
}

.v53d-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.v53d-footer-nav a {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
}

.v53d-footer-nav a:hover {
    color: var(--v53d-primary);
}

.v53d-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Bottom Navigation */
.v53d-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.98) 0%, #141414 100%);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid rgba(255, 69, 0, 0.3);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.v53d-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: var(--v53d-transition);
    border-radius: 12px;
    padding: 0.5rem;
}

.v53d-nav-item:hover {
    background: rgba(255, 69, 0, 0.2);
}

.v53d-nav-item.active {
    background: rgba(255, 69, 0, 0.3);
}

.v53d-nav-item.active .v53d-nav-icon {
    color: var(--v53d-primary);
    transform: scale(1.1);
}

.v53d-nav-item.active .v53d-nav-label {
    color: var(--v53d-primary);
}

.v53d-nav-icon {
    font-size: 24px;
    margin-bottom: 0.3rem;
    transition: var(--v53d-transition);
    color: var(--v53d-text-light);
}

.v53d-nav-label {
    font-size: 10px;
    font-weight: 500;
    transition: var(--v53d-transition);
    color: rgba(255, 255, 255, 0.8);
}

/* Back to Top Button */
.v53d-back-to-top {
    position: fixed;
    bottom: 80px;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    background: var(--v53d-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--v53d-transition);
    z-index: 999;
    box-shadow: var(--v53d-shadow);
}

.v53d-back-to-top-visible {
    opacity: 1;
    visibility: visible;
}

.v53d-back-to-top:hover {
    transform: translateY(-3px);
}

/* Toast Notification */
.v53d-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--v53d-secondary);
    color: var(--v53d-text-light);
    padding: 1rem 2rem;
    border-radius: var(--v53d-radius);
    font-size: 1.4rem;
    opacity: 0;
    transition: var(--v53d-transition);
    z-index: 10000;
}

.v53d-toast-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Promotional Text Links */
.v53d-promo-link {
    color: var(--v53d-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--v53d-transition);
}

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

/* Info Box */
.v53d-info-box {
    background: rgba(0, 105, 92, 0.2);
    border-left: 4px solid var(--v53d-secondary);
    padding: 1.5rem;
    border-radius: 0 var(--v53d-radius) var(--v53d-radius) 0;
    margin: 1.5rem 0;
}

.v53d-info-box h4 {
    color: var(--v53d-secondary);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.v53d-info-box p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Winners Showcase */
.v53d-winners {
    background: rgba(255, 149, 0, 0.1);
    border-radius: var(--v53d-radius);
    padding: 1.5rem;
    margin: 2rem 0;
}

.v53d-winner-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.v53d-winner-item:last-child {
    border-bottom: none;
}

.v53d-winner-name {
    font-size: 1.3rem;
    font-weight: 500;
}

.v53d-winner-amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--v53d-accent);
}

/* Desktop Styles - Hide Bottom Nav */
@media (min-width: 769px) {
    .v53d-bottom-nav {
        display: none;
    }

    .v53d-main {
        padding-bottom: 2rem;
    }

    .v53d-container {
        max-width: 1200px;
    }

    .v53d-game-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Small Mobile Adjustments */
@media (max-width: 360px) {
    html {
        font-size: 55%;
    }

    .v53d-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
