/**
 * JL96 Gaming Platform - Main Stylesheet
 * Version: 1.0.0
 * Author: JL96 Development Team
 * Description: Core styles for jl9696.click gaming website
 * Mobile-first responsive design
 */

/* CSS Variables */
:root {
    --v9d4-primary: #FFC0CB;
    --v9d4-secondary: #880E4F;
    --v9d4-bg: #141414;
    --v9d4-bg-light: #1a1a1a;
    --v9d4-bg-card: #222222;
    --v9d4-text: #ffffff;
    --v9d4-text-muted: #b0b0b0;
    --v9d4-border: #333333;
    --v9d4-accent: #FFD700;
    --v9d4-gradient: linear-gradient(135deg, #880E4F 0%, #FFC0CB 100%);
    --v9d4-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --v9d4-radius: 12px;
    --v9d4-radius-sm: 8px;
    --v9d4-transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    background-color: var(--v9d4-bg);
    color: var(--v9d4-text);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--v9d4-transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Container */
.v9d4-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.v9d4-wrapper {
    padding: 2rem 0;
}

/* Header */
.v9d4-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--v9d4-bg) 0%, rgba(20, 20, 20, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--v9d4-border);
    padding: 1rem 0;
}

.v9d4-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.v9d4-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.v9d4-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.v9d4-logo-text {
    font-size: 2rem;
    font-weight: 700;
    background: var(--v9d4-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.v9d4-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.v9d4-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: var(--v9d4-radius-sm);
    cursor: pointer;
    transition: var(--v9d4-transition);
    border: none;
    min-height: 44px;
}

.v9d4-btn-primary {
    background: var(--v9d4-gradient);
    color: var(--v9d4-text);
    box-shadow: 0 4px 15px rgba(136, 14, 79, 0.4);
}

.v9d4-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(136, 14, 79, 0.6);
}

.v9d4-btn-outline {
    background: transparent;
    color: var(--v9d4-primary);
    border: 2px solid var(--v9d4-primary);
}

.v9d4-btn-outline:hover {
    background: var(--v9d4-primary);
    color: var(--v9d4-bg);
}

.v9d4-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.v9d4-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--v9d4-text);
    transition: var(--v9d4-transition);
}

.v9d4-menu-btn.v9d4-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.v9d4-menu-btn.v9d4-active span:nth-child(2) {
    opacity: 0;
}

.v9d4-menu-btn.v9d4-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.v9d4-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--v9d4-bg-light);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 8rem 2rem 2rem;
    overflow-y: auto;
}

.v9d4-mobile-menu.v9d4-active {
    right: 0;
}

.v9d4-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--v9d4-transition);
}

.v9d4-menu-overlay.v9d4-active {
    opacity: 1;
    visibility: visible;
}

.v9d4-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.v9d4-nav-item {
    padding: 1.2rem 1.5rem;
    border-radius: var(--v9d4-radius-sm);
    transition: var(--v9d4-transition);
}

.v9d4-nav-item:hover {
    background: var(--v9d4-bg-card);
}

.v9d4-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    color: var(--v9d4-text);
}

.v9d4-nav-link i {
    font-size: 2rem;
    color: var(--v9d4-primary);
}

/* Carousel */
.v9d4-carousel {
    position: relative;
    width: 100%;
    margin-top: 6rem;
    overflow: hidden;
    border-radius: 0 0 var(--v9d4-radius) var(--v9d4-radius);
}

.v9d4-slide {
    display: none;
    width: 100%;
    cursor: pointer;
    transition: var(--v9d4-transition);
}

.v9d4-slide.v9d4-active {
    display: block;
    animation: v9d4fadeIn 0.5s ease;
}

@keyframes v9d4fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.v9d4-slide img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.v9d4-carousel-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
}

.v9d4-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--v9d4-transition);
}

.v9d4-dot.v9d4-active {
    background: var(--v9d4-primary);
    transform: scale(1.2);
}

/* Main Content */
.v9d4-main {
    padding-top: 6rem;
    padding-bottom: 8rem;
}

/* Section Styles */
.v9d4-section {
    padding: 2rem 0;
}

