/**
 * KingJL Main Stylesheet
 * All classes use prefix 'v070-' for namespace isolation
 * Color Palette: #2C3E50 (dark) | #FF8000 (accent)
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --v070-primary: #FF8000;
    --v070-secondary: #FF9F1C;
    --v070-bg-dark: #2C3E50;
    --v070-bg-darker: #1a252f;
    --v070-bg-card: #34495e;
    --v070-text-light: #ffffff;
    --v070-text-muted: #bdc3c7;
    --v070-border: #4a6278;
    --v070-success: #27ae60;
    --v070-gradient: linear-gradient(135deg, #FF8000 0%, #FF9F1C 100%);
}

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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--v070-bg-dark);
    color: var(--v070-text-light);
    line-height: 1.5rem;
    font-size: 1.4rem;
    min-height: 100vh;
}

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

/* Header */
.v070-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--v070-bg-darker);
    padding: 0.8rem 1rem;
    transition: all 0.3s ease;
}

.v070-header-scrolled {
    background: rgba(26, 37, 47, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

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

.v070-logo img {
    width: 28px;
    height: 28px;
}

.v070-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--v070-primary);
    letter-spacing: 0.5px;
}

.v070-header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.v070-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    min-height: 36px;
}

.v070-btn-primary {
    background: var(--v070-gradient);
    color: var(--v070-text-light);
}

.v070-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 128, 0, 0.4);
}

.v070-btn-outline {
    background: transparent;
    border: 2px solid var(--v070-primary);
    color: var(--v070-primary);
}

.v070-btn-outline:hover {
    background: var(--v070-primary);
    color: var(--v070-bg-dark);
}

.v070-menu-toggle {
    background: none;
    border: none;
    color: var(--v070-text-light);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.v070-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--v070-bg-darker);
    z-index: 9999;
    padding: 2rem 1.5rem;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.v070-menu-active {
    right: 0;
}

.v070-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.v070-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--v070-border);
}

.v070-menu-close {
    background: none;
    border: none;
    color: var(--v070-text-light);
    font-size: 2.4rem;
    cursor: pointer;
}

.v070-menu-nav {
    list-style: none;
}

.v070-menu-nav li {
    margin-bottom: 0.5rem;
}

.v070-menu-nav a {
    display: block;
    padding: 1rem;
    color: var(--v070-text-light);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 1.4rem;
}

.v070-menu-nav a:hover {
    background: var(--v070-bg-card);
    color: var(--v070-primary);
}

/* Main Content */
.v070-main {
    padding-top: 60px;
    padding-bottom: 80px;
}

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

/* Slider */
.v070-slider {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 0;
}

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

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

.v070-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.v070-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--v070-primary);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.v070-section-title i {
    font-size: 2rem;
}

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

.v070-game-item {
    background: var(--v070-bg-card);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
}

.v070-game-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 128, 0, 0.2);
}

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

.v070-game-name {
    padding: 0.4rem 0.6rem;
    font-size: 1rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: var(--v070-bg-darker);
}

/* Category Section */
.v070-category-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--v070-primary);
}

.v070-category-header i {
    font-size: 1.6rem;
    color: var(--v070-primary);
}

.v070-category-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--v070-text-light);
}

/* Cards */
.v070-card {
    background: var(--v070-bg-card);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.v070-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--v070-primary);
    margin-bottom: 1rem;
}

/* Features List */
.v070-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.v070-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--v070-bg-darker);
    border-radius: 8px;
}

.v070-feature-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--v070-gradient);
    border-radius: 50%;
    flex-shrink: 0;
}

.v070-feature-icon i {
    font-size: 1.6rem;
    color: var(--v070-text-light);
}

.v070-feature-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--v070-text-light);
}

.v070-feature-text p {
    font-size: 1rem;
    color: var(--v070-text-muted);
    line-height: 1.3;
}

/* Footer */
.v070-footer {
    background: var(--v070-bg-darker);
    padding: 2rem 1rem 1rem;
    margin-top: 2rem;
}

.v070-footer-brand {
    text-align: center;
    margin-bottom: 1.5rem;
}

.v070-footer-desc {
    color: var(--v070-text-muted);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.v070-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.v070-footer-link {
    padding: 0.6rem 1.2rem;
    background: var(--v070-bg-card);
    color: var(--v070-text-light);
    text-decoration: none;
    border-radius: 6px;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.v070-footer-link:hover {
    background: var(--v070-primary);
    color: var(--v070-bg-dark);
}

.v070-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--v070-border);
    border-bottom: 1px solid var(--v070-border);
    margin-bottom: 1rem;
}

