/**
 * PH9 Core CSS Styles
 * Website: ph9.club
 * Prefix: wc6f0-
 */

/* CSS Variables */
:root {
    --wc6f0-primary: #FF8C00;
    --wc6f0-secondary: #FFB347;
    --wc6f0-accent: #FFAA00;
    --wc6f0-bg-dark: #2E4057;
    --wc6f0-bg-light: #FAFAD2;
    --wc6f0-text-light: #FFFFFF;
    --wc6f0-text-dark: #2E4057;
    --wc6f0-gradient: linear-gradient(135deg, #FF8C00 0%, #FFB347 100%);
    --wc6f0-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    --wc6f0-radius: 8px;
    --wc6f0-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;
    font-size: 1.6rem;
    line-height: 1.5;
    background-color: var(--wc6f0-bg-dark);
    color: var(--wc6f0-text-light);
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.wc6f0-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.wc6f0-wrapper {
    padding: 1rem 0;
}

/* Header */
.wc6f0-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--wc6f0-bg-dark);
    padding: 1rem;
    box-shadow: var(--wc6f0-shadow);
    transition: all 0.3s ease;
}

.wc6f0-header-scrolled {
    background: rgba(46, 64, 87, 0.95);
    backdrop-filter: blur(10px);
}

.wc6f0-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
}

.wc6f0-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.wc6f0-logo img {
    width: 32px;
    height: 32px;
}

.wc6f0-logo-text {
    font-size: 2rem;
    font-weight: 700;
    background: var(--wc6f0-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wc6f0-header-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.wc6f0-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: var(--wc6f0-radius);
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 44px;
}

.wc6f0-btn-primary {
    background: var(--wc6f0-gradient);
    color: var(--wc6f0-text-light);
}

.wc6f0-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.wc6f0-btn-secondary {
    background: transparent;
    border: 2px solid var(--wc6f0-primary);
    color: var(--wc6f0-primary);
}

.wc6f0-btn-secondary:hover {
    background: var(--wc6f0-primary);
    color: var(--wc6f0-text-light);
}

.wc6f0-menu-toggle {
    background: transparent;
    border: none;
    color: var(--wc6f0-text-light);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.wc6f0-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--wc6f0-bg-dark);
    z-index: 9999;
    padding: 2rem;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.wc6f0-menu-active {
    right: 0;
}

.wc6f0-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.wc6f0-overlay-active {
    opacity: 1;
    visibility: visible;
}

.wc6f0-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wc6f0-menu-close {
    background: transparent;
    border: none;
    color: var(--wc6f0-text-light);
    font-size: 2.4rem;
    cursor: pointer;
}

.wc6f0-menu-nav {
    list-style: none;
}

.wc6f0-menu-nav li {
    margin-bottom: 0.5rem;
}

.wc6f0-menu-nav a {
    display: block;
    padding: 1.2rem 1rem;
    color: var(--wc6f0-text-light);
    font-size: 1.5rem;
    border-radius: var(--wc6f0-radius);
    transition: all 0.3s ease;
}

.wc6f0-menu-nav a:hover {
    background: rgba(255, 140, 0, 0.2);
    color: var(--wc6f0-primary);
}

/* Main Content */
.wc6f0-main {
    padding-top: 70px;
    padding-bottom: 80px;
}

/* Carousel/Slider */
.wc6f0-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--wc6f0-radius-lg);
    margin-bottom: 2rem;
}

.wc6f0-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}

.wc6f0-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.wc6f0-slide-active {
    opacity: 1;
}

.wc6f0-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wc6f0-slide-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
}

.wc6f0-slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.wc6f0-dot-active {
    background: var(--wc6f0-primary);
    transform: scale(1.2);
}

/* Sections */
.wc6f0-section {
    padding: 2rem 0;
}

.wc6f0-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--wc6f0-primary);
    text-align: center;
}

.wc6f0-section-desc {
    text-align: center;
    color: var(--wc6f0-text-light);
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Game Grid */
.wc6f0-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.wc6f0-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.wc6f0-game-item:hover {
    transform: scale(1.05);
}

.wc6f0-game-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--wc6f0-radius);
    overflow: hidden;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
}

.wc6f0-game-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wc6f0-game-name {
    font-size: 1.2rem;
    color: var(--wc6f0-text-light);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category Section */
.wc6f0-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.wc6f0-category-icon {
    font-size: 2.4rem;
    color: var(--wc6f0-primary);
}

.wc6f0-category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--wc6f0-text-light);
}

