/**
 * 789 Bingo - Theme Stylesheet
 * Prefix: s1e7- (all classes)
 * Color Palette: #FF4500 | #FA8072 | #FF0000 | #0C0C0C
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --s1e7-primary: #FF4500;
    --s1e7-secondary: #FA8072;
    --s1e7-accent: #FF0000;
    --s1e7-dark: #0C0C0C;
    --s1e7-bg: #1a1a1a;
    --s1e7-bg-card: #2a2a2a;
    --s1e7-text: #ffffff;
    --s1e7-text-muted: #cccccc;
    --s1e7-border: #333333;
    --s1e7-gradient: linear-gradient(135deg, #FF4500 0%, #FF0000 100%);
}

/* Reset & Base */
*, *::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(--s1e7-dark);
    color: var(--s1e7-text);
    min-height: 100vh;
}

a {
    color: var(--s1e7-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--s1e7-secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.s1e7-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.s1e7-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--s1e7-dark) 0%, rgba(12, 12, 12, 0.95) 100%);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--s1e7-border);
}

.s1e7-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}

.s1e7-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.s1e7-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.s1e7-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--s1e7-primary);
}

.s1e7-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.s1e7-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 44px;
}

.s1e7-btn-primary {
    background: var(--s1e7-gradient);
    color: var(--s1e7-text);
}

.s1e7-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
}

.s1e7-btn-outline {
    background: transparent;
    color: var(--s1e7-primary);
    border: 2px solid var(--s1e7-primary);
}

.s1e7-btn-outline:hover {
    background: var(--s1e7-primary);
    color: var(--s1e7-text);
}

.s1e7-menu-btn {
    background: transparent;
    border: none;
    color: var(--s1e7-text);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.s1e7-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--s1e7-bg);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 8rem 2rem 2rem;
    overflow-y: auto;
}

.s1e7-menu-active {
    right: 0;
}

.s1e7-mobile-menu ul {
    list-style: none;
}

.s1e7-mobile-menu li {
    margin-bottom: 0.5rem;
}

.s1e7-mobile-menu a {
    display: block;
    padding: 1.2rem 1rem;
    color: var(--s1e7-text);
    font-size: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.s1e7-mobile-menu a:hover {
    background: var(--s1e7-bg-card);
    color: var(--s1e7-primary);
}

.s1e7-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;
}

.s1e7-overlay-active {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
main {
    padding-top: 70px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Carousel */
.s1e7-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.s1e7-slides {
    position: relative;
    height: 180px;
}

.x1e72-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.s1e7-slide-active {
    opacity: 1;
}

.x1e72-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.s1e7-carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.x1e72-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.s1e7-dot-active {
    background: var(--s1e7-primary);
    transform: scale(1.2);
}

/* Sections */
.s1e7-section {
    padding: 2rem 0;
}

.s1e7-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--s1e7-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.s1e7-subtitle {
    font-size: 1.6rem;
    color: var(--s1e7-text-muted);
    text-align: center;
    margin-bottom: 2rem;
}

/* Games Grid */
.s1e7-games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.s1e7-game-card {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.s1e7-game-card:hover {
    transform: translateY(-5px);
}

.s1e7-game-card img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.s1e7-game-name {
    font-size: 1.2rem;
    color: var(--s1e7-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Header */
.s1e7-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--s1e7-primary);
}

.s1e7-category-icon {
    font-size: 2.4rem;
    color: var(--s1e7-primary);
}

.s1e7-category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--s1e7-text);
}

/* Cards */
.s1e7-card {
    background: var(--s1e7-bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.s1e7-card-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--s1e7-primary);
    margin-bottom: 1rem;
}

.s1e7-card-text {
    font-size: 1.4rem;
    color: var(--s1e7-text-muted);
    line-height: 1.6;
}

/* Features List */
.s1e7-features {
    display: grid;
    gap: 1rem;
}

.s1e7-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--s1e7-bg-card);
    border-radius: 10px;
}

.s1e7-feature-icon {
    font-size: 2.4rem;
    color: var(--s1e7-primary);
    min-width: 40px;
}

.s1e7-feature-content h4 {
    font-size: 1.5rem;
    color: var(--s1e7-text);
    margin-bottom: 0.5rem;
}

.s1e7-feature-content p {
    font-size: 1.3rem;
    color: var(--s1e7-text-muted);
}

/* Bottom Navigation */
.s1e7-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, var(--s1e7-dark) 100%);
    z-index: 1000;
    padding: 0.5rem 0;
    border-top: 1px solid var(--s1e7-border);
    display: flex;
    justify-content: space-around;
    height: 60px;
}

.s1e7-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--s1e7-text-muted);
}

.s1e7-nav-item:hover,
.s1e7-nav-item.s1e7-active {
    color: var(--s1e7-primary);
    transform: scale(1.1);
}

.s1e7-nav-item i {
    font-size: 22px;
    margin-bottom: 2px;
}

.s1e7-nav-item span {
    font-size: 1rem;
}

/* Footer */
.s1e7-footer {
    background: var(--s1e7-bg);
    padding: 3rem 0 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--s1e7-border);
}

.s1e7-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.s1e7-footer-links a {
    font-size: 1.3rem;
    color: var(--s1e7-text-muted);
    padding: 0.5rem 1rem;
}

.s1e7-footer-links a:hover {
    color: var(--s1e7-primary);
}

.s1e7-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.s1e7-partners img {
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.s1e7-partners img:hover {
    opacity: 1;
}

.s1e7-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--s1e7-text-muted);
}

/* Promo Links */
.s1e7-promo-link {
    color: var(--s1e7-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.s1e7-promo-link:hover {
    color: var(--s1e7-secondary);
    text-decoration: underline;
}

/* Responsive */
@media (min-width: 769px) {
    .s1e7-bottom-nav {
        display: none;
    }

    .s1e7-container {
        max-width: 768px;
    }

    .s1e7-games-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Utilities */
.s1e7-text-center {
    text-align: center;
}

.s1e7-mt-2 {
    margin-top: 2rem;
}

.s1e7-mb-2 {
    margin-bottom: 2rem;
}

.s1e7-hidden-mobile {
    display: none;
}

@media (min-width: 769px) {
    .s1e7-hidden-mobile {
        display: block;
    }
}
