/**
 * JL69 Casino - Main Stylesheet
 * Website: jl69.sbs
 * Prefix: s3a7-
 * Colors: #2F2F2F | #273746 | #FFFACD | #B8860B | #FF8C00
 */

/* CSS Variables */
:root {
    --s3a7-primary: #B8860B;
    --s3a7-secondary: #FF8C00;
    --s3a7-accent: #FFFACD;
    --s3a7-bg-dark: #2F2F2F;
    --s3a7-bg-darker: #273746;
    --s3a7-text-light: #FFFACD;
    --s3a7-text-gold: #B8860B;
    --s3a7-text-orange: #FF8C00;
    --s3a7-border: rgba(184, 134, 11, 0.3);
    --s3a7-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --s3a7-radius: 8px;
    --s3a7-transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    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: linear-gradient(135deg, var(--s3a7-bg-darker) 0%, var(--s3a7-bg-dark) 100%);
    color: var(--s3a7-text-light);
    line-height: 1.5rem;
    min-height: 100vh;
    max-width: 430px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.s3a7-container {
    width: 100%;
    padding: 0 1.2rem;
    margin: 0 auto;
}

.s3a7-wrapper {
    padding: 1rem 0;
}

/* Header */
.s3a7-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--s3a7-bg-darker) 0%, rgba(39, 55, 70, 0.95) 100%);
    padding: 0.8rem 1rem;
    z-index: 1000;
    box-shadow: var(--s3a7-shadow);
    border-bottom: 1px solid var(--s3a7-border);
}

.s3a7-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.s3a7-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.s3a7-logo img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.s3a7-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--s3a7-text-gold);
    letter-spacing: 1px;
}

.s3a7-header-actions {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.s3a7-btn {
    padding: 0.5rem 1rem;
    border-radius: var(--s3a7-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--s3a7-transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.s3a7-btn-login {
    background: transparent;
    color: var(--s3a7-text-gold);
    border: 1px solid var(--s3a7-primary);
}

.s3a7-btn-login:hover {
    background: var(--s3a7-primary);
    color: var(--s3a7-bg-dark);
}

.s3a7-btn-register {
    background: linear-gradient(135deg, var(--s3a7-primary) 0%, var(--s3a7-secondary) 100%);
    color: var(--s3a7-bg-dark);
    box-shadow: 0 2px 10px rgba(184, 134, 11, 0.4);
}

.s3a7-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.6);
}

.s3a7-menu-toggle {
    background: transparent;
    border: none;
    color: var(--s3a7-text-gold);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
}

/* Mobile Menu */
.s3a7-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 260px;
    height: 100vh;
    background: var(--s3a7-bg-darker);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 2rem 1.5rem;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
}

.pro956-menu-active {
    right: 0;
}

.s3a7-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(--s3a7-transition);
}

.pro956-overlay-active {
    opacity: 1;
    visibility: visible;
}

.s3a7-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--s3a7-border);
}

.s3a7-menu-close {
    background: transparent;
    border: none;
    color: var(--s3a7-text-gold);
    font-size: 2.2rem;
    cursor: pointer;
}

.s3a7-menu-nav {
    list-style: none;
}

.s3a7-menu-nav li {
    margin-bottom: 0.5rem;
}

.s3a7-menu-nav a {
    display: block;
    padding: 1rem;
    color: var(--s3a7-text-light);
    font-size: 1.3rem;
    border-radius: var(--s3a7-radius);
    transition: var(--s3a7-transition);
}

.s3a7-menu-nav a:hover {
    background: rgba(184, 134, 11, 0.2);
    color: var(--s3a7-text-gold);
}

/* Main Content */
.s3a7-main {
    padding-top: 60px;
    padding-bottom: 80px;
}

/* Carousel */
.s3a7-carousel {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 0 0 var(--s3a7-radius) var(--s3a7-radius);
}

.pro956-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.pro956-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.s3a7-carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.pro956-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 250, 205, 0.5);
    cursor: pointer;
    transition: var(--s3a7-transition);
}

.pro956-dot-active {
    background: var(--s3a7-primary);
    transform: scale(1.2);
}

/* Section Styles */
.s3a7-section {
    padding: 1.5rem 1rem;
}

.s3a7-section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--s3a7-text-gold);
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
}

.s3a7-section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--s3a7-primary), transparent);
}

/* Game Grid */
.s3a7-game-category {
    margin-bottom: 2rem;
}

.s3a7-category-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--s3a7-secondary);
    margin-bottom: 1rem;
    padding-left: 0.5rem;
    border-left: 3px solid var(--s3a7-secondary);
}

.s3a7-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.s3a7-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.6rem;
    background: rgba(39, 55, 70, 0.6);
    border-radius: var(--s3a7-radius);
    cursor: pointer;
    transition: var(--s3a7-transition);
    border: 1px solid transparent;
}

