/**
 * NuStar Casino APK - Theme Stylesheet
 * @description Mobile-first responsive design with dark theme
 * @version 1.0.0
 * @prefix w23a2-
 */

/* CSS Variables */
:root {
    --w23a2-primary: #FF9800;
    --w23a2-secondary: #ECF0F1;
    --w23a2-bg-dark: #1B263B;
    --w23a2-bg-darker: #0D1421;
    --w23a2-text-light: #ECF0F1;
    --w23a2-text-muted: #D3D3D3;
    --w23a2-border: #5D5D5D;
    --w23a2-accent: #FF9800;
    --w23a2-success: #4CAF50;
    --w23a2-card-bg: #243B55;
    --w23a2-shadow: rgba(0, 0, 0, 0.3);
}

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

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

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--w23a2-bg-dark);
    color: var(--w23a2-text-light);
    line-height: 1.5;
    font-size: 1.6rem;
    min-height: 100vh;
}

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

/* Header */
.w23a2-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--w23a2-bg-darker) 0%, var(--w23a2-bg-dark) 100%);
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--w23a2-border);
}

.w23a2-header-scrolled {
    background: rgba(13, 20, 33, 0.95);
    backdrop-filter: blur(10px);
}

.w23a2-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    max-width: 430px;
    margin: 0 auto;
}

.w23a2-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--w23a2-text-light);
}

.w23a2-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

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

/* Header Buttons */
.w23a2-header-btns {
    display: flex;
    gap: 0.8rem;
}

.w23a2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 36px;
}

.w23a2-btn-primary {
    background: linear-gradient(135deg, var(--w23a2-primary) 0%, #F57C00 100%);
    color: var(--w23a2-bg-darker);
}

.w23a2-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
}

.w23a2-btn-secondary {
    background: transparent;
    color: var(--w23a2-text-light);
    border: 2px solid var(--w23a2-primary);
}

.w23a2-btn-secondary:hover {
    background: var(--w23a2-primary);
    color: var(--w23a2-bg-darker);
}

/* Menu Toggle */
.w23a2-menu-toggle {
    background: none;
    border: none;
    color: var(--w23a2-text-light);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.w23a2-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;
}

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

.w23a2-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--w23a2-text-light);
    font-size: 2.4rem;
    cursor: pointer;
}

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

.w23a2-menu-nav li {
    margin-bottom: 1rem;
}

.w23a2-menu-nav a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--w23a2-text-light);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.w23a2-menu-nav a:hover {
    background: var(--w23a2-card-bg);
    color: var(--w23a2-primary);
}

/* Main Content */
main {
    padding-top: 7rem;
}

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

/* Carousel */
.w23a2-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.w23a2-slides {
    position: relative;
    height: 200px;
}

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

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

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

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

.w23a2-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.w23a2-dot-active {
    background: var(--w23a2-primary);
    transform: scale(1.2);
}

/* Section Titles */
.w23a2-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--w23a2-primary);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.w23a2-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--w23a2-primary);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

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

.w23a2-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.w23a2-game-item:hover {
    transform: scale(1.05);
}

.w23a2-game-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 10px var(--w23a2-shadow);
}

.w23a2-game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.w23a2-game-name {
    font-size: 1.1rem;
    color: var(--w23a2-text-light);
    text-align: center;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Cards */
.w23a2-card {
    background: var(--w23a2-card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--w23a2-border);
}

.w23a2-card-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--w23a2-primary);
    margin-bottom: 1rem;
}

.w23a2-card-text {
    font-size: 1.4rem;
    color: var(--w23a2-text-muted);
    line-height: 1.6;
}

/* Features List */
.w23a2-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.w23a2-feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--w23a2-bg-darker);
    border-radius: 8px;
}

.w23a2-feature-icon {
    font-size: 2.4rem;
    color: var(--w23a2-primary);
}

.w23a2-feature-text {
    font-size: 1.3rem;
    color: var(--w23a2-text-light);
}

