/**
 * EpicWin - Main Stylesheet
 * Version: 1.0.0
 * CSS Prefix: g06f-
 * Colors: #1E1E1E (bg), #FFBF00 (primary), #FF9500 (accent1), #CC99FF (accent2), #6C757D (muted), #FF9800 (accent3)
 */

/* CSS Variables */
:root {
    --g06f-bg-primary: #1E1E1E;
    --g06f-bg-secondary: #2A2A2A;
    --g06f-bg-dark: #121212;
    --g06f-text-primary: #FFBF00;
    --g06f-text-secondary: #FFFFFF;
    --g06f-text-light: #B0B0B0;
    --g06f-accent-1: #FF9500;
    --g06f-accent-2: #CC99FF;
    --g06f-accent-3: #FF9800;
    --g06f-muted: #6C757D;
    --g06f-gradient-primary: linear-gradient(135deg, #FFBF00 0%, #FF9500 100%);
    --g06f-gradient-accent: linear-gradient(135deg, #CC99FF 0%, #FF9800 100%);
    --g06f-shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
    --g06f-shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --g06f-shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
    --g06f-radius-sm: 8px;
    --g06f-radius-md: 12px;
    --g06f-radius-lg: 20px;
    --g06f-radius-full: 50px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--g06f-bg-primary);
    color: var(--g06f-text-secondary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ===================== HEADER ===================== */
.g06f-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--g06f-bg-secondary);
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.g06f-header-scrolled {
    background: rgba(30, 30, 30, 0.98);
    box-shadow: var(--g06f-shadow-md);
}

.g06f-header-inner {
    max-width: 430px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.g06f-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.g06f-logo img {
    width: 32px;
    height: 32px;
}

.g06f-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--g06f-text-primary);
}

.g06f-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.g06f-btn {
    padding: 10px 18px;
    border-radius: var(--g06f-radius-full);
    font-weight: 600;
    font-size: 1.3rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.g06f-btn-primary {
    background: var(--g06f-gradient-primary);
    color: var(--g06f-bg-dark);
}

.g06f-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 191, 0, 0.4);
}

.g06f-btn-secondary {
    background: transparent;
    border: 2px solid var(--g06f-text-primary);
    color: var(--g06f-text-primary);
}

.g06f-btn-secondary:hover {
    background: var(--g06f-text-primary);
    color: var(--g06f-bg-dark);
}

.g06f-menu-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--g06f-text-primary);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

/* ===================== MOBILE MENU ===================== */
.g06f-mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--g06f-bg-dark);
    z-index: 9999;
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.g06f-menu-active {
    right: 0;
}

.g06f-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;
}

.g06f-overlay-active {
    opacity: 1;
    visibility: visible;
}

.g06f-mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.g06f-mobile-nav-item {
    padding: 14px 16px;
    border-radius: var(--g06f-radius-sm);
    background: var(--g06f-bg-secondary);
    color: var(--g06f-text-secondary);
    font-size: 1.4rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.g06f-mobile-nav-item:hover {
    background: var(--g06f-text-primary);
    color: var(--g06f-bg-dark);
}

.g06f-mobile-nav-item i {
    width: 20px;
    text-align: center;
}

/* ===================== MAIN CONTENT ===================== */
.g06f-main {
    padding-top: 60px;
    padding-bottom: 80px;
}

/* ===================== HERO CAROUSEL ===================== */
.g06f-hero {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.g06f-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.g06f-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.6s ease;
    cursor: pointer;
}

.g06f-slide-active {
    opacity: 1;
}

.g06f-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.g06f-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px;
    background: linear-gradient(to top, rgba(18, 18, 18, 0.95), transparent);
}

.g06f-slide-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--g06f-text-primary);
    margin-bottom: 6px;
}

.g06f-slide-desc {
    font-size: 1.2rem;
    color: var(--g06f-text-light);
}

.g06f-slide-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.g06f-slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.g06f-dot-active {
    background: var(--g06f-text-primary);
    transform: scale(1.2);
}

/* ===================== SECTION STYLES ===================== */
.g06f-section {
    padding: 24px 16px;
}

.g06f-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--g06f-text-primary);
    margin-bottom: 16px;
    text-align: center;
}

.g06f-section-subtitle {
    font-size: 1.3rem;
    color: var(--g06f-text-light);
    text-align: center;
    margin-bottom: 20px;
}

/* ===================== CONTENT BOX ===================== */
.g06f-content-box {
    background: var(--g06f-bg-secondary);
    border-radius: var(--g06f-radius-md);
    padding: 20px;
    margin-bottom: 16px;
}

.g06f-content-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--g06f-text-primary);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--g06f-bg-primary);
}

.g06f-content-text {
    color: var(--g06f-text-secondary);
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.g06f-content-list {
    padding-left: 0;
}

.g06f-content-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--g06f-text-secondary);
    font-size: 1.3rem;
}

.g06f-content-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--g06f-text-primary);
    font-weight: bold;
}

