/**
 * okpun.club - Theme Stylesheet
 * All classes use prefix "w1928-" for namespace isolation
 * Color Palette: #CC99FF (light purple) | #800080 (deep purple) | #0E1621 (dark background)
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --w1928-primary: #800080;
    --w1928-secondary: #CC99FF;
    --w1928-accent: #9933FF;
    --w1928-bg: #0E1621;
    --w1928-bg-secondary: #1a2535;
    --w1928-bg-card: #15202d;
    --w1928-text: #ffffff;
    --w1928-text-muted: #a0aec0;
    --w1928-text-secondary: #CC99FF;
    --w1928-border: #2d3f54;
    --w1928-success: #48bb78;
    --w1928-warning: #f6ad55;
    --w1928-gradient: linear-gradient(135deg, #800080 0%, #CC99FF 100%);
    --w1928-shadow: 0 4px 20px rgba(128, 0, 128, 0.3);
    --w1928-radius: 12px;
    --w1928-radius-sm: 8px;
}

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--w1928-bg);
    color: var(--w1928-text);
    line-height: 1.5rem;
    font-size: 1.4rem;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--w1928-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--w1928-text);
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.w1928-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.w1928-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--w1928-bg) 0%, rgba(14, 22, 33, 0.95) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--w1928-border);
}

.w1928-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.w1928-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.w1928-logo img {
    width: 32px;
    height: 32px;
}

.w1928-logo-text {
    font-size: 2rem;
    font-weight: 700;
    background: var(--w1928-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.w1928-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.w1928-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: var(--w1928-radius-sm);
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 44px;
}

.w1928-btn-primary {
    background: var(--w1928-gradient);
    color: var(--w1928-text);
    box-shadow: var(--w1928-shadow);
}

.w1928-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(128, 0, 128, 0.4);
}

.w1928-btn-outline {
    background: transparent;
    border: 2px solid var(--w1928-secondary);
    color: var(--w1928-secondary);
}

.w1928-btn-outline:hover {
    background: var(--w1928-secondary);
    color: var(--w1928-bg);
}

.w1928-menu-btn {
    background: none;
    border: none;
    color: var(--w1928-text);
    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 */
.w1928-mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--w1928-bg-secondary);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.w1928-menu-active {
    right: 0;
}

.w1928-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--w1928-border);
}

.w1928-menu-close {
    background: none;
    border: none;
    color: var(--w1928-text);
    font-size: 2.4rem;
    cursor: pointer;
}

.w1928-menu-nav {
    list-style: none;
}

.w1928-menu-nav li {
    margin-bottom: 0.5rem;
}

.w1928-menu-nav a {
    display: block;
    padding: 1.2rem 1rem;
    color: var(--w1928-text);
    font-size: 1.5rem;
    border-radius: var(--w1928-radius-sm);
    transition: all 0.3s ease;
}

.w1928-menu-nav a:hover {
    background: var(--w1928-primary);
    color: var(--w1928-text);
}

/* Overlay */
.w1928-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;
}

.w1928-overlay-active {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
.w1928-main {
    padding-top: 70px;
    padding-bottom: 80px;
}

@media (max-width: 768px) {
    .w1928-main {
        padding-bottom: 80px;
    }
}

/* Carousel */
.w1928-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: var(--w1928-radius);
    margin-bottom: 2rem;
}

.w1928-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.w1928-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.w1928-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.w1928-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.w1928-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.w1928-dot-active {
    background: var(--w1928-secondary);
    width: 24px;
    border-radius: 4px;
}

/* Section */
.w1928-section {
    margin-bottom: 3rem;
}

.w1928-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--w1928-text);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.w1928-section-title i {
    color: var(--w1928-secondary);
}

/* Game Grid */
.w1928-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.w1928-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.w1928-game-item:hover {
    transform: scale(1.05);
}

.w1928-game-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--w1928-radius-sm);
    object-fit: cover;
    margin-bottom: 0.5rem;
    border: 2px solid var(--w1928-border);
    transition: border-color 0.3s ease;
}

.w1928-game-item:hover .w1928-game-img {
    border-color: var(--w1928-secondary);
}

.w1928-game-name {
    font-size: 1.1rem;
    color: var(--w1928-text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category Tabs */
.w1928-category-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--w1928-bg-card);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    color: var(--w1928-secondary);
    border: 1px solid var(--w1928-primary);
}

.w1928-category-label i {
    font-size: 1.6rem;
}

/* Cards */
.w1928-card {
    background: var(--w1928-bg-card);
    border-radius: var(--w1928-radius);
    padding: 1.5rem;
    border: 1px solid var(--w1928-border);
    margin-bottom: 1.5rem;
}

.w1928-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--w1928-secondary);
}

.w1928-card-text {
    color: var(--w1928-text-muted);
    font-size: 1.3rem;
    line-height: 1.6;
}

/* Promo Banner */
.w1928-promo-banner {
    background: var(--w1928-gradient);
    border-radius: var(--w1928-radius);
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.w1928-promo-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--w1928-text);
}

.w1928-promo-text {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Features Grid */
.w1928-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.w1928-feature-item {
    background: var(--w1928-bg-card);
    padding: 1.5rem;
    border-radius: var(--w1928-radius-sm);
    text-align: center;
    border: 1px solid var(--w1928-border);
}

.w1928-feature-icon {
    font-size: 2.8rem;
    color: var(--w1928-secondary);
    margin-bottom: 1rem;
}

.w1928-feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--w1928-text);
}

