/**
 * 2026jl Website CSS Styles
 * All classes use prefix: pg27-
 * Color Palette: #2E4057 | #00CED1 | #228B22 | #E0FFFF | #66CDAA
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --pg27-primary: #00CED1;
    --pg27-secondary: #228B22;
    --pg27-bg-dark: #2E4057;
    --pg27-bg-light: #E0FFFF;
    --pg27-accent: #66CDAA;
    --pg27-text-light: #FFFFFF;
    --pg27-text-dark: #2E4057;
    --pg27-gold: #FFD700;
    --pg27-gradient: linear-gradient(135deg, #00CED1 0%, #228B22 100%);
    --pg27-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    --pg27-radius: 8px;
    --pg27-radius-lg: 16px;
}

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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--pg27-bg-dark);
    color: var(--pg27-text-light);
    line-height: 1.5;
    font-size: 1.6rem;
    min-height: 100vh;
}

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

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

/* Container */
.pg27-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.pg27-wrapper {
    padding: 2rem 0;
}

/* Header Styles */
.pg27-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--pg27-bg-dark) 0%, rgba(46, 64, 87, 0.95) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 206, 209, 0.3);
}

.pg27-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

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

.pg27-logo img {
    width: 32px;
    height: 32px;
}

.pg27-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--pg27-primary);
    text-shadow: 0 0 10px rgba(0, 206, 209, 0.5);
}

.pg27-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pg27-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: var(--pg27-radius);
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 44px;
}

.pg27-btn-primary {
    background: var(--pg27-gradient);
    color: var(--pg27-text-light);
    box-shadow: var(--pg27-shadow);
}

.pg27-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 206, 209, 0.4);
}

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

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

/* Hamburger Menu */
.pg27-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 10001;
}

.pg27-hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--pg27-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.pg27-hamburger-active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.pg27-hamburger-active span:nth-child(2) {
    opacity: 0;
}

.pg27-hamburger-active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.pg27-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--pg27-bg-dark);
    z-index: 9999;
    padding: 8rem 2rem 2rem;
    transition: right 0.3s ease;
    overflow-y: auto;
    border-left: 1px solid rgba(0, 206, 209, 0.3);
}

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

.pg27-mobile-menu ul {
    list-style: none;
}

.pg27-mobile-menu li {
    margin-bottom: 1rem;
}

.pg27-mobile-menu a {
    display: block;
    padding: 1.2rem 1.5rem;
    color: var(--pg27-text-light);
    font-size: 1.5rem;
    border-radius: var(--pg27-radius);
    transition: all 0.3s ease;
}

.pg27-mobile-menu a:hover {
    background: rgba(0, 206, 209, 0.2);
    color: var(--pg27-primary);
}

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

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

/* Main Content */
.pg27-main {
    padding-top: 70px;
}

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

/* Hero Slider */
.pg27-hero-slider {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.pg27-slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

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

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

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

.pg27-slide-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

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

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

/* Section Styles */
.pg27-section {
    padding: 2rem 1.5rem;
}

.pg27-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--pg27-primary);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.pg27-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--pg27-gradient);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

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

.pg27-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.pg27-game-item:hover {
    transform: translateY(-5px);
}

.pg27-game-icon {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--pg27-radius);
    overflow: hidden;
    margin-bottom: 0.5rem;
    background: rgba(0, 206, 209, 0.1);
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

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

.pg27-game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pg27-game-name {
    font-size: 1.1rem;
    color: var(--pg27-text-light);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category Section */
.pg27-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.pg27-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--pg27-accent);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pg27-category-title i {
    font-size: 2rem;
}

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

.pg27-promo-link:hover {
    color: var(--pg27-accent);
}

.pg27-promo-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--pg27-gradient);
    color: var(--pg27-text-light);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: var(--pg27-radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.pg27-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 206, 209, 0.5);
}

/* Features Grid */
.pg27-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.pg27-feature-card {
    background: rgba(0, 206, 209, 0.1);
    border-radius: var(--pg27-radius-lg);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(0, 206, 209, 0.2);
    transition: all 0.3s ease;
}

