/**
 * SSBet Main Stylesheet
 * Version: 1.0
 * All classes use prefix 's762-' for namespace isolation
 * Mobile-first responsive design
 */

/* CSS Variables */
:root {
    --s762-primary: #D2691E;
    --s762-secondary: #5D5D5D;
    --s762-bg-dark: #1C2833;
    --s762-bg-light: #EEEEEE;
    --s762-bg-medium: #DCDCDC;
    --s762-text-light: #EEEEEE;
    --s762-text-dark: #1C2833;
    --s762-accent: #D2691E;
    --s762-gradient: linear-gradient(135deg, #1C2833 0%, #2C3E50 100%);
    --s762-card-bg: rgba(28, 40, 51, 0.95);
    --s762-border: rgba(210, 105, 30, 0.3);
    --s762-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --s762-radius: 8px;
    --s762-radius-lg: 16px;
}

/* Base Reset */
* {
    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(--s762-bg-dark);
    color: var(--s762-text-light);
    line-height: 1.5rem;
    font-size: 1.4rem;
    min-height: 100vh;
}

a {
    color: var(--s762-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #E8893E;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.s762-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

.s762-wrapper {
    padding: 1rem 0;
}

/* Header Styles */
.s762-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--s762-gradient);
    padding: 0.8rem 1rem;
    z-index: 1000;
    box-shadow: var(--s762-shadow);
    transition: all 0.3s ease;
}

.s762-header-scrolled {
    background: rgba(28, 40, 51, 0.98);
}

.s762-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
}

.s762-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.s762-logo img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.s762-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--s762-primary);
    letter-spacing: 0.5px;
}

.s762-header-btns {
    display: flex;
    gap: 0.6rem;
}

.s762-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: var(--s762-radius);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 36px;
}

.s762-btn-primary {
    background: var(--s762-primary);
    color: #fff;
}

.s762-btn-primary:hover {
    background: #E8893E;
    transform: translateY(-1px);
}

.s762-btn-secondary {
    background: transparent;
    color: var(--s762-text-light);
    border: 1px solid var(--s762-primary);
}

.s762-btn-secondary:hover {
    background: var(--s762-primary);
    color: #fff;
}

.s762-menu-toggle {
    background: none;
    border: none;
    color: var(--s762-text-light);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.s762-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--s762-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem 1.5rem;
    overflow-y: auto;
}

.s762-menu-active {
    right: 0;
}

.s762-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;
}

.s762-overlay-active {
    opacity: 1;
    visibility: visible;
}

.s762-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--s762-border);
}

.s762-menu-close {
    background: none;
    border: none;
    color: var(--s762-text-light);
    font-size: 2rem;
    cursor: pointer;
}

.s762-menu-nav {
    list-style: none;
}

.s762-menu-nav li {
    margin-bottom: 0.5rem;
}

.s762-menu-nav a {
    display: block;
    padding: 1rem;
    color: var(--s762-text-light);
    font-size: 1.4rem;
    border-radius: var(--s762-radius);
    transition: all 0.3s ease;
}

.s762-menu-nav a:hover {
    background: var(--s762-primary);
    color: #fff;
}

/* Slider Styles */
.s762-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 52px;
}

.s762-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.s762-slide {
    min-width: 100%;
    position: relative;
    display: none;
}

.s762-slide-active {
    display: block;
}

.s762-slide img {
    width: 100%;
    height: auto;
    cursor: pointer;
}

.s762-slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.s762-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.s762-dot-active {
    background: var(--s762-primary);
    transform: scale(1.2);
}

/* Main Content */
.s762-main {
    padding: 1.5rem 0;
    padding-bottom: 80px;
}

/* Section Styles */
.s762-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--s762-card-bg);
    border-radius: var(--s762-radius-lg);
    border: 1px solid var(--s762-border);
}

.s762-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--s762-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--s762-primary);
}

.s762-section-text {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--s762-text-light);
    margin-bottom: 1rem;
}

/* Game Grid */
.s762-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.s762-game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--s762-radius);
    padding: 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.s762-game-card:hover {
    border-color: var(--s762-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(210, 105, 30, 0.2);
}

.s762-game-card img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 0.3rem;
}

