/**
 * AronPlay Main Stylesheet
 * Website: aronplay.cfd
 * Prefix: sb38-
 * Color Palette: #2C3E50 (dark) | #FFF8DC (light) | #FF91A4 (accent) | #FFEBCD (secondary)
 */

/* CSS Variables */
:root {
    --sb38-primary: #FF91A4;
    --sb38-secondary: #FFEBCD;
    --sb38-bg-dark: #2C3E50;
    --sb38-bg-darker: #1a252f;
    --sb38-text-light: #FFF8DC;
    --sb38-text-muted: #b8c5d1;
    --sb38-accent: #FF91A4;
    --sb38-gold: #FFD700;
    --sb38-success: #27ae60;
    --sb38-gradient: linear-gradient(135deg, #2C3E50 0%, #1a252f 100%);
    --sb38-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --sb38-radius: 8px;
    --sb38-radius-lg: 16px;
    --vh: 1vh;
}

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

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--sb38-gradient);
    background-attachment: fixed;
    color: var(--sb38-text-light);
    line-height: 1.5rem;
    font-size: 1.4rem;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    color: var(--sb38-gold);
}

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

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

/* Header */
.sb38-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--sb38-bg-darker) 0%, rgba(26, 37, 47, 0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    box-shadow: var(--sb38-shadow);
}

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

.sb38-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.sb38-logo img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.sb38-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--sb38-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sb38-header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.sb38-btn {
    padding: 0.6rem 1.2rem;
    border-radius: var(--sb38-radius);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

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

.sb38-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 145, 164, 0.4);
}

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

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

.sb38-menu-toggle {
    background: transparent;
    border: none;
    color: var(--sb38-text-light);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.sb38-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.sb38-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 248, 220, 0.1);
}

.sb38-menu-close {
    background: transparent;
    border: none;
    color: var(--sb38-text-light);
    font-size: 2.4rem;
    cursor: pointer;
}

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

.sb38-menu-nav li {
    margin-bottom: 0.8rem;
}

.sb38-menu-nav a {
    display: block;
    padding: 1rem;
    color: var(--sb38-text-light);
    font-size: 1.4rem;
    border-radius: var(--sb38-radius);
    transition: all 0.3s ease;
}

.sb38-menu-nav a:hover {
    background: rgba(255, 145, 164, 0.15);
    color: var(--sb38-primary);
}

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

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

/* Hero Slider */
.sb38-slider {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 0 0 var(--sb38-radius-lg) var(--sb38-radius-lg);
}

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

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

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

/* Section Styles */
.sb38-section {
    padding: 2rem 0;
}

.sb38-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--sb38-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.sb38-section-title i {
    font-size: 2rem;
}

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

.sb38-game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--sb38-radius);
    padding: 0.6rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sb38-game-card:hover {
    background: rgba(255, 145, 164, 0.15);
    transform: translateY(-3px);
}

.sb38-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.4rem;
}

.sb38-game-name {
    font-size: 1rem;
    color: var(--sb38-text-light);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Cards & Features */
.sb38-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--sb38-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 248, 220, 0.1);
}

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

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

/* Feature List */
.sb38-feature-list {
    list-style: none;
}

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

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

.sb38-feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--sb38-primary) 0%, #ff6b8a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sb38-feature-icon i {
    font-size: 1.8rem;
    color: var(--sb38-bg-darker);
}

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

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

.sb38-faq-answer {
    padding: 0 1.2rem 1.2rem;
    color: var(--sb38-text-muted);
    font-size: 1.3rem;
}

/* Testimonials */
.sb38-testimonial {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--sb38-radius);
    padding: 1.2rem;
    margin-bottom: 1rem;
}

.sb38-testimonial-text {
    font-style: italic;
    color: var(--sb38-text-light);
    margin-bottom: 0.8rem;
}

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

/* Payment Methods */
.sb38-payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.sb38-payment-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.6rem 1.2rem;
    border-radius: var(--sb38-radius);
    font-size: 1.2rem;
    color: var(--sb38-text-light);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

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

.sb38-stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--sb38-radius);
    padding: 1.2rem;
    text-align: center;
}

.sb38-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--sb38-primary);
}

.sb38-stat-label {
    font-size: 1.1rem;
    color: var(--sb38-text-muted);
}

/* Footer */
.sb38-footer {
    background: var(--sb38-bg-darker);
    padding: 2rem 0 1rem;
    margin-top: 2rem;
}

.sb38-footer-brand {
    text-align: center;
    margin-bottom: 1.5rem;
}

.sb38-footer-desc {
    font-size: 1.2rem;
    color: var(--sb38-text-muted);
    line-height: 1.6;
    max-width: 350px;
    margin: 0 auto 1.5rem;
}

.sb38-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.sb38-footer-link {
    font-size: 1.2rem;
    color: var(--sb38-text-light);
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--sb38-radius);
    transition: all 0.3s ease;
}

.sb38-footer-link:hover {
    background: var(--sb38-primary);
    color: var(--sb38-bg-darker);
}

.sb38-footer-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: var(--sb38-text-muted);
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 248, 220, 0.1);
}

/* Bottom Navigation (Mobile Only) */
.sb38-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, rgba(26, 37, 47, 0.98) 0%, var(--sb38-bg-darker) 100%);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 145, 164, 0.2);
}

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

.sb38-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(--sb38-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.4rem;
}

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

.sb38-nav-btn i {
    font-size: 22px;
    margin-bottom: 2px;
}

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

/* Promo Banner */
.sb38-promo-banner {
    background: linear-gradient(135deg, var(--sb38-primary) 0%, #ff6b8a 100%);
    padding: 1.2rem;
    border-radius: var(--sb38-radius-lg);
    text-align: center;
    margin: 1.5rem 0;
}

.sb38-promo-banner h3 {
    color: var(--sb38-bg-darker);
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
}

.sb38-promo-banner p {
    color: var(--sb38-bg-darker);
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Winner List */
.sb38-winner-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--sb38-radius);
    margin-bottom: 0.6rem;
}

.sb38-winner-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sb38-primary) 0%, #ff6b8a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--sb38-bg-darker);
}

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

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

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

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

/* Utility Classes */
.sb38-text-center {
    text-align: center;
}

.sb38-text-primary {
    color: var(--sb38-primary);
}

.sb38-text-gold {
    color: var(--sb38-gold);
}

.sb38-mb-1 {
    margin-bottom: 1rem;
}

.sb38-mb-2 {
    margin-bottom: 2rem;
}

.sb38-mt-2 {
    margin-top: 2rem;
}

/* H1 Title */
.sb38-h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--sb38-text-light);
    text-align: center;
    margin: 1.5rem 0;
    line-height: 1.3;
}

.sb38-h1 span {
    color: var(--sb38-primary);
}

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

    .sb38-btn {
        padding: 0.5rem 0.8rem;
        font-size: 1.1rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sb38-animate {
    animation: fadeIn 0.5s ease forwards;
}
