/**
 * 29jl ph - Main Stylesheet
 * Prefix: w120a-
 * Version: 1.0.0
 * Color Palette: #212F3D (primary bg) | #DEE2E6 (text) | #FFB6C1 (accent) | #DC143C (highlight)
 */

/* CSS Reset & Variables */
:root {
    --w120a-primary: #212F3D;
    --w120a-secondary: #1a2530;
    --w120a-text: #DEE2E6;
    --w120a-text-light: #a8b0b8;
    --w120a-accent: #FFB6C1;
    --w120a-highlight: #DC143C;
    --w120a-gold: #FFD700;
    --w120a-success: #28a745;
    --w120a-gradient: linear-gradient(135deg, #DC143C 0%, #FFB6C1 100%);
    --w120a-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --w120a-radius: 8px;
    --w120a-radius-lg: 16px;
}

* {
    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(--w120a-primary);
    color: var(--w120a-text);
    line-height: 1.5;
    font-size: 1.6rem;
    min-height: 100vh;
}

a {
    color: var(--w120a-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--w120a-highlight);
}

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

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

/* Header Styles */
.w120a-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--w120a-secondary);
    padding: 1rem 1.5rem;
    z-index: 1000;
    box-shadow: var(--w120a-shadow);
    transition: background 0.3s ease;
}

.w120a-header-scrolled {
    background: rgba(26, 37, 48, 0.98);
}

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

.w120a-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.w120a-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.w120a-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--w120a-accent);
}

.w120a-header-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.w120a-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: var(--w120a-radius);
    font-weight: 600;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 44px;
}

.w120a-btn-primary {
    background: var(--w120a-gradient);
    color: #fff;
}

.w120a-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
}

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

.w120a-btn-secondary:hover {
    background: var(--w120a-accent);
    color: var(--w120a-primary);
}

.w120a-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.w120a-menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--w120a-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

.w120a-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;
}

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

.w120a-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--w120a-text);
    font-size: 2.4rem;
    cursor: pointer;
}

.w120a-menu-links {
    margin-top: 4rem;
    list-style: none;
}

.w120a-menu-links li {
    margin-bottom: 1.5rem;
}

.w120a-menu-links a {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--w120a-text);
    font-size: 1.6rem;
    padding: 1rem;
    border-radius: var(--w120a-radius);
    transition: all 0.3s ease;
}

.w120a-menu-links a:hover {
    background: rgba(255, 182, 193, 0.1);
    color: var(--w120a-accent);
}

/* Hero/Slider Section */
.w120a-hero {
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.w120a-slider {
    position: relative;
}

.w120a-slide {
    display: none;
    cursor: pointer;
}

.w120a-slide:first-child {
    display: block;
}

.w120a-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0 0 var(--w120a-radius-lg) var(--w120a-radius-lg);
}

.w120a-slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
}

.w120a-slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.w120a-dot-active {
    background: var(--w120a-accent);
    transform: scale(1.2);
}

/* Main Content */
.w120a-main {
    padding: 2rem 1.5rem 10rem;
    max-width: 430px;
    margin: 0 auto;
}

.w120a-section {
    margin-bottom: 3rem;
}

.w120a-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--w120a-accent);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

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

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

.w120a-game-card {
    background: var(--w120a-secondary);
    border-radius: var(--w120a-radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 182, 193, 0.1);
}

.w120a-game-card:hover {
    transform: translateY(-4px);
    border-color: var(--w120a-accent);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.2);
}

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

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

/* Category Tabs */
.w120a-category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--w120a-text);
    margin: 2rem 0 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.w120a-category-title i {
    color: var(--w120a-highlight);
}

/* Features Grid */
.w120a-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.w120a-feature-card {
    background: var(--w120a-secondary);
    padding: 2rem;
    border-radius: var(--w120a-radius-lg);
    text-align: center;
    border: 1px solid rgba(255, 182, 193, 0.1);
    transition: all 0.3s ease;
}

.w120a-feature-card:hover {
    border-color: var(--w120a-accent);
    transform: translateY(-3px);
}

.w120a-feature-icon {
    font-size: 3.5rem;
    color: var(--w120a-highlight);
    margin-bottom: 1rem;
}

.w120a-feature-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--w120a-accent);
    margin-bottom: 0.8rem;
}

.w120a-feature-text {
    font-size: 1.3rem;
    color: var(--w120a-text-light);
    line-height: 1.5;
}

/* Promo CTA */
.w120a-promo-cta {
    background: var(--w120a-gradient);
    padding: 2.5rem;
    border-radius: var(--w120a-radius-lg);
    text-align: center;
    margin: 2rem 0;
}

