/**
 * Bet3565 Theme Stylesheet
 * All classes use prefix "s13f-" for namespace isolation
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --s13f-primary: #FF9500;
    --s13f-secondary: #FFB74D;
    --s13f-bg-dark: #2C2C2C;
    --s13f-bg-light: #FAFAFA;
    --s13f-bg-cream: #FAF0E6;
    --s13f-text-dark: #2C2C2C;
    --s13f-text-light: #FAFAFA;
    --s13f-accent: #FF9500;
    --s13f-border: rgba(255, 149, 0, 0.3);
    --s13f-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    --s13f-radius: 8px;
    --s13f-radius-lg: 12px;
    --s13f-transition: all 0.3s ease;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    background-color: var(--s13f-bg-light);
    color: var(--s13f-text-dark);
    overflow-x: hidden;
}

/* Container */
.s13f-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.6rem;
}

.s13f-wrapper {
    width: 100%;
    padding: 1.6rem 0;
}

/* Header Styles */
.s13f-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(135deg, var(--s13f-bg-dark) 0%, #3a3a3a 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.2rem;
    z-index: 1000;
    box-shadow: var(--s13f-shadow);
}

.s13f-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.s13f-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.s13f-logo-text {
    color: var(--s13f-primary);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.s13f-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.s13f-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border: none;
    border-radius: var(--s13f-radius);
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--s13f-transition);
    text-decoration: none;
}

.s13f-btn-primary {
    background: var(--s13f-primary);
    color: var(--s13f-text-light);
}

.s13f-btn-primary:hover {
    background: var(--s13f-secondary);
    transform: scale(1.05);
}

.s13f-btn-outline {
    background: transparent;
    color: var(--s13f-primary);
    border: 2px solid var(--s13f-primary);
}

.s13f-btn-outline:hover {
    background: var(--s13f-primary);
    color: var(--s13f-text-light);
}

.s13f-menu-toggle {
    background: none;
    border: none;
    color: var(--s13f-text-light);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.8rem;
}

/* Mobile Menu */
.s13f-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--s13f-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 8rem 2rem 2rem;
    overflow-y: auto;
}

.s13f-menu-active {
    right: 0;
}

.s13f-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--s13f-transition);
}

.s13f-overlay-active {
    opacity: 1;
    visibility: visible;
}

.s13f-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--s13f-text-light);
    font-size: 2.8rem;
    cursor: pointer;
}

.s13f-nav-list {
    list-style: none;
}

.s13f-nav-item {
    margin-bottom: 0.5rem;
}

.s13f-nav-link {
    display: block;
    padding: 1.2rem 1.6rem;
    color: var(--s13f-text-light);
    text-decoration: none;
    font-size: 1.5rem;
    border-radius: var(--s13f-radius);
    transition: var(--s13f-transition);
}

.s13f-nav-link:hover {
    background: var(--s13f-primary);
    color: var(--s13f-text-dark);
}

/* Main Content */
.s13f-main {
    padding-top: 60px;
    padding-bottom: 80px;
}

/* Carousel */
.s13f-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.s13f-slides {
    display: flex;
    width: 100%;
    height: 100%;
}

.s13f-slide {
    min-width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.s13f-slide-active {
    opacity: 1;
    z-index: 1;
}

.s13f-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.s13f-carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
}

.s13f-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--s13f-transition);
}

.s13f-dot-active {
    background: var(--s13f-primary);
    transform: scale(1.2);
}

/* Section Styles */
.s13f-section {
    padding: 2rem 1.6rem;
}

.s13f-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--s13f-bg-dark);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.2rem;
}

.s13f-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--s13f-primary);
    border-radius: 2px;
}

/* Game Grid */
.s13f-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.s13f-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

.s13f-game-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--s13f-radius);
    object-fit: cover;
    margin-bottom: 0.5rem;
    transition: var(--s13f-transition);
    border: 2px solid transparent;
}

.s13f-game-item:hover .s13f-game-icon {
    border-color: var(--s13f-primary);
    transform: scale(1.08);
}

