/**
 * JL65 Main Stylesheet
 * Mobile-first responsive design
 * Prefix: w19e0- - All classes use this prefix
 * Color Palette: #8B0000 | #00BFFF | #1C2833 | #CD5C5C
 */

/* CSS Variables */
:root {
    --w19e0-primary: #8B0000;
    --w19e0-secondary: #00BFFF;
    --w19e0-bg-dark: #1C2833;
    --w19e0-accent: #CD5C5C;
    --w19e0-text-light: #FFFFFF;
    --w19e0-text-muted: #B0B0B0;
    --w19e0-bg-card: #2C3E50;
    --w19e0-bg-hover: #34495E;
    --w19e0-border: #4A5568;
    --w19e0-success: #27AE60;
    --w19e0-warning: #F39C12;
    --w19e0-gradient: linear-gradient(135deg, #8B0000 0%, #CD5C5C 100%);
}

/* Reset & Base */
* {
    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;
    font-size: 1.6rem;
    line-height: 1.5;
    background-color: var(--w19e0-bg-dark);
    color: var(--w19e0-text-light);
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.w19e0-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.w19e0-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(28, 40, 51, 0.98) 0%, rgba(28, 40, 51, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--w19e0-primary);
    transition: all 0.3s ease;
}

.w19e0-header.w19e0-scrolled {
    background: rgba(28, 40, 51, 0.99);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.w19e0-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

.w19e0-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.w19e0-logo img {
    width: 32px;
    height: 32px;
}

.w19e0-logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--w19e0-secondary);
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

.w19e0-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.w19e0-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
    min-width: 44px;
}

.w19e0-btn-primary {
    background: var(--w19e0-gradient);
    color: var(--w19e0-text-light);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
}

.w19e0-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.6);
}

.w19e0-btn-secondary {
    background: transparent;
    color: var(--w19e0-secondary);
    border: 2px solid var(--w19e0-secondary);
}

.w19e0-btn-secondary:hover {
    background: var(--w19e0-secondary);
    color: var(--w19e0-bg-dark);
}

.w19e0-menu-toggle {
    background: transparent;
    border: none;
    color: var(--w19e0-text-light);
    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 */
.w19e0-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--w19e0-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
    border-left: 2px solid var(--w19e0-primary);
}

.w19e0-mobile-menu.web9e0-active {
    right: 0;
}

.w19e0-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;
}

.w19e0-menu-overlay.web9e0-active {
    opacity: 1;
    visibility: visible;
}

.w19e0-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--w19e0-border);
}

.w19e0-menu-close {
    background: transparent;
    border: none;
    color: var(--w19e0-text-light);
    font-size: 2.4rem;
    cursor: pointer;
}

.w19e0-nav-list {
    list-style: none;
}

.w19e0-nav-item {
    margin-bottom: 0.5rem;
}

.w19e0-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1rem;
    color: var(--w19e0-text-light);
    font-size: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.w19e0-nav-link:hover {
    background: var(--w19e0-bg-hover);
    color: var(--w19e0-secondary);
}

.w19e0-nav-link i,
.w19e0-nav-link .material-icons {
    font-size: 2rem;
    width: 24px;
}

/* Carousel/Slider */
.w19e0-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-top: 70px;
}

.w19e0-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.w19e0-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.w19e0-slide.web9e0-active {
    opacity: 1;
}

.w19e0-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.w19e0-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.w19e0-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.w19e0-dot.web9e0-active {
    background: var(--w19e0-secondary);
    transform: scale(1.2);
}

/* Main Content */
.w19e0-main {
    padding-bottom: 80px;
}

.w19e0-section {
    padding: 2rem 0;
}

.w19e0-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--w19e0-secondary);
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
}

/* Game Grid */
.w19e0-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.w19e0-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.w19e0-game-item:hover {
    transform: scale(1.05);
}

.w19e0-game-img {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid var(--w19e0-border);
    transition: border-color 0.3s ease;
}

.w19e0-game-item:hover .w19e0-game-img {
    border-color: var(--w19e0-secondary);
}

.w19e0-game-name {
    font-size: 1.1rem;
    color: var(--w19e0-text-light);
    text-align: center;
    margin-top: 0.5rem;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category Section */
.w19e0-category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--w19e0-accent);
    margin: 2rem 0 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--w19e0-accent);
}

/* Content Cards */
.w19e0-card {
    background: var(--w19e0-bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--w19e0-border);
}

.w19e0-card-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--w19e0-secondary);
    margin-bottom: 1rem;
}

.w19e0-card-text {
    font-size: 1.4rem;
    color: var(--w19e0-text-muted);
    line-height: 1.6;
}

.w19e0-card-text a {
    color: var(--w19e0-secondary);
    font-weight: 600;
}

.w19e0-card-text a:hover {
    text-decoration: underline;
}

/* Promo Link Styles */
.w19e0-promo-link {
    color: var(--w19e0-secondary);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.w19e0-promo-link:hover {
    color: var(--w19e0-accent);
    text-shadow: 0 0 10px rgba(205, 92, 92, 0.5);
}

/* Footer */
.w19e0-footer {
    background: linear-gradient(180deg, var(--w19e0-bg-card) 0%, #1a252f 100%);
    padding: 2rem 0;
    border-top: 2px solid var(--w19e0-primary);
}

.w19e0-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.w19e0-footer-link {
    color: var(--w19e0-text-muted);
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.w19e0-footer-link:hover {
    color: var(--w19e0-secondary);
}

.w19e0-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.w19e0-partner-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.w19e0-partner-img:hover {
    opacity: 1;
}

.w19e0-copyright {
    text-align: center;
    color: var(--w19e0-text-muted);
    font-size: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--w19e0-border);
}

/* Bottom Navigation */
.w19e0-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, rgba(28, 40, 51, 0.98) 0%, rgba(28, 40, 51, 1) 100%);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--w19e0-primary);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 0.5rem;
}

.w19e0-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(--w19e0-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
}

.w19e0-nav-btn:hover,
.w19e0-nav-btn.w19e0-active {
    color: var(--w19e0-secondary);
    transform: scale(1.1);
}

.w19e0-nav-btn i,
.w19e0-nav-btn .material-icons {
    font-size: 24px;
    margin-bottom: 2px;
}

.w19e0-nav-btn span {
    font-size: 10px;
    font-weight: 500;
}

/* Desktop Hide Bottom Nav */
@media (min-width: 769px) {
    .w19e0-bottom-nav {
        display: none;
    }

    .w19e0-main {
        padding-bottom: 0;
    }
}

/* Utility Classes */
.w19e0-text-center {
    text-align: center;
}

.w19e0-mb-1 {
    margin-bottom: 1rem;
}

.w19e0-mb-2 {
    margin-bottom: 2rem;
}

.w19e0-mt-2 {
    margin-top: 2rem;
}

.w19e0-highlight {
    color: var(--w19e0-secondary);
    font-weight: 600;
}

/* List Styles */
.w19e0-list {
    list-style: none;
    padding: 0;
}

.w19e0-list-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--w19e0-border);
    font-size: 1.4rem;
    color: var(--w19e0-text-light);
}

.w19e0-list-item:last-child {
    border-bottom: none;
}

/* Responsive Typography */
@media (max-width: 380px) {
    .w19e0-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .w19e0-game-img {
        width: 60px;
        height: 60px;
    }
}
