/**
 * JL333 Website Main Stylesheet
 * Version: 1.0.0
 * Prefix: w0026-
 * Color Palette: #1E1E1E | #FF8C00 | #FFCC33 | #495057 | #FFA500
 */

/* CSS Variables */
:root {
    --w0026-bg-dark: #1E1E1E;
    --w0026-primary: #FF8C00;
    --w0026-secondary: #FFCC33;
    --w0026-text-gray: #495057;
    --w0026-accent: #FFA500;
    --w0026-text-light: #FFFFFF;
    --w0026-text-muted: #B8B8B8;
    --w0026-border-color: #333333;
    --w0026-card-bg: #2A2A2A;
    --w0026-gradient-primary: linear-gradient(135deg, #FF8C00 0%, #FFA500 100%);
    --w0026-shadow-light: 0 2px 8px rgba(0, 0, 0, 0.3);
    --w0026-shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.4);
    --w0026-radius-small: 4px;
    --w0026-radius-medium: 8px;
    --w0026-radius-large: 12px;
}

/* Reset and 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, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--w0026-text-light);
    background-color: var(--w0026-bg-dark);
    overflow-x: hidden;
}

/* Container */
.w0026-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.6rem;
}

/* Header */
.w0026-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--w0026-bg-dark);
    border-bottom: 1px solid var(--w0026-border-color);
    z-index: 1000;
    box-shadow: var(--w0026-shadow-light);
}

.w0026-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.6rem;
    max-width: 430px;
    margin: 0 auto;
}

.w0026-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.w0026-logo img {
    width: 32px;
    height: 32px;
    border-radius: var(--w0026-radius-small);
}

.w0026-logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--w0026-primary);
}

.w0026-header-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.w0026-btn {
    padding: 0.8rem 1.6rem;
    border: none;
    border-radius: var(--w0026-radius-medium);
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.w0026-btn-primary {
    background: var(--w0026-gradient-primary);
    color: var(--w0026-text-light);
}

.w0026-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--w0026-shadow-medium);
}

.w0026-btn-secondary {
    background: transparent;
    color: var(--w0026-primary);
    border: 2px solid var(--w0026-primary);
}

.w0026-btn-secondary:hover {
    background: var(--w0026-primary);
    color: var(--w0026-bg-dark);
}

/* Hamburger Menu */
.w0026-hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.w0026-hamburger span {
    width: 24px;
    height: 3px;
    background: var(--w0026-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.w0026-hamburger-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.w0026-hamburger-active span:nth-child(2) {
    opacity: 0;
}

.w0026-hamburger-active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.w0026-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--w0026-bg-dark);
    border-left: 1px solid var(--w0026-border-color);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 2rem 0;
}

.w0026-menu-active {
    right: 0;
}

.w0026-mobile-menu a {
    display: block;
    padding: 1.2rem 2rem;
    color: var(--w0026-text-light);
    text-decoration: none;
    font-size: 1.6rem;
    border-bottom: 1px solid var(--w0026-border-color);
    transition: all 0.2s ease;
}

.w0026-mobile-menu a:hover {
    background: var(--w0026-primary);
    color: var(--w0026-bg-dark);
    padding-left: 2.4rem;
}

.w0026-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.w0026-overlay-active {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
main {
    padding-top: 64px;
    min-height: 100vh;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Carousel */
.w0026-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.w0026-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.w0026-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.w0026-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.w0026-slide-active {
    opacity: 1;
}

.w0026-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
}

.w0026-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.w0026-dot-active {
    background: var(--w0026-primary);
    transform: scale(1.2);
}

/* Sections */
.w0026-section {
    padding: 2rem 1.6rem;
}

.w0026-section-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--w0026-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Game Grid */
.w0026-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.w0026-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.w0026-game-item:hover {
    transform: scale(1.05);
}

.w0026-game-icon {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--w0026-radius-medium);
    object-fit: cover;
    margin-bottom: 0.5rem;
    box-shadow: var(--w0026-shadow-light);
}

.w0026-game-name {
    font-size: 1.2rem;
    color: var(--w0026-text-light);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Cards */
.w0026-card {
    background: var(--w0026-card-bg);
    border-radius: var(--w0026-radius-medium);
    padding: 1.6rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--w0026-shadow-light);
}

.w0026-card-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--w0026-primary);
    margin-bottom: 1rem;
}

.w0026-card-text {
    font-size: 1.4rem;
    color: var(--w0026-text-muted);
    line-height: 1.6;
}

/* Footer */
.w0026-footer {
    background: var(--w0026-card-bg);
    padding: 2rem 1.6rem;
    margin-top: 3rem;
}

.w0026-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.w0026-partner-logo {
    width: 60px;
    height: 30px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.w0026-partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.w0026-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.w0026-footer-links a {
    color: var(--w0026-text-muted);
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.w0026-footer-links a:hover {
    color: var(--w0026-primary);
}

.w0026-copyright {
    text-align: center;
    color: var(--w0026-text-muted);
    font-size: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--w0026-border-color);
}

/* Bottom Navigation - Mobile */
.w0026-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--w0026-bg-dark);
    border-top: 1px solid var(--w0026-border-color);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
}

.w0026-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--w0026-text-muted);
}

.w0026-nav-item:hover {
    color: var(--w0026-primary);
    transform: scale(1.1);
}

.w0026-nav-item i,
.w0026-nav-item .material-icons {
    font-size: 24px;
    margin-bottom: 4px;
}

.w0026-nav-item span {
    font-size: 1.1rem;
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .w0026-bottom-nav {
        display: none;
    }
}

/* Utility Classes */
.w0026-text-center {
    text-align: center;
}

.w0026-mt-1 {
    margin-top: 1rem;
}

.w0026-mb-1 {
    margin-bottom: 1rem;
}

.w0026-mt-2 {
    margin-top: 2rem;
}

.w0026-mb-2 {
    margin-bottom: 2rem;
}

/* Promo Link Styles */
.w0026-promo-link {
    color: var(--w0026-primary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.w0026-promo-link:hover {
    color: var(--w0026-secondary);
    text-decoration: underline;
}

.w0026-promo-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--w0026-gradient-primary);
    color: var(--w0026-text-light);
    font-weight: 700;
    font-size: 1.6rem;
    border-radius: var(--w0026-radius-medium);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.w0026-promo-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--w0026-shadow-medium);
}

/* Responsive Design */
@media (max-width: 430px) {
    .w0026-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .w0026-section-title {
        font-size: 2rem;
    }
}

@media (min-width: 769px) {
    .w0026-container {
        max-width: 768px;
    }

    .w0026-header-content {
        max-width: 768px;
    }

    .w0026-game-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}
