/**
 * Aron Play - Main Stylesheet
 * Website: aron-play.cfd
 * Prefix: g64c-
 * Design: Deep Navy & Electric Gold Theme
 */

/* CSS Variables */
:root {
    --g64c-primary: #0a1628;
    --g64c-secondary: #1a2d4a;
    --g64c-accent: #f5b800;
    --g64c-accent-light: #ffd54f;
    --g64c-text-light: #ffffff;
    --g64c-text-muted: #8fa3bf;
    --g64c-success: #00c853;
    --g64c-danger: #ff5252;
    --g64c-gradient: linear-gradient(135deg, #0a1628 0%, #1a2d4a 50%, #0f2744 100%);
    --g64c-gold-gradient: linear-gradient(135deg, #f5b800 0%, #ffd54f 50%, #f5b800 100%);
    --g64c-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --g64c-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
    --g64c-radius: 12px;
    --g64c-radius-sm: 8px;
    --g64c-transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--g64c-primary);
    color: var(--g64c-text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--g64c-accent);
    text-decoration: none;
    transition: var(--g64c-transition);
}

a:hover {
    color: var(--g64c-accent-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header */
.g64c-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--g64c-gradient);
    padding: 12px 16px;
    transition: var(--g64c-transition);
    border-bottom: 1px solid rgba(245, 184, 0, 0.2);
}

.g64c-header-scrolled {
    background: rgba(10, 22, 40, 0.98);
    box-shadow: var(--g64c-shadow);
}

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

.g64c-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.g64c-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--g64c-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.g64c-header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.g64c-btn {
    padding: 10px 20px;
    border-radius: var(--g64c-radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    border: none;
    transition: var(--g64c-transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.g64c-btn-primary {
    background: var(--g64c-gold-gradient);
    color: var(--g64c-primary);
}

.g64c-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 184, 0, 0.4);
}

.g64c-btn-secondary {
    background: transparent;
    color: var(--g64c-text-light);
    border: 2px solid var(--g64c-accent);
}

.g64c-btn-secondary:hover {
    background: var(--g64c-accent);
    color: var(--g64c-primary);
}

.g64c-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--g64c-text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

/* Desktop Header */
@media (min-width: 769px) {
    .g64c-header {
        padding: 15px 24px;
    }

    .g64c-header-inner {
        max-width: 1200px;
    }

    .g64c-logo-text {
        font-size: 1.8rem;
    }

    .g64c-btn {
        padding: 12px 28px;
        font-size: 0.95rem;
    }

    .g64c-menu-toggle {
        display: block;
    }
}

/* Mobile Menu */
#site64c-mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: var(--g64c-secondary);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 80px 24px 24px;
    overflow-y: auto;
}

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

#site64c-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: var(--g64c-transition);
}

.site64c-overlay-active {
    opacity: 1;
    visibility: visible;
}

.g64c-mobile-nav {
    list-style: none;
}

.g64c-mobile-nav li {
    margin-bottom: 8px;
}

.g64c-mobile-nav a {
    display: block;
    padding: 14px 16px;
    color: var(--g64c-text-light);
    border-radius: var(--g64c-radius-sm);
    transition: var(--g64c-transition);
    font-size: 1rem;
}

.g64c-mobile-nav a:hover {
    background: rgba(245, 184, 0, 0.15);
    color: var(--g64c-accent);
}

.g64c-mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--g64c-text-light);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Main Content */
main {
    padding-top: 70px;
    min-height: 100vh;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Carousel */
.site64c-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
}

.site64c-slides-container {
    display: flex;
    transition: transform 0.5s ease;
}

.site64c-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.site64c-slide-active {
    opacity: 1;
    position: relative;
}

.site64c-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.site64c-carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.site64c-slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--g64c-transition);
    border: 2px solid var(--g64c-accent);
}

.site64c-dot-active {
    background: var(--g64c-accent);
    transform: scale(1.2);
}

/* Section Styles */
.g64c-section {
    padding: 40px 16px;
    max-width: 430px;
    margin: 0 auto;
}

@media (min-width: 769px) {
    .g64c-section {
        max-width: 1200px;
        padding: 60px 24px;
    }
}

.g64c-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
    color: var(--g64c-text-light);
}

.g64c-section-title span {
    color: var(--g64c-accent);
}

@media (min-width: 769px) {
    .g64c-section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
}

/* Game Grid */
.g64c-game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (min-width: 769px) {
    .g64c-game-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 20px;
    }
}

.g64c-game-card {
    background: var(--g64c-secondary);
    border-radius: var(--g64c-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--g64c-transition);
    border: 1px solid rgba(245, 184, 0, 0.1);
}

.g64c-game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--g64c-shadow-lg);
    border-color: var(--g64c-accent);
}

.g64c-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.g64c-game-card-title {
    padding: 10px 8px;
    font-size: 0.75rem;
    text-align: center;
    font-weight: 500;
    color: var(--g64c-text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Category Tabs */
.g64c-category-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 16px;
    margin-bottom: 20px;
    scrollbar-width: none;
}

.g64c-category-tabs::-webkit-scrollbar {
    display: none;
}

.g64c-category-tab {
    padding: 10px 20px;
    background: var(--g64c-secondary);
    border: 1px solid rgba(245, 184, 0, 0.2);
    border-radius: 25px;
    color: var(--g64c-text-light);
    font-size: 0.875rem;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--g64c-transition);
}

