/**
 * Aron Play - Main Stylesheet
 * Version: 1.0.0
 * Mobile-first responsive design
 * All classes use s446- prefix for namespace isolation
 */

/* CSS Variables */
:root {
    --s446-primary: #3CB371;
    --s446-secondary: #2C3E50;
    --s446-accent: #F08080;
    --s446-bg-dark: #2C3E50;
    --s446-bg-light: #ADB5BD;
    --s446-text-light: #FFFFFF;
    --s446-text-dark: #2C3E50;
    --s446-gray: #95A5A6;
    --s446-border-radius: 8px;
    --s446-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    --s446-transition: all 0.3s ease;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    background-color: var(--s446-bg-dark);
    color: var(--s446-text-light);
    max-width: 430px;
    margin: 0 auto;
    -webkit-font-smoothing: antialiased;
}

/* Container */
.s446-container {
    width: 100%;
    padding: 0 1.5rem;
    margin: 0 auto;
}

.s446-wrapper {
    max-width: 430px;
    margin: 0 auto;
    padding: 1rem;
}

/* Header Styles */
.s446-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--s446-bg-dark) 0%, #1a252f 100%);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--s446-shadow);
    max-width: 430px;
    margin: 0 auto;
}

.s446-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.s446-logo img {
    width: 28px;
    height: 28px;
}

.s446-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--s446-primary);
    letter-spacing: 0.5px;
}

.s446-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.s446-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: var(--s446-border-radius);
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--s446-transition);
    border: none;
    text-decoration: none;
    min-height: 44px;
}

.s446-btn-primary {
    background: linear-gradient(135deg, var(--s446-primary) 0%, #2ea55c 100%);
    color: var(--s446-text-light);
}

.s446-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(60, 179, 113, 0.4);
}

.s446-btn-secondary {
    background: transparent;
    color: var(--s446-text-light);
    border: 2px solid var(--s446-primary);
}

.s446-btn-secondary:hover {
    background: var(--s446-primary);
    transform: scale(1.05);
}

.s446-menu-toggle {
    background: transparent;
    border: none;
    color: var(--s446-text-light);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.s446-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, var(--s446-bg-dark) 0%, #1a252f 100%);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.s446-menu-open {
    right: 0;
}

.s446-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--s446-transition);
}

.s446-overlay-visible {
    opacity: 1;
    visibility: visible;
}

.s446-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.s446-menu-close {
    background: transparent;
    border: none;
    color: var(--s446-text-light);
    font-size: 2.4rem;
    cursor: pointer;
}

.s446-menu-nav {
    list-style: none;
}

.s446-menu-nav li {
    margin-bottom: 0.5rem;
}

.s446-menu-nav a {
    display: block;
    padding: 1.2rem 1rem;
    color: var(--s446-text-light);
    text-decoration: none;
    font-size: 1.5rem;
    border-radius: var(--s446-border-radius);
    transition: var(--s446-transition);
}

.s446-menu-nav a:hover {
    background: rgba(60, 179, 113, 0.2);
    color: var(--s446-primary);
}

/* Main Content */
.s446-main {
    padding-top: 70px;
    padding-bottom: 80px;
}

/* Slider */
.s446-slider {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 var(--s446-border-radius) var(--s446-border-radius);
}

.s446-slide {
    display: none;
    cursor: pointer;
}

.s446-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.s446-slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
}

.s446-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--s446-transition);
}

.s446-dot-active {
    background: var(--s446-primary);
    transform: scale(1.2);
}

/* Section Styles */
.s446-section {
    padding: 2rem 1.5rem;
    background: linear-gradient(180deg, rgba(44, 62, 80, 0.8) 0%, var(--s446-bg-dark) 100%);
    margin-bottom: 1rem;
    border-radius: var(--s446-border-radius);
}

.s446-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--s446-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.s446-section-text {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--s446-text-light);
    margin-bottom: 1rem;
}

/* Game Grid */
.s446-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1rem 0;
}

.s446-game-item {
    text-align: center;
    cursor: pointer;
    transition: var(--s446-transition);
    padding: 0.5rem;
    border-radius: var(--s446-border-radius);
}

