/**
 * JL22 Layout Stylesheet
 * Website: jl22.cfd
 * Prefix: v65e-
 */

/* CSS Variables */
:root {
    --v65e-bg-primary: #141414;
    --v65e-bg-secondary: #1a1a2e;
    --v65e-bg-tertiary: #16213e;
    --v65e-text-primary: #E0FFFF;
    --v65e-text-secondary: #b8d4e3;
    --v65e-accent: #1E90FF;
    --v65e-accent-hover: #3498db;
    --v65e-success: #00d26a;
    --v65e-warning: #ffc107;
    --v65e-gradient: linear-gradient(135deg, #1E90FF 0%, #0066cc 100%);
    --v65e-shadow: 0 4px 20px rgba(30, 144, 255, 0.3);
    --v65e-border-radius: 12px;
}

/* 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(--v65e-bg-primary);
    color: var(--v65e-text-primary);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Container */
.v65e-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.v65e-wrapper {
    padding: 1rem;
}

/* Header */
.v65e-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--v65e-bg-primary) 0%, rgba(20, 20, 20, 0.95) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem;
    border-bottom: 1px solid rgba(30, 144, 255, 0.2);
    transition: all 0.3s ease;
}

.v65e-header-scrolled {
    background: rgba(20, 20, 20, 0.98);
    box-shadow: var(--v65e-shadow);
}

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

.v65e-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.v65e-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

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

.v65e-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

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

.v65e-btn-primary {
    background: var(--v65e-gradient);
    color: #fff;
}

.v65e-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--v65e-shadow);
}

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

.v65e-btn-outline:hover {
    background: var(--v65e-accent);
    color: #fff;
}

.v65e-menu-toggle {
    background: transparent;
    border: none;
    color: var(--v65e-text-primary);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
}

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

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

.v65e-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;
}

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

.v65e-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(30, 144, 255, 0.2);
}

.v65e-menu-close {
    background: transparent;
    border: none;
    color: var(--v65e-text-primary);
    font-size: 2rem;
    cursor: pointer;
}

.v65e-nav-list {
    list-style: none;
}

.v65e-nav-item {
    margin-bottom: 0.5rem;
}

.v65e-nav-link {
    display: block;
    padding: 1rem;
    font-size: 1.4rem;
    color: var(--v65e-text-secondary);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.v65e-nav-link:hover {
    background: rgba(30, 144, 255, 0.1);
    color: var(--v65e-accent);
}

/* Main Content */
main {
    padding-top: 70px;
}

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

/* Hero/Slider */
.v65e-slider {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: var(--v65e-border-radius);
    margin-bottom: 1.5rem;
}

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

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

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

.v65e-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

/* Section Styles */
.v65e-section {
    padding: 1.5rem 0;
    margin-bottom: 1rem;
}

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

.v65e-section-title i {
    color: var(--v65e-accent);
}

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

.v65e-game-card {
    background: var(--v65e-bg-secondary);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 144, 255, 0.1);
}

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

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

.v65e-game-name {
    font-size: 1rem;
    padding: 0.5rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--v65e-text-secondary);
}

/* Category Title */
.v65e-category-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--v65e-accent);
    margin: 1.5rem 0 1rem;
    padding-left: 0.5rem;
    border-left: 3px solid var(--v65e-accent);
}

/* Cards */
.v65e-card {
    background: var(--v65e-bg-secondary);
    border-radius: var(--v65e-border-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(30, 144, 255, 0.1);
}

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

.v65e-card-text {
    font-size: 1.3rem;
    color: var(--v65e-text-secondary);
    line-height: 1.6;
}

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

.v65e-feature-item {
    background: var(--v65e-bg-tertiary);
    border-radius: 10px;
    padding: 1.2rem;
    text-align: center;
    border: 1px solid rgba(30, 144, 255, 0.1);
}

.v65e-feature-icon {
    font-size: 2.4rem;
    color: var(--v65e-accent);
    margin-bottom: 0.8rem;
}

.v65e-feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--v65e-text-primary);
}

/* Footer */
.v65e-footer {
    background: var(--v65e-bg-secondary);
    padding: 2rem 1rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(30, 144, 255, 0.2);
}

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

.v65e-footer-desc {
    font-size: 1.2rem;
    color: var(--v65e-text-secondary);
    max-width: 350px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

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

.v65e-footer-link {
    font-size: 1.1rem;
    color: var(--v65e-text-secondary);
    transition: color 0.3s ease;
}

.v65e-footer-link:hover {
    color: var(--v65e-accent);
}

.v65e-promo-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.v65e-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: var(--v65e-text-secondary);
    padding-top: 1rem;
    border-top: 1px solid rgba(30, 144, 255, 0.1);
}

/* Bottom Navigation */
.v65e-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.98) 0%, var(--v65e-bg-primary) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 64px;
    border-top: 1px solid rgba(30, 144, 255, 0.2);
}

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

.v65e-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    background: transparent;
    border: none;
    color: var(--v65e-text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.v65e-nav-btn:hover,
.v65e-nav-btn.active {
    color: var(--v65e-accent);
    background: rgba(30, 144, 255, 0.1);
}

.v65e-nav-btn i {
    font-size: 22px;
    margin-bottom: 4px;
}

.v65e-nav-btn span {
    font-size: 10px;
    font-weight: 500;
}

/* Testimonials */
.v65e-testimonial {
    background: var(--v65e-bg-tertiary);
    border-radius: 10px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--v65e-accent);
}

.v65e-testimonial-author {
    font-weight: 600;
    color: var(--v65e-accent);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.v65e-testimonial-text {
    font-size: 1.2rem;
    color: var(--v65e-text-secondary);
    font-style: italic;
}

/* Payment Methods */
.v65e-payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.v65e-payment-item {
    background: var(--v65e-bg-tertiary);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-size: 1.2rem;
    color: var(--v65e-text-secondary);
    border: 1px solid rgba(30, 144, 255, 0.1);
}

/* Stats */
.v65e-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.v65e-stat-item {
    background: var(--v65e-bg-tertiary);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
}

.v65e-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--v65e-accent);
}

.v65e-stat-label {
    font-size: 1.1rem;
    color: var(--v65e-text-secondary);
}

/* Winners */
.v65e-winner-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem;
    background: var(--v65e-bg-tertiary);
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

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

.v65e-winner-amount {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--v65e-success);
}

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

.v65e-faq-question {
    padding: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--v65e-text-primary);
    cursor: pointer;
}

.v65e-faq-answer {
    padding: 0 1rem 1rem;
    font-size: 1.2rem;
    color: var(--v65e-text-secondary);
    line-height: 1.6;
}

/* Promotional Links */
.v65e-promo-link {
    color: var(--v65e-accent);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

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

.v65e-promo-btn {
    display: inline-block;
    background: var(--v65e-gradient);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.v65e-promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--v65e-shadow);
}

/* App Download */
.v65e-app-section {
    background: var(--v65e-bg-tertiary);
    border-radius: var(--v65e-border-radius);
    padding: 1.5rem;
    text-align: center;
}

.v65e-app-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

/* Utilities */
.v65e-text-center {
    text-align: center;
}

.v65e-mb-1 {
    margin-bottom: 1rem;
}

.v65e-mb-2 {
    margin-bottom: 2rem;
}

.v65e-highlight {
    color: var(--v65e-accent);
    font-weight: 600;
}
