/* sz7778 - Main Stylesheet */
/* All classes use w9a1c- prefix for namespace isolation */

/* CSS Variables */
:root {
    --w9a1c-primary: #FFE135;
    --w9a1c-secondary: #2C3E50;
    --w9a1c-accent: #E67E22;
    --w9a1c-bg: #1a252f;
    --w9a1c-text: #ecf0f1;
    --w9a1c-text-muted: #95a5a6;
    --w9a1c-border: #34495e;
    --w9a1c-card-bg: #2c3e50;
    --w9a1c-hover: #34495e;
    --w9a1c-overlay: rgba(0, 0, 0, 0.85);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--w9a1c-text);
    background-color: var(--w9a1c-bg);
    overflow-x: hidden;
}

/* Container */
.w9a1c-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.w9a1c-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--w9a1c-secondary) 0%, #1a252f 100%);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.w9a1c-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
}

.w9a1c-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--w9a1c-primary);
    font-size: 2rem;
    font-weight: 700;
}

.w9a1c-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.w9a1c-header-buttons {
    display: flex;
    gap: 0.8rem;
}

.w9a1c-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.w9a1c-btn-register {
    background: var(--w9a1c-primary);
    color: var(--w9a1c-secondary);
}

.w9a1c-btn-register:hover {
    background: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 225, 53, 0.4);
}

.w9a1c-btn-login {
    background: transparent;
    color: var(--w9a1c-primary);
    border: 2px solid var(--w9a1c-primary);
}

.w9a1c-btn-login:hover {
    background: var(--w9a1c-primary);
    color: var(--w9a1c-secondary);
}

.w9a1c-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--w9a1c-primary);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu */
.w9a1c-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--w9a1c-secondary);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 6rem 1.5rem 2rem;
    overflow-y: auto;
}

.w9a1c-menu-open {
    right: 0;
}

.w9a1c-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--w9a1c-overlay);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.w9a1c-overlay-active {
    opacity: 1;
    visibility: visible;
}

.w9a1c-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--w9a1c-text);
    font-size: 2rem;
    cursor: pointer;
}

.w9a1c-menu-list {
    list-style: none;
}

.w9a1c-menu-item {
    margin-bottom: 0.5rem;
}

.w9a1c-menu-link {
    display: block;
    padding: 1rem;
    color: var(--w9a1c-text);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 1.4rem;
}

.w9a1c-menu-link:hover {
    background: var(--w9a1c-hover);
    color: var(--w9a1c-primary);
}

/* Main Content */
main {
    margin-top: 80px;
    padding-bottom: 80px;
}

/* Carousel */
.w9a1c-carousel {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.w9a1c-carousel-slides {
    position: relative;
    height: 200px;
}

.w9a1c-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.w9a1c-slide-active {
    opacity: 1;
}

.w9a1c-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.w9a1c-carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.w9a1c-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.w9a1c-dot-active {
    background: var(--w9a1c-primary);
    width: 24px;
    border-radius: 5px;
}

/* Section Styles */
.w9a1c-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--w9a1c-card-bg);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.w9a1c-section-title {
    font-size: 1.8rem;
    color: var(--w9a1c-primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.w9a1c-h1 {
    font-size: 2.4rem;
    color: var(--w9a1c-primary);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
}

.w9a1c-h2 {
    font-size: 1.8rem;
    color: var(--w9a1c-text);
    margin: 1.5rem 0 1rem;
    font-weight: 700;
}

.w9a1c-p {
    margin-bottom: 1rem;
    color: var(--w9a1c-text);
    line-height: 1.6;
}

.w9a1c-link {
    color: var(--w9a1c-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.w9a1c-link:hover {
    color: #ffd700;
    text-decoration: underline;
}

/* Game Grid */
.w9a1c-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.w9a1c-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.w9a1c-game-item:hover {
    transform: scale(1.05);
}

.w9a1c-game-icon {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.w9a1c-game-name {
    font-size: 1rem;
    color: var(--w9a1c-text);
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.w9a1c-game-category {
    font-size: 1.4rem;
    color: var(--w9a1c-primary);
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Promotional Card */
.w9a1c-promo-card {
    background: linear-gradient(135deg, var(--w9a1c-accent) 0%, #d35400 100%);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.w9a1c-promo-title {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
}

.w9a1c-promo-desc {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.w9a1c-promo-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: white;
    color: var(--w9a1c-accent);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.w9a1c-promo-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* List Styles */
.w9a1c-list {
    list-style: none;
    margin-bottom: 1rem;
}

.w9a1c-list-item {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--w9a1c-border);
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.w9a1c-list-item:last-child {
    border-bottom: none;
}

.w9a1c-list-icon {
    color: var(--w9a1c-primary);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

/* Footer */
.w9a1c-footer {
    background: var(--w9a1c-secondary);
    padding: 2rem 0 6rem;
    margin-top: 3rem;
}

.w9a1c-footer-content {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
}

.w9a1c-footer-text {
    font-size: 1.2rem;
    color: var(--w9a1c-text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.w9a1c-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.w9a1c-footer-link {
    color: var(--w9a1c-primary);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.w9a1c-footer-link:hover {
    color: #ffd700;
}

.w9a1c-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.w9a1c-partner-logo {
    width: 60px;
    height: 40px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.w9a1c-partner-logo:hover {
    opacity: 1;
}

.w9a1c-copyright {
    text-align: center;
    color: var(--w9a1c-text-muted);
    font-size: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--w9a1c-border);
}

/* Bottom Navigation */
.w9a1c-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--w9a1c-secondary) 0%, #1a252f 100%);
    padding: 0.5rem 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-around;
}

.w9a1c-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    min-width: 60px;
    min-height: 60px;
    justify-content: center;
    text-decoration: none;
    color: var(--w9a1c-text-muted);
    transition: all 0.3s ease;
    cursor: pointer;
}

.w9a1c-nav-item:hover,
.w9a1c-nav-item.w9a1c-active {
    color: var(--w9a1c-primary);
}

.w9a1c-nav-icon {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.w9a1c-nav-item:hover .w9a1c-nav-icon,
.w9a1c-nav-item.w9a1c-active .w9a1c-nav-icon {
    transform: scale(1.1);
}

.w9a1c-nav-text {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Desktop Styles */
@media (min-width: 769px) {
    .w9a1c-bottom-nav {
        display: none;
    }

    main {
        padding-bottom: 2rem;
    }

    .w9a1c-menu-toggle {
        display: block;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .w9a1c-menu-toggle {
        display: block;
    }

    .w9a1c-header-buttons {
        display: none;
    }

    .w9a1c-game-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Utility Classes */
.w9a1c-text-center {
    text-align: center;
}

.w9a1c-mt-1 {
    margin-top: 1rem;
}

.w9a1c-mt-2 {
    margin-top: 2rem;
}

.w9a1c-mb-1 {
    margin-bottom: 1rem;
}

.w9a1c-mb-2 {
    margin-bottom: 2rem;
}
