/**
 * OK Bet App - CSS Design System
 * @description Mobile-first responsive styles for okbetapp.click
 * @version 1.0.0
 * @prefix s194-
 */

/* CSS Variables with prefix */
:root {
    --s194-primary: #FF5722;
    --s194-secondary: #FFD700;
    --s194-accent: #FF4500;
    --s194-light: #FFDEAD;
    --s194-dark: #2E4057;
    --s194-bg: #1a2332;
    --s194-bg-light: #243447;
    --s194-text: #ffffff;
    --s194-text-muted: #b8c5d6;
    --s194-border: #3a4a5c;
    --s194-success: #4caf50;
    --s194-warning: #ff9800;
    --s194-gradient: linear-gradient(135deg, #FF5722 0%, #FF4500 100%);
    --s194-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --s194-radius: 8px;
    --s194-radius-lg: 12px;
}

/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    background-color: var(--s194-bg);
    color: var(--s194-text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container with prefix */
.s194-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header with prefix */
.s194-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--s194-dark) 0%, rgba(46, 64, 87, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--s194-border);
}

.s194-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

.s194-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--s194-text);
}

.s194-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.s194-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--s194-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.s194-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.s194-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
    font-weight: 600;
    border: none;
    border-radius: var(--s194-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.s194-btn-primary {
    background: var(--s194-gradient);
    color: var(--s194-text);
    box-shadow: var(--s194-shadow);
}

.s194-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
}

.s194-btn-secondary {
    background: transparent;
    color: var(--s194-secondary);
    border: 2px solid var(--s194-secondary);
}

.s194-btn-secondary:hover {
    background: var(--s194-secondary);
    color: var(--s194-dark);
}

/* Menu Toggle */
.s194-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.s194-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--s194-text);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.s194-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--s194-bg-light);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 8rem 2rem 2rem;
    overflow-y: auto;
}

.s194-mobile-menu.s194-menu-active {
    right: 0;
}

.s194-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;
}

.s194-menu-overlay.s194-overlay-active {
    opacity: 1;
    visibility: visible;
}

.s194-nav-list {
    list-style: none;
}

.s194-nav-item {
    margin-bottom: 0.5rem;
}

.s194-nav-link {
    display: block;
    padding: 1.2rem 1.5rem;
    color: var(--s194-text);
    text-decoration: none;
    font-size: 1.5rem;
    border-radius: var(--s194-radius);
    transition: all 0.3s ease;
}

.s194-nav-link:hover {
    background: var(--s194-primary);
    color: var(--s194-text);
}

/* Main Content */
.s194-main {
    padding-top: 7rem;
    padding-bottom: 8rem;
}

/* Carousel/Slider */
.s194-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--s194-radius-lg);
    margin-bottom: 2rem;
}

.s194-slides {
    position: relative;
    width: 100%;
    height: 200px;
}

.s194-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.s194-slide.s194-slide-active {
    opacity: 1;
}

.s194-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--s194-radius-lg);
}

.s194-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
}

.s194-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.s194-dot.s194-dot-active {
    background: var(--s194-secondary);
    transform: scale(1.2);
}

/* Section Styles */
.s194-section {
    margin-bottom: 3rem;
    padding: 0 1.5rem;
}

.s194-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--s194-secondary);
    text-align: center;
}

/* Game Grid */
.s194-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.s194-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.s194-game-item:hover {
    transform: scale(1.05);
}

.s194-game-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--s194-radius);
    object-fit: cover;
    margin-bottom: 0.5rem;
    box-shadow: var(--s194-shadow);
}

.s194-game-name {
    font-size: 1.1rem;
    color: var(--s194-text);
    text-align: center;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category Title */
.s194-category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--s194-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--s194-primary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* Card Component */
.s194-card {
    background: var(--s194-bg-light);
    border-radius: var(--s194-radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--s194-shadow);
}

.s194-card-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--s194-secondary);
    margin-bottom: 1rem;
}

.s194-card-text {
    font-size: 1.4rem;
    color: var(--s194-text-muted);
    line-height: 1.6;
}

/* Promo Link Styles */
.s194-promo-link {
    color: var(--s194-secondary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.s194-promo-link:hover {
    color: var(--s194-primary);
    text-decoration: underline;
}

.s194-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--s194-gradient);
    color: var(--s194-text);
    font-size: 1.5rem;
    font-weight: 600;
    border: none;
    border-radius: var(--s194-radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: var(--s194-shadow);
}

.s194-promo-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.5);
}

/* Footer */
.s194-footer {
    background: var(--s194-dark);
    padding: 3rem 1.5rem 2rem;
    border-top: 1px solid var(--s194-border);
}

.s194-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.s194-footer-link {
    color: var(--s194-text-muted);
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.s194-footer-link:hover {
    color: var(--s194-secondary);
}

.s194-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.s194-partner-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.s194-partner-icon:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.s194-copyright {
    text-align: center;
    color: var(--s194-text-muted);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Mobile Bottom Navigation */
.s194-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, var(--s194-dark) 0%, var(--s194-bg) 100%);
    border-top: 1px solid var(--s194-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0 0.5rem;
}

.s194-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--s194-text-muted);
}

.s194-nav-btn:hover,
.s194-nav-btn.s194-active {
    color: var(--s194-primary);
    transform: scale(1.1);
}

.s194-nav-btn i,
.s194-nav-btn .material-icons {
    font-size: 24px;
    margin-bottom: 4px;
}

.s194-nav-btn span {
    font-size: 11px;
    font-weight: 500;
}

/* Features List */
.s194-features-list {
    list-style: none;
}

.s194-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--s194-border);
}

.s194-feature-item:last-child {
    border-bottom: none;
}

.s194-feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--s194-gradient);
    border-radius: 50%;
    flex-shrink: 0;
}

.s194-feature-icon i {
    font-size: 20px;
    color: var(--s194-text);
}

.s194-feature-content h4 {
    font-size: 1.5rem;
    color: var(--s194-secondary);
    margin-bottom: 0.5rem;
}

.s194-feature-content p {
    font-size: 1.3rem;
    color: var(--s194-text-muted);
}

/* FAQ Section */
.s194-faq-item {
    background: var(--s194-bg-light);
    border-radius: var(--s194-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.s194-faq-question {
    padding: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--s194-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.s194-faq-answer {
    padding: 0 1.5rem 1.5rem;
    font-size: 1.3rem;
    color: var(--s194-text-muted);
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .s194-main {
        padding-bottom: 80px;
    }
}

@media (min-width: 769px) {
    .s194-bottom-nav {
        display: none;
    }

    .s194-container {
        max-width: 768px;
    }
}

/* Utility Classes */
.s194-text-center {
    text-align: center;
}

.s194-mt-2 {
    margin-top: 2rem;
}

.s194-mb-2 {
    margin-bottom: 2rem;
}

.s194-hidden {
    display: none;
}

/* Loading State */
.s194-loaded {
    opacity: 1;
}

body:not(.s194-loaded) {
    opacity: 0;
    transition: opacity 0.3s ease;
}
