/* jljl77 2025 Custom Styles */
/* All classes use wfed8- prefix to avoid conflicts */

:root {
    --wfed8-primary: #2E4057;
    --wfed8-secondary: #CD853F;
    --wfed8-light: #FFE4B5;
    --wfed8-dark: #1a1f2e;
    --wfed8-text: #f0f0f0;
    --wfed8-accent: #ff6b6b;
    --wfed8-success: #4ecdc4;
    --wfed8-warning: #ffd93d;
    --wfed8-gradient: linear-gradient(135deg, #2E4057 0%, #CD853F 100%);
}

* {
    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;
    font-size: 1.4rem;
    line-height: 1.5;
    background: var(--wfed8-primary);
    color: var(--wfed8-text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container */
.wfed8-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* Header Styles */
.wfed8-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(46, 64, 87, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.wfed8-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    height: 56px;
}

.wfed8-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--wfed8-light);
    font-weight: bold;
    font-size: 1.6rem;
}

.wfed8-logo img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.wfed8-nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.wfed8-btn {
    background: var(--wfed8-secondary);
    color: white;
    border: none;
    padding: 0.8rem 1.6rem;
    border-radius: 25px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wfed8-btn:hover {
    background: #b8762e;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(205, 133, 63, 0.4);
}

.wfed8-btn-primary {
    background: linear-gradient(135deg, var(--wfed8-secondary) 0%, #e6943d 100%);
}

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

.wfed8-btn-outline:hover {
    background: var(--wfed8-secondary);
    color: white;
}

.wfed8-menu-toggle {
    background: transparent;
    border: none;
    color: var(--wfed8-light);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
}

/* Mobile Menu */
.wfed8-mobile-menu {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: rgba(46, 64, 87, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    max-height: calc(100vh - 56px);
    overflow-y: auto;
}

.wfed8-menu-active {
    display: block !important;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.wfed8-nav-link {
    display: block;
    padding: 1.2rem 1rem;
    color: var(--wfed8-light);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 228, 181, 0.1);
    transition: all 0.3s ease;
    font-size: 1.4rem;
}

.wfed8-nav-link:hover {
    background: rgba(205, 133, 63, 0.2);
    padding-left: 2rem;
}

/* Main Content */
.wfed8-main {
    margin-top: 56px;
    padding-bottom: 70px;
    min-height: calc(100vh - 126px);
}

/* Carousel */
.wfed8-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.wfed8-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

/* Section Styles */
.wfed8-section {
    padding: 2rem 0;
}

.wfed8-title {
    font-size: 2.4rem;
    color: var(--wfed8-light);
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.wfed8-subtitle {
    font-size: 1.8rem;
    color: var(--wfed8-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Game Grid */
.wfed8-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.wfed8-game-card {
    background: rgba(255, 228, 181, 0.05);
    border-radius: 8px;
    padding: 0.8rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--wfed8-text);
}

.wfed8-game-card:hover {
    background: rgba(205, 133, 63, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(205, 133, 63, 0.3);
}

.wfed8-game-card img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.wfed8-game-name {
    font-size: 1.1rem;
    color: var(--wfed8-light);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Feature Cards */
.wfed8-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.wfed8-feature-card {
    background: linear-gradient(135deg, rgba(205, 133, 63, 0.1) 0%, rgba(255, 228, 181, 0.05) 100%);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(205, 133, 63, 0.3);
}

.wfed8-feature-icon {
    font-size: 3rem;
    color: var(--wfed8-secondary);
    margin-bottom: 1rem;
}

.wfed8-feature-title {
    font-size: 1.6rem;
    color: var(--wfed8-light);
    margin-bottom: 0.8rem;
}

.wfed8-feature-desc {
    color: rgba(255, 228, 181, 0.8);
    line-height: 1.6;
}

/* Promo Banner */
.wfed8-promo-banner {
    background: var(--wfed8-gradient);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(205, 133, 63, 0.3);
}

.wfed8-promo-title {
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
}

.wfed8-promo-desc {
    color: var(--wfed8-light);
    margin-bottom: 1.5rem;
}

/* FAQ Styles */
.wfed8-faq-item {
    background: rgba(255, 228, 181, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--wfed8-secondary);
}

.wfed8-faq-question {
    font-size: 1.5rem;
    color: var(--wfed8-light);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.wfed8-faq-answer {
    color: rgba(255, 228, 181, 0.9);
    line-height: 1.6;
}

/* Footer */
.wfed8-footer {
    background: var(--wfed8-dark);
    padding: 2rem 0 8rem;
    margin-top: 3rem;
}

.wfed8-footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.wfed8-footer-link {
    color: var(--wfed8-light);
    text-decoration: none;
    padding: 0.5rem;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.wfed8-footer-link:hover {
    color: var(--wfed8-secondary);
}

.wfed8-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 228, 181, 0.1);
}

.wfed8-partner-icon {
    width: 40px;
    height: 40px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.wfed8-partner-icon:hover {
    opacity: 1;
}

.wfed8-copyright {
    text-align: center;
    color: rgba(255, 228, 181, 0.6);
    font-size: 1.2rem;
    margin-top: 1rem;
}

/* Bottom Navigation */
.wfed8-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(46, 64, 87, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(205, 133, 63, 0.3);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

.wfed8-bottom-nav-item {
    flex: 1;
    text-align: center;
}

.wfed8-bottom-nav-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(255, 228, 181, 0.7);
    padding: 0.5rem;
    transition: all 0.3s ease;
    min-height: 44px;
}

.wfed8-bottom-nav-item a:hover,
.wfed8-bottom-active a {
    color: var(--wfed8-secondary);
}

.wfed8-bottom-nav-icon {
    font-size: 2.2rem;
    margin-bottom: 0.2rem;
}

.wfed8-bottom-nav-text {
    font-size: 1rem;
    font-weight: 500;
}

/* Utilities */
.wfed8-text-center { text-align: center; }
.wfed8-text-left { text-align: left; }
.wfed8-text-right { text-align: right; }
.wfed8-mt-1 { margin-top: 1rem; }
.wfed8-mt-2 { margin-top: 2rem; }
.wfed8-mb-1 { margin-bottom: 1rem; }
.wfed8-mb-2 { margin-bottom: 2rem; }
.wfed8-p-1 { padding: 1rem; }
.wfed8-p-2 { padding: 2rem; }

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.wfed8-fade-in {
    animation: fadeIn 0.5s ease;
}

.wfed8-slide-up {
    animation: slideUp 0.5s ease;
}

/* Responsive */
@media (max-width: 380px) {
    .wfed8-game-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }
    
    .wfed8-title {
        font-size: 2rem;
    }
    
    .wfed8-footer-links {
        grid-template-columns: 1fr;
    }
}