/**
 * PHKKK Main Stylesheet
 * All classes use prefix: pg48-
 * Color palette: #E0FFFF | #191970 | #495057 | #0E1621 | #ADD8E6
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --pg48-primary: #191970;
    --pg48-secondary: #ADD8E6;
    --pg48-accent: #E0FFFF;
    --pg48-bg: #0E1621;
    --pg48-bg-light: #1a2634;
    --pg48-text: #E0FFFF;
    --pg48-text-muted: #ADD8E6;
    --pg48-border: #495057;
    --pg48-success: #28a745;
    --pg48-warning: #ffc107;
    --pg48-danger: #dc3545;
    --pg48-gradient: linear-gradient(135deg, #191970 0%, #0E1621 100%);
}

/* Reset and 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(--pg48-bg);
    color: var(--pg48-text);
    line-height: 1.5rem;
    min-height: 100vh;
}

/* Container */
.pg48-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

/* Header */
.pg48-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--pg48-gradient);
    padding: 0.8rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.pg48-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

.pg48-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.pg48-logo img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.pg48-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--pg48-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pg48-header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pg48-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    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;
}

.pg48-btn-primary {
    background: linear-gradient(135deg, #191970, #2c3e8c);
    color: var(--pg48-accent);
    border: 1px solid var(--pg48-secondary);
}

.pg48-btn-primary:hover {
    background: linear-gradient(135deg, #2c3e8c, #191970);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(25, 25, 112, 0.4);
}

.pg48-btn-secondary {
    background: linear-gradient(135deg, #CD853F, #DAA520);
    color: #0E1621;
}

.pg48-btn-secondary:hover {
    background: linear-gradient(135deg, #DAA520, #CD853F);
    transform: translateY(-1px);
}

.pg48-menu-toggle {
    background: transparent;
    border: none;
    color: var(--pg48-accent);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.pg48-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--pg48-bg);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 6rem 1.5rem 2rem;
    overflow-y: auto;
}

.pg48-menu-active {
    right: 0;
}

.pg48-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;
}

.pg48-overlay-active {
    opacity: 1;
    visibility: visible;
}

.pg48-menu-list {
    list-style: none;
}

.pg48-menu-item {
    border-bottom: 1px solid var(--pg48-border);
}

.pg48-menu-link {
    display: block;
    padding: 1.2rem 0;
    color: var(--pg48-text);
    text-decoration: none;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.pg48-menu-link:hover {
    color: var(--pg48-secondary);
}

/* Main Content */
.pg48-main {
    padding-top: 60px;
}

@media (max-width: 768px) {
    .pg48-main {
        padding-bottom: 80px;
    }
}

/* Hero Carousel */
.pg48-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.pg48-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.pg48-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.pg48-slide-active {
    opacity: 1;
}

.pg48-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.pg48-slide-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.pg48-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.pg48-dot-active {
    background: var(--pg48-secondary);
}

/* Section Styles */
.pg48-section {
    padding: 1.5rem 0;
}

.pg48-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--pg48-accent);
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--pg48-primary);
}

/* Game Grid */
.pg48-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.pg48-game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.pg48-game-card:hover {
    transform: scale(1.05);
}

.pg48-game-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 0.4rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.pg48-game-name {
    font-size: 1rem;
    color: var(--pg48-text);
    text-align: center;
    line-height: 1.2;
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Section */
.pg48-category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--pg48-secondary);
    margin: 1.5rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* Content Cards */
.pg48-card {
    background: var(--pg48-bg-light);
    border-radius: 10px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    border: 1px solid var(--pg48-border);
}

.pg48-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--pg48-secondary);
    margin-bottom: 0.8rem;
}

.pg48-card-text {
    font-size: 1.2rem;
    color: var(--pg48-text-muted);
    line-height: 1.6;
}

/* Features List */
.pg48-features {
    display: grid;
    gap: 1rem;
}

.pg48-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--pg48-bg-light);
    border-radius: 8px;
    border-left: 3px solid var(--pg48-primary);
}

.pg48-feature-icon {
    font-size: 2rem;
    color: var(--pg48-secondary);
}

.pg48-feature-content h4 {
    font-size: 1.3rem;
    color: var(--pg48-accent);
    margin-bottom: 0.4rem;
}

.pg48-feature-content p {
    font-size: 1.1rem;
    color: var(--pg48-text-muted);
}

/* Promo Links */
.pg48-promo-link {
    color: var(--pg48-secondary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.pg48-promo-link:hover {
    color: var(--pg48-accent);
    text-decoration: underline;
}

/* Footer */
.pg48-footer {
    background: var(--pg48-bg);
    padding: 2rem 0;
    border-top: 1px solid var(--pg48-border);
}

.pg48-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.pg48-footer-link {
    color: var(--pg48-text-muted);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.pg48-footer-link:hover {
    color: var(--pg48-secondary);
}

.pg48-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.pg48-partner-logo {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.pg48-partner-logo:hover {
    opacity: 1;
}

.pg48-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: var(--pg48-text-muted);
}

/* Bottom Navigation (Mobile Only) */
.pg48-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--pg48-gradient);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--pg48-border);
}

