/**
 * ArioPlay Core Stylesheet
 * Version: 1.0.0
 * All classes use prefix 'vcf0-' to avoid conflicts
 * Color palette: #0D1117 (dark bg), #EEE8AA (light text), #FFB347 (accent)
 */

/* CSS Variables */
:root {
    --vcf0-primary: #FFB347;
    --vcf0-secondary: #EEE8AA;
    --vcf0-bg-dark: #0D1117;
    --vcf0-bg-card: #161B22;
    --vcf0-bg-hover: #21262D;
    --vcf0-text-light: #EEE8AA;
    --vcf0-text-muted: #8B949E;
    --vcf0-border: #30363D;
    --vcf0-gradient: linear-gradient(135deg, #FFB347 0%, #FF8C00 100%);
    --vcf0-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    --vcf0-radius: 8px;
    --vcf0-radius-lg: 16px;
}

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--vcf0-bg-dark);
    color: var(--vcf0-text-light);
    line-height: 1.5rem;
    font-size: 1.4rem;
    min-height: 100vh;
}

a {
    color: var(--vcf0-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--vcf0-secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.vcf0-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

.vcf0-wrapper {
    padding: 1rem 0;
}

/* Header Styles */
.vcf0-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--vcf0-bg-dark) 0%, rgba(13, 17, 23, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--vcf0-border);
    padding: 0.8rem 0;
}

.vcf0-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

.vcf0-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.vcf0-logo img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.vcf0-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--vcf0-primary);
    letter-spacing: 0.5px;
}

.vcf0-header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.vcf0-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: var(--vcf0-radius);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.vcf0-btn-primary {
    background: var(--vcf0-gradient);
    color: var(--vcf0-bg-dark);
}

.vcf0-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--vcf0-shadow);
}

.vcf0-btn-secondary {
    background: transparent;
    border: 1px solid var(--vcf0-primary);
    color: var(--vcf0-primary);
}

.vcf0-btn-secondary:hover {
    background: var(--vcf0-primary);
    color: var(--vcf0-bg-dark);
}

.vcf0-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: var(--vcf0-text-light);
    cursor: pointer;
    font-size: 2rem;
}

/* Mobile Menu */
.vcf0-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--vcf0-bg-card);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 2rem 1.5rem;
}

.vcf0-menu-active {
    right: 0;
}

.vcf0-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;
}

.vcf0-overlay-active {
    opacity: 1;
    visibility: visible;
}

.vcf0-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vcf0-bg-hover);
    border: none;
    border-radius: 50%;
    color: var(--vcf0-text-light);
    cursor: pointer;
    font-size: 1.8rem;
}

.vcf0-menu-nav {
    margin-top: 3rem;
}

.vcf0-menu-link {
    display: block;
    padding: 1rem 0;
    color: var(--vcf0-text-light);
    font-size: 1.4rem;
    border-bottom: 1px solid var(--vcf0-border);
    transition: color 0.3s ease;
}

.vcf0-menu-link:hover {
    color: var(--vcf0-primary);
}

/* Hero/Carousel Section */
.vcf0-hero {
    position: relative;
    margin-top: 56px;
    overflow: hidden;
}

.vcf0-carousel {
    position: relative;
    height: 180px;
}

.vcf0-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.vcf0-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vcf0-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.vcf0-slide-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--vcf0-primary);
}

/* Section Styles */
.vcf0-section {
    padding: 2rem 0;
}

.vcf0-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--vcf0-primary);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.vcf0-section-title i {
    font-size: 2rem;
}

/* Game Grid */
.vcf0-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.vcf0-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.vcf0-game-item:hover {
    transform: scale(1.05);
}

.vcf0-game-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--vcf0-radius);
    overflow: hidden;
    margin-bottom: 0.4rem;
    background: var(--vcf0-bg-card);
    border: 2px solid var(--vcf0-border);
}

.vcf0-game-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vcf0-game-name {
    font-size: 1rem;
    color: var(--vcf0-text-muted);
    line-height: 1.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* Category Tabs */
.vcf0-category {
    margin-bottom: 2rem;
}

.vcf0-category-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--vcf0-primary);
}

.vcf0-category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--vcf0-secondary);
}

