/**
 * Queen PH - Theme Stylesheet
 * Website: queenphapk.club
 * Color Palette: Orange-Red Theme
 */

/* CSS Variables */
:root {
    --g93c-primary: #FF4500;
    --g93c-secondary: #FF5722;
    --g93c-accent: #E9967A;
    --g93c-bg-dark: #0D1117;
    --g93c-bg-medium: #AD1457;
    --g93c-text-light: #FFFFFF;
    --g93c-text-muted: #B0B0B0;
    --g93c-border: #2D333B;
    --g93c-card-bg: #161B22;
    --g93c-gradient: linear-gradient(135deg, #FF4500 0%, #FF5722 50%, #E9967A 100%);
    --g93c-shadow: 0 4px 20px rgba(255, 69, 0, 0.3);
}

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--g93c-bg-dark);
    color: var(--g93c-text-light);
    line-height: 1.6;
    min-height: 100vh;
}

body.g93c-no-scroll {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.g93c-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
.g93c-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--g93c-bg-dark);
    border-bottom: 1px solid var(--g93c-border);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    transition: all 0.3s ease;
}

.g93c-header-scrolled {
    background: rgba(13, 17, 23, 0.95);
    box-shadow: var(--g93c-shadow);
}

.g93c-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.g93c-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.g93c-logo-text {
    font-size: 20px;
    font-weight: 700;
    background: var(--g93c-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.g93c-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.g93c-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.g93c-btn-login {
    background: transparent;
    border: 2px solid var(--g93c-primary);
    color: var(--g93c-primary);
}

.g93c-btn-login:hover {
    background: var(--g93c-primary);
    color: var(--g93c-text-light);
}

.g93c-btn-register {
    background: var(--g93c-gradient);
    color: var(--g93c-text-light);
}

.g93c-btn-register:hover {
    transform: scale(1.05);
    box-shadow: var(--g93c-shadow);
}

.g93c-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--g93c-text-light);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

/* Mobile Menu */
.g93c-mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--g93c-card-bg);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.g93c-menu-active {
    right: 0;
}

.g93c-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;
}

.g93c-overlay-active {
    opacity: 1;
    visibility: visible;
}

.g93c-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--g93c-border);
}

.g93c-menu-close {
    background: none;
    border: none;
    color: var(--g93c-text-light);
    font-size: 28px;
    cursor: pointer;
}

.g93c-menu-nav {
    list-style: none;
}

.g93c-menu-item {
    margin-bottom: 8px;
}

.g93c-menu-link {
    display: block;
    padding: 12px 16px;
    color: var(--g93c-text-light);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.g93c-menu-link:hover {
    background: var(--g93c-primary);
    color: var(--g93c-text-light);
}

.g93c-menu-link i {
    margin-right: 10px;
    width: 20px;
}

/* Main Content */
main {
    padding-top: 60px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Hero Carousel */
.g93c-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 20px;
}

.g93c-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.g93c-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.g93c-slide-active {
    opacity: 1;
}

.g93c-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.g93c-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.g93c-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.g93c-dot-active {
    background: var(--g93c-primary);
    transform: scale(1.2);
}

/* Section Styles */
.g93c-section {
    padding: 30px 0;
}

.g93c-section-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    background: var(--g93c-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.g93c-section-subtitle {
    text-align: center;
    color: var(--g93c-text-muted);
    margin-bottom: 25px;
    font-size: 14px;
}

/* Game Grid */
.g93c-game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.g93c-game-card {
    background: var(--g93c-card-bg);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--g93c-border);
}

.g93c-game-card:hover {
    transform: translateY(-5px);
    border-color: var(--g93c-primary);
    box-shadow: var(--g93c-shadow);
}

.g93c-game-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.g93c-game-name {
    padding: 8px;
    text-align: center;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Category Tabs */
.g93c-categories {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 15px;
    margin-bottom: 20px;
    scrollbar-width: none;
}

.g93c-categories::-webkit-scrollbar {
    display: none;
}

.g93c-category-btn {
    flex-shrink: 0;
    padding: 10px 20px;
    background: var(--g93c-card-bg);
    border: 1px solid var(--g93c-border);
    border-radius: 25px;
    color: var(--g93c-text-light);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.g93c-category-btn:hover,
.g93c-category-btn.active {
    background: var(--g93c-gradient);
    border-color: transparent;
}

/* Feature Cards */
.g93c-features {
    display: grid;
    gap: 15px;
    margin-bottom: 30px;
}

.g93c-feature-card {
    background: var(--g93c-card-bg);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--g93c-border);
    transition: all 0.3s ease;
}

.g93c-feature-card:hover {
    border-color: var(--g93c-primary);
}

.g93c-feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--g93c-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 15px;
}

.g93c-feature-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.g93c-feature-desc {
    font-size: 14px;
    color: var(--g93c-text-muted);
    line-height: 1.6;
}

/* Footer */
.g93c-footer {
    background: var(--g93c-card-bg);
    border-top: 1px solid var(--g93c-border);
    padding: 40px 16px 20px;
    margin-top: 40px;
}

.g93c-footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.g93c-footer-link {
    color: var(--g93c-text-muted);
    font-size: 13px;
    transition: color 0.3s ease;
}

.g93c-footer-link:hover {
    color: var(--g93c-primary);
}

.g93c-partners {
    margin-bottom: 30px;
}

.g93c-partners-title {
    font-size: 14px;
    color: var(--g93c-text-muted);
    margin-bottom: 15px;
    text-align: center;
}

.g93c-partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.g93c-partner-logo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.g93c-partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.g93c-copyright {
    text-align: center;
    font-size: 12px;
    color: var(--g93c-text-muted);
    padding-top: 20px;
    border-top: 1px solid var(--g93c-border);
}

/* Bottom Navigation */
.g93c-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(to top, var(--g93c-bg-dark), #1a1f26);
    border-top: 1px solid var(--g93c-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom);
}

.g93c-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    background: none;
    border: none;
    color: var(--g93c-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.g93c-nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--g93c-gradient);
    border-radius: 0 0 3px 3px;
    transition: width 0.3s ease;
}

