/**
 * nustar casino app - Main Stylesheet
 * Mobile-first responsive design
 * Color palette: #008B8B (teal) | #34495E (dark slate)
 */

/* CSS Variables */
:root {
    --g953-primary: #008B8B;
    --g953-primary-dark: #006666;
    --g953-primary-light: #20B2AA;
    --g953-secondary: #34495E;
    --g953-secondary-dark: #2C3E50;
    --g953-bg-dark: #1A252F;
    --g953-bg-darker: #0F1519;
    --g953-text-light: #ECF0F1;
    --g953-text-muted: #95A5A6;
    --g953-accent: #F39C12;
    --g953-success: #27AE60;
    --g953-danger: #E74C3C;
    --g953-gradient: linear-gradient(135deg, #008B8B 0%, #006666 100%);
    --g953-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --g953-radius: 8px;
    --g953-radius-lg: 12px;
}

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

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

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    font-size: 1.4rem;
    line-height: 1.5;
    background-color: var(--g953-bg-dark);
    color: var(--g953-text-light);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--g953-primary-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

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

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

/* Header */
.g953-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--g953-bg-darker) 0%, rgba(15, 21, 25, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 139, 139, 0.3);
    transition: all 0.3s ease;
}

.g953-header-scrolled {
    background: rgba(15, 21, 25, 0.98);
    box-shadow: var(--g953-shadow);
}

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

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

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

.g953-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--g953-text-light);
    background: var(--g953-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.g953-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.g953-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: var(--g953-radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.g953-btn-primary {
    background: var(--g953-gradient);
    color: var(--g953-text-light);
    box-shadow: 0 4px 15px rgba(0, 139, 139, 0.4);
}

.g953-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 139, 139, 0.5);
}

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

.g953-btn-secondary:hover {
    background: var(--g953-primary);
}

.g953-btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 1.2rem;
}

.g953-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.g953-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--g953-text-light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

.g953-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: all 0.3s ease;
}

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

.g953-nav-list {
    list-style: none;
}

.g953-nav-item {
    margin-bottom: 0.5rem;
}

.g953-nav-link {
    display: block;
    padding: 1.2rem 1rem;
    color: var(--g953-text-light);
    font-size: 1.4rem;
    font-weight: 500;
    border-radius: var(--g953-radius);
    transition: all 0.3s ease;
}

.g953-nav-link:hover {
    background: var(--g953-primary);
    color: var(--g953-text-light);
}

.g953-nav-link i {
    margin-right: 1rem;
    width: 20px;
    text-align: center;
}

/* Hero/Slider */
.g953-hero {
    position: relative;
    margin-top: 60px;
    overflow: hidden;
}

.g953-slider {
    position: relative;
    height: 200px;
}

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

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

.g953-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

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

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

.g953-dot-active {
    background: var(--g953-accent);
    transform: scale(1.2);
}

/* Sections */
.g953-section {
    padding: 2.5rem 1.5rem;
}

.g953-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--g953-text-light);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.g953-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--g953-gradient);
    border-radius: 2px;
}

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

.g953-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.g953-game-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--g953-radius);
    overflow: hidden;
    background: var(--g953-secondary-dark);
    margin-bottom: 0.5rem;
}

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

.g953-game-name {
    font-size: 1.1rem;
    color: var(--g953-text-light);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Tabs */
.g953-category-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--g953-accent);
    margin-bottom: 1.2rem;
    padding: 0.8rem 1rem;
    background: rgba(0, 139, 139, 0.15);
    border-radius: var(--g953-radius);
    border-left: 3px solid var(--g953-primary);
}

.g953-category-title i {
    font-size: 1.8rem;
}

/* Cards */
.g953-card {
    background: var(--g953-secondary-dark);
    border-radius: var(--g953-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--g953-shadow);
    border: 1px solid rgba(0, 139, 139, 0.2);
}

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

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

/* Features List */
.g953-features-list {
    list-style: none;
}

.g953-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.g953-feature-item:last-child {
    border-bottom: none;
}

.g953-feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--g953-gradient);
    border-radius: 50%;
    flex-shrink: 0;
}

.g953-feature-icon i {
    font-size: 1.8rem;
    color: var(--g953-text-light);
}

.g953-feature-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--g953-text-light);
    margin-bottom: 0.3rem;
}

.g953-feature-content p {
    font-size: 1.2rem;
    color: var(--g953-text-muted);
}

