/**
 * JL8 Casino - Core Stylesheet
 * All classes use prefix "ge36-" for namespace isolation
 * Color palette: #48D1CC | #0C0C0C | #B2DFDB | #CED4DA | #E0FFFF
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --ge36-primary: #48D1CC;
    --ge36-secondary: #0C0C0C;
    --ge36-accent: #B2DFDB;
    --ge36-muted: #CED4DA;
    --ge36-light: #E0FFFF;
    --ge36-bg-dark: #0C0C0C;
    --ge36-bg-card: #1a1a1a;
    --ge36-text-primary: #E0FFFF;
    --ge36-text-secondary: #B2DFDB;
    --ge36-text-muted: #CED4DA;
    --ge36-border: #2a2a2a;
    --ge36-gradient-start: #48D1CC;
    --ge36-gradient-end: #20B2AA;
    --ge36-header-height: 56px;
    --ge36-bottom-nav-height: 60px;
}

/* 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-color: var(--ge36-bg-dark);
    color: var(--ge36-text-primary);
    line-height: 1.5rem;
    font-size: 1.4rem;
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
}

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

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

/* Container */
.ge36-container {
    width: 100%;
    padding: 0 1.2rem;
    margin: 0 auto;
}

.ge36-wrapper {
    max-width: 430px;
    margin: 0 auto;
}

/* Header */
.ge36-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--ge36-header-height);
    background: linear-gradient(135deg, var(--ge36-bg-dark) 0%, #1a1a2e 100%);
    border-bottom: 1px solid var(--ge36-primary);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.2rem;
    max-width: 430px;
    margin: 0 auto;
}

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

.ge36-logo img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.ge36-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--ge36-primary), var(--ge36-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.ge36-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;
    min-width: 70px;
}

.ge36-btn-primary {
    background: linear-gradient(135deg, var(--ge36-primary), var(--ge36-gradient-end));
    color: var(--ge36-bg-dark);
}

.ge36-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(72, 209, 204, 0.4);
}

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

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

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

/* Mobile Menu */
.ge36-mobile-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #1a1a2e 0%, var(--ge36-bg-dark) 100%);
    z-index: 9999;
    transition: left 0.3s ease;
    padding: 2rem 1.5rem;
    overflow-y: auto;
}

.ge36-menu-active {
    left: 0;
}

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

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

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

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

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

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

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

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

/* Main Content */
main {
    padding-top: calc(var(--ge36-header-height) + 1rem);
}

@media (max-width: 768px) {
    main {
        padding-bottom: calc(var(--ge36-bottom-nav-height) + 2rem);
    }
}

/* Slider/Carousel */
.ge36-slider {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

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

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

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

.ge36-slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.ge36-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}

.ge36-dot-active {
    background: var(--ge36-primary);
}

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

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

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

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

.ge36-game-item {
    background: var(--ge36-bg-card);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--ge36-border);
}

.ge36-game-item:hover {
    transform: translateY(-3px);
    border-color: var(--ge36-primary);
    box-shadow: 0 4px 15px rgba(72, 209, 204, 0.2);
}

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

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

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

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

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

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

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

.ge36-feature-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--ge36-border);
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.ge36-feature-list li:last-child {
    border-bottom: none;
}

.ge36-feature-list i {
    color: var(--ge36-primary);
    font-size: 1.6rem;
    margin-top: 0.2rem;
}

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

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

.ge36-promo-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--ge36-primary), var(--ge36-gradient-end));
    color: var(--ge36-bg-dark);
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.ge36-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(72, 209, 204, 0.4);
}

/* FAQ Section */
.ge36-faq-item {
    background: var(--ge36-bg-card);
    border-radius: 10px;
    margin-bottom: 0.8rem;
    overflow: hidden;
    border: 1px solid var(--ge36-border);
}

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

.ge36-faq-answer {
    padding: 0 1.2rem 1rem;
    color: var(--ge36-text-secondary);
    font-size: 1.3rem;
}

/* Footer */
.ge36-footer {
    background: linear-gradient(180deg, #1a1a2e 0%, var(--ge36-bg-dark) 100%);
    padding: 2rem 1.2rem;
    border-top: 1px solid var(--ge36-border);
}

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

.ge36-footer-brand p {
    color: var(--ge36-text-muted);
    font-size: 1.2rem;
    line-height: 1.6;
}

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

.ge36-footer-links a {
    color: var(--ge36-text-secondary);
    font-size: 1.2rem;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.ge36-footer-links a:hover {
    background: var(--ge36-primary);
    color: var(--ge36-bg-dark);
}

.ge36-footer-promos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.ge36-footer-promos button {
    background: linear-gradient(135deg, var(--ge36-primary), var(--ge36-gradient-end));
    color: var(--ge36-bg-dark);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ge36-footer-promos button:hover {
    transform: scale(1.05);
}

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

/* Bottom Navigation */
.ge36-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--ge36-bottom-nav-height);
    background: linear-gradient(180deg, #1a1a2e 0%, var(--ge36-bg-dark) 100%);
    border-top: 1px solid var(--ge36-primary);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    max-width: 430px;
    margin: 0 auto;
}

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

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

.ge36-nav-item i,
.ge36-nav-item .material-icons {
    font-size: 22px;
    margin-bottom: 2px;
}

.ge36-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

.ge36-nav-item:active {
    transform: scale(0.95);
}

/* Desktop - Hide bottom nav */
@media (min-width: 769px) {
    .ge36-bottom-nav {
        display: none;
    }
}

/* Testimonials */
.ge36-testimonial {
    background: var(--ge36-bg-card);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--ge36-primary);
}

.ge36-testimonial-text {
    font-style: italic;
    color: var(--ge36-text-secondary);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

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

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

.ge36-payment-item {
    background: var(--ge36-bg-card);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    border: 1px solid var(--ge36-border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    color: var(--ge36-text-secondary);
}

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

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

.ge36-winner-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ge36-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--ge36-bg-dark);
}

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

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

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

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

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

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

.ge36-hidden {
    display: none;
}

/* Animation */
@keyframes ge36-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.ge36-animate-pulse {
    animation: ge36-pulse 2s infinite;
}

/* Internal Links */
.ge36-internal-link {
    color: var(--ge36-accent);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.ge36-internal-link:hover {
    color: var(--ge36-primary);
}