.vcf0-category-icon {
    font-size: 1.8rem;
    color: var(--vcf0-primary);
}

/* Content Cards */
.vcf0-card {
    background: var(--vcf0-bg-card);
    border-radius: var(--vcf0-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--vcf0-border);
}

.vcf0-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--vcf0-primary);
    margin-bottom: 0.8rem;
}

.vcf0-card-text {
    font-size: 1.3rem;
    color: var(--vcf0-text-light);
    line-height: 1.6rem;
    margin-bottom: 0.8rem;
}

.vcf0-card-list {
    list-style: none;
    padding: 0;
}

.vcf0-card-list li {
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.3rem;
    color: var(--vcf0-text-light);
}

.vcf0-card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--vcf0-primary);
    border-radius: 50%;
}

/* Features Grid */
.vcf0-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.vcf0-feature-item {
    background: var(--vcf0-bg-card);
    border-radius: var(--vcf0-radius);
    padding: 1.2rem;
    text-align: center;
    border: 1px solid var(--vcf0-border);
    transition: border-color 0.3s ease;
}

.vcf0-feature-item:hover {
    border-color: var(--vcf0-primary);
}

.vcf0-feature-icon {
    font-size: 2.4rem;
    color: var(--vcf0-primary);
    margin-bottom: 0.6rem;
}

.vcf0-feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--vcf0-secondary);
    margin-bottom: 0.4rem;
}

.vcf0-feature-desc {
    font-size: 1.1rem;
    color: var(--vcf0-text-muted);
}

/* Promo Links */
.vcf0-promo-link {
    display: inline-block;
    color: var(--vcf0-primary);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.vcf0-promo-link:hover {
    color: var(--vcf0-secondary);
    text-decoration: underline;
}

/* Footer */
.vcf0-footer {
    background: var(--vcf0-bg-card);
    border-top: 1px solid var(--vcf0-border);
    padding: 2rem 0;
    margin-top: 2rem;
}

.vcf0-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.vcf0-footer-link {
    font-size: 1.2rem;
    color: var(--vcf0-text-muted);
    padding: 0.4rem 0.8rem;
    background: var(--vcf0-bg-hover);
    border-radius: var(--vcf0-radius);
    transition: all 0.3s ease;
}

.vcf0-footer-link:hover {
    color: var(--vcf0-primary);
    background: var(--vcf0-bg-dark);
}

.vcf0-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.vcf0-partner-logo {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.vcf0-partner-logo:hover {
    opacity: 1;
}

.vcf0-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: var(--vcf0-text-muted);
    padding-top: 1rem;
    border-top: 1px solid var(--vcf0-border);
}

/* Bottom Navigation (Mobile) */
.vcf0-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, var(--vcf0-bg-card) 0%, var(--vcf0-bg-dark) 100%);
    border-top: 1px solid var(--vcf0-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0 0.5rem;
}

.vcf0-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.vcf0-nav-item:hover {
    transform: scale(1.1);
}

.vcf0-nav-item.active .vcf0-nav-icon {
    color: var(--vcf0-primary);
}

.vcf0-nav-icon {
    font-size: 22px;
    color: var(--vcf0-text-muted);
    margin-bottom: 2px;
    transition: color 0.3s ease;
}

.vcf0-nav-item:hover .vcf0-nav-icon {
    color: var(--vcf0-primary);
}

.vcf0-nav-text {
    font-size: 10px;
    color: var(--vcf0-text-muted);
    transition: color 0.3s ease;
}

.vcf0-nav-item:hover .vcf0-nav-text {
    color: var(--vcf0-primary);
}

.vcf0-nav-item.active .vcf0-nav-text {
    color: var(--vcf0-primary);
}

/* Main Content Padding for Bottom Nav */
@media (max-width: 768px) {
    main, .vcf0-main {
        padding-bottom: 75px;
    }
}

/* Desktop - Hide Bottom Nav */
@media (min-width: 769px) {
    .vcf0-bottom-nav {
        display: none;
    }
}

