/**
 * NK77 Gaming Platform Stylesheet
 * Website: nk77.club
 * Prefix: w0e89-
 */

/* Root Variables */
:root {
    --w0e89-primary: #B03060;
    --w0e89-secondary: #1A1A2E;
    --w0e89-accent: #FFC0CB;
    --w0e89-highlight: #E9967A;
    --w0e89-text-light: #FFFFFF;
    --w0e89-text-dark: #1A1A2E;
    --w0e89-bg-dark: #1A1A2E;
    --w0e89-bg-card: #2D2D44;
    --w0e89-border-radius: 12px;
    --w0e89-shadow: 0 4px 20px rgba(176, 48, 96, 0.3);
    --w0e89-transition: all 0.3s ease;
}

/* 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.6;
    color: var(--w0e89-text-light);
    background: linear-gradient(135deg, var(--w0e89-bg-dark) 0%, #16213E 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--w0e89-accent);
    text-decoration: none;
    transition: var(--w0e89-transition);
}

a:hover {
    color: var(--w0e89-highlight);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.w0e89-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
.w0e89-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.98) 0%, rgba(26, 26, 46, 0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(176, 48, 96, 0.3);
}

.w0e89-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    max-width: 430px;
    margin: 0 auto;
}

.w0e89-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.w0e89-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.w0e89-logo-text {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--w0e89-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.w0e89-header-buttons {
    display: flex;
    gap: 10px;
}

.w0e89-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--w0e89-transition);
    min-height: 44px;
}

.w0e89-btn-primary {
    background: linear-gradient(135deg, var(--w0e89-primary) 0%, #C94070 100%);
    color: var(--w0e89-text-light);
    box-shadow: 0 4px 15px rgba(176, 48, 96, 0.4);
}

.w0e89-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(176, 48, 96, 0.5);
}

.w0e89-btn-outline {
    background: transparent;
    color: var(--w0e89-accent);
    border: 2px solid var(--w0e89-primary);
}

.w0e89-btn-outline:hover {
    background: var(--w0e89-primary);
    color: var(--w0e89-text-light);
}

.w0e89-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--w0e89-text-light);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 8px;
}

/* Mobile Menu */
.w0e89-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--w0e89-bg-dark);
    z-index: 9999;
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.w0e89-mobile-menu.w0e89-active {
    right: 0;
}

.w0e89-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: var(--w0e89-transition);
}

.w0e89-menu-overlay.w0e89-active {
    opacity: 1;
    visibility: visible;
}

.w0e89-nav-list {
    list-style: none;
}

.w0e89-nav-item {
    margin-bottom: 8px;
}

.w0e89-nav-link {
    display: block;
    padding: 14px 16px;
    color: var(--w0e89-text-light);
    font-size: 1.5rem;
    border-radius: 8px;
    transition: var(--w0e89-transition);
}

.w0e89-nav-link:hover {
    background: rgba(176, 48, 96, 0.2);
    color: var(--w0e89-primary);
}

/* Main Content */
.w0e89-main {
    padding-top: 70px;
    padding-bottom: 80px;
}

/* Carousel */
.w0e89-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--w0e89-border-radius);
    margin: 16px 0;
}

.w0e89-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.w0e89-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.w0e89-slide.w0e89-active {
    opacity: 1;
    position: relative;
}

.w0e89-slide img {
    width: 100%;
    border-radius: var(--w0e89-border-radius);
}

.w0e89-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
}

.w0e89-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 192, 203, 0.4);
    cursor: pointer;
    transition: var(--w0e89-transition);
}

.w0e89-dot.w0e89-active {
    background: var(--w0e89-primary);
    transform: scale(1.2);
}

/* Hero Section */
.w0e89-hero {
    background: linear-gradient(135deg, rgba(176, 48, 96, 0.3) 0%, rgba(233, 150, 122, 0.2) 100%);
    border-radius: var(--w0e89-border-radius);
    padding: 24px 16px;
    margin: 16px 0;
    text-align: center;
}

.w0e89-hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(90deg, var(--w0e89-accent), var(--w0e89-highlight));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.w0e89-hero-subtitle {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

/* Section Title */
.w0e89-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 4px solid var(--w0e89-primary);
    color: var(--w0e89-text-light);
}