.s13f-game-name {
    font-size: 1.1rem;
    color: var(--s13f-text-dark);
    text-align: center;
    line-height: 1.3;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Category Title */
.s13f-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--s13f-bg-dark);
    margin: 2rem 0 1rem;
    padding: 0.8rem 1.2rem;
    background: var(--s13f-bg-cream);
    border-radius: var(--s13f-radius);
    border-left: 4px solid var(--s13f-primary);
}

/* Content Card */
.s13f-card {
    background: var(--s13f-bg-light);
    border-radius: var(--s13f-radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--s13f-shadow);
}

.s13f-card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--s13f-bg-dark);
    margin-bottom: 1rem;
}

.s13f-card-text {
    font-size: 1.4rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Promo Link */
.s13f-promo-link {
    color: var(--s13f-primary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--s13f-transition);
}

.s13f-promo-link:hover {
    color: var(--s13f-secondary);
    text-decoration: underline;
}

/* Feature List */
.s13f-feature-list {
    list-style: none;
}

.s13f-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.s13f-feature-item:last-child {
    border-bottom: none;
}

.s13f-feature-icon {
    width: 40px;
    height: 40px;
    background: var(--s13f-bg-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--s13f-primary);
    font-size: 1.8rem;
    flex-shrink: 0;
}

.s13f-feature-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--s13f-bg-dark);
    margin-bottom: 0.3rem;
}

.s13f-feature-content p {
    font-size: 1.3rem;
    color: #666;
}

/* Footer */
.s13f-footer {
    background: var(--s13f-bg-dark);
    color: var(--s13f-text-light);
    padding: 2rem 1.6rem;
}

.s13f-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.s13f-footer-link {
    color: var(--s13f-secondary);
    text-decoration: none;
    font-size: 1.3rem;
    transition: var(--s13f-transition);
}

.s13f-footer-link:hover {
    color: var(--s13f-primary);
}

.s13f-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.s13f-partner-logo {
    width: 40px;
    height: 24px;
    object-fit: contain;
    opacity: 0.7;
    transition: var(--s13f-transition);
}

.s13f-partner-logo:hover {
    opacity: 1;
}

.s13f-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: #999;
    padding-top: 1rem;
    border-top: 1px solid #444;
}

/* Bottom Navigation */
.s13f-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, #3a3a3a 0%, var(--s13f-bg-dark) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.s13f-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(--s13f-text-light);
    cursor: pointer;
    transition: var(--s13f-transition);
    text-decoration: none;
    padding: 0.5rem;
}

.s13f-nav-btn:hover,
.s13f-nav-btn.active {
    color: var(--s13f-primary);
    transform: scale(1.1);
}

.s13f-nav-btn i,
.s13f-nav-btn .material-icons {
    font-size: 24px;
    margin-bottom: 2px;
}

.s13f-nav-btn span {
    font-size: 1rem;
    font-weight: 500;
}

/* Responsive */
@media (min-width: 769px) {
    .s13f-bottom-nav {
        display: none;
    }

    .s13f-main {
        padding-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .s13f-main {
        padding-bottom: 80px;
    }
}

/* Utility Classes */
.s13f-text-center {
    text-align: center;
}

.s13f-mb-1 {
    margin-bottom: 1rem;
}

.s13f-mb-2 {
    margin-bottom: 2rem;
}

.s13f-highlight {
    color: var(--s13f-primary);
    font-weight: 600;
}

/* H1 Title */
.s13f-h1 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--s13f-bg-dark);
    text-align: center;
    padding: 2rem 1.6rem;
    line-height: 1.3;
}

/* RTP Table */
.s13f-rtp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.3rem;
}

.s13f-rtp-table th,
.s13f-rtp-table td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.s13f-rtp-table th {
    background: var(--s13f-bg-cream);
    font-weight: 600;
    color: var(--s13f-bg-dark);
}

.s13f-rtp-table td {
    color: #555;
}

/* Badge */
.s13f-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--s13f-primary);
    color: var(--s13f-text-light);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 20px;
}