/* Promo Links */
.w23a2-promo-link {
    color: var(--w23a2-primary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.w23a2-promo-link:hover {
    color: #FFB74D;
    text-decoration: underline;
}

/* Footer */
.w23a2-footer {
    background: var(--w23a2-bg-darker);
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid var(--w23a2-border);
}

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

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

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

.w23a2-footer-links a {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--w23a2-card-bg);
    color: var(--w23a2-text-light);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.w23a2-footer-links a:hover {
    background: var(--w23a2-primary);
    color: var(--w23a2-bg-darker);
}

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

.w23a2-footer-nav a {
    color: var(--w23a2-text-muted);
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

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

.w23a2-footer-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--w23a2-text-muted);
    padding-top: 1rem;
    border-top: 1px solid var(--w23a2-border);
}

/* Mobile Bottom Navigation */
.w23a2-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--w23a2-bg-dark) 0%, var(--w23a2-bg-darker) 100%);
    padding: 0.8rem 0;
    border-top: 2px solid var(--w23a2-primary);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 64px;
}

@media (min-width: 769px) {
    .w23a2-bottom-nav {
        display: none;
    }
}

.w23a2-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 48px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--w23a2-text-muted);
}

.w23a2-nav-item:hover,
.w23a2-nav-item-active {
    color: var(--w23a2-primary);
    transform: scale(1.1);
}

.w23a2-nav-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.w23a2-nav-text {
    font-size: 10px;
    font-weight: 500;
}

/* Category Header */
.w23a2-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.w23a2-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--w23a2-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Testimonials */
.w23a2-testimonials {
    display: grid;
    gap: 1rem;
}

.w23a2-testimonial {
    background: var(--w23a2-card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid var(--w23a2-primary);
}

.w23a2-testimonial-author {
    font-weight: 600;
    color: var(--w23a2-primary);
    margin-bottom: 0.5rem;
}

.w23a2-testimonial-text {
    font-size: 1.3rem;
    color: var(--w23a2-text-muted);
    font-style: italic;
}

/* Payment Methods */
.w23a2-payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.w23a2-payment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: var(--w23a2-bg-darker);
    border-radius: 8px;
}

.w23a2-payment-icon {
    font-size: 2.4rem;
    color: var(--w23a2-primary);
    margin-bottom: 0.5rem;
}

.w23a2-payment-name {
    font-size: 1.2rem;
    color: var(--w23a2-text-light);
}

/* CTA Section */
.w23a2-cta {
    background: linear-gradient(135deg, var(--w23a2-primary) 0%, #F57C00 100%);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.w23a2-cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--w23a2-bg-darker);
    margin-bottom: 1rem;
}

.w23a2-cta-text {
    font-size: 1.4rem;
    color: var(--w23a2-bg-dark);
    margin-bottom: 1.5rem;
}

.w23a2-cta-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--w23a2-bg-darker);
    color: var(--w23a2-primary);
    font-size: 1.6rem;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.w23a2-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Winners Showcase */
.w23a2-winners {
    display: grid;
    gap: 1rem;
}

.w23a2-winner-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--w23a2-card-bg);
    border-radius: 8px;
}

.w23a2-winner-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--w23a2-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--w23a2-bg-darker);
}

.w23a2-winner-info {
    flex: 1;
}

.w23a2-winner-name {
    font-weight: 600;
    color: var(--w23a2-text-light);
    font-size: 1.3rem;
}

.w23a2-winner-game {
    font-size: 1.1rem;
    color: var(--w23a2-text-muted);
}

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

/* FAQ Section */
.w23a2-faq-item {
    background: var(--w23a2-card-bg);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

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

.w23a2-faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--w23a2-text-muted);
    font-size: 1.3rem;
    line-height: 1.6;
}

/* Utility Classes */
.w23a2-text-center { text-align: center; }
.w23a2-mb-1 { margin-bottom: 1rem; }
.w23a2-mb-2 { margin-bottom: 2rem; }
.w23a2-mb-3 { margin-bottom: 3rem; }
.w23a2-py-2 { padding-top: 2rem; padding-bottom: 2rem; }
.w23a2-hidden { display: none; }

/* Responsive Adjustments */
@media (max-width: 380px) {
    .w23a2-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .w23a2-game-icon {
        width: 60px;
        height: 60px;
    }
}
