/**
 * scatter slots - Main Stylesheet
 * All classes use w0356- prefix for namespace isolation
 */

/* CSS Variables */
:root {
    --w0356-primary: #FF7F50;
    --w0356-secondary: #7FFF00;
    --w0356-accent: #FFEB3B;
    --w0356-brown: #8B4513;
    --w0356-gray: #ADB5BD;
    --w0356-dark: #0E1621;
    --w0356-darker: #080c11;
    --w0356-light: #f8f9fa;
    --w0356-text: #ffffff;
    --w0356-text-muted: #adb5bd;
    --w0356-border: #2d3748;
    --w0356-shadow: rgba(0, 0, 0, 0.3);
    --w0356-gradient: linear-gradient(135deg, var(--w0356-primary) 0%, #ff6347 100%);
    --w0356-radius-sm: 4px;
    --w0356-radius: 8px;
    --w0356-radius-lg: 16px;
    --w0356-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: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--w0356-text);
    background-color: var(--w0356-dark);
    min-height: 100vh;
    overflow-x: hidden;
}

body.w0356-loaded {
    animation: w0356-fadeIn 0.5s ease;
}

@keyframes w0356-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--w0356-primary);
    text-decoration: none;
    transition: var(--w0356-transition);
}

a:hover {
    color: var(--w0356-secondary);
}

ul, ol {
    list-style: none;
}

/* Container */
.w0356-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
}

.w0356-wrapper {
    padding: 1rem 0;
}

/* Header */
.w0356-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--w0356-darker);
    border-bottom: 2px solid var(--w0356-primary);
    box-shadow: 0 2px 10px var(--w0356-shadow);
}

.w0356-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    max-width: 430px;
    margin: 0 auto;
}

.w0356-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--w0356-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.w0356-logo img {
    width: 28px;
    height: 28px;
    border-radius: var(--w0356-radius-sm);
}

.w0356-header-actions {
    display: flex;
    gap: 0.5rem;
}

.w0356-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--w0356-dark);
    background: var(--w0356-gradient);
    border: none;
    border-radius: var(--w0356-radius);
    cursor: pointer;
    transition: var(--w0356-transition);
    white-space: nowrap;
}

.w0356-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 127, 80, 0.4);
}

.w0356-btn-outline {
    background: transparent;
    color: var(--w0356-primary);
    border: 2px solid var(--w0356-primary);
}

.w0356-btn-outline:hover {
    background: var(--w0356-primary);
    color: var(--w0356-dark);
}

.w0356-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
}

.w0356-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--w0356-primary);
    border-radius: 2px;
    transition: var(--w0356-transition);
}

/* Mobile Menu */
.w0356-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--w0356-darker);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -5px 0 20px var(--w0356-shadow);
}

.w0356-mobile-menu.w0356-menu-open {
    right: 0;
}

.w0356-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid var(--w0356-border);
}

.w0356-menu-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--w0356-text);
    font-size: 1.5rem;
    cursor: pointer;
}

.w0356-menu-nav {
    padding: 1rem 0;
}

.w0356-menu-nav a {
    display: block;
    padding: 0.8rem 1rem;
    color: var(--w0356-text);
    border-left: 3px solid transparent;
    transition: var(--w0356-transition);
}

.w0356-menu-nav a:hover {
    background-color: rgba(255, 127, 80, 0.1);
    border-left-color: var(--w0356-primary);
    padding-left: 1.5rem;
}

.w0356-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--w0356-transition);
}

.w0356-mobile-menu.w0356-menu-open + .w0356-menu-overlay {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
.w0356-main {
    margin-top: 70px;
    padding-bottom: 80px;
}

.w0356-section {
    padding: 1.5rem 0;
}

.w0356-section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--w0356-primary);
    margin-bottom: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.w0356-section-title span {
    color: var(--w0356-secondary);
}

/* Carousel */
.w0356-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--w0356-radius);
    margin-bottom: 1.5rem;
}

.w0356-carousel-slide {
    display: none;
    width: 100%;
}

.w0356-carousel-slide.w0356-active,
.w0356-carousel-slide:first-child {
    display: block;
}

.w0356-carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.w0356-carousel-nav {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.w0356-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: var(--w0356-transition);
}

