/**
 * Aaajili Stylesheet
 * Class prefix: sbee-
 * Color palette: #1A1A1A (dark bg), #00B8D4 (primary), #AFEEEE (secondary), #B2DFDB (accent), #F5F5F5 (light text)
 */

/* CSS Variables */
:root {
    --sbee-primary: #00B8D4;
    --sbee-secondary: #AFEEEE;
    --sbee-accent: #B2DFDB;
    --sbee-bg-dark: #1A1A1A;
    --sbee-bg-light: #2A2A2A;
    --sbee-text-light: #F5F5F5;
    --sbee-text-muted: #A0A0A0;
    --sbee-success: #4CAF50;
    --sbee-warning: #FFC107;
    --sbee-gradient: linear-gradient(135deg, #00B8D4 0%, #AFEEEE 100%);
    --sbee-shadow: 0 4px 15px rgba(0, 184, 212, 0.3);
    --sbee-radius: 12px;
    --sbee-radius-sm: 8px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--sbee-bg-dark);
    color: var(--sbee-text-light);
    line-height: 1.5;
    max-width: 430px;
    margin: 0 auto;
    overflow-x: hidden;
}

/* Container */
.sbee-container {
    width: 100%;
    padding: 0 16px;
    max-width: 430px;
    margin: 0 auto;
}

/* Header */
.sbee-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--sbee-bg-dark) 0%, rgba(26, 26, 26, 0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 184, 212, 0.2);
}

.sbee-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sbee-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.sbee-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.sbee-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--sbee-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sbee-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sbee-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: var(--sbee-radius-sm);
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    min-height: 36px;
}

.sbee-btn-primary {
    background: var(--sbee-gradient);
    color: var(--sbee-bg-dark);
}

.sbee-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: var(--sbee-shadow);
}

.sbee-btn-outline {
    background: transparent;
    border: 2px solid var(--sbee-primary);
    color: var(--sbee-primary);
}

.sbee-btn-outline:hover {
    background: var(--sbee-primary);
    color: var(--sbee-bg-dark);
}

.sbee-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.sbee-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--sbee-primary);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.sbee-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--sbee-bg-light);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 80px 20px 20px;
    overflow-y: auto;
}

.sbee-menu-active {
    right: 0;
}

.sbee-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;
}

.sbee-overlay-active {
    opacity: 1;
    visibility: visible;
}

.sbee-nav-list {
    list-style: none;
}

.sbee-nav-item {
    display: block;
    padding: 14px 16px;
    color: var(--sbee-text-light);
    text-decoration: none;
    font-size: 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.sbee-nav-item:hover {
    background: rgba(0, 184, 212, 0.1);
    color: var(--sbee-primary);
}

/* Carousel */
.sbee-carousel {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: var(--sbee-radius);
    margin-top: 70px;
}

.sbee-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.sbee-slide-active {
    opacity: 1;
}

.sbee-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sbee-carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.sbee-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.sbee-dot-active {
    background: var(--sbee-primary);
    width: 24px;
    border-radius: 4px;
}

/* Main Content */
main {
    padding-bottom: 80px;
}

.sbee-section {
    padding: 20px 16px;
}

.sbee-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--sbee-text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sbee-section-title i {
    color: var(--sbee-primary);
}

/* Game Grid */
.sbee-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.sbee-game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.sbee-game-card:hover {
    transform: scale(1.05);
}

.sbee-game-icon {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--sbee-radius-sm);
    overflow: hidden;
    margin-bottom: 6px;
    border: 2px solid rgba(0, 184, 212, 0.3);
}

.sbee-game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sbee-game-name {
    font-size: 1.1rem;
    color: var(--sbee-text-light);
    text-align: center;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Features Section */
.sbee-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.sbee-feature-card {
    background: var(--sbee-bg-light);
    border-radius: var(--sbee-radius);
    padding: 16px;
    text-align: center;
    border: 1px solid rgba(0, 184, 212, 0.2);
}

.sbee-feature-icon {
    font-size: 2.4rem;
    color: var(--sbee-primary);
    margin-bottom: 10px;
}

.sbee-feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.sbee-feature-desc {
    font-size: 1.1rem;
    color: var(--sbee-text-muted);
}

/* Info Cards */
.sbee-info-card {
    background: var(--sbee-bg-light);
    border-radius: var(--sbee-radius);
    padding: 20px;
    margin-bottom: 16px;
    border-left: 4px solid var(--sbee-primary);
}

.sbee-info-card h3 {
    font-size: 1.5rem;
    color: var(--sbee-primary);
    margin-bottom: 12px;
}

.sbee-info-card p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--sbee-text-muted);
}

/* Promo Banner */
.sbee-promo-banner {
    background: var(--sbee-gradient);
    border-radius: var(--sbee-radius);
    padding: 20px;
    text-align: center;
    margin: 16px 0;
}

.sbee-promo-banner h3 {
    font-size: 1.6rem;
    color: var(--sbee-bg-dark);
    margin-bottom: 8px;
}

.sbee-promo-banner p {
    font-size: 1.2rem;
    color: var(--sbee-bg-dark);
    opacity: 0.9;
}

/* Footer */
.sbee-footer {
    background: var(--sbee-bg-light);
    padding: 24px 16px;
    border-top: 1px solid rgba(0, 184, 212, 0.2);
}

.sbee-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.sbee-footer-link {
    color: var(--sbee-text-muted);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.sbee-footer-link:hover {
    color: var(--sbee-primary);
}

.sbee-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.sbee-partner-logo {
    width: 40px;
    height: 20px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.sbee-partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.sbee-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: var(--sbee-text-muted);
}

/* Bottom Navigation */
.sbee-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    height: 64px;
    background: linear-gradient(180deg, var(--sbee-bg-light) 0%, var(--sbee-bg-dark) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid rgba(0, 184, 212, 0.3);
}

.sbee-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    text-decoration: none;
    color: var(--sbee-text-muted);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    background: none;
}

.sbee-nav-btn:hover,
.sbee-nav-btn-active {
    color: var(--sbee-primary);
}

.sbee-nav-btn i,
.sbee-nav-btn .material-icons {
    font-size: 24px;
    margin-bottom: 4px;
}

.sbee-nav-btn span {
    font-size: 10px;
    font-weight: 500;
}

/* Desktop hide bottom nav */
@media (min-width: 769px) {
    .sbee-bottom-nav {
        display: none;
    }

    main {
        padding-bottom: 20px;
    }
}

/* Utilities */
.sbee-text-center {
    text-align: center;
}

.sbee-mb-16 {
    margin-bottom: 16px;
}

.sbee-mt-16 {
    margin-top: 16px;
}

/* Link styles */
.sbee-text-link {
    color: var(--sbee-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.sbee-text-link:hover {
    color: var(--sbee-secondary);
    text-decoration: underline;
}

/* FAQ Accordion */
.sbee-faq-item {
    background: var(--sbee-bg-light);
    border-radius: var(--sbee-radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
}

.sbee-faq-question {
    padding: 14px 16px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sbee-faq-answer {
    padding: 0 16px 14px;
    font-size: 1.2rem;
    color: var(--sbee-text-muted);
    line-height: 1.6;
}

/* Steps List */
.sbee-steps {
    counter-reset: step;
}

.sbee-step {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.sbee-step-num {
    width: 28px;
    height: 28px;
    background: var(--sbee-gradient);
    color: var(--sbee-bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.sbee-step-content {
    font-size: 1.3rem;
    color: var(--sbee-text-muted);
    line-height: 1.5;
}
