/**
 * 369club - Core Stylesheet
 * Mobile-first responsive design
 * All classes use wfea9- prefix for namespace isolation
 */

/* CSS Variables */
:root {
    --wfea9-primary: #7CFC00;
    --wfea9-secondary: #DDA0DD;
    --wfea9-accent: #E9967A;
    --wfea9-dark: #3A3A3A;
    --wfea9-darker: #2a2a2a;
    --wfea9-darkest: #1a1a1a;
    --wfea9-text: #ffffff;
    --wfea9-text-muted: #cccccc;
    --wfea9-brown: #A0522D;
    --wfea9-gradient: linear-gradient(135deg, var(--wfea9-dark) 0%, var(--wfea9-darker) 100%);
    --wfea9-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --wfea9-radius: 12px;
    --wfea9-transition: all 0.3s ease;
}

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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    background: var(--wfea9-darkest);
    color: var(--wfea9-text);
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

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

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

/* Header */
.wfea9-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--wfea9-darkest);
    border-bottom: 1px solid rgba(124, 252, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}

.wfea9-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.wfea9-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.wfea9-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--wfea9-primary);
    letter-spacing: 1px;
}

.wfea9-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.wfea9-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--wfea9-transition);
    position: relative;
    overflow: hidden;
}

.wfea9-btn-primary {
    background: var(--wfea9-primary);
    color: var(--wfea9-dark);
}

.wfea9-btn-primary:hover {
    background: #6ad800;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 252, 0, 0.4);
}

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

.wfea9-btn-secondary:hover {
    background: var(--wfea9-primary);
    color: var(--wfea9-dark);
}

.wfea9-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: var(--wfea9-text);
    font-size: 2.4rem;
    cursor: pointer;
}

/* Mobile Menu */
.wfea9-mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--wfea9-darker);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.wfea9-menu-active {
    right: 0;
}

.wfea9-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: var(--wfea9-transition);
}

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

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

.wfea9-menu-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--wfea9-text);
    font-size: 2rem;
    cursor: pointer;
}

.wfea9-menu-nav {
    list-style: none;
}

.wfea9-menu-nav li {
    margin-bottom: 0.5rem;
}

.wfea9-menu-nav a {
    display: block;
    padding: 1.2rem 1.5rem;
    color: var(--wfea9-text);
    font-size: 1.5rem;
    border-radius: 8px;
    transition: var(--wfea9-transition);
}

.wfea9-menu-nav a:hover {
    background: rgba(124, 252, 0, 0.15);
    color: var(--wfea9-primary);
}

/* Main Content */
main {
    padding-top: 60px;
    padding-bottom: 2rem;
}

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

/* Carousel/Slider */
.wfea9-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
}

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

.wfea9-slide-active {
    opacity: 1;
}

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

.wfea9-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.wfea9-slide-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--wfea9-primary);
    margin-bottom: 0.5rem;
}

/* Section Styles */
.wfea9-section {
    padding: 3rem 0;
}

.wfea9-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--wfea9-primary);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.wfea9-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--wfea9-secondary);
    border-radius: 2px;
}

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

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

.wfea9-game-card:hover {
    transform: translateY(-4px);
    border-color: var(--wfea9-primary);
    box-shadow: 0 8px 20px rgba(124, 252, 0, 0.2);
}

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

.wfea9-game-name {
    padding: 0.8rem;
    font-size: 1.1rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--wfea9-text);
}

/* Category Section */
.wfea9-category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--wfea9-secondary);
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid var(--wfea9-primary);
}

/* Info Cards */
.wfea9-info-card {
    background: var(--wfea9-gradient);
    border-radius: var(--wfea9-radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(124, 252, 0, 0.1);
}

.wfea9-info-card h3 {
    color: var(--wfea9-primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.wfea9-info-card p {
    color: var(--wfea9-text-muted);
    font-size: 1.4rem;
    line-height: 1.6;
}

/* Feature List */
.wfea9-feature-list {
    list-style: none;
}

.wfea9-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wfea9-feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(124, 252, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wfea9-primary);
    font-size: 1.8rem;
    flex-shrink: 0;
}

.wfea9-feature-content h4 {
    font-size: 1.5rem;
    color: var(--wfea9-text);
    margin-bottom: 0.5rem;
}

.wfea9-feature-content p {
    font-size: 1.3rem;
    color: var(--wfea9-text-muted);
}

/* Testimonials */
.wfea9-testimonial {
    background: var(--wfea9-darker);
    border-radius: var(--wfea9-radius);
    padding: 2rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--wfea9-primary);
}

.wfea9-testimonial-text {
    font-size: 1.4rem;
    color: var(--wfea9-text-muted);
    font-style: italic;
    margin-bottom: 1rem;
}

.wfea9-testimonial-author {
    font-size: 1.3rem;
    color: var(--wfea9-secondary);
    font-weight: 600;
}

/* Payment Methods */
.wfea9-payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.wfea9-payment-item {
    background: var(--wfea9-darker);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.wfea9-payment-item i {
    font-size: 2.4rem;
    color: var(--wfea9-primary);
    margin-bottom: 0.5rem;
}

.wfea9-payment-item span {
    display: block;
    font-size: 1.2rem;
    color: var(--wfea9-text-muted);
}

/* Bottom Navigation */
.wfea9-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--wfea9-darkest);
    border-top: 1px solid rgba(124, 252, 0, 0.2);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0 0.5rem;
}