/* ===================== GAME GRID ===================== */
.g06f-category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--g06f-text-primary);
    margin-bottom: 12px;
    padding-left: 8px;
    border-left: 3px solid var(--g06f-accent-1);
}

.g06f-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.g06f-game-card {
    position: relative;
    border-radius: var(--g06f-radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--g06f-bg-secondary);
}

.g06f-game-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--g06f-shadow-md);
}

.g06f-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.g06f-game-name {
    padding: 8px 4px;
    font-size: 1.0rem;
    font-weight: 500;
    text-align: center;
    color: var(--g06f-text-secondary);
    background: var(--g06f-bg-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.g06f-game-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 2px 6px;
    background: var(--g06f-accent-1);
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 4px;
}

/* ===================== FEATURE CARDS ===================== */
.g06f-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.g06f-feature-card {
    background: var(--g06f-bg-secondary);
    border-radius: var(--g06f-radius-md);
    padding: 16px 12px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.g06f-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--g06f-shadow-md);
}

.g06f-feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: var(--g06f-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--g06f-bg-dark);
}

.g06f-feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--g06f-text-primary);
    margin-bottom: 6px;
}

.g06f-feature-desc {
    font-size: 1.1rem;
    color: var(--g06f-text-light);
    line-height: 1.4;
}

/* ===================== PROMO BANNER ===================== */
.g06f-promo-banner {
    background: var(--g06f-gradient-accent);
    border-radius: var(--g06f-radius-md);
    padding: 20px;
    text-align: center;
    margin: 16px;
    cursor: pointer;
}

.g06f-promo-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--g06f-bg-dark);
    margin-bottom: 10px;
}

.g06f-promo-desc {
    color: var(--g06f-bg-secondary);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

/* ===================== RTP STATS ===================== */
.g06f-rtp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.g06f-rtp-item {
    background: var(--g06f-bg-secondary);
    border-radius: var(--g06f-radius-sm);
    padding: 12px 8px;
    text-align: center;
}

.g06f-rtp-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--g06f-text-primary);
}

.g06f-rtp-label {
    font-size: 1.0rem;
    color: var(--g06f-text-light);
    margin-top: 4px;
}

/* ===================== FOOTER ===================== */
.g06f-footer {
    background: var(--g06f-bg-dark);
    padding: 24px 16px 80px;
}

.g06f-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 16px;
}

.g06f-footer-link {
    color: var(--g06f-text-light);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.g06f-footer-link:hover {
    color: var(--g06f-text-primary);
}

.g06f-partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 16px;
}

.g06f-partner-logo {
    height: 24px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.g06f-partner-logo:hover {
    opacity: 1;
}

.g06f-copyright {
    text-align: center;
    color: var(--g06f-text-light);
    font-size: 1.1rem;
}

/* ===================== BOTTOM NAVIGATION ===================== */
.g06f-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--g06f-bg-dark), var(--g06f-bg-secondary));
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    border-top: 2px solid var(--g06f-text-primary);
}

.g06f-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 56px;
    padding: 6px;
    background: none;
    border: none;
    color: var(--g06f-text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.g06f-nav-btn:hover,
.g06f-nav-btn.g06f-active {
    color: var(--g06f-text-primary);
    transform: scale(1.1);
}

.g06f-nav-btn .g06f-nav-icon {
    font-size: 22px;
    margin-bottom: 2px;
}

.g06f-nav-btn .g06f-nav-label {
    font-size: 1.0rem;
    font-weight: 500;
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .g06f-bottom-nav {
        display: none;
    }
    .g06f-main {
        padding-bottom: 24px;
    }
    .g06f-footer {
        padding-bottom: 24px;
    }
}

/* ===================== ACCORDION ===================== */
.g06f-accordion-item {
    background: var(--g06f-bg-secondary);
    border-radius: var(--g06f-radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
}

.g06f-accordion-header {
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--g06f-text-secondary);
    transition: all 0.3s ease;
}

.g06f-accordion-header:hover,
.g06f-accordion-header.g06f-active {
    color: var(--g06f-text-primary);
    background: rgba(255, 191, 0, 0.1);
}

.g06f-accordion-icon {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.g06f-accordion-header.g06f-active .g06f-accordion-icon {
    transform: rotate(180deg);
}

.g06f-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.g06f-accordion-body {
    padding: 0 16px 14px;
    color: var(--g06f-text-light);
    font-size: 1.2rem;
    line-height: 1.6;
}

/* ===================== TEXT UTILITIES ===================== */
.g06f-text-center {
    text-align: center;
}

.g06f-text-accent {
    color: var(--g06f-text-primary);
}

.g06f-text-bold {
    font-weight: 700;
}

.g06f-mb-16 {
    margin-bottom: 16px;
}

.g06f-mt-16 {
    margin-top: 16px;
}

.g06f-promo-link {
    color: var(--g06f-text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.g06f-promo-link:hover {
    color: var(--g06f-accent-1);
    text-decoration: underline;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 430px) {
    .g06f-header-inner {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    main, .g06f-main {
        padding-bottom: 80px;
    }
}
