/**
 * JLPUB Main Stylesheet
 * Website: jlpub.cfd
 * Prefix: v120-
 * Colors: #2C3E50 (navy) | #4A4A4A (gray) | #FAF0E6 (linen) | #004D40 (teal)
 */

/* ===== CSS Variables ===== */
:root {
    --v120-bg-primary: #2C3E50;
    --v120-bg-secondary: #4A4A4A;
    --v120-bg-dark: #1a252f;
    --v120-text-light: #FAF0E6;
    --v120-accent: #004D40;
    --v120-accent-light: #00695C;
    --v120-accent-glow: #00BFA5;
    --v120-gold: #D4A855;
    --v120-gold-light: #F0D78C;
    --v120-white: #FFFFFF;
    --v120-border: rgba(250, 240, 230, 0.12);
    --v120-shadow: rgba(0, 0, 0, 0.3);
    --v120-radius: 10px;
    --v120-radius-lg: 16px;
    --v120-transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--v120-bg-primary);
    color: var(--v120-text-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--v120-accent-glow);
    text-decoration: none;
    transition: var(--v120-transition);
}

a:hover {
    color: var(--v120-gold-light);
}

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

/* ===== Header ===== */
.v120-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--v120-bg-dark) 0%, var(--v120-bg-primary) 100%);
    border-bottom: 2px solid var(--v120-accent);
    padding: 0 16px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 12px var(--v120-shadow);
}

.v120-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.v120-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--v120-accent) 0%, var(--v120-accent-glow) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: var(--v120-white);
}

.v120-logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--v120-gold);
    letter-spacing: 1px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.v120-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.v120-btn {
    padding: 8px 18px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--v120-transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.v120-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--v120-shadow);
}

.v120-btn:active {
    transform: translateY(0);
}

.v120-btn-register {
    background: linear-gradient(135deg, var(--v120-accent) 0%, var(--v120-accent-glow) 100%);
    color: var(--v120-white);
}

.v120-btn-login {
    background: linear-gradient(135deg, var(--v120-gold) 0%, var(--v120-gold-light) 100%);
    color: var(--v120-bg-dark);
}

.v120-menu-btn {
    background: none;
    border: none;
    color: var(--v120-text-light);
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    display: none;
}

/* ===== Mobile Menu ===== */
.v120-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: var(--v120-transition);
}

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

.v120-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: var(--v120-bg-dark);
    z-index: 9999;
    transition: right 0.35s ease;
    overflow-y: auto;
    padding: 20px;
}

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

.v120-menu-close {
    background: none;
    border: none;
    color: var(--v120-text-light);
    font-size: 28px;
    cursor: pointer;
    position: absolute;
    top: 12px;
    right: 16px;
}

.v120-menu-section {
    margin-top: 40px;
}

.v120-menu-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--v120-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--v120-border);
}

.v120-menu-link {
    display: block;
    padding: 10px 12px;
    color: var(--v120-text-light);
    font-size: 14px;
    border-radius: 6px;
    transition: var(--v120-transition);
    margin-bottom: 2px;
}

.v120-menu-link:hover {
    background: rgba(0, 77, 64, 0.3);
    color: var(--v120-accent-glow);
}

/* ===== Desktop Navigation ===== */
.v120-desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.v120-desktop-nav a {
    color: var(--v120-text-light);
    font-size: 14px;
    font-weight: 500;
    transition: var(--v120-transition);
}

.v120-desktop-nav a:hover {
    color: var(--v120-gold);
}

/* ===== Banner Section ===== */
.v120-banner {
    margin-top: 60px;
    position: relative;
    overflow: hidden;
    height: 220px;
    background: var(--v120-bg-dark);
}

.v120-banner-slide {
    display: none;
    width: 100%;
    height: 100%;
}

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

.v120-banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 77, 64, 0.7);
    color: var(--v120-white);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--v120-transition);
}

.v120-banner-arrow:hover {
    background: var(--v120-accent);
}

.v120-banner-prev {
    left: 10px;
}

.v120-banner-next {
    right: 10px;
}

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

.v120-banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(250, 240, 230, 0.4);
    transition: var(--v120-transition);
}

