/**
 * KKK PH - Design Stylesheet
 * All classes use 'v6d4-' prefix for namespace isolation
 * Color Palette: #BDC3C7 | #00FFFF | #2F2F2F | #1A1A1A | #00B8D4
 */

/* CSS Variables */
:root {
    --v6d4-primary: #00B8D4;
    --v6d4-secondary: #00FFFF;
    --v6d4-accent: #00FFFF;
    --v6d4-bg-dark: #1A1A1A;
    --v6d4-bg-darker: #2F2F2F;
    --v6d4-text-light: #BDC3C7;
    --v6d4-text-white: #FFFFFF;
    --v6d4-gradient: linear-gradient(135deg, #00B8D4 0%, #00FFFF 100%);
    --v6d4-shadow: 0 4px 15px rgba(0, 184, 212, 0.3);
}

/* Base Reset */
* {
    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-color: var(--v6d4-bg-dark);
    color: var(--v6d4-text-light);
    line-height: 1.5rem;
    min-height: 100vh;
}

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

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

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

.v6d4-wrapper {
    width: 100%;
    padding: 1.5rem 0;
}

/* Header */
.v6d4-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #2F2F2F 0%, #1A1A1A 100%);
    padding: 0.8rem 1rem;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 184, 212, 0.3);
}

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

.v6d4-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.v6d4-logo img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.v6d4-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--v6d4-secondary);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

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

.v6d4-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.v6d4-btn-primary {
    background: var(--v6d4-gradient);
    color: var(--v6d4-bg-dark);
}

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

.v6d4-btn-outline {
    background: transparent;
    color: var(--v6d4-secondary);
    border: 1px solid var(--v6d4-primary);
}

.v6d4-btn-outline:hover {
    background: rgba(0, 184, 212, 0.1);
}

.v6d4-menu-toggle {
    background: none;
    border: none;
    color: var(--v6d4-text-light);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
}

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

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

.v6d4-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: all 0.3s ease;
}

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

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

.v6d4-nav-item {
    border-bottom: 1px solid rgba(0, 184, 212, 0.2);
}

.v6d4-nav-link {
    display: block;
    padding: 1.2rem 0;
    font-size: 1.4rem;
    color: var(--v6d4-text-light);
    transition: color 0.3s ease;
}

.v6d4-nav-link:hover {
    color: var(--v6d4-secondary);
}

/* Main Content */
.v6d4-main {
    padding-top: 5.5rem;
    min-height: 100vh;
}

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

/* Hero Carousel */
.v6d4-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin: 1rem 0;
}

.v6d4-carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.v6d4-carousel-item {
    min-width: 100%;
    aspect-ratio: 16/9;
    cursor: pointer;
}

.v6d4-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Section Styles */
.v6d4-section {
    padding: 1.5rem 0;
}

.v6d4-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--v6d4-text-white);
    margin-bottom: 1rem;
    padding-left: 0.8rem;
    border-left: 3px solid var(--v6d4-primary);
}

.v6d4-section-subtitle {
    font-size: 1.4rem;
    color: var(--v6d4-secondary);
    margin-bottom: 0.8rem;
}

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

.v6d4-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.v6d4-game-item:hover {
    transform: scale(1.05);
}

.v6d4-game-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.v6d4-game-item:hover .v6d4-game-icon {
    border-color: var(--v6d4-primary);
}

.v6d4-game-name {
    font-size: 1rem;
    color: var(--v6d4-text-light);
    text-align: center;
    margin-top: 0.4rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* Category Title */
.v6d4-category-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--v6d4-secondary);
    margin: 1.5rem 0 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Card Component */
.v6d4-card {
    background: var(--v6d4-bg-darker);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 184, 212, 0.2);
}

.v6d4-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--v6d4-text-white);
    margin-bottom: 0.8rem;
}

.v6d4-card-text {
    font-size: 1.2rem;
    color: var(--v6d4-text-light);
    line-height: 1.6;
}

/* Promo Link */
.v6d4-promo-link {
    color: var(--v6d4-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

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

/* Feature List */
.v6d4-feature-list {
    list-style: none;
}

.v6d4-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(189, 195, 199, 0.1);
}

.v6d4-feature-icon {
    color: var(--v6d4-primary);
    font-size: 1.6rem;
    flex-shrink: 0;
}

.v6d4-feature-text {
    font-size: 1.2rem;
    color: var(--v6d4-text-light);
}

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

.v6d4-faq-question {
    padding: 1rem 1.2rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--v6d4-text-white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

/* Footer */
.v6d4-footer {
    background: var(--v6d4-bg-darker);
    padding: 2rem 1rem 1rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(0, 184, 212, 0.2);
}

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

.v6d4-footer-desc {
    font-size: 1.1rem;
    color: var(--v6d4-text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.v6d4-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.v6d4-footer-link {
    font-size: 1.1rem;
    color: var(--v6d4-secondary);
    padding: 0.4rem 0.8rem;
    background: rgba(0, 184, 212, 0.1);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.v6d4-footer-link:hover {
    background: rgba(0, 184, 212, 0.2);
}

.v6d4-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin: 1rem 0;
}

.v6d4-footer-nav a {
    font-size: 1.1rem;
    color: var(--v6d4-text-light);
    transition: color 0.3s ease;
}

.v6d4-footer-nav a:hover {
    color: var(--v6d4-secondary);
}

.v6d4-copyright {
    text-align: center;
    font-size: 1rem;
    color: rgba(189, 195, 199, 0.6);
    margin-top: 1rem;
}

/* Bottom Navigation - Mobile */
.v6d4-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, #2F2F2F 0%, #1A1A1A 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid rgba(0, 184, 212, 0.3);
}

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

.v6d4-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--v6d4-text-light);
}

.v6d4-nav-btn:hover,
.v6d4-nav-btn.v6d4-active {
    color: var(--v6d4-secondary);
}

.v6d4-nav-btn-icon {
    font-size: 22px;
    margin-bottom: 2px;
}

.v6d4-nav-btn-text {
    font-size: 10px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 360px) {
    .v6d4-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .v6d4-game-icon {
        width: 50px;
        height: 50px;
    }
}

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

.v6d4-mb-1 {
    margin-bottom: 0.5rem;
}

.v6d4-mb-2 {
    margin-bottom: 1rem;
}

.v6d4-mb-3 {
    margin-bottom: 1.5rem;
}

.v6d4-mt-2 {
    margin-top: 1rem;
}

.v6d4-highlight {
    color: var(--v6d4-secondary);
    font-weight: 600;
}

/* Testimonials */
.v6d4-testimonial {
    background: var(--v6d4-bg-darker);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.8rem;
}

.v6d4-testimonial-author {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--v6d4-secondary);
}

.v6d4-testimonial-text {
    font-size: 1.1rem;
    color: var(--v6d4-text-light);
    margin-top: 0.4rem;
}

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

.v6d4-payment-item {
    background: var(--v6d4-bg-darker);
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-size: 1.1rem;
    color: var(--v6d4-text-light);
    border: 1px solid rgba(0, 184, 212, 0.2);
}

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

.v6d4-winner-game {
    font-size: 1.2rem;
    color: var(--v6d4-text-white);
}

.v6d4-winner-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--v6d4-secondary);
}