.v9d4-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--v9d4-text);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.v9d4-section-title::before {
    content: '';
    width: 4px;
    height: 2.4rem;
    background: var(--v9d4-gradient);
    border-radius: 2px;
}

/* Game Grid */
.v9d4-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.v9d4-game-card {
    background: var(--v9d4-bg-card);
    border-radius: var(--v9d4-radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: var(--v9d4-transition);
    border: 1px solid var(--v9d4-border);
}

.v9d4-game-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--v9d4-shadow);
    border-color: var(--v9d4-primary);
}

.v9d4-game-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.v9d4-game-name {
    padding: 0.8rem 0.5rem;
    font-size: 1.1rem;
    text-align: center;
    color: var(--v9d4-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Content Cards */
.v9d4-card {
    background: var(--v9d4-bg-card);
    border-radius: var(--v9d4-radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--v9d4-border);
}

.v9d4-card-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--v9d4-primary);
}

.v9d4-card-text {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--v9d4-text-muted);
    margin-bottom: 1rem;
}

.v9d4-card-text:last-child {
    margin-bottom: 0;
}

/* Promo Link Styles */
.v9d4-promo-link {
    color: var(--v9d4-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--v9d4-transition);
}

.v9d4-promo-link:hover {
    color: var(--v9d4-accent);
    text-decoration: underline;
}

.v9d4-promo-btn {
    display: inline-block;
    background: var(--v9d4-gradient);
    color: var(--v9d4-text);
    padding: 1rem 2rem;
    border-radius: var(--v9d4-radius-sm);
    font-weight: 600;
    font-size: 1.4rem;
    cursor: pointer;
    transition: var(--v9d4-transition);
    text-align: center;
}

.v9d4-promo-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 25px rgba(136, 14, 79, 0.5);
}

/* Features List */
.v9d4-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.v9d4-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem;
    background: var(--v9d4-bg-card);
    border-radius: var(--v9d4-radius-sm);
    border-left: 3px solid var(--v9d4-primary);
}

.v9d4-feature-icon {
    font-size: 2.4rem;
    color: var(--v9d4-primary);
}

.v9d4-feature-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--v9d4-text);
}

.v9d4-feature-content p {
    font-size: 1.3rem;
    color: var(--v9d4-text-muted);
}

/* Footer */
.v9d4-footer {
    background: var(--v9d4-bg-light);
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--v9d4-border);
}

.v9d4-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.v9d4-footer-link {
    font-size: 1.3rem;
    color: var(--v9d4-text-muted);
    padding: 0.5rem 1rem;
    border-radius: var(--v9d4-radius-sm);
    transition: var(--v9d4-transition);
}

.v9d4-footer-link:hover {
    color: var(--v9d4-primary);
    background: var(--v9d4-bg-card);
}

.v9d4-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--v9d4-border);
    border-bottom: 1px solid var(--v9d4-border);
}

.v9d4-partner-img {
    width: 60px;
    height: 30px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--v9d4-transition);
}

.v9d4-partner-img:hover {
    filter: grayscale(0);
    opacity: 1;
}

.v9d4-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--v9d4-text-muted);
}

/* Bottom Navigation */
.v9d4-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, var(--v9d4-bg-light) 0%, var(--v9d4-bg) 100%);
    border-top: 1px solid var(--v9d4-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0 0.5rem;
}

.v9d4-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    padding: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--v9d4-transition);
    border-radius: var(--v9d4-radius-sm);
}

.v9d4-nav-btn:hover {
    background: rgba(255, 192, 203, 0.1);
}

.v9d4-nav-btn.v9d4-active {
    background: rgba(255, 192, 203, 0.15);
}

.v9d4-nav-btn i,
.v9d4-nav-btn .material-icons-outlined {
    font-size: 24px;
    color: var(--v9d4-text-muted);
    margin-bottom: 0.3rem;
    transition: var(--v9d4-transition);
}

.v9d4-nav-btn span {
    font-size: 10px;
    color: var(--v9d4-text-muted);
    transition: var(--v9d4-transition);
}

.v9d4-nav-btn:hover i,
.v9d4-nav-btn:hover span,
.v9d4-nav-btn.v9d4-active i,
.v9d4-nav-btn.v9d4-active span {
    color: var(--v9d4-primary);
}

