/**
 * aronplay - Main Stylesheet
 * All classes use vf51- prefix for namespace isolation
 * Mobile-first responsive design
 */

/* CSS Variables */
:root {
    --vf51-primary: #8470FF;
    --vf51-secondary: #DDA0DD;
    --vf51-accent: #00B8D4;
    --vf51-bg-dark: #262626;
    --vf51-bg-light: #D3D3D3;
    --vf51-bg-lavender: #E6E6FA;
    --vf51-text-light: #FFFFFF;
    --vf51-text-dark: #262626;
    --vf51-gradient-1: linear-gradient(135deg, #8470FF 0%, #DDA0DD 100%);
    --vf51-gradient-2: linear-gradient(135deg, #00B8D4 0%, #8470FF 100%);
    --vf51-shadow: 0 4px 15px rgba(132, 112, 255, 0.3);
    --vf51-radius: 12px;
    --vf51-radius-sm: 8px;
}

/* Reset & Base */
* {
    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(--vf51-bg-dark);
    color: var(--vf51-text-light);
    line-height: 1.5rem;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.vf51-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.6rem;
}

.vf51-wrapper {
    padding: 2rem 0;
}

/* Header */
.vf51-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(38, 38, 38, 0.98) 0%, rgba(38, 38, 38, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(132, 112, 255, 0.2);
}

.vf51-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.6rem;
    max-width: 430px;
    margin: 0 auto;
}

.vf51-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.vf51-logo img {
    width: 28px;
    height: 28px;
}

.vf51-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--vf51-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vf51-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.vf51-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: var(--vf51-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 44px;
}

.vf51-btn-primary {
    background: var(--vf51-gradient-1);
    color: var(--vf51-text-light);
    box-shadow: var(--vf51-shadow);
}

.vf51-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(132, 112, 255, 0.4);
}

.vf51-btn-outline {
    background: transparent;
    color: var(--vf51-primary);
    border: 2px solid var(--vf51-primary);
}

.vf51-btn-outline:hover {
    background: var(--vf51-primary);
    color: var(--vf51-text-light);
}

.vf51-menu-toggle {
    background: none;
    border: none;
    color: var(--vf51-text-light);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.vf51-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--vf51-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 8rem 2rem 2rem;
    overflow-y: auto;
}

.vf51-menu-active {
    right: 0;
}

.vf51-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;
}

.vf51-overlay-active {
    opacity: 1;
    visibility: visible;
}

.vf51-nav-list {
    list-style: none;
}

.vf51-nav-item {
    margin-bottom: 1rem;
}

.vf51-nav-link {
    display: block;
    padding: 1.2rem 1.6rem;
    font-size: 1.4rem;
    color: var(--vf51-text-light);
    border-radius: var(--vf51-radius-sm);
    transition: all 0.3s ease;
}

.vf51-nav-link:hover {
    background: rgba(132, 112, 255, 0.2);
    color: var(--vf51-primary);
}

/* Main Content */
.vf51-main {
    padding-top: 6rem;
    padding-bottom: 8rem;
}

/* Hero Carousel */
.vf51-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: var(--vf51-radius);
    margin-bottom: 2rem;
}

.vf51-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.vf51-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.vf51-slide-active {
    opacity: 1;
}

.vf51-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vf51-slide-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
}

.vf51-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.vf51-dot-active {
    background: var(--vf51-primary);
    width: 24px;
    border-radius: 4px;
}

/* Section Titles */
.vf51-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--vf51-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vf51-section-subtitle {
    font-size: 1.4rem;
    color: var(--vf51-bg-light);
    margin-bottom: 2rem;
}

/* Game Grid */
.vf51-game-section {
    margin-bottom: 3rem;
}

.vf51-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--vf51-accent);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.vf51-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.vf51-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.vf51-game-item:hover {
    transform: scale(1.05);
}

.vf51-game-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--vf51-radius-sm);
    object-fit: cover;
    margin-bottom: 0.5rem;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.vf51-game-item:hover .vf51-game-img {
    border-color: var(--vf51-primary);
}

.vf51-game-name {
    font-size: 1rem;
    color: var(--vf51-text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Info Sections */
.vf51-info-section {
    background: linear-gradient(135deg, rgba(132, 112, 255, 0.1) 0%, rgba(221, 160, 221, 0.1) 100%);
    border-radius: var(--vf51-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(132, 112, 255, 0.2);
}

.vf51-info-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--vf51-primary);
}

.vf51-info-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--vf51-bg-light);
    margin-bottom: 1rem;
}

