/**
 * NuStar Login - Main Stylesheet
 * Prefix: w652e-
 * Mobile-first responsive design
 */

/* CSS Variables */
:root {
    --w652e-primary: #FF8C00;
    --w652e-secondary: #DEB887;
    --w652e-accent: #BC8F8F;
    --w652e-bg-dark: #141414;
    --w652e-bg-medium: #1a1a1a;
    --w652e-bg-light: #2a2a2a;
    --w652e-text-light: #ffffff;
    --w652e-text-muted: #b0b0b0;
    --w652e-border: rgba(222, 184, 135, 0.3);
    --w652e-shadow: rgba(0, 0, 0, 0.3);
    --w652e-gradient-primary: linear-gradient(135deg, #FF8C00 0%, #DEB887 100%);
    --w652e-gradient-dark: linear-gradient(180deg, #1a1a1a 0%, #141414 100%);
    --w652e-radius-sm: 6px;
    --w652e-radius-md: 12px;
    --w652e-radius-lg: 20px;
    --w652e-transition: all 0.3s ease;
}

/* 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;
    font-size: 1.6rem;
    line-height: 1.5;
    background: var(--w652e-bg-dark);
    color: var(--w652e-text-light);
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--w652e-secondary);
    text-decoration: none;
    transition: var(--w652e-transition);
}

a:hover {
    color: var(--w652e-primary);
}

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

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

.w652e-wrapper {
    padding: 2rem 0;
}

/* Header */
.w652e-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--w652e-bg-dark);
    border-bottom: 1px solid var(--w652e-border);
    padding: 1rem 0;
    transition: var(--w652e-transition);
}

.w652e-header-scrolled {
    background: rgba(20, 20, 20, 0.98);
    box-shadow: 0 4px 20px var(--w652e-shadow);
}

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

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

.w652e-logo img {
    width: 32px;
    height: 32px;
}

.w652e-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--w652e-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.w652e-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.w652e-btn-primary {
    background: var(--w652e-gradient-primary);
    color: var(--w652e-bg-dark);
}

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

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

.w652e-btn-outline:hover {
    background: var(--w652e-primary);
    color: var(--w652e-bg-dark);
}

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

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

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

.w652e-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--w652e-transition);
}

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

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

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

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

.w652e-mobile-menu a:hover {
    background: var(--w652e-bg-light);
    color: var(--w652e-primary);
}

/* Main Content */
.w652e-main {
    padding-top: 70px;
    padding-bottom: 2rem;
}

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

/* Carousel/Slider */
.w652e-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--w652e-radius-md);
    margin-bottom: 2rem;
}

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

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

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

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

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

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

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

/* Section Titles */
.w652e-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--w652e-text-light);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.w652e-section-title i {
    color: var(--w652e-primary);
}

.w652e-section-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: var(--w652e-gradient-primary);
    opacity: 0.3;
}

/* Game Grid */
.w652e-game-section {
    margin-bottom: 3rem;
}

.w652e-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.w652e-game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.8rem;
    background: var(--w652e-bg-light);
    border-radius: var(--w652e-radius-md);
    cursor: pointer;
    transition: var(--w652e-transition);
    border: 1px solid transparent;
}

.w652e-game-card:hover {
    transform: translateY(-4px);
    border-color: var(--w652e-primary);
    box-shadow: 0 8px 20px var(--w652e-shadow);
}

.w652e-game-card img {
    width: 60px;
    height: 60px;
    border-radius: var(--w652e-radius-sm);
    margin-bottom: 0.5rem;
    object-fit: cover;
}

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

/* Category Badge */
.w652e-category-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    font-size: 1.3rem;
    font-weight: 600;
    background: var(--w652e-gradient-primary);
    color: var(--w652e-bg-dark);
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

/* Info Cards */
.w652e-info-card {
    background: var(--w652e-bg-light);
    border-radius: var(--w652e-radius-md);
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--w652e-primary);
}

.w652e-info-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--w652e-primary);
}

.w652e-info-card p {
    color: var(--w652e-text-muted);
    line-height: 1.6;
}

.w652e-info-card ul {
    list-style: none;
    margin-top: 1rem;
}