.v9d4-nav-btn:active {
    transform: scale(0.95);
}

/* Utility Classes */
.v9d4-text-center { text-align: center; }
.v9d4-text-primary { color: var(--v9d4-primary); }
.v9d4-text-accent { color: var(--v9d4-accent); }
.v9d4-mb-1 { margin-bottom: 1rem; }
.v9d4-mb-2 { margin-bottom: 2rem; }
.v9d4-mb-3 { margin-bottom: 3rem; }
.v9d4-mt-2 { margin-top: 2rem; }
.v9d4-hidden { display: none; }

/* RTP Stats Grid */
.v9d4-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.v9d4-stat-item {
    background: var(--v9d4-bg-card);
    padding: 1.5rem;
    border-radius: var(--v9d4-radius-sm);
    text-align: center;
    border: 1px solid var(--v9d4-border);
}

.v9d4-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--v9d4-primary);
    margin-bottom: 0.5rem;
}

.v9d4-stat-label {
    font-size: 1.2rem;
    color: var(--v9d4-text-muted);
}

/* FAQ Accordion */
.v9d4-faq-item {
    background: var(--v9d4-bg-card);
    border-radius: var(--v9d4-radius-sm);
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid var(--v9d4-border);
}

.v9d4-faq-question {
    padding: 1.5rem;
    font-weight: 600;
    color: var(--v9d4-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.v9d4-faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--v9d4-text-muted);
    font-size: 1.4rem;
    line-height: 1.6;
}

/* Achievements */
.v9d4-achievement {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--v9d4-bg-card);
    border-radius: var(--v9d4-radius-sm);
    margin-bottom: 1rem;
    border: 1px solid var(--v9d4-border);
}

.v9d4-achievement-icon {
    width: 48px;
    height: 48px;
    background: var(--v9d4-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.v9d4-achievement-text h4 {
    font-size: 1.4rem;
    color: var(--v9d4-text);
    margin-bottom: 0.3rem;
}

.v9d4-achievement-text p {
    font-size: 1.2rem;
    color: var(--v9d4-text-muted);
}

/* Responsive */
@media (min-width: 769px) {
    .v9d4-bottom-nav {
        display: none;
    }

    .v9d4-main {
        padding-bottom: 2rem;
    }

    .v9d4-container {
        max-width: 1200px;
    }

    .v9d4-game-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .v9d4-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .v9d4-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .v9d4-main {
        padding-bottom: 80px;
    }
}

/* H1 Title Style */
.v9d4-h1-title {
    font-size: 2.4rem;
    font-weight: 700;
    text-align: center;
    margin: 2rem 0;
    color: var(--v9d4-text);
    line-height: 1.3;
}

/* List Styles */
.v9d4-list {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.v9d4-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--v9d4-text-muted);
    font-size: 1.4rem;
    line-height: 1.6;
}

.v9d4-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 6px;
    height: 6px;
    background: var(--v9d4-primary);
    border-radius: 50%;
}

/* Highlight Box */
.v9d4-highlight-box {
    background: linear-gradient(135deg, rgba(136, 14, 79, 0.2) 0%, rgba(255, 192, 203, 0.1) 100%);
    border: 1px solid var(--v9d4-primary);
    border-radius: var(--v9d4-radius);
    padding: 2rem;
    margin: 2rem 0;
}

.v9d4-highlight-box h3 {
    color: var(--v9d4-primary);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

/* Tricks Component */
.v9d4-trick {
    display: flex;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--v9d4-bg-card);
    border-radius: var(--v9d4-radius-sm);
    margin-bottom: 1rem;
    border-left: 3px solid var(--v9d4-accent);
}

.v9d4-trick-number {
    width: 32px;
    height: 32px;
    background: var(--v9d4-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.v9d4-trick-content {
    flex: 1;
}

.v9d4-trick-content h4 {
    font-size: 1.4rem;
    color: var(--v9d4-text);
    margin-bottom: 0.5rem;
}

.v9d4-trick-content p {
    font-size: 1.3rem;
    color: var(--v9d4-text-muted);
}