.v070-footer-nav a {
    color: var(--v070-text-muted);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.v070-footer-nav a:hover {
    color: var(--v070-primary);
}

.v070-copyright {
    text-align: center;
    color: var(--v070-text-muted);
    font-size: 1.1rem;
    padding-top: 1rem;
}

/* Bottom Navigation */
.v070-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--v070-bg-darker);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid var(--v070-border);
}

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

.v070-nav-item {
    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.2s ease;
    text-decoration: none;
    color: var(--v070-text-muted);
}

.v070-nav-item:hover,
.v070-nav-item-active {
    color: var(--v070-primary);
}

.v070-nav-item i {
    font-size: 2.2rem;
    margin-bottom: 0.2rem;
}

.v070-nav-item span {
    font-size: 1rem;
    font-weight: 500;
}

/* Promotional CTA */
.v070-cta {
    background: var(--v070-gradient);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    margin: 1.5rem 0;
}

.v070-cta h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: var(--v070-text-light);
}

.v070-cta p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--v070-text-light);
}

.v070-cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--v070-text-light);
    color: var(--v070-bg-dark);
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.v070-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Testimonials */
.v070-testimonials {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.v070-testimonial {
    background: var(--v070-bg-card);
    padding: 1.2rem;
    border-radius: 8px;
    border-left: 3px solid var(--v070-primary);
}

.v070-testimonial-text {
    font-size: 1.2rem;
    color: var(--v070-text-light);
    margin-bottom: 0.8rem;
    font-style: italic;
}

.v070-testimonial-author {
    font-size: 1.1rem;
    color: var(--v070-primary);
    font-weight: 600;
}

/* Payment Methods */
.v070-payments {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.v070-payment-item {
    background: var(--v070-bg-card);
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.v070-payment-item i {
    font-size: 1.6rem;
    color: var(--v070-primary);
}

.v070-payment-item span {
    font-size: 1.1rem;
    color: var(--v070-text-light);
}

/* Winners */
.v070-winners {
    background: var(--v070-bg-card);
    border-radius: 10px;
    overflow: hidden;
}

.v070-winner-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--v070-border);
}

.v070-winner-item:last-child {
    border-bottom: none;
}

.v070-winner-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.v070-winner-avatar {
    width: 36px;
    height: 36px;
    background: var(--v070-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.v070-winner-name {
    font-size: 1.2rem;
    color: var(--v070-text-light);
}

.v070-winner-game {
    font-size: 1rem;
    color: var(--v070-text-muted);
}

.v070-winner-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--v070-primary);
}

/* FAQ */
.v070-faq-item {
    background: var(--v070-bg-card);
    border-radius: 8px;
    margin-bottom: 0.8rem;
    overflow: hidden;
}

.v070-faq-question {
    padding: 1rem 1.2rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--v070-text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.v070-faq-question i {
    color: var(--v070-primary);
}

.v070-faq-answer {
    padding: 0 1.2rem 1rem;
    font-size: 1.2rem;
    color: var(--v070-text-muted);
    line-height: 1.5;
}

/* Promo Link */
.v070-promo-link {
    color: var(--v070-primary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.v070-promo-link:hover {
    color: var(--v070-secondary);
    text-decoration: underline;
}

/* App Download */
.v070-app-download {
    background: var(--v070-bg-card);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

.v070-app-download h4 {
    font-size: 1.4rem;
    color: var(--v070-text-light);
    margin-bottom: 1rem;
}

.v070-app-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.v070-app-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--v070-gradient);
    border-radius: 8px;
    color: var(--v070-text-light);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.v070-app-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 128, 0, 0.3);
}

/* Text Utilities */
.v070-text-center { text-align: center; }
.v070-text-primary { color: var(--v070-primary); }
.v070-text-muted { color: var(--v070-text-muted); }
.v070-text-bold { font-weight: 700; }

/* Spacing */
.v070-mt-1 { margin-top: 1rem; }
.v070-mt-2 { margin-top: 2rem; }
.v070-mb-1 { margin-bottom: 1rem; }
.v070-mb-2 { margin-bottom: 2rem; }
.v070-py-2 { padding-top: 2rem; padding-bottom: 2rem; }
