/**
 * Nano Gaming - Theme Stylesheet
 * Version: 1.0.0
 * Prefix: uie6-
 * Color Palette: #00FFFF | #CD853F | #F5F5F5 | #00B8D4 | #0F0F23
 */

/* CSS Variables */
:root {
    --uie6-primary: #00FFFF;
    --uie6-secondary: #CD853F;
    --uie6-bg: #0F0F23;
    --uie6-text: #F5F5F5;
    --uie6-accent: #00B8D4;
    --uie6-gradient: linear-gradient(135deg, #0F0F23 0%, #1a1a3e 100%);
    --uie6-card-bg: rgba(15, 15, 35, 0.9);
    --uie6-border: rgba(0, 255, 255, 0.2);
}

/* Base Reset */
* {
    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;
    background: var(--uie6-gradient);
    color: var(--uie6-text);
    line-height: 1.5rem;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container */
.uie6-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

/* Header */
.uie6-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #0F0F23 0%, rgba(15, 15, 35, 0.95) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--uie6-border);
}

.uie6-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
}

.uie6-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.uie6-logo img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.uie6-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--uie6-primary);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.uie6-header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.uie6-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    min-height: 36px;
}

.uie6-btn-primary {
    background: linear-gradient(135deg, var(--uie6-primary) 0%, var(--uie6-accent) 100%);
    color: #0F0F23;
}

.uie6-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.4);
}

.uie6-btn-secondary {
    background: transparent;
    color: var(--uie6-primary);
    border: 1px solid var(--uie6-primary);
}

.uie6-btn-secondary:hover {
    background: rgba(0, 255, 255, 0.1);
}

.uie6-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid var(--uie6-border);
    border-radius: 6px;
    color: var(--uie6-primary);
    cursor: pointer;
    font-size: 1.4rem;
}

/* Mobile Menu */
.uie6-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #0F0F23 0%, #1a1a3e 100%);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 6rem 1.5rem 2rem;
    overflow-y: auto;
}

.uie6-menu-active {
    right: 0;
}

.uie6-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;
}

.uie6-overlay-active {
    opacity: 1;
    visibility: visible;
}

.uie6-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid var(--uie6-border);
    border-radius: 50%;
    color: var(--uie6-text);
    cursor: pointer;
    font-size: 1.2rem;
}

.uie6-nav-list {
    list-style: none;
}

.uie6-nav-item {
    margin-bottom: 0.5rem;
}

.uie6-nav-link {
    display: block;
    padding: 1rem;
    color: var(--uie6-text);
    text-decoration: none;
    font-size: 1.3rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.uie6-nav-link:hover {
    background: rgba(0, 255, 255, 0.1);
    color: var(--uie6-primary);
}

/* Main Content */
.uie6-main {
    padding-top: 60px;
    padding-bottom: 80px;
}

/* Carousel */
.uie6-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.uie6-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.uie6-slide {
    min-width: 100%;
    position: relative;
}

.uie6-slide img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.uie6-carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.uie6-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.uie6-dot-active {
    background: var(--uie6-primary);
    transform: scale(1.2);
}

/* Section Titles */
.uie6-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--uie6-primary);
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.uie6-subtitle {
    font-size: 1.3rem;
    color: var(--uie6-text);
    opacity: 0.9;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Game Grid */
.uie6-game-section {
    margin-bottom: 2rem;
}

.uie6-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.uie6-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: var(--uie6-card-bg);
    border: 1px solid var(--uie6-border);
}

.uie6-game-item:hover {
    transform: translateY(-3px);
    border-color: var(--uie6-primary);
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.2);
}

.uie6-game-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    margin-bottom: 0.4rem;
    object-fit: cover;
}

.uie6-game-name {
    font-size: 0.9rem;
    color: var(--uie6-text);
    text-align: center;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Title */
.uie6-category-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--uie6-secondary);
    margin: 1.5rem 0 1rem;
    padding-left: 0.5rem;
    border-left: 3px solid var(--uie6-secondary);
}

/* Content Section */
.uie6-content-section {
    background: var(--uie6-card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--uie6-border);
}

.uie6-content-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--uie6-primary);
    margin-bottom: 1rem;
}

.uie6-content-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--uie6-text);
    opacity: 0.9;
}

.uie6-content-text p {
    margin-bottom: 1rem;
}

/* Feature List */
.uie6-feature-list {
    list-style: none;
    padding: 0;
}

.uie6-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.uie6-feature-icon {
    color: var(--uie6-primary);
    font-size: 1.4rem;
    flex-shrink: 0;
}

/* Promo Link */
.uie6-promo-link {
    color: var(--uie6-secondary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.uie6-promo-link:hover {
    color: var(--uie6-primary);
    text-decoration: underline;
}

/* Footer */
.uie6-footer {
    background: linear-gradient(180deg, rgba(15, 15, 35, 0.95) 0%, #0F0F23 100%);
    padding: 2rem 1rem;
    border-top: 1px solid var(--uie6-border);
}

.uie6-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.uie6-footer-link {
    color: var(--uie6-text);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.uie6-footer-link:hover {
    background: rgba(0, 255, 255, 0.1);
    color: var(--uie6-primary);
}

.uie6-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.uie6-partner-logo {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.uie6-partner-logo:hover {
    opacity: 1;
}

.uie6-copyright {
    text-align: center;
    font-size: 1rem;
    color: var(--uie6-text);
    opacity: 0.7;
}

/* Bottom Navigation */
.uie6-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(15, 15, 35, 0.98) 0%, #0F0F23 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.5rem 0;
    border-top: 1px solid var(--uie6-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
}

.uie6-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 50px;
    background: transparent;
    border: none;
    color: var(--uie6-text);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.uie6-nav-btn:hover,
.uie6-nav-btn.active {
    color: var(--uie6-primary);
    transform: scale(1.1);
}

.uie6-nav-btn i,
.uie6-nav-btn .material-icons {
    font-size: 22px;
    margin-bottom: 2px;
}

.uie6-nav-btn span {
    font-size: 10px;
    font-weight: 500;
}

/* Desktop Hide Bottom Nav */
@media (min-width: 769px) {
    .uie6-bottom-nav {
        display: none;
    }

    .uie6-main {
        padding-bottom: 2rem;
    }
}

/* Mobile Responsive */
@media (max-width: 430px) {
    html {
        font-size: 58%;
    }

    .uie6-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.6rem;
    }

    .uie6-game-icon {
        width: 45px;
        height: 45px;
    }

    .uie6-game-name {
        font-size: 0.85rem;
    }
}

/* Utility Classes */
.uie6-text-center {
    text-align: center;
}

.uie6-mb-1 {
    margin-bottom: 1rem;
}

.uie6-mb-2 {
    margin-bottom: 2rem;
}

.uie6-mt-2 {
    margin-top: 2rem;
}

/* Internal Links */
.uie6-internal-link {
    color: var(--uie6-accent);
    text-decoration: none;
    border-bottom: 1px dotted var(--uie6-accent);
    transition: all 0.3s ease;
}

.uie6-internal-link:hover {
    color: var(--uie6-primary);
    border-bottom-color: var(--uie6-primary);
}