.g93c-nav-btn:hover,
.g93c-nav-btn.active {
    color: var(--g93c-primary);
}

.g93c-nav-btn:hover::before,
.g93c-nav-btn.active::before {
    width: 40px;
}

.g93c-nav-icon {
    font-size: 22px;
    margin-bottom: 4px;
}

.g93c-nav-text {
    font-size: 10px;
    font-weight: 500;
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .g93c-bottom-nav {
        display: none;
    }

    .g93c-menu-btn {
        display: block;
    }

    .g93c-container {
        max-width: 1200px;
    }

    .g93c-game-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .g93c-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .g93c-footer-links {
        grid-template-columns: repeat(4, 1fr);
    }

    .g93c-partners-grid {
        grid-template-columns: repeat(10, 1fr);
    }
}

/* Utility Classes */
.g93c-text-center {
    text-align: center;
}

.g93c-mb-10 {
    margin-bottom: 10px;
}

.g93c-mb-20 {
    margin-bottom: 20px;
}

.g93c-mb-30 {
    margin-bottom: 30px;
}

.g93c-hidden {
    display: none;
}

/* H1 Title Style */
.g93c-main-title {
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.3;
}

.g93c-main-title span {
    background: var(--g93c-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* CTA Button */
.g93c-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    background: var(--g93c-gradient);
    color: var(--g93c-text-light);
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--g93c-shadow);
}

.g93c-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(255, 69, 0, 0.4);
}

/* Page Content Styles */
.g93c-page-content {
    padding: 80px 16px 30px;
}

.g93c-page-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.g93c-content-block {
    margin-bottom: 25px;
}

.g93c-content-block h2 {
    font-size: 20px;
    color: var(--g93c-primary);
    margin-bottom: 12px;
}

.g93c-content-block p {
    color: var(--g93c-text-muted);
    font-size: 14px;
    line-height: 1.8;
}

.g93c-content-block ul {
    list-style: none;
    padding-left: 0;
}

.g93c-content-block li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--g93c-text-muted);
    font-size: 14px;
}

.g93c-content-block li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--g93c-primary);
}

/* Promo Link Inline */
.g93c-promo-link {
    color: var(--g93c-primary);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.g93c-promo-link:hover {
    color: var(--g93c-secondary);
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 430px) {
    .g93c-header {
        padding: 0 12px;
    }

    .g93c-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .g93c-logo-text {
        font-size: 18px;
    }

    .g93c-game-grid {
        gap: 8px;
    }

    .g93c-game-name {
        font-size: 10px;
    }
}