/* Game Categories */
.w0e89-categories {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 8px 0;
    margin-bottom: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.w0e89-categories::-webkit-scrollbar {
    display: none;
}

.w0e89-category-btn {
    flex-shrink: 0;
    padding: 10px 20px;
    background: var(--w0e89-bg-card);
    border: 1px solid rgba(176, 48, 96, 0.3);
    border-radius: 20px;
    color: var(--w0e89-text-light);
    font-size: 1.4rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--w0e89-transition);
    white-space: nowrap;
}

.w0e89-category-btn:hover,
.w0e89-category-btn.w0e89-active {
    background: var(--w0e89-primary);
    border-color: var(--w0e89-primary);
}

/* Game Grid */
.w0e89-games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.w0e89-game-card {
    background: var(--w0e89-bg-card);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--w0e89-transition);
    border: 1px solid rgba(176, 48, 96, 0.2);
}

.w0e89-game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--w0e89-shadow);
    border-color: var(--w0e89-primary);
}

.w0e89-game-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.w0e89-game-name {
    padding: 8px;
    font-size: 1.1rem;
    text-align: center;
    color: var(--w0e89-text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Info Sections */
.w0e89-info-section {
    background: var(--w0e89-bg-card);
    border-radius: var(--w0e89-border-radius);
    padding: 20px;
    margin-bottom: 20px;
}

.w0e89-info-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--w0e89-primary);
}

.w0e89-info-text {
    font-size: 1.4rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.w0e89-info-list {
    list-style: none;
    padding: 0;
}

.w0e89-info-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(176, 48, 96, 0.2);
    font-size: 1.4rem;
}

.w0e89-info-list li:last-child {
    border-bottom: none;
}

/* FAQ */
.w0e89-faq-item {
    background: rgba(176, 48, 96, 0.1);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.w0e89-faq-question {
    padding: 14px 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.4rem;
}

.w0e89-faq-answer {
    padding: 0 16px 14px;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
}

/* CTA Banner */
.w0e89-cta-banner {
    background: linear-gradient(135deg, var(--w0e89-primary) 0%, #C94070 100%);
    border-radius: var(--w0e89-border-radius);
    padding: 24px;
    text-align: center;
    margin: 20px 0;
}

.w0e89-cta-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.w0e89-cta-text {
    font-size: 1.5rem;
    margin-bottom: 16px;
    opacity: 0.9;
}

/* Footer */
.w0e89-footer {
    background: var(--w0e89-bg-dark);
    padding: 30px 16px;
    border-top: 1px solid rgba(176, 48, 96, 0.3);
}

.w0e89-footer-content {
    max-width: 430px;
    margin: 0 auto;
}

.w0e89-footer-section {
    margin-bottom: 24px;
}

.w0e89-footer-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--w0e89-primary);
}

.w0e89-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.w0e89-footer-link {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
}

.w0e89-footer-link:hover {
    color: var(--w0e89-accent);
}

.w0e89-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 16px;
}

.w0e89-partner-logo {
    width: 60px;
    height: 30px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--w0e89-transition);
}

.w0e89-partner-logo:hover {
    filter: none;
    opacity: 1;
}

.w0e89-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Bottom Navigation */
.w0e89-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.98) 0%, rgba(26, 26, 46, 1) 100%);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid rgba(176, 48, 96, 0.4);
    padding-bottom: env(safe-area-inset-bottom);
}

.w0e89-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--w0e89-transition);
    border-radius: 12px;
}

.w0e89-nav-btn:hover,
.w0e89-nav-btn.w0e89-active {
    color: var(--w0e89-primary);
    background: rgba(176, 48, 96, 0.15);
}

.w0e89-nav-btn i,
.w0e89-nav-btn .material-icons {
    font-size: 24px;
    margin-bottom: 4px;
}

.w0e89-nav-btn ion-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.w0e89-nav-text {
    font-size: 10px;
    font-weight: 500;
}

/* Animations */
.w0e89-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.w0e89-animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .w0e89-main {
        padding-bottom: 80px;
    }
}

@media (min-width: 769px) {
    .w0e89-bottom-nav {
        display: none;
    }

    .w0e89-header-content {
        max-width: 100%;
        padding: 0 24px;
    }

    .w0e89-container {
        max-width: 768px;
    }

    .w0e89-games-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Lazy Load Image */
.w0e89-lazy-img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.w0e89-lazy-img[src] {
    opacity: 1;
}