.s3a7-game-item:hover {
    border-color: var(--s3a7-primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.s3a7-game-item img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    margin-bottom: 0.4rem;
    object-fit: cover;
}

.s3a7-game-name {
    font-size: 1rem;
    color: var(--s3a7-text-light);
    text-align: center;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Content Cards */
.s3a7-card {
    background: rgba(39, 55, 70, 0.5);
    border-radius: var(--s3a7-radius);
    padding: 1.2rem;
    margin-bottom: 1rem;
    border: 1px solid var(--s3a7-border);
}

.s3a7-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--s3a7-text-gold);
    margin-bottom: 0.8rem;
}

.s3a7-card-content {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--s3a7-text-light);
}

.s3a7-card-content p {
    margin-bottom: 0.8rem;
}

.s3a7-card-content ul {
    list-style: none;
    padding-left: 0;
}

.s3a7-card-content li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.s3a7-card-content li::before {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--s3a7-primary);
    font-size: 1rem;
}

/* Promo Links */
.s3a7-promo-link {
    color: var(--s3a7-text-orange);
    font-weight: 600;
    cursor: pointer;
    transition: var(--s3a7-transition);
}

.s3a7-promo-link:hover {
    color: var(--s3a7-text-gold);
    text-decoration: underline;
}

.s3a7-text-link {
    color: var(--s3a7-secondary);
    text-decoration: underline;
    cursor: pointer;
}

/* RTP Stats */
.s3a7-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.s3a7-rtp-item {
    background: rgba(47, 47, 47, 0.6);
    padding: 0.8rem;
    border-radius: var(--s3a7-radius);
    text-align: center;
}

.s3a7-rtp-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--s3a7-secondary);
}

.s3a7-rtp-label {
    font-size: 1rem;
    color: var(--s3a7-text-light);
}

/* Features List */
.s3a7-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.s3a7-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(47, 47, 47, 0.4);
    border-radius: var(--s3a7-radius);
}

.s3a7-feature-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--s3a7-primary), var(--s3a7-secondary));
    border-radius: 50%;
    color: var(--s3a7-bg-dark);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.s3a7-feature-text {
    font-size: 1.2rem;
    line-height: 1.4;
}

/* Footer */
.s3a7-footer {
    background: var(--s3a7-bg-darker);
    padding: 1.5rem 1rem 2rem;
    border-top: 1px solid var(--s3a7-border);
}

.s3a7-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.s3a7-footer-links a {
    font-size: 1.1rem;
    color: var(--s3a7-text-light);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    transition: var(--s3a7-transition);
}

.s3a7-footer-links a:hover {
    color: var(--s3a7-text-gold);
    background: rgba(184, 134, 11, 0.2);
}

.s3a7-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.s3a7-partners img {
    height: 24px;
    opacity: 0.7;
    transition: var(--s3a7-transition);
}

.s3a7-partners img:hover {
    opacity: 1;
}

.s3a7-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 250, 205, 0.6);
}

/* Bottom Navigation */
.s3a7-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--s3a7-bg-darker) 0%, #1a2632 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.6rem 0;
    height: 60px;
    z-index: 1000;
    border-top: 1px solid var(--s3a7-border);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
}

.s3a7-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 50px;
    background: transparent;
    border: none;
    color: var(--s3a7-text-light);
    cursor: pointer;
    transition: var(--s3a7-transition);
    border-radius: 8px;
    padding: 0.4rem;
}

.s3a7-nav-btn:hover {
    color: var(--s3a7-text-gold);
    background: rgba(184, 134, 11, 0.15);
}

.s3a7-nav-btn.active {
    color: var(--s3a7-secondary);
}

.s3a7-nav-btn i,
.s3a7-nav-btn span.material-symbols-outlined {
    font-size: 22px;
    margin-bottom: 2px;
}

.s3a7-nav-btn ion-icon {
    font-size: 22px;
    margin-bottom: 2px;
}

.s3a7-nav-text {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* CTA Button */
.s3a7-cta-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--s3a7-primary) 0%, var(--s3a7-secondary) 100%);
    color: var(--s3a7-bg-dark);
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: var(--s3a7-radius);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--s3a7-transition);
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.4);
}

.s3a7-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.6);
}

/* FAQ Accordion */
.s3a7-faq-item {
    background: rgba(39, 55, 70, 0.5);
    border-radius: var(--s3a7-radius);
    margin-bottom: 0.8rem;
    border: 1px solid var(--s3a7-border);
    overflow: hidden;
}

.s3a7-faq-question {
    padding: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--s3a7-text-gold);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.s3a7-faq-answer {
    padding: 0 1rem 1rem;
    font-size: 1.1rem;
    color: var(--s3a7-text-light);
    line-height: 1.5;
}

/* Responsive */
@media (min-width: 769px) {
    .s3a7-bottom-nav {
        display: none;
    }

    .s3a7-main {
        padding-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .s3a7-main {
        padding-bottom: 80px;
    }
}

/* Utility Classes */
.s3a7-text-center {
    text-align: center;
}

.s3a7-mb-1 {
    margin-bottom: 1rem;
}

.s3a7-mb-2 {
    margin-bottom: 2rem;
}

.s3a7-mt-1 {
    margin-top: 1rem;
}

.s3a7-mt-2 {
    margin-top: 2rem;
}

/* H1 Title */
.s3a7-h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--s3a7-text-gold);
    text-align: center;
    margin: 1.5rem 0;
    line-height: 1.3;
}
