/**
 * Casino Plus PH - Main Stylesheet
 * Prefix: s834-
 * Color Palette: #0D1117 (bg) | #4B0082 (primary) | #E6E6FA (text) | #FFE135 (accent) | #B8860B (gold) | #999999 (muted)
 */

/* CSS Variables */
:root {
    --s834-bg: #0D1117;
    --s834-bg-secondary: #161B22;
    --s834-primary: #4B0082;
    --s834-primary-light: #6B238E;
    --s834-text: #E6E6FA;
    --s834-text-muted: #999999;
    --s834-accent: #FFE135;
    --s834-gold: #B8860B;
    --s834-gradient: linear-gradient(135deg, #4B0082 0%, #6B238E 100%);
    --s834-radius: 8px;
    --s834-radius-lg: 12px;
    --s834-shadow: 0 4px 20px rgba(75, 0, 130, 0.3);
    --s834-transition: all 0.3s ease;
}

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 1.4rem;
    line-height: 1.5;
    color: var(--s834-text);
    background: var(--s834-bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

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

.s834-wrapper {
    padding: 1.6rem 0;
}

/* Header */
.s834-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--s834-bg);
    border-bottom: 1px solid rgba(75, 0, 130, 0.3);
    transition: var(--s834-transition);
}

.s834-header.s834-scrolled {
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--s834-shadow);
}

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

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

.s834-logo img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.s834-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--s834-accent);
    background: var(--s834-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.s834-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: var(--s834-radius);
    cursor: pointer;
    transition: var(--s834-transition);
    border: none;
    text-decoration: none;
}

.s834-btn-primary {
    background: var(--s834-gradient);
    color: var(--s834-text);
    box-shadow: 0 2px 10px rgba(75, 0, 130, 0.4);
}

.s834-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(75, 0, 130, 0.6);
}

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

.s834-btn-secondary:hover {
    background: rgba(255, 225, 53, 0.1);
}

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

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

.s834-mobile-menu.s834-active {
    right: 0;
}

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

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

.s834-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(75, 0, 130, 0.3);
}

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

.s834-nav-list {
    list-style: none;
}

.s834-nav-item {
    margin-bottom: 0.8rem;
}

.s834-nav-link {
    display: block;
    padding: 1rem;
    color: var(--s834-text);
    text-decoration: none;
    border-radius: var(--s834-radius);
    transition: var(--s834-transition);
    font-size: 1.4rem;
}

.s834-nav-link:hover {
    background: rgba(75, 0, 130, 0.2);
    color: var(--s834-accent);
}

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

.s834-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    cursor: pointer;
}

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

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

.s834-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: var(--s834-transition);
}

.s834-indicator.s834-active {
    background: var(--s834-accent);
    width: 24px;
    border-radius: 4px;
}

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

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

/* Hero Section */
.s834-hero {
    padding: 1.6rem 0;
    text-align: center;
}

.s834-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--s834-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.s834-hero p {
    color: var(--s834-text-muted);
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
}

/* Section */
.s834-section {
    padding: 1.6rem 0;
}

.s834-section-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--s834-accent);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.s834-section-title i {
    color: var(--s834-primary-light);
}

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

.s834-game-card {
    background: var(--s834-bg-secondary);
    border-radius: var(--s834-radius);
    overflow: hidden;
    transition: var(--s834-transition);
    cursor: pointer;
}

.s834-game-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--s834-shadow);
}

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

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

/* Feature Cards */
.s834-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.s834-feature-card {
    background: var(--s834-bg-secondary);
    border-radius: var(--s834-radius-lg);
    padding: 1.2rem;
    border: 1px solid rgba(75, 0, 130, 0.2);
    transition: var(--s834-transition);
}

.s834-feature-card:hover {
    border-color: var(--s834-primary);
    box-shadow: var(--s834-shadow);
}

.s834-feature-icon {
    width: 40px;
    height: 40px;
    background: var(--s834-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    font-size: 1.8rem;
}

.s834-feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--s834-text);
}

.s834-feature-desc {
    font-size: 1.1rem;
    color: var(--s834-text-muted);
    line-height: 1.4;
}

/* CTA Section */
.s834-cta {
    background: var(--s834-gradient);
    border-radius: var(--s834-radius-lg);
    padding: 1.6rem;
    text-align: center;
    margin: 1.6rem 0;
}

.s834-cta-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--s834-text);
}

.s834-cta-text {
    font-size: 1.2rem;
    color: rgba(230, 230, 250, 0.8);
    margin-bottom: 1.2rem;
}