.s446-game-item:hover {
    transform: translateY(-3px);
    background: rgba(60, 179, 113, 0.15);
}

.s446-game-item img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.s446-game-name {
    font-size: 1.1rem;
    color: var(--s446-text-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

/* Category Title */
.s446-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--s446-primary);
    padding: 1rem 0;
    border-bottom: 2px solid var(--s446-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* Features Grid */
.s446-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.s446-feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: var(--s446-border-radius);
    text-align: center;
    transition: var(--s446-transition);
}

.s446-feature-card:hover {
    background: rgba(60, 179, 113, 0.15);
    transform: translateY(-2px);
}

.s446-feature-icon {
    font-size: 2.8rem;
    color: var(--s446-primary);
    margin-bottom: 1rem;
}

.s446-feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--s446-text-light);
    margin-bottom: 0.5rem;
}

.s446-feature-desc {
    font-size: 1.2rem;
    color: var(--s446-gray);
}

/* Promo Link */
.s446-promo-link {
    color: var(--s446-primary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--s446-transition);
}

.s446-promo-link:hover {
    color: var(--s446-accent);
    text-decoration: underline;
}

/* Footer */
.s446-footer {
    background: linear-gradient(180deg, #1a252f 0%, #0f1419 100%);
    padding: 2rem 1.5rem;
    padding-bottom: 100px;
}

.s446-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.s446-footer-link {
    color: var(--s446-text-light);
    text-decoration: none;
    font-size: 1.3rem;
    padding: 0.5rem 1rem;
    border-radius: var(--s446-border-radius);
    transition: var(--s446-transition);
}

.s446-footer-link:hover {
    background: rgba(60, 179, 113, 0.2);
    color: var(--s446-primary);
}

.s446-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.s446-partners img {
    width: 40px;
    height: 40px;
    opacity: 0.7;
    transition: var(--s446-transition);
    border-radius: 4px;
}

.s446-partners img:hover {
    opacity: 1;
    transform: scale(1.1);
}

.s446-copyright {
    text-align: center;
    color: var(--s446-gray);
    font-size: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Bottom Navigation */
.s446-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(26, 37, 47, 0.98) 0%, #0f1419 100%);
    border-top: 1px solid rgba(60, 179, 113, 0.3);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 64px;
    max-width: 430px;
    margin: 0 auto;
}

.s446-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: var(--s446-transition);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 8px;
}

.s446-nav-item:hover {
    background: rgba(60, 179, 113, 0.2);
}

.s446-nav-item.active {
    color: var(--s446-primary);
}

.s446-nav-item .material-icons,
.s446-nav-item ion-icon {
    font-size: 24px;
    color: var(--s446-text-light);
    margin-bottom: 2px;
    transition: var(--s446-transition);
}

.s446-nav-item:hover .material-icons,
.s446-nav-item:hover ion-icon,
.s446-nav-item:hover i {
    color: var(--s446-primary);
    transform: scale(1.1);
}

.s446-nav-item span {
    font-size: 1rem;
    color: var(--s446-gray);
    transition: var(--s446-transition);
}

.s446-nav-item:hover span {
    color: var(--s446-primary);
}

/* Toast Notification */
.s446-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--s446-primary);
    color: var(--s446-text-light);
    padding: 1rem 2rem;
    border-radius: var(--s446-border-radius);
    font-size: 1.4rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
}

.s446-toast-show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Desktop Responsive */
@media (min-width: 769px) {
    body {
        max-width: 100%;
    }

    .s446-bottom-nav {
        display: none;
    }

    .s446-header {
        max-width: 100%;
    }

    .s446-main {
        padding-bottom: 2rem;
    }

    .s446-footer {
        padding-bottom: 2rem;
    }

    .s446-game-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .s446-main {
        padding-bottom: 80px;
    }
}

/* Utility Classes */
.s446-text-center {
    text-align: center;
}

.s446-mb-1 {
    margin-bottom: 1rem;
}

.s446-mb-2 {
    margin-bottom: 2rem;
}

.s446-mt-2 {
    margin-top: 2rem;
}

.s446-hidden {
    display: none;
}

/* Animation */
@keyframes s446-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.s446-animate {
    animation: s446-fade-in 0.5s ease forwards;
}