/* Testimonials */
.g953-testimonial {
    background: var(--g953-secondary-dark);
    border-radius: var(--g953-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--g953-primary);
}

.g953-testimonial-text {
    font-size: 1.3rem;
    color: var(--g953-text-light);
    font-style: italic;
    margin-bottom: 1rem;
}

.g953-testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

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

/* Footer */
.g953-footer {
    background: var(--g953-bg-darker);
    padding: 2rem 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(0, 139, 139, 0.3);
}

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

.g953-footer-brand p {
    font-size: 1.2rem;
    color: var(--g953-text-muted);
    margin-top: 1rem;
    line-height: 1.6;
}

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

.g953-footer-link {
    padding: 0.6rem 1.2rem;
    background: var(--g953-secondary-dark);
    border-radius: var(--g953-radius);
    font-size: 1.2rem;
    color: var(--g953-text-light);
    transition: all 0.3s ease;
}

.g953-footer-link:hover {
    background: var(--g953-primary);
    color: var(--g953-text-light);
}

.g953-footer-copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.g953-footer-copyright p {
    font-size: 1.1rem;
    color: var(--g953-text-muted);
}

/* Bottom Navigation */
.g953-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, var(--g953-bg-darker) 0%, var(--g953-bg-dark) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid rgba(0, 139, 139, 0.3);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
}

.g953-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    background: transparent;
    border: none;
    color: var(--g953-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
}

.g953-nav-btn:hover,
.g953-nav-btn-active {
    color: var(--g953-primary-light);
    transform: scale(1.1);
}

.g953-nav-btn i {
    font-size: 22px;
    margin-bottom: 0.2rem;
}

.g953-nav-btn span {
    font-size: 10px;
    font-weight: 500;
}

/* Toast Notification */
.g953-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--g953-primary);
    color: var(--g953-text-light);
    padding: 1rem 2rem;
    border-radius: var(--g953-radius);
    font-size: 1.3rem;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
}

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

/* Main content padding for bottom nav */
@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Desktop - hide bottom nav */
@media (min-width: 769px) {
    .g953-bottom-nav {
        display: none;
    }

    .g953-container {
        max-width: 768px;
    }
}

/* Promo Banner */
.g953-promo-banner {
    background: var(--g953-gradient);
    padding: 1.5rem;
    text-align: center;
    margin: 1rem 0;
    border-radius: var(--g953-radius-lg);
}

.g953-promo-banner h3 {
    font-size: 1.6rem;
    color: var(--g953-text-light);
    margin-bottom: 0.5rem;
}

.g953-promo-banner p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

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

.g953-stat-item {
    background: var(--g953-secondary-dark);
    padding: 1.2rem;
    border-radius: var(--g953-radius);
    text-align: center;
}

.g953-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--g953-accent);
}

.g953-stat-label {
    font-size: 1.1rem;
    color: var(--g953-text-muted);
    margin-top: 0.3rem;
}

/* Payment Methods */
.g953-payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.g953-payment-item {
    background: var(--g953-secondary-dark);
    padding: 0.8rem 1.2rem;
    border-radius: var(--g953-radius);
    font-size: 1.2rem;
    color: var(--g953-text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Winners List */
.g953-winner-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--g953-secondary-dark);
    border-radius: var(--g953-radius);
    margin-bottom: 0.8rem;
}

.g953-winner-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

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

/* FAQ */
.g953-faq-item {
    margin-bottom: 1rem;
}

.g953-faq-question {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--g953-primary-light);
    margin-bottom: 0.5rem;
}

.g953-faq-answer {
    font-size: 1.3rem;
    color: var(--g953-text-muted);
    line-height: 1.6;
    padding-left: 1rem;
    border-left: 2px solid var(--g953-primary);
}

/* Text utilities */
.g953-text-center { text-align: center; }
.g953-text-accent { color: var(--g953-accent); }
.g953-text-primary { color: var(--g953-primary-light); }
.g953-text-muted { color: var(--g953-text-muted); }
.g953-font-bold { font-weight: 700; }

/* Spacing utilities */
.g953-mt-1 { margin-top: 0.5rem; }
.g953-mt-2 { margin-top: 1rem; }
.g953-mt-3 { margin-top: 1.5rem; }
.g953-mb-1 { margin-bottom: 0.5rem; }
.g953-mb-2 { margin-bottom: 1rem; }
.g953-mb-3 { margin-bottom: 1.5rem; }
.g953-py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.g953-py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