@media (min-width: 769px) {
    .pg48-bottom-nav {
        display: none;
    }
}

.pg48-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    background: transparent;
    border: none;
    color: var(--pg48-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pg48-nav-btn:hover,
.pg48-nav-btn-active {
    color: var(--pg48-accent);
    transform: scale(1.1);
}

.pg48-nav-icon {
    font-size: 22px;
    margin-bottom: 2px;
}

.pg48-nav-text {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Promo Banner */
.pg48-promo-banner {
    background: linear-gradient(135deg, var(--pg48-primary), #2c3e8c);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
    text-align: center;
    border: 1px solid var(--pg48-secondary);
}

.pg48-promo-banner h3 {
    font-size: 1.6rem;
    color: var(--pg48-accent);
    margin-bottom: 0.8rem;
}

.pg48-promo-banner p {
    font-size: 1.2rem;
    color: var(--pg48-text-muted);
    margin-bottom: 1rem;
}

/* RTP Stats */
.pg48-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.pg48-rtp-item {
    background: var(--pg48-bg-light);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--pg48-border);
}

.pg48-rtp-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--pg48-success);
}

.pg48-rtp-label {
    font-size: 1rem;
    color: var(--pg48-text-muted);
}

/* FAQ Section */
.pg48-faq-item {
    background: var(--pg48-bg-light);
    border-radius: 8px;
    margin-bottom: 0.8rem;
    overflow: hidden;
    border: 1px solid var(--pg48-border);
}

.pg48-faq-question {
    padding: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--pg48-accent);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pg48-faq-answer {
    padding: 0 1rem 1rem;
    font-size: 1.2rem;
    color: var(--pg48-text-muted);
    line-height: 1.6;
}

/* Utility Classes */
.pg48-text-center {
    text-align: center;
}

.pg48-mt-1 {
    margin-top: 1rem;
}

.pg48-mb-1 {
    margin-bottom: 1rem;
}

.pg48-hidden {
    display: none;
}

/* Timeline Styles */
.pg48-timeline {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.pg48-timeline-item {
    position: relative;
    padding: 0.8rem 0;
    border-left: 2px solid var(--pg48-primary);
    margin-left: 0.5rem;
    padding-left: 1rem;
}

.pg48-timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 1rem;
    width: 10px;
    height: 10px;
    background: var(--pg48-secondary);
    border-radius: 50%;
}

.pg48-timeline-year {
    font-weight: 700;
    color: var(--pg48-secondary);
    font-size: 0.9rem;
}

.pg48-timeline-content {
    color: var(--pg48-text-muted);
    font-size: 1rem;
}

/* Provider Grid */
.pg48-provider-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1rem 0;
}

.pg48-provider-item {
    background: var(--pg48-bg-light);
    padding: 0.6rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--pg48-text);
    border: 1px solid var(--pg48-border);
}

/* Payment Grid */
.pg48-payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin: 1rem 0;
}

.pg48-payment-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--pg48-bg-light);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--pg48-border);
}

.pg48-payment-item i {
    font-size: 1.8rem;
    color: var(--pg48-secondary);
}

.pg48-payment-item strong {
    display: block;
    color: var(--pg48-accent);
}

.pg48-payment-item p {
    font-size: 0.9rem;
    color: var(--pg48-text-muted);
    margin: 0;
}

/* VIP Levels */
.pg48-vip-levels {
    margin: 1rem 0;
}

.pg48-vip-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background: var(--pg48-bg-light);
    border-radius: 6px;
    margin-bottom: 0.5rem;
    border: 1px solid var(--pg48-border);
}

.pg48-vip-tier {
    font-weight: 600;
    color: var(--pg48-secondary);
}

.pg48-vip-benefit {
    font-size: 0.9rem;
    color: var(--pg48-text-muted);
}

/* Contact Grid */
.pg48-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin: 1rem 0;
}

.pg48-contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--pg48-bg-light);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--pg48-border);
}

.pg48-contact-item i {
    font-size: 1.5rem;
    color: var(--pg48-secondary);
}

.pg48-contact-item strong {
    display: block;
    color: var(--pg48-accent);
}

.pg48-contact-item p {
    font-size: 0.9rem;
    color: var(--pg48-text-muted);
    margin: 0;
}

/* List Styles */
.pg48-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.pg48-list li {
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--pg48-text-muted);
}

.pg48-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--pg48-secondary);
}

/* Responsive */
@media (max-width: 430px) {
    .pg48-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.6rem;
    }

    .pg48-game-icon {
        width: 55px;
        height: 55px;
    }

    .pg48-game-name {
        font-size: 0.9rem;
    }
}
