/**
 * auronplay.sbs - Main Stylesheet
 * Prefix: s28e-
 * Color Palette: #4A4A4A | #F5DEB3 | #A9A9A9 | #8B7355 | #212F3D
 * Mobile-first responsive design
 */

/* CSS Variables */
:root {
    --s28e-primary: #8B7355;
    --s28e-secondary: #F5DEB3;
    --s28e-accent: #A9A9A9;
    --s28e-bg-dark: #212F3D;
    --s28e-bg-medium: #4A4A4A;
    --s28e-text-light: #F5DEB3;
    --s28e-text-white: #FFFFFF;
    --s28e-gradient-gold: linear-gradient(135deg, #8B7355 0%, #D4AF37 100%);
    --s28e-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* 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-color: var(--s28e-bg-dark);
    color: var(--s28e-text-light);
    line-height: 1.5;
    min-height: 100vh;
}

/* Container */
.s28e-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.s28e-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--s28e-bg-dark) 0%, rgba(33, 47, 61, 0.95) 100%);
    padding: 1rem;
    z-index: 1000;
    border-bottom: 2px solid var(--s28e-primary);
    transition: all 0.3s ease;
}

.s28e-header-scrolled {
    background: rgba(33, 47, 61, 0.98);
    box-shadow: var(--s28e-shadow);
}

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

.s28e-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.s28e-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.s28e-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--s28e-secondary);
    letter-spacing: 0.5px;
}

.s28e-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.s28e-btn {
    padding: 0.7rem 1.4rem;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.s28e-btn-register {
    background: var(--s28e-gradient-gold);
    color: var(--s28e-text-white);
}

.s28e-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.4);
}

.s28e-btn-login {
    background: transparent;
    border: 2px solid var(--s28e-primary);
    color: var(--s28e-secondary);
}

.s28e-btn-login:hover {
    background: var(--s28e-primary);
    color: var(--s28e-text-white);
}

.s28e-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.s28e-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--s28e-secondary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu */
#pro592-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--s28e-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    border-left: 2px solid var(--s28e-primary);
}

.pro592-menu-active {
    right: 0 !important;
}

#pro592-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;
}

.pro592-overlay-active {
    opacity: 1 !important;
    visibility: visible !important;
}

.s28e-mobile-nav {
    list-style: none;
    margin-top: 3rem;
}

.s28e-mobile-nav li {
    margin-bottom: 1.5rem;
}

.s28e-mobile-nav a {
    color: var(--s28e-text-light);
    text-decoration: none;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.s28e-mobile-nav a:hover {
    background: rgba(139, 115, 85, 0.2);
    color: var(--s28e-secondary);
}

.s28e-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--s28e-secondary);
    font-size: 2.4rem;
    cursor: pointer;
}

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

/* Carousel */
.pro592-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.pro592-slides-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}

.pro592-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.pro592-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.pro592-slide-active {
    opacity: 1;
}

.pro592-carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
}

.pro592-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pro592-dot-active {
    background: var(--s28e-secondary);
    transform: scale(1.2);
}

/* Sections */
.s28e-section {
    padding: 2rem 0;
}

.s28e-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--s28e-secondary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--s28e-primary);
}

/* Game Grid */
.s28e-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.s28e-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.s28e-game-item:hover {
    transform: translateY(-3px);
}

.s28e-game-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid var(--s28e-primary);
    transition: border-color 0.3s ease;
}

.s28e-game-item:hover .s28e-game-img {
    border-color: var(--s28e-secondary);
}

.s28e-game-name {
    font-size: 1.1rem;
    color: var(--s28e-text-light);
    margin-top: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Category Title */
.s28e-cat-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--s28e-secondary);
    margin: 2rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.s28e-cat-title i {
    color: var(--s28e-primary);
}

/* Cards */
.s28e-card {
    background: rgba(74, 74, 74, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(139, 115, 85, 0.3);
}

.s28e-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--s28e-secondary);
    margin-bottom: 1rem;
}

.s28e-card-text {
    font-size: 1.4rem;
    color: var(--s28e-text-light);
    line-height: 1.6;
}

/* Feature List */
.s28e-feature-list {
    list-style: none;
}

.s28e-feature-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(139, 115, 85, 0.2);
    font-size: 1.4rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.s28e-feature-list li:last-child {
    border-bottom: none;
}

.s28e-feature-list i {
    color: var(--s28e-primary);
    margin-top: 0.3rem;
}

/* Promo Links */
.s28e-promo-link {
    color: var(--s28e-secondary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.s28e-promo-link:hover {
    color: var(--s28e-primary);
}

/* CTA Section */
.s28e-cta {
    background: var(--s28e-gradient-gold);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem 0;
}

.s28e-cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--s28e-text-white);
    margin-bottom: 1rem;
}

.s28e-cta-text {
    font-size: 1.4rem;
    color: var(--s28e-text-white);
    margin-bottom: 1.5rem;
}

.s28e-cta-btn {
    display: inline-block;
    background: var(--s28e-bg-dark);
    color: var(--s28e-secondary);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.s28e-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--s28e-shadow);
}

/* Footer */
.s28e-footer {
    background: var(--s28e-bg-medium);
    padding: 2rem 1.5rem;
    border-top: 2px solid var(--s28e-primary);
}

.s28e-footer-brand {
    font-size: 1.4rem;
    color: var(--s28e-text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.s28e-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.s28e-footer-link {
    color: var(--s28e-secondary);
    text-decoration: none;
    font-size: 1.3rem;
    padding: 0.5rem 1rem;
    background: rgba(139, 115, 85, 0.2);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.s28e-footer-link:hover {
    background: var(--s28e-primary);
    color: var(--s28e-text-white);
}

.s28e-copyright {
    font-size: 1.2rem;
    color: var(--s28e-accent);
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(139, 115, 85, 0.3);
}

/* Bottom Navigation */
.s28e-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(33, 47, 61, 0.98) 0%, var(--s28e-bg-dark) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
    border-top: 2px solid var(--s28e-primary);
    z-index: 1000;
}

.s28e-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    color: var(--s28e-text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.s28e-nav-item:hover,
.s28e-nav-item.active {
    color: var(--s28e-secondary);
}

.s28e-nav-item i {
    font-size: 22px;
    margin-bottom: 2px;
}

.s28e-nav-item span {
    font-size: 1rem;
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .s28e-bottom-nav {
        display: none;
    }

    main {
        padding-bottom: 2rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .s28e-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
    }

    .s28e-game-name {
        font-size: 1rem;
    }
}

@media (max-width: 380px) {
    .s28e-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .s28e-btn {
        padding: 0.6rem 1rem;
        font-size: 1.2rem;
    }
}

/* Utilities */
.s28e-text-center { text-align: center; }
.s28e-mt-2 { margin-top: 2rem; }
.s28e-mb-2 { margin-bottom: 2rem; }
.s28e-py-2 { padding: 2rem 0; }
