/**
 * Okebe Club - Theme Stylesheet
 * Version: 1.0.0
 * Prefix: pg86-
 * Colors: #3C3C3C | #FF4500 | #1E1E1E | #2C3E50
 */

/* CSS Variables */
:root {
    --pg86-primary: #FF4500;
    --pg86-secondary: #2C3E50;
    --pg86-bg-dark: #1E1E1E;
    --pg86-bg-darker: #3C3C3C;
    --pg86-text-light: #FFFFFF;
    --pg86-text-muted: #B0B0B0;
    --pg86-accent: #FFD700;
    --pg86-success: #28A745;
    --pg86-gradient: linear-gradient(135deg, #FF4500 0%, #FF6B35 100%);
    --pg86-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --pg86-radius: 8px;
    --pg86-radius-lg: 12px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.4rem;
    line-height: 1.5;
    color: var(--pg86-text-light);
    background-color: var(--pg86-bg-dark);
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--pg86-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--pg86-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.pg86-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

/* Header */
.pg86-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--pg86-bg-darker) 0%, rgba(60, 60, 60, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 69, 0, 0.3);
}

.pg86-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.2rem;
    max-width: 430px;
    margin: 0 auto;
}

.pg86-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pg86-logo img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.pg86-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--pg86-primary);
    letter-spacing: 0.5px;
}

.pg86-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pg86-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: var(--pg86-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 36px;
}

.pg86-btn-primary {
    background: var(--pg86-gradient);
    color: var(--pg86-text-light);
    box-shadow: 0 2px 8px rgba(255, 69, 0, 0.4);
}

.pg86-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 69, 0, 0.5);
}

.pg86-btn-outline {
    background: transparent;
    color: var(--pg86-text-light);
    border: 2px solid var(--pg86-primary);
}

.pg86-btn-outline:hover {
    background: var(--pg86-primary);
    color: var(--pg86-text-light);
}

.pg86-menu-toggle {
    background: none;
    border: none;
    color: var(--pg86-text-light);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.pg86-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--pg86-bg-darker);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 6rem 1.5rem 2rem;
    overflow-y: auto;
}

.pg86-menu-active {
    right: 0;
}

.pg86-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;
}

.pg86-overlay-active {
    opacity: 1;
    visibility: visible;
}

.pg86-nav-list {
    list-style: none;
}

.pg86-nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pg86-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 0;
    color: var(--pg86-text-light);
    font-size: 1.4rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pg86-nav-link:hover,
.pg86-nav-active {
    color: var(--pg86-primary);
    padding-left: 0.5rem;
}

.pg86-nav-link i {
    width: 24px;
    text-align: center;
}

/* Main Content */
main {
    padding-top: 60px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Carousel */
.pg86-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 var(--pg86-radius-lg) var(--pg86-radius-lg);
}

.pg86-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.pg86-slide {
    min-width: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease;
}

.pg86-slide:first-child {
    position: relative;
}

.pg86-slide-active {
    opacity: 1;
    z-index: 1;
}

.pg86-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.pg86-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.pg86-slide-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Section Titles */
.pg86-section {
    padding: 2rem 0;
}

.pg86-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--pg86-text-light);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pg86-section-title::before {
    content: '';
    width: 4px;
    height: 2rem;
    background: var(--pg86-primary);
    border-radius: 2px;
}

/* Game Grid */
.pg86-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.pg86-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.pg86-game-item:hover {
    transform: scale(1.05);
}

.pg86-game-icon {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--pg86-radius);
    object-fit: cover;
    margin-bottom: 0.4rem;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.pg86-game-item:hover .pg86-game-icon {
    border-color: var(--pg86-primary);
}

.pg86-game-name {
    font-size: 1rem;
    color: var(--pg86-text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

/* Category Tabs */
.pg86-category-label {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--pg86-primary);
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--pg86-bg-darker);
}

/* Cards */
.pg86-card {
    background: var(--pg86-bg-darker);
    border-radius: var(--pg86-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--pg86-shadow);
}