.vf51-info-text:last-child {
    margin-bottom: 0;
}

.vf51-highlight {
    color: var(--vf51-accent);
    font-weight: 600;
}

/* Feature List */
.vf51-feature-list {
    list-style: none;
}

.vf51-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
}

.vf51-feature-icon {
    color: var(--vf51-primary);
    font-size: 1.6rem;
    flex-shrink: 0;
}

/* FAQ Section */
.vf51-faq-item {
    background: rgba(132, 112, 255, 0.1);
    border-radius: var(--vf51-radius-sm);
    margin-bottom: 1rem;
    overflow: hidden;
}

.vf51-faq-question {
    padding: 1.2rem 1.6rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--vf51-text-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vf51-faq-answer {
    padding: 0 1.6rem 1.2rem;
    font-size: 1.2rem;
    color: var(--vf51-bg-light);
    line-height: 1.6;
}

/* Promo Link Styles */
.vf51-promo-link {
    color: var(--vf51-accent);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.vf51-promo-link:hover {
    color: var(--vf51-primary);
    text-decoration: underline;
}

.vf51-promo-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--vf51-gradient-2);
    color: var(--vf51-text-light);
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: var(--vf51-radius);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vf51-promo-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 184, 212, 0.4);
}

/* Footer */
.vf51-footer {
    background: linear-gradient(180deg, var(--vf51-bg-dark) 0%, rgba(38, 38, 38, 0.95) 100%);
    border-top: 1px solid rgba(132, 112, 255, 0.2);
    padding: 2rem 0;
}

.vf51-footer-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.vf51-partner-logo {
    width: 40px;
    height: 40px;
    border-radius: var(--vf51-radius-sm);
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.vf51-partner-logo:hover {
    opacity: 1;
}

.vf51-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vf51-footer-link {
    font-size: 1.2rem;
    color: var(--vf51-bg-light);
    transition: color 0.3s ease;
}

.vf51-footer-link:hover {
    color: var(--vf51-primary);
}

.vf51-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(211, 211, 211, 0.6);
}

/* Bottom Navigation */
.vf51-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, rgba(38, 38, 38, 0.98) 0%, rgba(38, 38, 38, 1) 100%);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(132, 112, 255, 0.3);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom);
}

.vf51-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: none;
    border: none;
    color: var(--vf51-bg-light);
}

.vf51-nav-btn:hover,
.vf51-nav-btn-active {
    color: var(--vf51-primary);
    transform: scale(1.1);
}

.vf51-nav-icon {
    font-size: 2.4rem;
    margin-bottom: 0.2rem;
}

.vf51-nav-label {
    font-size: 1rem;
    font-weight: 500;
}

/* RTP Section */
.vf51-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.vf51-rtp-item {
    background: rgba(132, 112, 255, 0.1);
    border-radius: var(--vf51-radius-sm);
    padding: 1rem;
    text-align: center;
}

.vf51-rtp-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--vf51-accent);
}

.vf51-rtp-label {
    font-size: 1.1rem;
    color: var(--vf51-bg-light);
}

/* Achievement Cards */
.vf51-achievement-card {
    background: linear-gradient(135deg, rgba(132, 112, 255, 0.15) 0%, rgba(0, 184, 212, 0.15) 100%);
    border-radius: var(--vf51-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(132, 112, 255, 0.2);
}

.vf51-achievement-icon {
    font-size: 2.4rem;
    color: var(--vf51-primary);
}

.vf51-achievement-content h4 {
    font-size: 1.4rem;
    color: var(--vf51-text-light);
    margin-bottom: 0.3rem;
}

.vf51-achievement-content p {
    font-size: 1.1rem;
    color: var(--vf51-bg-light);
}

/* Desktop Responsive */
@media (min-width: 769px) {
    .vf51-container {
        max-width: 768px;
    }

    .vf51-header-inner {
        max-width: 768px;
    }

    .vf51-bottom-nav {
        display: none;
    }

    .vf51-main {
        padding-bottom: 2rem;
    }

    .vf51-game-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .vf51-carousel {
        height: 300px;
    }

    .vf51-rtp-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Touch States */
.vf51-touchable {
    transition: transform 0.1s ease;
}

.vf51-touch-active {
    transform: scale(0.98);
}

/* Utilities */
.vf51-text-center {
    text-align: center;
}

.vf51-mb-1 {
    margin-bottom: 1rem;
}

.vf51-mb-2 {
    margin-bottom: 2rem;
}

.vf51-mb-3 {
    margin-bottom: 3rem;
}