.w652e-info-card li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--w652e-border);
    color: var(--w652e-text-muted);
}

.w652e-info-card li:last-child {
    border-bottom: none;
}

.w652e-info-card li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--w652e-primary);
    margin-right: 1rem;
}

/* CTA Section */
.w652e-cta {
    background: var(--w652e-gradient-dark);
    border: 2px solid var(--w652e-primary);
    border-radius: var(--w652e-radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    margin: 2rem 0;
}

.w652e-cta h3 {
    font-size: 2rem;
    color: var(--w652e-primary);
    margin-bottom: 1rem;
}

.w652e-cta p {
    color: var(--w652e-text-muted);
    margin-bottom: 1.5rem;
}

.w652e-cta .w652e-btn {
    font-size: 1.6rem;
    padding: 1rem 3rem;
}

/* Stats Grid */
.w652e-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.w652e-stat-card {
    background: var(--w652e-bg-light);
    padding: 1.5rem;
    border-radius: var(--w652e-radius-md);
    text-align: center;
    border: 1px solid var(--w652e-border);
}

.w652e-stat-value {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--w652e-primary);
}

.w652e-stat-label {
    font-size: 1.3rem;
    color: var(--w652e-text-muted);
    margin-top: 0.5rem;
}

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

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

.w652e-footer-brand p {
    color: var(--w652e-text-muted);
    font-size: 1.4rem;
    line-height: 1.6;
    max-width: 350px;
    margin: 0 auto;
}

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

.w652e-footer-links a {
    font-size: 1.3rem;
    color: var(--w652e-text-muted);
    padding: 0.5rem 1rem;
    background: var(--w652e-bg-light);
    border-radius: var(--w652e-radius-sm);
}

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

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

.w652e-footer-promo .w652e-btn {
    font-size: 1.3rem;
    padding: 0.8rem 1.5rem;
}

.w652e-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--w652e-border);
}

.w652e-copyright p {
    font-size: 1.3rem;
    color: var(--w652e-text-muted);
}

/* Bottom Navigation - Mobile */
.w652e-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--w652e-bg-medium);
    border-top: 1px solid var(--w652e-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0 0.5rem;
}

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

.w652e-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: var(--w652e-transition);
    background: none;
    border: none;
    color: var(--w652e-text-muted);
}

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

.w652e-bottom-nav-item i {
    font-size: 24px;
    margin-bottom: 4px;
}

.w652e-bottom-nav-item span {
    font-size: 11px;
    font-weight: 500;
}

/* Promo Links */
.w652e-promo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--w652e-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--w652e-transition);
}

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

/* Testimonials */
.w652e-testimonial {
    background: var(--w652e-bg-light);
    border-radius: var(--w652e-radius-md);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

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

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

.w652e-testimonial-name {
    font-weight: 600;
    color: var(--w652e-text-light);
}

.w652e-testimonial-stars {
    color: var(--w652e-primary);
    font-size: 1.2rem;
}

.w652e-testimonial-text {
    color: var(--w652e-text-muted);
    font-size: 1.4rem;
    line-height: 1.5;
}

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

.w652e-payment-item {
    background: var(--w652e-bg-light);
    padding: 1rem 1.5rem;
    border-radius: var(--w652e-radius-sm);
    font-size: 1.3rem;
    color: var(--w652e-text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* FAQ Section */
.w652e-faq-item {
    background: var(--w652e-bg-light);
    border-radius: var(--w652e-radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
}

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

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

/* Utilities */
.w652e-text-center { text-align: center; }
.w652e-mb-1 { margin-bottom: 1rem; }
.w652e-mb-2 { margin-bottom: 2rem; }
.w652e-mb-3 { margin-bottom: 3rem; }
.w652e-mt-2 { margin-top: 2rem; }
.w652e-hidden { display: none; }

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

    .w652e-game-card img {
        width: 50px;
        height: 50px;
    }

    .w652e-game-name {
        font-size: 1rem;
    }
}

@media (min-width: 769px) {
    .w652e-container {
        max-width: 768px;
    }

    .w652e-header-inner {
        max-width: 768px;
    }

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