.w120a-promo-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.w120a-promo-text {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.w120a-btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.6rem;
    background: #fff;
    color: var(--w120a-highlight);
    border-radius: 50px;
    font-weight: 700;
}

.w120a-btn-large:hover {
    transform: scale(1.05);
}

/* Info Cards */
.w120a-info-card {
    background: var(--w120a-secondary);
    padding: 2rem;
    border-radius: var(--w120a-radius-lg);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--w120a-highlight);
}

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

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

/* Testimonials */
.w120a-testimonials {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.w120a-testimonial {
    background: var(--w120a-secondary);
    padding: 1.5rem;
    border-radius: var(--w120a-radius);
    position: relative;
}

.w120a-testimonial::before {
    content: '"';
    font-size: 4rem;
    color: var(--w120a-accent);
    opacity: 0.3;
    position: absolute;
    top: 0;
    left: 1rem;
    line-height: 1;
}

.w120a-testimonial-text {
    font-size: 1.4rem;
    color: var(--w120a-text);
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.w120a-testimonial-author {
    font-size: 1.2rem;
    color: var(--w120a-accent);
    font-weight: 600;
}

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

.w120a-payment-item {
    background: var(--w120a-secondary);
    padding: 1.5rem;
    border-radius: var(--w120a-radius);
    text-align: center;
    font-size: 1.3rem;
    color: var(--w120a-text);
    border: 1px solid rgba(255, 182, 193, 0.1);
}

.w120a-payment-item i {
    font-size: 2.4rem;
    color: var(--w120a-accent);
    margin-bottom: 0.5rem;
    display: block;
}

/* Winners Showcase */
.w120a-winners-list {
    background: var(--w120a-secondary);
    border-radius: var(--w120a-radius-lg);
    padding: 1.5rem;
}

.w120a-winner-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 182, 193, 0.1);
}

.w120a-winner-item:last-child {
    border-bottom: none;
}

.w120a-winner-name {
    font-weight: 600;
    color: var(--w120a-text);
}

.w120a-winner-game {
    font-size: 1.2rem;
    color: var(--w120a-text-light);
}

.w120a-winner-amount {
    color: var(--w120a-gold);
    font-weight: 700;
    font-size: 1.4rem;
}

/* Footer */
.w120a-footer {
    background: var(--w120a-secondary);
    padding: 3rem 1.5rem 2rem;
    margin-top: 2rem;
}

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

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

.w120a-footer-brand p {
    font-size: 1.3rem;
    color: var(--w120a-text-light);
    line-height: 1.6;
    margin-top: 1rem;
}

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

.w120a-footer-link {
    background: var(--w120a-primary);
    padding: 0.8rem 1.5rem;
    border-radius: var(--w120a-radius);
    font-size: 1.3rem;
    color: var(--w120a-text);
    transition: all 0.3s ease;
}

.w120a-footer-link:hover {
    background: var(--w120a-highlight);
    color: #fff;
}

.w120a-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 182, 193, 0.1);
    border-bottom: 1px solid rgba(255, 182, 193, 0.1);
}

.w120a-footer-nav a {
    font-size: 1.3rem;
    color: var(--w120a-text-light);
}

.w120a-footer-nav a:hover {
    color: var(--w120a-accent);
}

.w120a-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--w120a-text-light);
    padding-top: 1.5rem;
}

/* Mobile Bottom Navigation */
.w120a-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--w120a-secondary);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 182, 193, 0.2);
}

.w120a-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    color: var(--w120a-text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.w120a-nav-item:hover,
.w120a-nav-item.w120a-active {
    color: var(--w120a-accent);
    transform: scale(1.1);
}

.w120a-nav-item i {
    font-size: 24px;
    margin-bottom: 4px;
}

.w120a-nav-item span {
    font-size: 11px;
    font-weight: 500;
}

.w120a-nav-item.w120a-active {
    color: var(--w120a-highlight);
}

/* Desktop Hidden */
@media (min-width: 769px) {
    .w120a-bottom-nav {
        display: none;
    }

    .w120a-main {
        padding-bottom: 3rem;
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .w120a-main {
        padding-bottom: 80px;
    }
}

/* Animation Classes */
.w120a-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

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

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

.w120a-mb-1 {
    margin-bottom: 1rem;
}

.w120a-mb-2 {
    margin-bottom: 2rem;
}

.w120a-mt-2 {
    margin-top: 2rem;
}

.w120a-highlight-text {
    color: var(--w120a-highlight);
    font-weight: 600;
}

.w120a-accent-text {
    color: var(--w120a-accent);
}

/* Responsive adjustments */
@media (max-width: 380px) {
    .w120a-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .w120a-features-grid {
        grid-template-columns: 1fr;
    }

    .w120a-payment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