/* Cards */
.wc6f0-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--wc6f0-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 140, 0, 0.2);
}

.wc6f0-card-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--wc6f0-primary);
    margin-bottom: 1rem;
}

.wc6f0-card-text {
    color: var(--wc6f0-text-light);
    line-height: 1.6;
    font-size: 1.4rem;
}

/* Promo Link */
.wc6f0-promo-link {
    color: var(--wc6f0-primary);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.wc6f0-promo-link:hover {
    color: var(--wc6f0-secondary);
    text-decoration: underline;
}

/* Footer */
.wc6f0-footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem 1rem;
    text-align: center;
}

.wc6f0-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.wc6f0-footer-link {
    color: var(--wc6f0-text-light);
    font-size: 1.3rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.wc6f0-footer-link:hover {
    opacity: 1;
    color: var(--wc6f0-primary);
}

.wc6f0-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.wc6f0-partner {
    width: 40px;
    height: 40px;
    border-radius: var(--wc6f0-radius);
    overflow: hidden;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.wc6f0-partner:hover {
    opacity: 1;
}

.wc6f0-partner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wc6f0-copyright {
    font-size: 1.2rem;
    color: var(--wc6f0-text-light);
    opacity: 0.6;
}

/* Bottom Navigation */
.wc6f0-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, #2E4057 0%, #1a2a3a 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 140, 0, 0.3);
}

.wc6f0-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;
    padding: 0.5rem;
}

.wc6f0-nav-item:hover {
    background: rgba(255, 140, 0, 0.15);
    transform: translateY(-2px);
}

.wc6f0-nav-item:active {
    transform: scale(0.95);
}

.wc6f0-nav-icon {
    font-size: 24px;
    margin-bottom: 0.3rem;
    transition: all 0.3s ease;
}

.wc6f0-nav-item:hover .wc6f0-nav-icon {
    color: var(--wc6f0-primary);
}

.wc6f0-nav-text {
    font-size: 11px;
    color: var(--wc6f0-text-light);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.wc6f0-nav-item:hover .wc6f0-nav-text {
    opacity: 1;
}

.wc6f0-nav-active .wc6f0-nav-icon {
    color: var(--wc6f0-primary);
}

.wc6f0-nav-active .wc6f0-nav-text {
    color: var(--wc6f0-primary);
    opacity: 1;
}

/* FAQ Section */
.wc6f0-faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--wc6f0-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.wc6f0-faq-question {
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    color: var(--wc6f0-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wc6f0-faq-answer {
    padding: 0 1.5rem 1.2rem;
    color: var(--wc6f0-text-light);
    font-size: 1.4rem;
    line-height: 1.6;
}

/* Features List */
.wc6f0-features {
    display: grid;
    gap: 1.5rem;
}

.wc6f0-feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.wc6f0-feature-icon {
    font-size: 2.4rem;
    color: var(--wc6f0-primary);
    flex-shrink: 0;
}

.wc6f0-feature-content h4 {
    font-size: 1.5rem;
    color: var(--wc6f0-text-light);
    margin-bottom: 0.5rem;
}

.wc6f0-feature-content p {
    font-size: 1.3rem;
    color: var(--wc6f0-text-light);
    opacity: 0.8;
    line-height: 1.5;
}

/* RTP Table */
.wc6f0-rtp-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.wc6f0-rtp-table th,
.wc6f0-rtp-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 140, 0, 0.2);
}

.wc6f0-rtp-table th {
    background: rgba(255, 140, 0, 0.1);
    color: var(--wc6f0-primary);
    font-weight: 600;
}

.wc6f0-rtp-table td {
    color: var(--wc6f0-text-light);
    font-size: 1.4rem;
}

/* Responsive - Desktop */
@media (min-width: 769px) {
    .wc6f0-bottom-nav {
        display: none;
    }

    .wc6f0-main {
        padding-bottom: 2rem;
    }

    .wc6f0-container {
        max-width: 800px;
    }
}

/* Utility Classes */
.wc6f0-text-center {
    text-align: center;
}

.wc6f0-mt-2 {
    margin-top: 2rem;
}

.wc6f0-mb-2 {
    margin-bottom: 2rem;
}

.wc6f0-hidden {
    display: none;
}
