/**
 * JL Pub - Main Stylesheet
 * Website: jl-pub.click
 * CSS Class Prefix: pg74-
 */

/* CSS Variables */
:root {
    --pg74-primary: #DEB887;
    --pg74-secondary: #FFEFD5;
    --pg74-bg-dark: #262626;
    --pg74-bg-light: #FDF5E6;
    --pg74-text-light: #FDF5E6;
    --pg74-text-dark: #262626;
    --pg74-accent: #DEB887;
    --pg74-gold: #D4AF37;
    --pg74-header-height: 56px;
    --pg74-bottom-nav-height: 60px;
}

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

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

/* Header Styles */
.pg74-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--pg74-header-height);
    background: linear-gradient(135deg, var(--pg74-bg-dark) 0%, #1a1a1a 100%);
    border-bottom: 2px solid var(--pg74-primary);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    transition: all 0.3s ease;
}

.pg74-header-scrolled {
    background: rgba(38, 38, 38, 0.98);
    box-shadow: 0 2px 10px rgba(222, 184, 135, 0.2);
}

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

.pg74-logo img {
    width: 32px;
    height: 32px;
    border-radius: 4px;
}

.pg74-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--pg74-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.pg74-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.pg74-btn-primary {
    background: linear-gradient(135deg, var(--pg74-primary) 0%, #c9a86c 100%);
    color: var(--pg74-bg-dark);
}

.pg74-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(222, 184, 135, 0.4);
}

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

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

.pg74-menu-toggle {
    background: none;
    border: none;
    color: var(--pg74-primary);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.4rem;
}

/* Mobile Menu */
.pg74-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--pg74-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    border-left: 2px solid var(--pg74-primary);
}

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

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

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

.pg74-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--pg74-primary);
    font-size: 2.4rem;
    cursor: pointer;
}

.pg74-menu-nav {
    margin-top: 3rem;
}

.pg74-menu-nav a {
    display: block;
    padding: 1.2rem 0;
    color: var(--pg74-text-light);
    text-decoration: none;
    font-size: 1.4rem;
    border-bottom: 1px solid rgba(222, 184, 135, 0.2);
    transition: color 0.3s ease;
}

.pg74-menu-nav a:hover {
    color: var(--pg74-primary);
}

/* Main Content */
.pg74-main {
    padding-top: calc(var(--pg74-header-height) + 1rem);
    padding-bottom: calc(var(--pg74-bottom-nav-height) + 2rem);
    min-height: 100vh;
}

/* Carousel */
.pg74-carousel {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.pg74-slide {
    display: none;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

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

.pg74-slide-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
}

.pg74-slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pg74-dot-active {
    background: var(--pg74-primary);
    transform: scale(1.2);
}

/* Section Titles */
.pg74-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--pg74-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--pg74-primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

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

/* Game Grid */
.pg74-game-section {
    margin-bottom: 2rem;
}

.pg74-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.pg74-game-card {
    background: rgba(253, 245, 230, 0.05);
    border-radius: 8px;
    padding: 0.6rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(222, 184, 135, 0.2);
}

.pg74-game-card:hover {
    transform: translateY(-3px);
    border-color: var(--pg74-primary);
    box-shadow: 0 4px 12px rgba(222, 184, 135, 0.2);
}

.pg74-game-card img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 6px;
    object-fit: cover;
    margin-bottom: 0.4rem;
}

.pg74-game-card span {
    font-size: 1rem;
    color: var(--pg74-text-light);
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Info Cards */
.pg74-info-card {
    background: linear-gradient(135deg, rgba(253, 245, 230, 0.08) 0%, rgba(222, 184, 135, 0.05) 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(222, 184, 135, 0.3);
}

.pg74-info-card h3 {
    color: var(--pg74-primary);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pg74-info-card p {
    color: var(--pg74-text-light);
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.pg74-info-card ul {
    list-style: none;
    padding-left: 0;
}

.pg74-info-card li {
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.3rem;
    color: var(--pg74-text-light);
}

.pg74-info-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--pg74-primary);
    border-radius: 50%;
}

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

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

/* CTA Button Large */
.pg74-cta-large {
    display: block;
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, var(--pg74-primary) 0%, #c9a86c 100%);
    color: var(--pg74-bg-dark);
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pg74-cta-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(222, 184, 135, 0.4);
}

/* Footer */
.pg74-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, var(--pg74-bg-dark) 100%);
    padding: 2rem 1rem;
    padding-bottom: calc(var(--pg74-bottom-nav-height) + 2rem);
    border-top: 2px solid var(--pg74-primary);
}

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

.pg74-footer-brand p {
    font-size: 1.2rem;
    color: var(--pg74-text-light);
    opacity: 0.8;
    line-height: 1.6;
}

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

.pg74-footer-links a {
    color: var(--pg74-primary);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.4rem 0.8rem;
    background: rgba(222, 184, 135, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
}

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

.pg74-footer-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(253, 245, 230, 0.6);
}

/* Bottom Navigation - Mobile Only */
.pg74-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--pg74-bottom-nav-height);
    background: linear-gradient(135deg, var(--pg74-bg-dark) 0%, #1a1a1a 100%);
    border-top: 2px solid var(--pg74-primary);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0.4rem 0;
}

.pg74-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 0.4rem;
}

.pg74-nav-item:hover,
.pg74-nav-item.pg74-nav-active {
    background: rgba(222, 184, 135, 0.15);
}

.pg74-nav-item i,
.pg74-nav-item .material-icons-outlined {
    font-size: 22px;
    color: var(--pg74-primary);
    margin-bottom: 0.2rem;
    transition: transform 0.3s ease;
}

.pg74-nav-item:hover i,
.pg74-nav-item:hover .material-icons-outlined {
    transform: scale(1.15);
}

.pg74-nav-item span {
    font-size: 10px;
    color: var(--pg74-text-light);
    text-align: center;
}

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

    .pg74-main {
        padding-bottom: 2rem;
    }

    .pg74-footer {
        padding-bottom: 2rem;
    }
}

/* Desktop Styles */
@media (min-width: 769px) {
    .pg74-container {
        max-width: 1200px;
        padding: 0 2rem;
    }

    .pg74-carousel {
        height: 300px;
    }

    .pg74-game-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 1.2rem;
    }

    .pg74-menu-toggle {
        display: none;
    }
}

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

.pg74-mt-1 { margin-top: 0.5rem; }
.pg74-mt-2 { margin-top: 1rem; }
.pg74-mt-3 { margin-top: 1.5rem; }
.pg74-mb-1 { margin-bottom: 0.5rem; }
.pg74-mb-2 { margin-bottom: 1rem; }
.pg74-mb-3 { margin-bottom: 1.5rem; }

/* Partners Section */
.pg74-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(222, 184, 135, 0.2);
    border-bottom: 1px solid rgba(222, 184, 135, 0.2);
    margin: 1rem 0;
}

.pg74-partner-logo {
    width: 60px;
    height: 30px;
    object-fit: contain;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.pg74-partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Testimonials */
.pg74-testimonial {
    background: rgba(253, 245, 230, 0.05);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--pg74-primary);
}

.pg74-testimonial-content {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 0.6rem;
}

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

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

.pg74-payment-item {
    background: rgba(253, 245, 230, 0.08);
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-size: 1.2rem;
    color: var(--pg74-text-light);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Winner Showcase */
.pg74-winner-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem;
    background: rgba(222, 184, 135, 0.08);
    border-radius: 6px;
    margin-bottom: 0.6rem;
}

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

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