.w0356-carousel-dot.w0356-active {
    background-color: var(--w0356-primary);
    transform: scale(1.2);
}

.w0356-carousel-prev,
.w0356-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--w0356-transition);
    z-index: 10;
}

.w0356-carousel-prev:hover,
.w0356-carousel-next:hover {
    background-color: var(--w0356-primary);
}

.w0356-carousel-prev {
    left: 0.5rem;
}

.w0356-carousel-next {
    right: 0.5rem;
}

/* Hero Section */
.w0356-hero {
    text-align: center;
    padding: 2rem 0;
    background: var(--w0356-gradient);
    border-radius: var(--w0356-radius-lg);
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.w0356-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 235, 59, 0.2) 0%, transparent 70%);
    animation: w0356-rotate 20s linear infinite;
}

@keyframes w0356-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.w0356-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--w0356-text);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.w0356-description {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.w0356-cta-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 2rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--w0356-dark);
    background: var(--w0356-secondary);
    border-radius: var(--w0356-radius-lg);
    transition: var(--w0356-transition);
    position: relative;
    z-index: 1;
}

.w0356-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(127, 255, 0, 0.4);
}

/* Game Grid */
.w0356-game-category {
    margin-bottom: 2rem;
}

.w0356-category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--w0356-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--w0356-border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.w0356-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.w0356-game-item {
    text-align: center;
    cursor: pointer;
    transition: var(--w0356-transition);
}

.w0356-game-item:hover {
    transform: scale(1.05);
}

.w0356-game-item:hover .w0356-game-name {
    color: var(--w0356-primary);
}

.w0356-game-icon {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--w0356-radius);
    overflow: hidden;
    margin-bottom: 0.5rem;
    border: 2px solid var(--w0356-border);
    transition: var(--w0356-transition);
}

.w0356-game-item:hover .w0356-game-icon {
    border-color: var(--w0356-primary);
    box-shadow: 0 0 15px rgba(255, 127, 80, 0.5);
}

.w0356-game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.w0356-game-name {
    font-size: 1rem;
    font-weight: 500;
    color: var(--w0356-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

/* Content Cards */
.w0356-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--w0356-border);
    border-radius: var(--w0356-radius);
    padding: 1.2rem;
    margin-bottom: 1rem;
}

.w0356-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--w0356-secondary);
    margin-bottom: 0.8rem;
}

.w0356-card-content {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--w0356-text-muted);
}

.w0356-card-content p {
    margin-bottom: 0.8rem;
}

.w0356-card-content p:last-child {
    margin-bottom: 0;
}

.w0356-card-content a {
    color: var(--w0356-primary);
    font-weight: 600;
}

.w0356-card-content ul,
.w0356-card-content ol {
    margin-left: 1.5rem;
    margin-bottom: 0.8rem;
}

.w0356-card-content li {
    margin-bottom: 0.5rem;
    position: relative;
}

.w0356-card-content ul li::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--w0356-primary);
}

.w0356-card-content ol {
    counter-reset: w0356-counter;
}

.w0356-card-content ol li::before {
    counter-increment: w0356-counter;
    content: counter(w0356-counter) ".";
    position: absolute;
    left: -1.5rem;
    color: var(--w0356-secondary);
    font-weight: 600;
}

/* Featured Section */
.w0356-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.w0356-featured-item {
    background: var(--w0356-gradient);
    border-radius: var(--w0356-radius);
    padding: 1rem;
    text-align: center;
}

.w0356-featured-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 0.5rem;
    background-color: var(--w0356-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--w0356-primary);
}

.w0356-featured-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--w0356-text);
    margin-bottom: 0.3rem;
}

.w0356-featured-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Stats Section */
.w0356-stats {
    display: flex;
    justify-content: space-around;
    padding: 1.5rem 0;
    background: linear-gradient(135deg, rgba(127, 255, 0, 0.1) 0%, rgba(255, 127, 80, 0.1) 100%);
    border-radius: var(--w0356-radius);
    margin-bottom: 1.5rem;
}

.w0356-stat-item {
    text-align: center;
}

.w0356-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--w0356-secondary);
    line-height: 1;
}

.w0356-stat-label {
    font-size: 1rem;
    color: var(--w0356-text-muted);
    margin-top: 0.3rem;
}