.w1928-feature-desc {
    font-size: 1.2rem;
    color: var(--w1928-text-muted);
}

/* FAQ */
.w1928-faq-item {
    background: var(--w1928-bg-card);
    border-radius: var(--w1928-radius-sm);
    margin-bottom: 1rem;
    border: 1px solid var(--w1928-border);
    overflow: hidden;
}

.w1928-faq-question {
    padding: 1.5rem;
    font-weight: 600;
    color: var(--w1928-text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.w1928-faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--w1928-text-muted);
    font-size: 1.3rem;
    line-height: 1.6;
}

/* Footer */
.w1928-footer {
    background: var(--w1928-bg-secondary);
    padding: 2rem 0;
    border-top: 1px solid var(--w1928-border);
}

.w1928-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.w1928-footer-links a {
    color: var(--w1928-text-muted);
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    border-radius: var(--w1928-radius-sm);
    transition: all 0.3s ease;
}

.w1928-footer-links a:hover {
    color: var(--w1928-secondary);
    background: rgba(204, 153, 255, 0.1);
}

.w1928-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.w1928-partners img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.w1928-partners img:hover {
    opacity: 1;
}

.w1928-copyright {
    text-align: center;
    color: var(--w1928-text-muted);
    font-size: 1.2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--w1928-border);
}

/* Bottom Navigation */
.w1928-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(14, 22, 33, 0.98) 0%, var(--w1928-bg) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.5rem 0;
    border-top: 1px solid var(--w1928-border);
    display: none;
}

@media (max-width: 768px) {
    .w1928-bottom-nav {
        display: block;
    }
}

.w1928-bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
}

.w1928-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 56px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: var(--w1928-radius-sm);
    padding: 0.5rem;
}

.w1928-nav-item:hover {
    background: rgba(204, 153, 255, 0.1);
}

.w1928-nav-item i {
    font-size: 22px;
    color: var(--w1928-text-muted);
    margin-bottom: 0.3rem;
    transition: color 0.3s ease;
}

.w1928-nav-item span {
    font-size: 10px;
    color: var(--w1928-text-muted);
    transition: color 0.3s ease;
}

.w1928-nav-item:hover i,
.w1928-nav-item:hover span {
    color: var(--w1928-secondary);
}

.w1928-nav-item.active i,
.w1928-nav-item.active span {
    color: var(--w1928-secondary);
}

/* Utilities */
.w1928-text-center {
    text-align: center;
}

.w1928-text-gradient {
    background: var(--w1928-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.w1928-mb-1 {
    margin-bottom: 0.5rem;
}

.w1928-mb-2 {
    margin-bottom: 1rem;
}

.w1928-mb-3 {
    margin-bottom: 1.5rem;
}

.w1928-mb-4 {
    margin-bottom: 2rem;
}

.w1928-py-2 {
    padding: 1rem 0;
}

.w1928-py-3 {
    padding: 1.5rem 0;
}

/* Responsive */
@media (min-width: 769px) {
    .w1928-bottom-nav {
        display: none !important;
    }

    .w1928-main {
        padding-bottom: 2rem;
    }
}

/* Desktop Navigation */
@media (min-width: 769px) {
    .w1928-desktop-nav {
        display: flex;
        gap: 2rem;
        align-items: center;
    }

    .w1928-desktop-nav a {
        color: var(--w1928-text-muted);
        font-size: 1.4rem;
        transition: color 0.3s ease;
    }

    .w1928-desktop-nav a:hover {
        color: var(--w1928-secondary);
    }
}

/* Promo Link Styles */
.w1928-promo-link {
    color: var(--w1928-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.w1928-promo-link:hover {
    color: var(--w1928-text);
    text-decoration: underline;
}

/* RTP Badge */
.w1928-rtp-badge {
    display: inline-block;
    background: var(--w1928-primary);
    color: var(--w1928-text);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Achievement Badge */
.w1928-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--w1928-bg-card);
    padding: 0.8rem 1.2rem;
    border-radius: 20px;
    font-size: 1.2rem;
    color: var(--w1928-text);
    border: 1px solid var(--w1928-border);
}

.w1928-badge i {
    color: var(--w1928-secondary);
}

/* List Styles */
.w1928-list {
    list-style: none;
}

.w1928-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--w1928-border);
    color: var(--w1928-text-muted);
    font-size: 1.3rem;
    line-height: 1.6;
}

.w1928-list li:last-child {
    border-bottom: none;
}

.w1928-list li i {
    color: var(--w1928-secondary);
    margin-right: 0.8rem;
}

/* Highlight Box */
.w1928-highlight {
    background: linear-gradient(135deg, rgba(128, 0, 128, 0.2) 0%, rgba(204, 153, 255, 0.1) 100%);
    border-left: 4px solid var(--w1928-primary);
    padding: 1.5rem;
    border-radius: 0 var(--w1928-radius-sm) var(--w1928-radius-sm) 0;
    margin: 1.5rem 0;
}

/* H1 Title */
h1.w1928-h1 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--w1928-text);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

/* Paragraph */
.w1928-paragraph {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--w1928-text-muted);
    margin-bottom: 1.5rem;
}
