/**
 * ok play game - Main Stylesheet
 * Website: okplaygame.click
 * Prefix: wfdce-
 */

/* CSS Variables */
:root {
    --wfdce-bg-dark: #3A3A3A;
    --wfdce-primary: #DB7093;
    --wfdce-secondary: #B03060;
    --wfdce-accent: #CD853F;
    --wfdce-text-light: #FFFFFF;
    --wfdce-text-muted: #CCCCCC;
    --wfdce-bg-card: #4A4A4A;
    --wfdce-bg-hover: #5A5A5A;
    --wfdce-border: #555555;
    --wfdce-shadow: rgba(0, 0, 0, 0.3);
    --wfdce-gradient: linear-gradient(135deg, #DB7093 0%, #B03060 50%, #CD853F 100%);
}

/* Reset & 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(--wfdce-bg-dark);
    color: var(--wfdce-text-light);
    line-height: 1.5rem;
    font-size: 1.4rem;
    min-height: 100vh;
}

a {
    color: var(--wfdce-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--wfdce-accent);
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.wfdce-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
}

.wfdce-wrapper {
    padding: 1rem;
}

/* Header */
.wfdce-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--wfdce-bg-dark) 0%, rgba(58, 58, 58, 0.95) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--wfdce-border);
}

.wfdce-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
}

.wfdce-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.wfdce-logo img {
    width: 28px;
    height: 28px;
}

.wfdce-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    background: var(--wfdce-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wfdce-header-actions {
    display: flex;
    gap: 0.6rem;
}

.wfdce-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.wfdce-btn-primary {
    background: var(--wfdce-gradient);
    color: var(--wfdce-text-light);
}

.wfdce-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(219, 112, 147, 0.4);
}

.wfdce-btn-outline {
    background: transparent;
    border: 2px solid var(--wfdce-primary);
    color: var(--wfdce-primary);
}

.wfdce-btn-outline:hover {
    background: var(--wfdce-primary);
    color: var(--wfdce-text-light);
}

.wfdce-menu-toggle {
    background: none;
    border: none;
    color: var(--wfdce-text-light);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.4rem;
}

/* Mobile Menu */
.wfdce-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--wfdce-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem 1.5rem;
    overflow-y: auto;
}

.wfdce-menu-active {
    right: 0;
}

.wfdce-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;
}

.wfdce-overlay-active {
    opacity: 1;
    visibility: visible;
}

.wfdce-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--wfdce-text-light);
    font-size: 2.4rem;
    cursor: pointer;
}

.wfdce-menu-nav {
    margin-top: 3rem;
}

.wfdce-menu-link {
    display: block;
    padding: 1rem 0;
    color: var(--wfdce-text-light);
    font-size: 1.5rem;
    border-bottom: 1px solid var(--wfdce-border);
    transition: all 0.3s ease;
}

.wfdce-menu-link:hover {
    color: var(--wfdce-primary);
    padding-left: 0.5rem;
}

/* Main Content */
.wfdce-main {
    padding-top: 60px;
    padding-bottom: 80px;
}

/* Carousel */
.wfdce-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    margin: 1rem 0;
}

.wfdce-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.wfdce-slide {
    min-width: 100%;
    cursor: pointer;
}

.wfdce-slide img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
}

.wfdce-carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
}

.wfdce-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.wfdce-dot-active {
    background: var(--wfdce-primary);
    transform: scale(1.2);
}

/* Section Titles */
.wfdce-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--wfdce-text-light);
    text-align: center;
}

.wfdce-section-subtitle {
    font-size: 1.4rem;
    color: var(--wfdce-text-muted);
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Game Grid */
.wfdce-game-section {
    padding: 1.5rem 0;
}

.wfdce-game-category {
    margin-bottom: 2rem;
}

.wfdce-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--wfdce-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--wfdce-secondary);
}

.wfdce-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.wfdce-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.wfdce-game-item:hover {
    transform: translateY(-3px);
}

.wfdce-game-icon {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 0.8rem;
    object-fit: cover;
    margin-bottom: 0.4rem;
    border: 2px solid var(--wfdce-border);
    transition: border-color 0.3s ease;
}

.wfdce-game-item:hover .wfdce-game-icon {
    border-color: var(--wfdce-primary);
}

.wfdce-game-name {
    font-size: 1.1rem;
    color: var(--wfdce-text-light);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Info Cards */
.wfdce-info-card {
    background: var(--wfdce-bg-card);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--wfdce-border);
}

.wfdce-info-card h3 {
    font-size: 1.6rem;
    color: var(--wfdce-primary);
    margin-bottom: 1rem;
}

.wfdce-info-card p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--wfdce-text-muted);
    margin-bottom: 0.8rem;
}

.wfdce-info-card ul {
    list-style: none;
    padding-left: 0;
}

.wfdce-info-card li {
    font-size: 1.3rem;
    color: var(--wfdce-text-muted);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.wfdce-info-card li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--wfdce-accent);
}