/* ===== Main Content ===== */
.v120-main {
    padding: 20px 16px;
    max-width: 430px;
    margin: 0 auto;
}

.v120-section {
    margin-bottom: 32px;
}

.v120-section-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--v120-gold);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.v120-section-title i {
    color: var(--v120-accent-glow);
    font-size: 22px;
}

/* ===== Category Tabs ===== */
.v120-cat-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.v120-cat-tabs::-webkit-scrollbar {
    display: none;
}

.v120-cat-tab {
    padding: 8px 16px;
    background: var(--v120-bg-secondary);
    border: 1px solid var(--v120-border);
    border-radius: 20px;
    color: var(--v120-text-light);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--v120-transition);
}

.v120-cat-tab:hover {
    background: var(--v120-accent);
}

.v120-cat-active {
    background: linear-gradient(135deg, var(--v120-accent) 0%, var(--v120-accent-light) 100%) !important;
    color: var(--v120-white) !important;
    border-color: var(--v120-accent-glow) !important;
}

/* ===== Game Grid ===== */
.v120-game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.v120-game-card {
    background: var(--v120-bg-secondary);
    border-radius: var(--v120-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--v120-transition);
    border: 1px solid var(--v120-border);
}

.v120-game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--v120-shadow);
    border-color: var(--v120-accent-glow);
}

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

.v120-game-card-name {
    padding: 6px 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--v120-text-light);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== Promo Banner ===== */
.v120-promo-banner {
    background: linear-gradient(135deg, var(--v120-accent) 0%, var(--v120-bg-dark) 100%);
    border-radius: var(--v120-radius-lg);
    padding: 24px 20px;
    text-align: center;
    border: 1px solid var(--v120-accent);
    margin-bottom: 32px;
}

.v120-promo-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--v120-gold);
    margin-bottom: 8px;
}

.v120-promo-text {
    font-size: 14px;
    color: var(--v120-text-light);
    margin-bottom: 16px;
    opacity: 0.9;
}

.v120-promo-btn {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--v120-gold) 0%, var(--v120-gold-light) 100%);
    color: var(--v120-bg-dark);
    font-size: 14px;
    font-weight: 800;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--v120-transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.v120-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(212, 168, 85, 0.4);
}

/* ===== Features Grid ===== */
.v120-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.v120-feature-card {
    background: var(--v120-bg-secondary);
    border-radius: var(--v120-radius);
    padding: 20px 16px;
    text-align: center;
    border: 1px solid var(--v120-border);
    transition: var(--v120-transition);
}

.v120-feature-card:hover {
    border-color: var(--v120-accent-glow);
}

.v120-feature-icon {
    font-size: 32px;
    color: var(--v120-accent-glow);
    margin-bottom: 10px;
}

.v120-feature-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--v120-gold);
    margin-bottom: 6px;
}

.v120-feature-desc {
    font-size: 12px;
    color: var(--v120-text-light);
    opacity: 0.8;
    line-height: 1.4;
}

/* ===== Content Text ===== */
.v120-content-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--v120-text-light);
    opacity: 0.9;
}

.v120-content-text p {
    margin-bottom: 12px;
}

.v120-content-text h3 {
    color: var(--v120-gold);
    font-size: 16px;
    margin: 20px 0 10px;
}

/* ===== Footer ===== */
.v120-footer {
    background: var(--v120-bg-dark);
    padding: 32px 16px 20px;
    border-top: 2px solid var(--v120-accent);
}

.v120-footer-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
}

.v120-footer-partner {
    width: 48px;
    height: 48px;
    background: var(--v120-bg-secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--v120-border);
}

.v120-footer-partner img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.v120-footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 24px;
}

.v120-footer-link {
    color: var(--v120-text-light);
    font-size: 12px;
    text-align: center;
    padding: 8px 4px;
    border-radius: 4px;
    transition: var(--v120-transition);
    opacity: 0.8;
}

.v120-footer-link:hover {
    opacity: 1;
    color: var(--v120-accent-glow);
}

.v120-footer-info {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--v120-border);
}

.v120-footer-copy {
    font-size: 12px;
    color: var(--v120-text-light);
    opacity: 0.6;
    margin-bottom: 8px;
}