.pg86-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--pg86-text-light);
}

.pg86-card-text {
    font-size: 1.3rem;
    color: var(--pg86-text-muted);
    line-height: 1.6;
}

/* Feature List */
.pg86-feature-list {
    list-style: none;
}

.pg86-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pg86-feature-item:last-child {
    border-bottom: none;
}

.pg86-feature-icon {
    width: 40px;
    height: 40px;
    background: var(--pg86-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pg86-feature-icon i {
    color: var(--pg86-text-light);
    font-size: 1.6rem;
}

/* Promotional Links */
.pg86-promo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--pg86-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pg86-promo-link:hover {
    color: var(--pg86-accent);
    transform: translateX(3px);
}

/* Footer */
.pg86-footer {
    background: var(--pg86-bg-darker);
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 69, 0, 0.2);
}

.pg86-footer-content {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

.pg86-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.pg86-footer-link {
    font-size: 1.2rem;
    color: var(--pg86-text-muted);
    transition: color 0.3s ease;
}

.pg86-footer-link:hover {
    color: var(--pg86-primary);
}

.pg86-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.pg86-partner-logo {
    width: 40px;
    height: 20px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.pg86-partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.pg86-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: var(--pg86-text-muted);
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Bottom Navigation */
.pg86-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(60, 60, 60, 0.98) 0%, var(--pg86-bg-darker) 100%);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 69, 0, 0.3);
    display: none;
}

@media (max-width: 768px) {
    .pg86-bottom-nav {
        display: block;
    }
}

.pg86-bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
    max-width: 430px;
    margin: 0 auto;
}

.pg86-bottom-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    min-width: 60px;
    min-height: 60px;
    background: none;
    border: none;
    color: var(--pg86-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
}

.pg86-bottom-btn:hover,
.pg86-bottom-btn-active {
    color: var(--pg86-primary);
    transform: scale(1.1);
}

.pg86-bottom-btn i {
    font-size: 2.2rem;
}

.pg86-bottom-btn span {
    font-size: 1rem;
    font-weight: 500;
}

/* Toast Notification */
.pg86-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--pg86-bg-darker);
    color: var(--pg86-text-light);
    padding: 1rem 2rem;
    border-radius: var(--pg86-radius);
    box-shadow: var(--pg86-shadow);
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
}

.pg86-toast-show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Promo Section */
.pg86-promo-section {
    background: linear-gradient(135deg, var(--pg86-bg-darker) 0%, rgba(44, 62, 80, 0.8) 100%);
    border-radius: var(--pg86-radius-lg);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(255, 69, 0, 0.3);
}

.pg86-promo-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--pg86-primary);
    margin-bottom: 1rem;
}

/* Utility Classes */
.pg86-text-center {
    text-align: center;
}

.pg86-text-primary {
    color: var(--pg86-primary);
}

.pg86-text-accent {
    color: var(--pg86-accent);
}

.pg86-mb-1 {
    margin-bottom: 1rem;
}

.pg86-mb-2 {
    margin-bottom: 2rem;
}

.pg86-mt-2 {
    margin-top: 2rem;
}

/* Responsive adjustments */
@media (min-width: 769px) {
    .pg86-bottom-nav {
        display: none !important;
    }

    main {
        padding-bottom: 0;
    }
}

/* Animation keyframes */
@keyframes pg86-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pg86-animate-pulse {
    animation: pg86-pulse 2s infinite;
}

/* H1 Title Style */
h1.pg86-main-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--pg86-text-light);
    text-align: center;
    margin: 1.5rem 0;
    line-height: 1.4;
}

/* Content paragraph */
.pg86-content-text {
    font-size: 1.3rem;
    color: var(--pg86-text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* List styles */
.pg86-content-list {
    list-style: none;
    margin: 1rem 0;
}

.pg86-content-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    color: var(--pg86-text-muted);
}

.pg86-content-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--pg86-primary);
}