/* Promo Banner */
.wfdce-promo-banner {
    background: var(--wfdce-gradient);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    margin: 1.5rem 0;
}

.wfdce-promo-banner h3 {
    font-size: 1.8rem;
    color: var(--wfdce-text-light);
    margin-bottom: 0.8rem;
}

.wfdce-promo-banner p {
    font-size: 1.3rem;
    color: var(--wfdce-text-light);
    opacity: 0.9;
    margin-bottom: 1rem;
}

/* RTP Section */
.wfdce-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.wfdce-rtp-item {
    background: var(--wfdce-bg-card);
    border-radius: 0.8rem;
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--wfdce-border);
}

.wfdce-rtp-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--wfdce-accent);
}

.wfdce-rtp-label {
    font-size: 1.1rem;
    color: var(--wfdce-text-muted);
}

/* Features Grid */
.wfdce-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.wfdce-feature-item {
    background: var(--wfdce-bg-card);
    border-radius: 0.8rem;
    padding: 1.2rem;
    text-align: center;
    border: 1px solid var(--wfdce-border);
    transition: all 0.3s ease;
}

.wfdce-feature-item:hover {
    border-color: var(--wfdce-primary);
    transform: translateY(-2px);
}

.wfdce-feature-icon {
    font-size: 2.4rem;
    margin-bottom: 0.8rem;
}

.wfdce-feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--wfdce-text-light);
    margin-bottom: 0.4rem;
}

.wfdce-feature-desc {
    font-size: 1.1rem;
    color: var(--wfdce-text-muted);
}

/* Footer */
.wfdce-footer {
    background: var(--wfdce-bg-card);
    padding: 2rem 1rem 1rem;
    border-top: 1px solid var(--wfdce-border);
}

.wfdce-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.wfdce-footer-link {
    font-size: 1.2rem;
    color: var(--wfdce-text-muted);
}

.wfdce-footer-link:hover {
    color: var(--wfdce-primary);
}

.wfdce-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.wfdce-partner-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.wfdce-partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.wfdce-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: var(--wfdce-text-muted);
    padding-top: 1rem;
    border-top: 1px solid var(--wfdce-border);
}

/* Bottom Navigation */
.wfdce-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(58, 58, 58, 0.98) 0%, var(--wfdce-bg-dark) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.5rem 0;
    border-top: 1px solid var(--wfdce-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
}

.wfdce-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0.8rem;
    padding: 0.4rem;
}

.wfdce-nav-item:hover {
    background: var(--wfdce-bg-hover);
}

.wfdce-nav-item.active {
    color: var(--wfdce-primary);
}

.wfdce-nav-item.active .wfdce-nav-icon {
    color: var(--wfdce-primary);
    transform: scale(1.1);
}

.wfdce-nav-icon {
    font-size: 2.2rem;
    margin-bottom: 0.2rem;
    color: var(--wfdce-text-muted);
    transition: all 0.3s ease;
}

.wfdce-nav-item:hover .wfdce-nav-icon {
    color: var(--wfdce-primary);
}

.wfdce-nav-text {
    font-size: 1rem;
    color: var(--wfdce-text-muted);
}

.wfdce-nav-item:hover .wfdce-nav-text,
.wfdce-nav-item.active .wfdce-nav-text {
    color: var(--wfdce-primary);
}

/* Text utilities */
.wfdce-text-gradient {
    background: var(--wfdce-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wfdce-text-center {
    text-align: center;
}

.wfdce-text-bold {
    font-weight: 700;
}

.wfdce-highlight {
    color: var(--wfdce-primary);
    font-weight: 600;
}

/* Responsive */
@media (min-width: 769px) {
    .wfdce-bottom-nav {
        display: none;
    }

    .wfdce-main {
        padding-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .wfdce-main {
        padding-bottom: 80px;
    }
}

/* FAQ Accordion */
.wfdce-faq-item {
    background: var(--wfdce-bg-card);
    border-radius: 0.8rem;
    margin-bottom: 0.8rem;
    overflow: hidden;
    border: 1px solid var(--wfdce-border);
}

.wfdce-faq-question {
    padding: 1.2rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--wfdce-text-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wfdce-faq-question::after {
    content: '+';
    font-size: 1.8rem;
    color: var(--wfdce-primary);
}

.wfdce-faq-answer {
    padding: 0 1.2rem 1.2rem;
    font-size: 1.3rem;
    color: var(--wfdce-text-muted);
    line-height: 1.6;
}

/* How to Steps */
.wfdce-steps {
    counter-reset: step;
}

.wfdce-step {
    position: relative;
    padding-left: 3.5rem;
    margin-bottom: 1.5rem;
}

.wfdce-step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--wfdce-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--wfdce-text-light);
}

.wfdce-step h4 {
    font-size: 1.4rem;
    color: var(--wfdce-primary);
    margin-bottom: 0.5rem;
}

.wfdce-step p {
    font-size: 1.3rem;
    color: var(--wfdce-text-muted);
    line-height: 1.5;
}
