/**
 * Paldo Plus Layout Stylesheet
 * Class prefix: wc668-
 * Version: 1.0.0
 */

/* CSS Variables */
:root {
    --wc668-primary: #3A3A3A;
    --wc668-secondary: #008B8B;
    --wc668-text: #E8F5E8;
    --wc668-accent: #00B8B8;
    --wc668-dark: #1A1A1A;
    --wc668-light: #F5F5F5;
    --wc668-gradient: linear-gradient(135deg, #008B8B 0%, #00B8B8 100%);
    --wc668-shadow: 0 4px 15px rgba(0, 139, 139, 0.3);
    --wc668-radius: 12px;
    --wc668-transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--wc668-dark);
    color: var(--wc668-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--wc668-transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
.wc668-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(58, 58, 58, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    transition: var(--wc668-transition);
}

.wc668-header.wc668-scrolled {
    background: rgba(26, 26, 26, 0.98);
    box-shadow: var(--wc668-shadow);
}

.wc668-header-container {
    max-width: 430px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wc668-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wc668-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.wc668-logo-text {
    font-size: 20px;
    font-weight: 700;
    background: var(--wc668-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wc668-header-buttons {
    display: flex;
    gap: 10px;
}

.wc668-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: var(--wc668-transition);
}

.wc668-btn-login {
    background: transparent;
    border: 2px solid var(--wc668-secondary);
    color: var(--wc668-secondary);
}

.wc668-btn-login:hover {
    background: var(--wc668-secondary);
    color: var(--wc668-text);
}

.wc668-btn-register {
    background: var(--wc668-gradient);
    color: var(--wc668-text);
    box-shadow: var(--wc668-shadow);
}

.wc668-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 139, 139, 0.4);
}

/* Main Content */
main {
    padding-top: 70px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Banner Slider */
.wc668-banner {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
}

.wc668-banner-slides {
    position: relative;
    height: 200px;
}

.wc668-banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.wc668-banner-slide.wc668-active {
    opacity: 1;
}

.wc668-banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wc668-banner-content {
    position: absolute;
    bottom: 20px;
    left: 16px;
    right: 16px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.wc668-banner-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.wc668-banner-desc {
    font-size: 14px;
    opacity: 0.9;
}

/* Section Styles */
.wc668-section {
    padding: 24px 16px;
    max-width: 430px;
    margin: 0 auto;
}

.wc668-section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wc668-section-title i {
    color: var(--wc668-secondary);
}

/* Category Tabs */
.wc668-category-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 16px;
    -webkit-overflow-scrolling: touch;
}

.wc668-category-tab {
    flex-shrink: 0;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: var(--wc668-transition);
    border: 1px solid transparent;
}

.wc668-category-tab:hover {
    background: rgba(0, 139, 139, 0.2);
}

.wc668-category-tab.wc668-active {
    background: var(--wc668-gradient);
    color: white;
    border-color: var(--wc668-secondary);
}

/* Game Grid */
.wc668-games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.wc668-game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--wc668-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--wc668-transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wc668-game-card:hover {
    transform: translateY(-4px);
    border-color: var(--wc668-secondary);
    box-shadow: var(--wc668-shadow);
}

.wc668-game-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.wc668-game-name {
    padding: 8px;
    font-size: 11px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: rgba(0, 0, 0, 0.3);
}

.wc668-game-card.wc668-fade-in {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Features Section */
.wc668-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.wc668-feature-card {
    background: linear-gradient(145deg, rgba(0, 139, 139, 0.15), rgba(0, 184, 184, 0.05));
    border-radius: var(--wc668-radius);
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(0, 139, 139, 0.2);
    transition: var(--wc668-transition);
}

.wc668-feature-card:hover {
    border-color: var(--wc668-secondary);
    transform: translateY(-2px);
}

.wc668-feature-icon {
    font-size: 36px;
    margin-bottom: 12px;
    background: var(--wc668-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wc668-feature-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.wc668-feature-desc {
    font-size: 12px;
    opacity: 0.8;
    line-height: 1.4;
}

/* Promo Banner */
.wc668-promo-banner {
    background: var(--wc668-gradient);
    border-radius: var(--wc668-radius);
    padding: 24px;
    text-align: center;
    margin: 16px 0;
}

.wc668-promo-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.wc668-promo-desc {
    font-size: 14px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.wc668-promo-btn {
    display: inline-block;
    padding: 12px 32px;
    background: white;
    color: var(--wc668-secondary);
    border-radius: 25px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--wc668-transition);
}

.wc668-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Footer */
.wc668-footer {
    background: rgba(26, 26, 26, 0.95);
    padding: 32px 16px;
    margin-top: 24px;
}

.wc668-footer-content {
    max-width: 430px;
    margin: 0 auto;
}

.wc668-footer-logo {
    text-align: center;
    margin-bottom: 24px;
}

.wc668-footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.wc668-footer-logo h3 {
    font-size: 20px;
    background: var(--wc668-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wc668-footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.wc668-footer-link {
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-align: center;
    font-size: 13px;
    transition: var(--wc668-transition);
}

.wc668-footer-link:hover {
    background: rgba(0, 139, 139, 0.2);
    color: var(--wc668-accent);
}

.wc668-footer-partners {
    text-align: center;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 16px;
}

.wc668-footer-partners h4 {
    font-size: 14px;
    margin-bottom: 12px;
    opacity: 0.7;
}

.wc668-partner-logos {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.wc668-partner-logo {
    width: 50px;
    height: 30px;
    object-fit: contain;
    opacity: 0.7;
    transition: var(--wc668-transition);
}

.wc668-partner-logo:hover {
    opacity: 1;
}

.wc668-footer-copyright {
    text-align: center;
    font-size: 12px;
    opacity: 0.6;
}

/* Mobile Bottom Navigation */
.wc668-mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 139, 139, 0.3);
    display: none;
}

@media (max-width: 768px) {
    .wc668-mobile-nav {
        display: block;
    }
}

.wc668-mobile-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    max-width: 430px;
    margin: 0 auto;
}

.wc668-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 60px;
    min-height: 60px;
    padding: 8px;
    cursor: pointer;
    transition: var(--wc668-transition);
    border-radius: 12px;
    background: transparent;
    border: none;
    color: var(--wc668-text);
}

.wc668-nav-btn:hover {
    background: rgba(0, 139, 139, 0.15);
}

.wc668-nav-btn.active {
    color: var(--wc668-accent);
}

.wc668-nav-btn i {
    font-size: 24px;
}

.wc668-nav-btn span {
    font-size: 10px;
    font-weight: 500;
}

/* Mobile Menu */
.wc668-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: rgba(26, 26, 26, 0.98);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.wc668-mobile-menu.wc668-active {
    right: 0;
}

.wc668-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--wc668-transition);
}

.wc668-menu-overlay.wc668-active {
    opacity: 1;
    visibility: visible;
}

.wc668-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wc668-menu-close {
    font-size: 24px;
    cursor: pointer;
    color: var(--wc668-text);
}

.wc668-menu-links {
    padding: 16px;
}

.wc668-menu-link {
    display: block;
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: var(--wc668-transition);
}

.wc668-menu-link:hover {
    background: rgba(0, 139, 139, 0.2);
    color: var(--wc668-accent);
}

body.wc668-menu-open {
    overflow: hidden;
}

/* Help Page Styles */
.wc668-help-hero {
    background: var(--wc668-gradient);
    padding: 40px 16px;
    text-align: center;
    border-radius: 0 0 20px 20px;
}

.wc668-help-hero h1 {
    font-size: 28px;
    margin-bottom: 12px;
}

.wc668-help-hero p {
    font-size: 16px;
    opacity: 0.9;
}

.wc668-help-content {
    padding: 24px 16px;
    max-width: 430px;
    margin: 0 auto;
}

.wc668-help-section {
    margin-bottom: 24px;
}

.wc668-help-section h2 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--wc668-accent);
    display: flex;
    align-items: center;
    gap: 10px;
}

.wc668-help-section p {
    margin-bottom: 12px;
    line-height: 1.7;
}

.wc668-help-list {
    list-style: none;
    padding: 0;
}

.wc668-help-list li {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wc668-help-list li i {
    color: var(--wc668-secondary);
    font-size: 18px;
}

/* CTA Section */
.wc668-cta {
    background: linear-gradient(145deg, rgba(0, 139, 139, 0.2), rgba(0, 184, 184, 0.1));
    border-radius: var(--wc668-radius);
    padding: 24px;
    text-align: center;
    margin: 24px 0;
    border: 1px solid rgba(0, 139, 139, 0.3);
}

.wc668-cta h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.wc668-cta p {
    font-size: 14px;
    margin-bottom: 16px;
    opacity: 0.9;
}

/* Desktop Navigation */
@media (min-width: 769px) {
    .wc668-header-container {
        max-width: 1200px;
    }

    .wc668-section {
        max-width: 1200px;
    }

    .wc668-games-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .wc668-features {
        grid-template-columns: repeat(4, 1fr);
    }

    .wc668-footer-content {
        max-width: 1200px;
    }

    .wc668-footer-links {
        grid-template-columns: repeat(4, 1fr);
    }

    .wc668-banner-slides {
        height: 350px;
    }
}

/* Utility Classes */
.wc668-text-center {
    text-align: center;
}

.wc668-mt-16 {
    margin-top: 16px;
}

.wc668-mb-16 {
    margin-bottom: 16px;
}

.wc668-hidden-mobile {
    display: none;
}

@media (min-width: 769px) {
    .wc668-hidden-mobile {
        display: block;
    }
}
