/**
 * NuStar PH - Layout Stylesheet
 * All classes use prefix: sceb-
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --sceb-primary: #FF6347;
    --sceb-secondary: #FFBF00;
    --sceb-accent: #FFEB3B;
    --sceb-bg-dark: #0E1621;
    --sceb-bg-light: #1a2535;
    --sceb-text-light: #ffffff;
    --sceb-text-muted: #a0aec0;
    --sceb-border: #2d3748;
    --sceb-success: #48bb78;
    --sceb-gradient: linear-gradient(135deg, #FF6347 0%, #FFBF00 100%);
}

/* Reset and 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;
    font-size: 1.4rem;
    line-height: 1.5;
    background-color: var(--sceb-bg-dark);
    color: var(--sceb-text-light);
    min-height: 100vh;
}

/* Container */
.sceb-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
}

.sceb-wrapper {
    padding: 1rem;
}

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

.sceb-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
}

.sceb-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

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

.sceb-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--sceb-accent);
}

.sceb-header-actions {
    display: flex;
    gap: 0.6rem;
}

.sceb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.sceb-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 99, 71, 0.4);
}

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

.sceb-btn-outline:hover {
    background: var(--sceb-primary);
    color: var(--sceb-text-light);
}

.sceb-menu-toggle {
    background: transparent;
    border: none;
    color: var(--sceb-text-light);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
}

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

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

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

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

.sceb-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--sceb-text-light);
    font-size: 2rem;
    cursor: pointer;
}

.sceb-menu-nav {
    margin-top: 3rem;
}

.sceb-menu-nav a {
    display: block;
    padding: 1rem;
    color: var(--sceb-text-light);
    text-decoration: none;
    border-bottom: 1px solid var(--sceb-border);
    transition: color 0.3s ease;
}

.sceb-menu-nav a:hover {
    color: var(--sceb-accent);
}

/* Main Content */
.sceb-main {
    padding-top: 60px;
    padding-bottom: 80px;
}

/* Carousel */
.sceb-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin: 1rem 0;
}

.sceb-carousel-wrapper {
    overflow: hidden;
}

.sceb-carousel-container {
    display: flex;
    transition: transform 0.5s ease;
}

.sceb-slide {
    min-width: 100%;
    cursor: pointer;
}

.sceb-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.sceb-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.5);
}

.sceb-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sceb-text-muted);
    border: none;
    cursor: pointer;
}

.sceb-dot-active {
    background: var(--sceb-accent);
}

/* Section */
.sceb-section {
    padding: 1.5rem 1rem;
}

.sceb-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--sceb-accent);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--sceb-primary);
}

/* Games Grid */
.sceb-games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.sceb-game-card {
    background: var(--sceb-bg-light);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.sceb-game-card:hover {
    transform: translateY(-3px);
}

.sceb-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

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

/* Category Section */
.sceb-category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--sceb-secondary);
    margin: 1.5rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer */
.sceb-footer {
    background: var(--sceb-bg-light);
    padding: 2rem 1rem;
    border-top: 1px solid var(--sceb-border);
}

.sceb-footer-desc {
    font-size: 1.3rem;
    color: var(--sceb-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.sceb-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.sceb-footer-link {
    padding: 0.5rem 1rem;
    background: var(--sceb-bg-dark);
    border-radius: 4px;
    color: var(--sceb-text-light);
    text-decoration: none;
    font-size: 1.1rem;
    transition: background 0.3s ease;
}

.sceb-footer-link:hover {
    background: var(--sceb-primary);
}

.sceb-partners {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.sceb-partner-logo {
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.sceb-partner-logo:hover {
    opacity: 1;
}

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

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

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

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

.sceb-nav-item i,
.sceb-nav-item .material-icons {
    font-size: 22px;
    margin-bottom: 2px;
}

.sceb-nav-item ion-icon {
    font-size: 24px;
    margin-bottom: 2px;
}

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

/* Promo Banner */
.sceb-promo-banner {
    background: var(--sceb-gradient);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin: 1rem 0;
    cursor: pointer;
}

.sceb-promo-banner h3 {
    font-size: 1.6rem;
    color: var(--sceb-bg-dark);
    margin-bottom: 0.5rem;
}

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

/* Info Card */
.sceb-info-card {
    background: var(--sceb-bg-light);
    border-radius: 8px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--sceb-primary);
}

.sceb-info-card h3 {
    font-size: 1.4rem;
    color: var(--sceb-accent);
    margin-bottom: 0.8rem;
}

.sceb-info-card p {
    font-size: 1.2rem;
    color: var(--sceb-text-muted);
    line-height: 1.6;
}

/* Features List */
.sceb-features {
    display: grid;
    gap: 0.8rem;
}

.sceb-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem;
    background: var(--sceb-bg-light);
    border-radius: 6px;
}

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

.sceb-feature-icon i {
    font-size: 16px;
    color: var(--sceb-bg-dark);
}

.sceb-feature-content h4 {
    font-size: 1.3rem;
    color: var(--sceb-accent);
    margin-bottom: 0.3rem;
}

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

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

.sceb-testimonial {
    background: var(--sceb-bg-light);
    padding: 1rem;
    border-radius: 8px;
}

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

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

.sceb-testimonial-name {
    font-size: 1.3rem;
    color: var(--sceb-accent);
}

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

/* Payment Methods */
.sceb-payments {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.sceb-payment-icon {
    width: 50px;
    height: 30px;
    background: var(--sceb-bg-dark);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--sceb-text-light);
}

/* Winners Showcase */
.sceb-winners {
    display: grid;
    gap: 0.8rem;
}

.sceb-winner-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem;
    background: var(--sceb-bg-light);
    border-radius: 6px;
}

.sceb-winner-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

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

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

/* CTA Section */
.sceb-cta {
    background: var(--sceb-gradient);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    margin: 1.5rem 0;
}

.sceb-cta h3 {
    font-size: 1.8rem;
    color: var(--sceb-bg-dark);
    margin-bottom: 0.8rem;
}

.sceb-cta p {
    font-size: 1.2rem;
    color: var(--sceb-bg-dark);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.sceb-cta-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--sceb-bg-dark);
    color: var(--sceb-accent);
    border-radius: 6px;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.sceb-cta-btn:hover {
    transform: scale(1.05);
}

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

    .sceb-main {
        padding-bottom: 2rem;
    }

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

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

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

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

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

.sceb-mt-1 {
    margin-top: 1rem;
}

.sceb-hidden {
    display: none;
}

/* Link Styles */
.sceb-link {
    color: var(--sceb-primary);
    text-decoration: none;
    font-weight: 500;
}

.sceb-link:hover {
    color: var(--sceb-accent);
    text-decoration: underline;
}

/* Promo Link Text */
.sceb-promo-text {
    color: var(--sceb-accent);
    font-weight: 600;
    cursor: pointer;
}

.sceb-promo-text:hover {
    text-decoration: underline;
}