/* Utility Classes */
.vcf0-text-center { text-align: center; }
.vcf0-text-primary { color: var(--vcf0-primary); }
.vcf0-text-muted { color: var(--vcf0-text-muted); }
.vcf0-mt-1 { margin-top: 1rem; }
.vcf0-mb-1 { margin-bottom: 1rem; }
.vcf0-mt-2 { margin-top: 2rem; }
.vcf0-mb-2 { margin-bottom: 2rem; }
.vcf0-hidden { display: none; }
.vcf0-flex { display: flex; }
.vcf0-flex-center { display: flex; align-items: center; justify-content: center; }
.vcf0-gap-1 { gap: 0.5rem; }
.vcf0-gap-2 { gap: 1rem; }

/* Responsive Adjustments */
@media (max-width: 430px) {
    .vcf0-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.6rem;
    }

    .vcf0-game-name {
        font-size: 0.9rem;
    }
}

/* H1 Title */
.vcf0-h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--vcf0-primary);
    text-align: center;
    margin: 1.5rem 0;
    line-height: 1.4;
}

/* RTP Stats */
.vcf0-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.vcf0-rtp-item {
    background: var(--vcf0-bg-hover);
    border-radius: var(--vcf0-radius);
    padding: 1rem;
    text-align: center;
}

.vcf0-rtp-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--vcf0-primary);
}

.vcf0-rtp-label {
    font-size: 1.1rem;
    color: var(--vcf0-text-muted);
}

/* Promotions */
.vcf0-promo-card {
    background: linear-gradient(135deg, var(--vcf0-bg-card) 0%, var(--vcf0-bg-hover) 100%);
    border-radius: var(--vcf0-radius-lg);
    padding: 1.5rem;
    border: 2px solid var(--vcf0-primary);
    margin-bottom: 1rem;
}

.vcf0-promo-badge {
    display: inline-block;
    background: var(--vcf0-gradient);
    color: var(--vcf0-bg-dark);
    font-size: 1rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: var(--vcf0-radius);
    margin-bottom: 0.6rem;
}

/* Security Section */
.vcf0-security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.vcf0-security-item {
    background: var(--vcf0-bg-card);
    border-radius: var(--vcf0-radius);
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--vcf0-border);
}

.vcf0-security-icon {
    font-size: 2rem;
    color: #4CAF50;
    margin-bottom: 0.4rem;
}

.vcf0-security-text {
    font-size: 1rem;
    color: var(--vcf0-text-muted);
}

/* Achievements */
.vcf0-achievement {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--vcf0-bg-card);
    border-radius: var(--vcf0-radius);
    margin-bottom: 0.8rem;
    border-left: 4px solid var(--vcf0-primary);
}

.vcf0-achievement-icon {
    font-size: 2.4rem;
    color: #FFD700;
}

.vcf0-achievement-content {
    flex: 1;
}

.vcf0-achievement-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--vcf0-secondary);
}

.vcf0-achievement-desc {
    font-size: 1.1rem;
    color: var(--vcf0-text-muted);
}

/* Play Now CTA */
.vcf0-cta {
    background: var(--vcf0-gradient);
    border-radius: var(--vcf0-radius-lg);
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.vcf0-cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--vcf0-bg-dark);
    margin-bottom: 0.8rem;
}

.vcf0-cta-text {
    font-size: 1.3rem;
    color: var(--vcf0-bg-dark);
    margin-bottom: 1.2rem;
    opacity: 0.9;
}

.vcf0-cta-btn {
    display: inline-block;
    background: var(--vcf0-bg-dark);
    color: var(--vcf0-primary);
    padding: 1rem 2.5rem;
    border-radius: var(--vcf0-radius);
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.vcf0-cta-btn:hover {
    transform: scale(1.05);
}

/* Tricks Section */
.vcf0-trick {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--vcf0-bg-card);
    border-radius: var(--vcf0-radius);
    margin-bottom: 0.8rem;
}

.vcf0-trick-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--vcf0-gradient);
    color: var(--vcf0-bg-dark);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.vcf0-trick-content {
    flex: 1;
}

.vcf0-trick-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--vcf0-secondary);
    margin-bottom: 0.3rem;
}

.vcf0-trick-desc {
    font-size: 1.2rem;
    color: var(--vcf0-text-muted);
    line-height: 1.4;
}