/* Link List */
.w0356-link-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.w0356-link-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--w0356-border);
    border-radius: var(--w0356-radius);
    transition: var(--w0356-transition);
    cursor: pointer;
}

.w0356-link-item:hover {
    background-color: rgba(255, 127, 80, 0.1);
    border-color: var(--w0356-primary);
    transform: translateX(5px);
}

.w0356-link-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--w0356-dark);
    border-radius: var(--w0356-radius-sm);
    margin-right: 1rem;
    font-size: 1.2rem;
    color: var(--w0356-primary);
}

.w0356-link-text {
    flex: 1;
}

.w0356-link-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--w0356-text);
    margin-bottom: 0.2rem;
}

.w0356-link-desc {
    font-size: 1rem;
    color: var(--w0356-text-muted);
}

.w0356-link-arrow {
    color: var(--w0356-primary);
    font-size: 1.2rem;
}

/* Footer */
.w0356-footer {
    background-color: var(--w0356-darker);
    border-top: 2px solid var(--w0356-primary);
    padding: 2rem 0 5rem;
    margin-top: 2rem;
}

.w0356-footer-content {
    margin-bottom: 1.5rem;
}

.w0356-footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--w0356-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.w0356-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.w0356-footer-links a {
    padding: 0.4rem 0.8rem;
    font-size: 1.1rem;
    color: var(--w0356-text-muted);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--w0356-radius-sm);
    transition: var(--w0356-transition);
}

.w0356-footer-links a:hover {
    background-color: var(--w0356-primary);
    color: var(--w0356-dark);
}

.w0356-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.w0356-partner-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    opacity: 0.7;
    transition: var(--w0356-transition);
}

.w0356-partner-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

.w0356-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: var(--w0356-text-muted);
    padding-top: 1rem;
    border-top: 1px solid var(--w0356-border);
}

.w0356-copyright a {
    color: var(--w0356-primary);
}

/* Bottom Navigation */
.w0356-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--w0356-darker) 0%, var(--w0356-dark) 100%);
    border-top: 2px solid var(--w0356-primary);
    box-shadow: 0 -2px 10px var(--w0356-shadow);
}

.w0356-bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
    padding: 0.5rem 0;
}

.w0356-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    min-width: 60px;
    min-height: 56px;
    padding: 0.4rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--w0356-transition);
    border-radius: var(--w0356-radius);
}

.w0356-nav-item:hover {
    background-color: rgba(255, 127, 80, 0.1);
}

.w0356-nav-item.w0356-active {
    color: var(--w0356-primary);
}

.w0356-nav-item.w0356-active .w0356-nav-icon {
    color: var(--w0356-primary);
    transform: scale(1.1);
}

.w0356-nav-icon {
    font-size: 22px;
    color: var(--w0356-text-muted);
    transition: var(--w0356-transition);
}

.w0356-nav-label {
    font-size: 10px;
    font-weight: 500;
    color: var(--w0356-text-muted);
}

.w0356-nav-item.w0356-active .w0356-nav-label {
    color: var(--w0356-primary);
}

/* Utility Classes */
.w0356-text-center {
    text-align: center;
}

.w0356-mb-1 {
    margin-bottom: 1rem;
}

.w0356-mb-2 {
    margin-bottom: 2rem;
}

.w0356-mt-1 {
    margin-top: 1rem;
}

.w0356-mt-2 {
    margin-top: 2rem;
}

.w0356-highlight {
    color: var(--w0356-primary);
    font-weight: 600;
}

.w0356-highlight-secondary {
    color: var(--w0356-secondary);
    font-weight: 600;
}

/* Desktop Styles */
@media (min-width: 769px) {
    .w0356-bottom-nav {
        display: none;
    }

    .w0356-main {
        padding-bottom: 2rem;
    }

    .w0356-menu-toggle {
        display: none;
    }
}

/* Responsive */
@media (max-width: 380px) {
    .w0356-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .w0356-title {
        font-size: 1.5rem;
    }
}

/* Animations */
@keyframes w0356-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.w0356-pulse {
    animation: w0356-pulse 2s ease-in-out infinite;
}

@keyframes w0356-shine {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

.w0356-shine {
    position: relative;
    overflow: hidden;
}

.w0356-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: w0356-shine 3s ease-in-out infinite;
}