@media (min-width: 769px) {
    .wfea9-bottom-nav {
        display: none;
    }
}

.wfea9-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    padding: 0.5rem;
    color: var(--wfea9-text-muted);
    transition: var(--wfea9-transition);
    cursor: pointer;
    border-radius: 12px;
}

.wfea9-nav-item:hover,
.wfea9-nav-item-active {
    color: var(--wfea9-primary);
    background: rgba(124, 252, 0, 0.1);
}

.wfea9-nav-item i {
    font-size: 2.2rem;
    margin-bottom: 0.3rem;
}

.wfea9-nav-item span {
    font-size: 1rem;
    font-weight: 500;
}

/* Footer */
.wfea9-footer {
    background: var(--wfea9-darker);
    padding: 3rem 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(124, 252, 0, 0.1);
}

.wfea9-footer-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.wfea9-footer-brand p {
    font-size: 1.3rem;
    color: var(--wfea9-text-muted);
    line-height: 1.6;
    max-width: 350px;
    margin: 0 auto;
}

.wfea9-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.wfea9-footer-links a {
    padding: 0.8rem 1.5rem;
    background: rgba(124, 252, 0, 0.1);
    border-radius: 8px;
    font-size: 1.3rem;
    color: var(--wfea9-text);
    transition: var(--wfea9-transition);
}

.wfea9-footer-links a:hover {
    background: var(--wfea9-primary);
    color: var(--wfea9-dark);
}

.wfea9-footer-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--wfea9-text-muted);
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Ripple Effect */
.wfea9-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(124, 252, 0, 0.3);
    transform: scale(0);
    animation: wfea9-ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes wfea9-ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Promo Links */
.wfea9-promo-link {
    color: var(--wfea9-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--wfea9-transition);
}

.wfea9-promo-link:hover {
    color: var(--wfea9-secondary);
    text-decoration: underline;
}

.wfea9-promo-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--wfea9-primary), var(--wfea9-secondary));
    color: var(--wfea9-dark);
    font-size: 1.6rem;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--wfea9-transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wfea9-promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(124, 252, 0, 0.4);
}

/* RTP Stats */
.wfea9-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.wfea9-rtp-item {
    background: var(--wfea9-darker);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.wfea9-rtp-value {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--wfea9-primary);
}

.wfea9-rtp-label {
    font-size: 1.2rem;
    color: var(--wfea9-text-muted);
    margin-top: 0.5rem;
}

/* Winners Section */
.wfea9-winner-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--wfea9-darker);
    border-radius: 10px;
    margin-bottom: 0.8rem;
}

.wfea9-winner-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--wfea9-brown);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wfea9-text);
    font-weight: 700;
}

.wfea9-winner-info {
    flex: 1;
}

.wfea9-winner-game {
    font-size: 1.3rem;
    color: var(--wfea9-text);
}

.wfea9-winner-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--wfea9-primary);
}

/* App Download */
.wfea9-app-section {
    background: linear-gradient(135deg, var(--wfea9-dark), var(--wfea9-brown));
    border-radius: var(--wfea9-radius);
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.wfea9-app-section h3 {
    color: var(--wfea9-primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.wfea9-app-section p {
    color: var(--wfea9-text-muted);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.wfea9-app-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.wfea9-app-btn {
    padding: 1rem 2rem;
    background: var(--wfea9-primary);
    color: var(--wfea9-dark);
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--wfea9-transition);
}

.wfea9-app-btn:hover {
    background: var(--wfea9-secondary);
}

/* Utilities */
.wfea9-text-center { text-align: center; }
.wfea9-text-primary { color: var(--wfea9-primary); }
.wfea9-text-secondary { color: var(--wfea9-secondary); }
.wfea9-mb-1 { margin-bottom: 1rem; }
.wfea9-mb-2 { margin-bottom: 2rem; }
.wfea9-mt-2 { margin-top: 2rem; }