.g64c-category-tab:hover,
.g64c-category-tab.active {
    background: var(--g64c-accent);
    color: var(--g64c-primary);
    border-color: var(--g64c-accent);
}

/* Info Cards */
.g64c-info-card {
    background: var(--g64c-secondary);
    border-radius: var(--g64c-radius);
    padding: 24px;
    margin-bottom: 16px;
    border: 1px solid rgba(245, 184, 0, 0.1);
}

.g64c-info-card h3 {
    color: var(--g64c-accent);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.g64c-info-card p {
    color: var(--g64c-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Feature List */
.g64c-feature-list {
    display: grid;
    gap: 16px;
}

@media (min-width: 769px) {
    .g64c-feature-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.g64c-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--g64c-secondary);
    padding: 20px;
    border-radius: var(--g64c-radius);
    border: 1px solid rgba(245, 184, 0, 0.1);
}

.g64c-feature-icon {
    width: 50px;
    height: 50px;
    background: var(--g64c-gold-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.g64c-feature-content h4 {
    color: var(--g64c-text-light);
    margin-bottom: 6px;
    font-size: 1rem;
}

.g64c-feature-content p {
    color: var(--g64c-text-muted);
    font-size: 0.875rem;
}

/* FAQ Section */
.g64c-faq-item {
    background: var(--g64c-secondary);
    border-radius: var(--g64c-radius);
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid rgba(245, 184, 0, 0.1);
}

.g64c-faq-question {
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--g64c-text-light);
    font-weight: 500;
}

.g64c-faq-question:hover {
    color: var(--g64c-accent);
}

.g64c-faq-answer {
    padding: 0 20px 18px;
    color: var(--g64c-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Footer */
.g64c-footer {
    background: var(--g64c-primary);
    border-top: 1px solid rgba(245, 184, 0, 0.2);
    padding: 40px 16px 20px;
}

.g64c-footer-inner {
    max-width: 430px;
    margin: 0 auto;
}

@media (min-width: 769px) {
    .g64c-footer-inner {
        max-width: 1200px;
    }
}

.g64c-footer-section {
    margin-bottom: 30px;
}

.g64c-footer-section h4 {
    color: var(--g64c-accent);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.g64c-footer-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.g64c-footer-links a {
    color: var(--g64c-text-muted);
    font-size: 0.875rem;
}

.g64c-footer-links a:hover {
    color: var(--g64c-accent);
}

.g64c-partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.g64c-partner-logos img {
    height: 30px;
    opacity: 0.7;
    transition: var(--g64c-transition);
}

.g64c-partner-logos img:hover {
    opacity: 1;
}

.g64c-footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(245, 184, 0, 0.1);
    color: var(--g64c-text-muted);
    font-size: 0.8rem;
}

/* Mobile Bottom Navigation */
.g64c-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, rgba(26, 45, 74, 0.98) 0%, rgba(10, 22, 40, 0.99) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 2px solid var(--g64c-accent);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

@media (min-width: 769px) {
    .g64c-bottom-nav {
        display: none;
    }
}

.g64c-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: var(--g64c-transition);
    border-radius: 12px;
    padding: 8px;
}

.g64c-nav-item:hover {
    background: rgba(245, 184, 0, 0.15);
}

.g64c-nav-item.active {
    color: var(--g64c-accent);
}

.g64c-nav-item .material-icons,
.g64c-nav-item ion-icon {
    font-size: 26px;
    margin-bottom: 4px;
}

.g64c-nav-item span {
    font-size: 10px;
    font-weight: 500;
    color: var(--g64c-text-light);
}

.g64c-nav-item.active span {
    color: var(--g64c-accent);
}

/* Utility Classes */
.g64c-text-center {
    text-align: center;
}

.g64c-text-accent {
    color: var(--g64c-accent);
}

.g64c-mb-16 {
    margin-bottom: 16px;
}

.g64c-mb-24 {
    margin-bottom: 24px;
}

.g64c-hidden-mobile {
    display: none;
}

@media (min-width: 769px) {
    .g64c-hidden-mobile {
        display: block;
    }
}

/* CTA Banner */
.g64c-cta-banner {
    background: var(--g64c-gold-gradient);
    border-radius: var(--g64c-radius);
    padding: 24px;
    text-align: center;
    margin: 24px 0;
}

.g64c-cta-banner h3 {
    color: var(--g64c-primary);
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.g64c-cta-banner p {
    color: var(--g64c-primary);
    margin-bottom: 16px;
    opacity: 0.8;
}

.g64c-cta-banner .g64c-btn {
    background: var(--g64c-primary);
    color: var(--g64c-accent);
}

/* Promotional Banner */
.g64c-promo-banner {
    background: linear-gradient(135deg, var(--g64c-secondary) 0%, var(--g64c-primary) 100%);
    border: 2px solid var(--g64c-accent);
    border-radius: var(--g64c-radius);
    padding: 20px;
    margin: 16px 0;
    text-align: center;
}

.g64c-promo-banner h4 {
    color: var(--g64c-accent);
    margin-bottom: 8px;
}

.g64c-promo-banner p {
    color: var(--g64c-text-muted);
    font-size: 0.9rem;
}