.s834-cta .s834-btn {
    background: var(--s834-accent);
    color: var(--s834-bg);
    font-weight: 700;
    padding: 0.8rem 2rem;
}

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

/* Info Cards */
.s834-info-card {
    background: var(--s834-bg-secondary);
    border-radius: var(--s834-radius-lg);
    padding: 1.4rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--s834-primary);
}

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

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

.s834-info-card ul {
    list-style: none;
    margin-top: 0.8rem;
}

.s834-info-card li {
    padding: 0.4rem 0;
    font-size: 1.2rem;
    color: var(--s834-text);
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.s834-info-card li i {
    color: var(--s834-accent);
    margin-top: 0.2rem;
}

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

.s834-promo-link:hover {
    color: var(--s834-gold);
    text-decoration: underline;
}

/* Footer */
.s834-footer {
    background: var(--s834-bg-secondary);
    padding: 2rem 0 1rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(75, 0, 130, 0.3);
}

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

.s834-footer-brand p {
    font-size: 1.1rem;
    color: var(--s834-text-muted);
    line-height: 1.5;
    max-width: 300px;
    margin: 0 auto;
}

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

.s834-footer-link {
    font-size: 1.1rem;
    color: var(--s834-text);
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    background: rgba(75, 0, 130, 0.2);
    border-radius: var(--s834-radius);
    transition: var(--s834-transition);
}

.s834-footer-link:hover {
    background: var(--s834-primary);
    color: var(--s834-accent);
}

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

.s834-footer-promo {
    padding: 0.6rem 1.2rem;
    background: var(--s834-gradient);
    color: var(--s834-text);
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: var(--s834-radius);
    cursor: pointer;
    transition: var(--s834-transition);
    border: none;
}

.s834-footer-promo:hover {
    transform: scale(1.05);
    box-shadow: var(--s834-shadow);
}

.s834-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: var(--s834-text-muted);
    padding-top: 1rem;
    border-top: 1px solid rgba(75, 0, 130, 0.2);
}

/* Bottom Navigation */
.s834-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--s834-bg-secondary);
    border-top: 1px solid rgba(75, 0, 130, 0.3);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0 0.5rem;
}

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

.s834-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(--s834-text-muted);
    cursor: pointer;
    transition: var(--s834-transition);
    padding: 0.4rem;
}

.s834-nav-btn:hover,
.s834-nav-btn.s834-active {
    color: var(--s834-accent);
}

.s834-nav-btn i {
    font-size: 2.2rem;
    margin-bottom: 0.2rem;
}

.s834-nav-btn span {
    font-size: 1rem;
}

.s834-nav-btn.s834-active i {
    color: var(--s834-accent);
}

/* Responsive */
@media (min-width: 769px) {
    .s834-container {
        max-width: 430px;
    }

    .s834-header-inner {
        max-width: 430px;
    }
}

/* Utility Classes */
.s834-text-center { text-align: center; }
.s834-mb-1 { margin-bottom: 1rem; }
.s834-mb-2 { margin-bottom: 2rem; }
.s834-mt-1 { margin-top: 1rem; }
.s834-mt-2 { margin-top: 2rem; }
.s834-hidden { display: none; }

/* FAQ Accordion */
.s834-faq-item {
    background: var(--s834-bg-secondary);
    border-radius: var(--s834-radius);
    margin-bottom: 0.8rem;
    overflow: hidden;
}

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

.s834-faq-question i {
    color: var(--s834-accent);
    transition: transform 0.3s ease;
}

.s834-faq-answer {
    padding: 0 1.2rem 1rem;
    font-size: 1.2rem;
    color: var(--s834-text-muted);
    line-height: 1.5;
}

/* Steps List */
.s834-steps {
    counter-reset: step;
}

.s834-step {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1.2rem;
}

.s834-step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: var(--s834-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--s834-text);
}

.s834-step h4 {
    font-size: 1.3rem;
    color: var(--s834-accent);
    margin-bottom: 0.4rem;
}

.s834-step p {
    font-size: 1.2rem;
    color: var(--s834-text-muted);
    line-height: 1.4;
}

/* Tags */
.s834-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(75, 0, 130, 0.3);
    color: var(--s834-text);
    font-size: 1.1rem;
    border-radius: 4px;
    margin-right: 0.4rem;
    margin-bottom: 0.4rem;
}

/* Highlight */
.s834-highlight {
    background: linear-gradient(120deg, transparent 0%, rgba(255, 225, 53, 0.2) 50%, transparent 100%);
    padding: 0 0.2rem;
}
