/**
 * JL44 Online Casino - Layout Stylesheet
 * Class prefix: sb7c-
 * All classes use sb7c- prefix to avoid conflicts
 */

/* CSS Variables */
:root {
    --sb7c-primary: #F4A460;
    --sb7c-secondary: #FFF8DC;
    --sb7c-bg-dark: #0E1621;
    --sb7c-bg-light: #F8F9FA;
    --sb7c-text-light: #F8F8FF;
    --sb7c-text-dark: #0E1621;
    --sb7c-accent: #F4A460;
    --sb7c-gradient: linear-gradient(135deg, #0E1621 0%, #1a2a3a 100%);
    --sb7c-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --sb7c-radius: 12px;
    --sb7c-transition: all 0.3s ease;
}

/* 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;
    background: var(--sb7c-bg-dark);
    color: var(--sb7c-text-light);
    line-height: 1.6;
    min-height: 100vh;
}

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

.sb7c-wrapper {
    padding: 1rem;
}

/* Header */
.sb7c-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--sb7c-gradient);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--sb7c-shadow);
}

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

.sb7c-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.sb7c-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--sb7c-accent);
    white-space: nowrap;
}

.sb7c-header-actions {
    display: flex;
    gap: 0.8rem;
}

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

.sb7c-btn-primary {
    background: var(--sb7c-accent);
    color: var(--sb7c-bg-dark);
}

.sb7c-btn-primary:hover {
    background: #e09040;
    transform: translateY(-2px);
}

.sb7c-btn-secondary {
    background: transparent;
    border: 2px solid var(--sb7c-accent);
    color: var(--sb7c-accent);
}

.sb7c-btn-secondary:hover {
    background: var(--sb7c-accent);
    color: var(--sb7c-bg-dark);
}

.sb7c-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.sb7c-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--sb7c-accent);
    border-radius: 2px;
    transition: var(--sb7c-transition);
}

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

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

.sb7c-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(--sb7c-transition);
}

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

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

.sb7c-nav-list {
    list-style: none;
    margin-top: 3rem;
}

.sb7c-nav-item {
    display: block;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(244, 164, 96, 0.2);
    color: var(--sb7c-text-light);
    text-decoration: none;
    font-size: 1.5rem;
    transition: var(--sb7c-transition);
}

.sb7c-nav-item:hover {
    color: var(--sb7c-accent);
    padding-left: 1rem;
}

/* Main Content */
main {
    padding-top: 70px;
}

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

/* Carousel */
.sb7c-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--sb7c-radius);
    margin: 1rem 0;
}

.sb7c-carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

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

.sb7c-slide-active {
    opacity: 1;
    position: relative;
}

.sb7c-carousel-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    cursor: pointer;
}

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

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

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

/* Section Headers */
.sb7c-section {
    padding: 2rem 1.5rem;
}

.sb7c-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--sb7c-accent);
    margin-bottom: 1.5rem;
    text-align: center;
}

.sb7c-section-subtitle {
    font-size: 1.4rem;
    color: var(--sb7c-text-light);
    opacity: 0.9;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.sb7c-game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 0.6rem;
    text-align: center;
    cursor: pointer;
    transition: var(--sb7c-transition);
}

.sb7c-game-card:hover {
    background: rgba(244, 164, 96, 0.2);
    transform: translateY(-3px);
}

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

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

/* Category Header */
.sb7c-category-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--sb7c-accent);
}

.sb7c-category-icon {
    font-size: 2rem;
    color: var(--sb7c-accent);
}

.sb7c-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--sb7c-text-light);
}

/* Cards */
.sb7c-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--sb7c-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

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

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

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

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

.sb7c-feature-icon {
    font-size: 2rem;
    color: var(--sb7c-accent);
    flex-shrink: 0;
}

.sb7c-feature-content h4 {
    font-size: 1.4rem;
    color: var(--sb7c-text-light);
    margin-bottom: 0.4rem;
}

.sb7c-feature-content p {
    font-size: 1.2rem;
    color: var(--sb7c-text-light);
    opacity: 0.8;
}

/* Promo Link Styles */
.sb7c-promo-link {
    color: var(--sb7c-accent);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--sb7c-transition);
}

.sb7c-promo-link:hover {
    color: #ffb366;
    text-decoration: underline;
}

/* Footer */
.sb7c-footer {
    background: var(--sb7c-gradient);
    padding: 2rem 1.5rem;
    margin-top: 2rem;
}

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

.sb7c-footer-desc {
    font-size: 1.3rem;
    color: var(--sb7c-text-light);
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.sb7c-footer-link {
    font-size: 1.2rem;
    color: var(--sb7c-text-light);
    text-decoration: none;
    transition: var(--sb7c-transition);
}

.sb7c-footer-link:hover {
    color: var(--sb7c-accent);
}

.sb7c-footer-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--sb7c-text-light);
    opacity: 0.7;
    padding-top: 1rem;
    border-top: 1px solid rgba(244, 164, 96, 0.2);
}

/* Mobile Bottom Navigation */
.sb7c-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--sb7c-gradient);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
}

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

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

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

.sb7c-nav-btn i,
.sb7c-nav-btn .material-icons {
    font-size: 24px;
    margin-bottom: 4px;
}

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

/* RTP Section */
.sb7c-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.sb7c-rtp-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
}

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

.sb7c-rtp-label {
    font-size: 1.1rem;
    color: var(--sb7c-text-light);
    opacity: 0.8;
}

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

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

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

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

.sb7c-payment-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.8rem 1.2rem;
    font-size: 1.2rem;
    color: var(--sb7c-text-light);
}

/* Winners Showcase */
.sb7c-winner-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(244, 164, 96, 0.1);
}

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

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

/* FAQ Section */
.sb7c-faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--sb7c-radius);
    padding: 1.2rem;
    margin-bottom: 1rem;
}

.sb7c-faq-question {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--sb7c-accent);
    margin-bottom: 0.8rem;
}

.sb7c-faq-answer {
    font-size: 1.3rem;
    color: var(--sb7c-text-light);
    line-height: 1.6;
}

/* CTA Section */
.sb7c-cta {
    background: linear-gradient(135deg, rgba(244, 164, 96, 0.3) 0%, rgba(244, 164, 96, 0.1) 100%);
    border-radius: var(--sb7c-radius);
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.sb7c-cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--sb7c-accent);
    margin-bottom: 1rem;
}

.sb7c-cta-text {
    font-size: 1.4rem;
    color: var(--sb7c-text-light);
    margin-bottom: 1.5rem;
}

/* Desktop Navigation */
@media (min-width: 769px) {
    .sb7c-header {
        max-width: 100%;
        padding: 1rem 3rem;
    }

    .sb7c-menu-toggle {
        display: none;
    }

    .sb7c-desktop-nav {
        display: flex;
        gap: 2rem;
    }

    .sb7c-desktop-nav a {
        color: var(--sb7c-text-light);
        text-decoration: none;
        font-size: 1.4rem;
        transition: var(--sb7c-transition);
    }

    .sb7c-desktop-nav a:hover {
        color: var(--sb7c-accent);
    }

    .sb7c-container {
        max-width: 1200px;
    }

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

@media (max-width: 768px) {
    .sb7c-desktop-nav {
        display: none;
    }
}

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

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

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

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