.pg27-feature-card:hover {
    background: rgba(0, 206, 209, 0.2);
    transform: translateY(-3px);
}

.pg27-feature-icon {
    font-size: 3rem;
    color: var(--pg27-primary);
    margin-bottom: 1rem;
}

.pg27-feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--pg27-text-light);
    margin-bottom: 0.5rem;
}

.pg27-feature-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Footer Styles */
.pg27-footer {
    background: linear-gradient(180deg, var(--pg27-bg-dark) 0%, #1a2a3a 100%);
    padding: 3rem 1.5rem;
    border-top: 1px solid rgba(0, 206, 209, 0.3);
}

.pg27-footer-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.pg27-footer-desc {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.pg27-footer-link {
    padding: 0.6rem 1.2rem;
    background: rgba(0, 206, 209, 0.2);
    color: var(--pg27-primary);
    font-size: 1.2rem;
    border-radius: var(--pg27-radius);
    transition: all 0.3s ease;
    cursor: pointer;
}

.pg27-footer-link:hover {
    background: var(--pg27-primary);
    color: var(--pg27-bg-dark);
}

.pg27-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pg27-footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.pg27-footer-nav a:hover {
    color: var(--pg27-primary);
}

.pg27-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Bottom Navigation (Mobile) */
.pg27-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, rgba(46, 64, 87, 0.98) 0%, var(--pg27-bg-dark) 100%);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid rgba(0, 206, 209, 0.3);
    padding: 0 0.5rem;
}

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

.pg27-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.pg27-nav-item:hover {
    background: rgba(0, 206, 209, 0.15);
}

.pg27-nav-item.active {
    background: rgba(0, 206, 209, 0.2);
}

.pg27-nav-item i {
    font-size: 24px;
    color: var(--pg27-text-light);
    margin-bottom: 2px;
    transition: color 0.3s ease;
}

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

.pg27-nav-item span {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

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

/* Card Styles */
.pg27-card {
    background: rgba(0, 206, 209, 0.08);
    border-radius: var(--pg27-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 206, 209, 0.2);
}

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

.pg27-card-content {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

/* List Styles */
.pg27-list {
    list-style: none;
}

.pg27-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
}

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

/* Testimonials */
.pg27-testimonial {
    background: rgba(0, 206, 209, 0.1);
    border-radius: var(--pg27-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--pg27-primary);
}

.pg27-testimonial-text {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    margin-bottom: 1rem;
}

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

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

.pg27-payment-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: rgba(0, 206, 209, 0.1);
    border-radius: var(--pg27-radius);
    font-size: 1.2rem;
    color: var(--pg27-text-light);
}

.pg27-payment-item i {
    font-size: 1.8rem;
    color: var(--pg27-primary);
}

/* Winner Showcase */
.pg27-winner-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(0, 206, 209, 0.08);
    border-radius: var(--pg27-radius);
    margin-bottom: 0.8rem;
}

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

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

/* Utility Classes */
.pg27-text-center { text-align: center; }
.pg27-text-primary { color: var(--pg27-primary); }
.pg27-text-gold { color: var(--pg27-gold); }
.pg27-mb-1 { margin-bottom: 1rem; }
.pg27-mb-2 { margin-bottom: 2rem; }
.pg27-mt-2 { margin-top: 2rem; }

/* Animations */
@keyframes pg27-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

/* Desktop Navigation */
@media (min-width: 769px) {
    .pg27-header-inner {
        max-width: 1200px;
    }

    .pg27-container {
        max-width: 1200px;
    }

    .pg27-desktop-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .pg27-desktop-nav a {
        color: var(--pg27-text-light);
        font-size: 1.4rem;
        transition: color 0.3s ease;
    }

    .pg27-desktop-nav a:hover {
        color: var(--pg27-primary);
    }

    .pg27-hamburger {
        display: none;
    }

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

    .pg27-hero-slider {
        height: 400px;
    }
}