.v120-footer-disclaimer {
    font-size: 11px;
    color: var(--v120-text-light);
    opacity: 0.5;
    line-height: 1.5;
    max-width: 400px;
    margin: 0 auto;
}

/* ===== Mobile Bottom Navigation ===== */
.v120-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--v120-bg-primary) 0%, var(--v120-bg-dark) 100%);
    border-top: 2px solid var(--v120-accent);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
    padding: 4px 0;
    box-shadow: 0 -2px 12px var(--v120-shadow);
}

.v120-bottom-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 52px;
    background: none;
    border: none;
    color: var(--v120-text-light);
    cursor: pointer;
    transition: var(--v120-transition);
    border-radius: 8px;
    padding: 4px 8px;
    position: relative;
}

.v120-bottom-btn:hover {
    background: rgba(0, 77, 64, 0.3);
}

.v120-bottom-btn:active {
    transform: scale(0.92);
}

.v120-bottom-btn .v120-bnav-icon {
    font-size: 22px;
    margin-bottom: 2px;
    transition: var(--v120-transition);
}

.v120-bottom-btn .v120-bnav-label {
    font-size: 10px;
    font-weight: 600;
    opacity: 0.8;
}

.v120-bottom-btn.v120-bnav-active .v120-bnav-icon {
    color: var(--v120-accent-glow);
}

.v120-bottom-btn.v120-bnav-active .v120-bnav-label {
    color: var(--v120-accent-glow);
    opacity: 1;
}

.v120-bottom-btn.v120-bnav-active::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--v120-accent-glow);
    border-radius: 0 0 3px 3px;
}

/* ===== Scroll To Top ===== */
.v120-scroll-top {
    position: fixed;
    bottom: 72px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: var(--v120-accent);
    color: var(--v120-white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 2px 8px var(--v120-shadow);
    transition: var(--v120-transition);
}

.v120-scroll-top:hover {
    background: var(--v120-accent-light);
    transform: translateY(-2px);
}

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

    .v120-menu-btn {
        display: none;
    }

    .v120-main {
        max-width: 768px;
        padding-bottom: 0;
    }

    .v120-game-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .v120-banner {
        height: 320px;
    }

    .v120-footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== Responsive: Mobile ===== */
@media (max-width: 768px) {
    .v120-desktop-nav {
        display: none;
    }

    .v120-menu-btn {
        display: block;
    }

    .v120-main {
        padding-bottom: 80px;
    }

    .v120-header {
        padding: 0 10px;
    }

    .v120-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* ===== Help Page Styles ===== */
.v120-help-hero {
    margin-top: 60px;
    background: linear-gradient(135deg, var(--v120-accent) 0%, var(--v120-bg-dark) 100%);
    padding: 40px 16px 32px;
    text-align: center;
}

.v120-help-hero-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--v120-gold);
    margin-bottom: 8px;
}

.v120-help-hero-subtitle {
    font-size: 14px;
    color: var(--v120-text-light);
    opacity: 0.8;
}

.v120-help-content {
    padding: 24px 16px;
    max-width: 430px;
    margin: 0 auto;
}

.v120-help-card {
    background: var(--v120-bg-secondary);
    border-radius: var(--v120-radius-lg);
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--v120-border);
}

.v120-help-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--v120-gold);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.v120-help-card-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--v120-text-light);
    opacity: 0.9;
}

.v120-help-cta {
    background: linear-gradient(135deg, var(--v120-accent) 0%, var(--v120-bg-dark) 100%);
    border-radius: var(--v120-radius-lg);
    padding: 28px 20px;
    text-align: center;
    margin: 24px 0;
    border: 1px solid var(--v120-accent);
}

.v120-help-cta-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--v120-gold);
    margin-bottom: 12px;
}

.v120-help-cta-btn {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--v120-gold) 0%, var(--v120-gold-light) 100%);
    color: var(--v120-bg-dark);
    font-size: 14px;
    font-weight: 800;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--v120-transition);
    text-transform: uppercase;
}

.v120-help-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(212, 168, 85, 0.4);
}

/* ===== Utility ===== */
.v120-text-center { text-align: center; }
.v120-mt-16 { margin-top: 16px; }
.v120-mb-16 { margin-bottom: 16px; }
.v120-hidden { display: none !important; }