.s762-game-name {
    font-size: 1rem;
    color: var(--s762-text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Category Title */
.s762-category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--s762-primary);
    margin: 1.5rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.s762-category-title i {
    font-size: 1.6rem;
}

/* Features Grid */
.s762-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.s762-feature-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: var(--s762-radius);
    text-align: center;
    border: 1px solid var(--s762-border);
}

.s762-feature-icon {
    font-size: 2.4rem;
    color: var(--s762-primary);
    margin-bottom: 0.5rem;
}

.s762-feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--s762-text-light);
    margin-bottom: 0.3rem;
}

.s762-feature-text {
    font-size: 1.1rem;
    color: var(--s762-secondary);
}

/* RTP Section */
.s762-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.s762-rtp-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem;
    border-radius: var(--s762-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.s762-rtp-game {
    font-size: 1.2rem;
    color: var(--s762-text-light);
}

.s762-rtp-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--s762-primary);
}

/* CTA Button */
.s762-cta {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--s762-gradient);
    border-radius: var(--s762-radius-lg);
    margin: 1.5rem 0;
}

.s762-cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--s762-primary);
    margin-bottom: 0.5rem;
}

.s762-cta-text {
    font-size: 1.3rem;
    color: var(--s762-text-light);
    margin-bottom: 1rem;
}

.s762-cta .s762-btn {
    padding: 1rem 2.5rem;
    font-size: 1.4rem;
}

/* Footer */
.s762-footer {
    background: var(--s762-bg-dark);
    padding: 2rem 1rem;
    border-top: 1px solid var(--s762-border);
}

.s762-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.s762-footer-links a {
    font-size: 1.2rem;
    color: var(--s762-text-light);
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.s762-footer-links a:hover {
    background: var(--s762-primary);
    color: #fff;
}

.s762-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.s762-partners img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.s762-partners img:hover {
    filter: grayscale(0);
    opacity: 1;
}

.s762-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--s762-secondary);
}

/* Mobile Bottom Navigation */
.s762-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, #1C2833 0%, #0D1318 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    border-top: 1px solid var(--s762-border);
}

.s762-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(--s762-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
}

.s762-nav-btn:hover,
.s762-nav-btn.active {
    color: var(--s762-primary);
    transform: scale(1.1);
}

.s762-nav-btn i {
    font-size: 22px;
    margin-bottom: 2px;
}

.s762-nav-btn span {
    font-size: 10px;
    font-weight: 500;
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .s762-bottom-nav {
        display: none;
    }

    .s762-main {
        padding-bottom: 2rem;
    }
}

/* Add padding for mobile nav */
@media (max-width: 768px) {
    .s762-main {
        padding-bottom: 80px;
    }
}

/* Help Page Styles */
.s762-help-section {
    margin-bottom: 1.5rem;
}

.s762-help-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--s762-primary);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.s762-help-content {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--s762-text-light);
}

.s762-help-list {
    list-style: none;
    padding: 0;
}

.s762-help-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.3rem;
    color: var(--s762-text-light);
}

.s762-help-list li:last-child {
    border-bottom: none;
}

/* FAQ Styles */
.s762-faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--s762-radius);
    margin-bottom: 0.8rem;
    overflow: hidden;
}

.s762-faq-question {
    padding: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--s762-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.s762-faq-answer {
    padding: 0 1rem 1rem;
    font-size: 1.3rem;
    color: var(--s762-text-light);
    line-height: 1.5;
}

/* Utility Classes */
.s762-text-center {
    text-align: center;
}

.s762-mt-1 {
    margin-top: 1rem;
}

.s762-mb-1 {
    margin-bottom: 1rem;
}

.s762-hidden {
    display: none;
}

/* Promo Link Styles */
.s762-promo-link {
    color: var(--s762-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.s762-promo-link:hover {
    color: #E8893E;
    text-decoration: underline;
}

/* H1 Title */
.s762-h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--s762-primary);
    text-align: center;
    margin: 1.5rem 0;
    line-height: 1.3;
}

/* Responsive adjustments */
@media (max-width: 360px) {
    .s762-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .s762-features {
        grid-template-columns: 1fr;
    }
}
