﻿/**
 * ==========================================
 *  JUTALOMPONT - PAGE SPECIFIC STYLES
 *  Home, Contact, 404, Page, Refer, Converter
 *  2025 Modern Edition
 * ==========================================
 */

/* ============================================
   HERO SECTION CSS VARIABLES
   ============================================ */
:root {
    /* Light mode hero variables */
    --hero-bg-start: #f8fafc;
    --hero-bg-end: #e0e7ff;
    --hero-shape-opacity: 0.15;
    --hero-badge-bg: rgba(99, 102, 241, 0.1);
    --hero-badge-text: var(--jp-primary);
    --hero-card-bg: var(--jp-bg-card);
    --hero-card-text: var(--jp-text);
    --hero-card-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    --hero-outline-btn-color: var(--jp-primary);
    --hero-outline-btn-border: var(--jp-primary);
}

[data-bs-theme="dark"],
.dark,
:root.dark {
    /* Dark mode hero variables */
    --hero-bg-start: #0f172a;
    --hero-bg-end: #1e1b4b;
    --hero-shape-opacity: 0.08;
    --hero-badge-bg: rgba(255, 255, 255, 0.1);
    --hero-badge-text: #ffffff;
    --hero-card-bg: #ffffff;
    --hero-card-text: #1e293b;
    --hero-card-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    --hero-outline-btn-color: #ffffff;
    --hero-outline-btn-border: rgba(255, 255, 255, 0.5);
}

/* ============================================
   HOME PAGE STYLES
   ============================================ */
/* Hero Section - Full Screen Layout */
.hero-section {
    background: linear-gradient(135deg, var(--hero-bg-start) 0%, var(--hero-bg-end) 100%);
    color: var(--jp-text);
    position: relative;
    overflow: hidden;
    width: 100%;
    /* Stabil, mobilbarát viewport magasság */
    min-height: calc(var(--viewport-height, 100vh) - var(--header-height) + 40px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 60px;
    margin-top: calc(-1 * var(--header-height));
    box-sizing: border-box;
}

/* Hero content wrapper for vertical centering */
.hero-section > .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    width: 100%;
}

.hero-section .row {
    align-items: center;
    min-height: calc(100vh - var(--header-height) - 160px);
}

.min-vh-80 {
    min-height: 80vh;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--jp-primary), var(--jp-secondary));
    opacity: var(--hero-shape-opacity);
}

.shape-1 { width: 500px; height: 500px; top: -200px; right: -100px; }
.shape-2 { width: 300px; height: 300px; bottom: -100px; left: -50px; }
.shape-3 { width: 200px; height: 200px; top: 50%; right: 30%; }

/* Ensure hero content is above shapes */
.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: var(--hero-badge-bg);
    color: var(--hero-badge-text);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--jp-text);
}

.text-gradient {
    background: linear-gradient(135deg, var(--jp-primary), var(--jp-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--jp-text-secondary);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
    padding: 15px 20px;
    background: var(--jp-bg-card);
    border-radius: 16px;
    border: 1px solid var(--jp-border);
    box-shadow: var(--jp-shadow-sm);
}

/* Hero stats specific - ensure visibility in light mode */
.hero-stats .stat-item .stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--jp-primary) !important;
}

.hero-stats .stat-item .stat-label {
    font-size: 0.85rem;
    color: var(--jp-text-muted) !important;
}

.stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--jp-primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--jp-text-muted);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Hero outline button - theme aware */
.hero-section .btn-outline-light {
    color: var(--hero-outline-btn-color);
    border-color: var(--hero-outline-btn-border);
    background: transparent;
}

.hero-section .btn-outline-light:hover {
    background: var(--jp-primary);
    border-color: var(--jp-primary);
    color: #ffffff;
}

.btn-glow {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 20px rgba(99, 102, 241, 0.4); }
    to { box-shadow: 0 0 30px rgba(99, 102, 241, 0.7); }
}

/* Hero Illustration */
.hero-illustration {
    position: relative;
    height: 500px;
}

.hero-phone {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 500px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.phone-screen {
    background: #1e293b;
    border-radius: 30px;
    height: 100%;
    padding: 30px 20px;
}

.phone-header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.phone-balance {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--jp-primary);
}

.phone-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    margin-bottom: 10px;
    color: #ffffff;
}

.floating-card {
    position: absolute;
    background: var(--hero-card-bg);
    padding: 15px 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--hero-card-shadow);
    animation: float 3s ease-in-out infinite;
    color: var(--hero-card-text);
    font-weight: 600;
    border: 1px solid var(--jp-border);
}

.card-1 { top: 10%; left: 0; animation-delay: 0s; }
.card-2 { top: 40%; right: 0; animation-delay: 1s; }
.card-3 { bottom: 15%; left: 10%; animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Hero modern tweaks */
.hero-modern .hero-title {
    font-size: 3.2rem;
    letter-spacing: -0.5px;
}

.hero-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-bullet {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--jp-bg-card);
    border: 1px solid var(--jp-border);
    border-radius: 12px;
    color: var(--jp-text);
    box-shadow: var(--jp-shadow-sm);
}

.hero-bullet i {
    color: var(--jp-success);
}

.hero-proof-row {
    margin-top: 25px;
    padding: 16px;
    background: var(--jp-bg-card);
    border-radius: 16px;
    border: 1px solid var(--jp-border);
    box-shadow: var(--jp-shadow-lg);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.hero-proof-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-proof-item i {
    color: var(--jp-primary);
    font-size: 1.4rem;
}

.hero-proof-item strong {
    display: block;
    color: var(--jp-text);
    font-size: 1.1rem;
}

.proof-label {
    display: block;
    color: var(--jp-text-muted);
    font-size: 0.9rem;
    margin-bottom: 2px;
}

/* Trust Section */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--jp-text-muted);
}

.trust-badge i {
    color: var(--jp-success);
    font-size: 1.2rem;
}

/* Stat Cards */
.stat-card {
    background: var(--jp-bg-card);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--jp-shadow-lg);
    height: 100%;
}

.stat-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.stat-card-primary .stat-card-icon { background: rgba(99,102,241,0.1); color: var(--jp-primary); }
.stat-card-success .stat-card-icon { background: rgba(34,197,94,0.1); color: var(--jp-success); }
.stat-card-warning .stat-card-icon { background: rgba(245,158,11,0.1); color: var(--jp-warning); }
.stat-card-info .stat-card-icon { background: rgba(6,182,212,0.1); color: var(--jp-info); }

.stat-card-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--jp-text);
}

.stat-card-label {
    font-size: 0.85rem;
    color: var(--jp-text-muted);
}

/* Proof grid */
.proof-section {
    padding: 80px 0 40px;
    background: linear-gradient(180deg, rgba(99,102,241,0.04) 0%, transparent 40%);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.proof-card {
    background: var(--jp-bg-card);
    border: 1px solid var(--jp-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--jp-shadow-lg);
}

.proof-card-primary {
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(99,102,241,0.02));
    border-color: rgba(99,102,241,0.2);
}

.proof-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(99,102,241,0.12);
    color: var(--jp-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.proof-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--jp-text);
    margin: 0;
}

.proof-note {
    color: var(--jp-text-muted);
    margin: 6px 0 0;
}

.payout-strip {
    border: 1px solid var(--jp-border);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--jp-bg-card);
    box-shadow: var(--jp-shadow-md);
}

.payout-label {
    font-weight: 700;
    color: var(--jp-text);
    white-space: nowrap;
}

.payout-logos {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.payout-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(99,102,241,0.08);
    color: var(--jp-text);
    border: 1px solid rgba(99,102,241,0.15);
    font-weight: 600;
}

.payout-logo i {
    color: var(--jp-primary);
}

/* Section Headers */
.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--jp-primary), var(--jp-secondary));
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--jp-text);
    margin-bottom: 15px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--jp-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Step Cards */
.step-card {
    background: var(--jp-bg-card);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    position: relative;
    box-shadow: var(--jp-shadow-lg);
    transition: all 0.3s;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--jp-primary), var(--jp-secondary));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(99,102,241,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--jp-primary);
    margin: 0 auto 20px;
}

.step-card h4 {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--jp-text);
}

.step-card p {
    color: var(--jp-text-muted);
    margin: 0;
}

/* Earning Cards */
.earning-card {
    background: var(--jp-bg-card);
    border-radius: 20px;
    padding: 35px 30px;
    height: 100%;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s;
    box-shadow: var(--jp-shadow-lg);
}

.earning-card:hover {
    border-color: var(--jp-primary);
    transform: translateY(-5px);
}

.earning-card.featured {
    border-color: var(--jp-success);
    background: linear-gradient(180deg, rgba(34,197,94,0.05) 0%, var(--jp-bg-card) 100%);
}

.earning-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--jp-success);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.earning-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 20px;
}

.bg-gradient-primary { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.bg-gradient-success { background: linear-gradient(135deg, #22c55e, #16a34a); }
.bg-gradient-warning { background: linear-gradient(135deg, #f59e0b, #d97706); }
.bg-gradient-info { background: linear-gradient(135deg, #06b6d4, #0284c7); }
.bg-gradient-danger { background: linear-gradient(135deg, #ef4444, #dc2626); }
.bg-gradient-purple { background: linear-gradient(135deg, #a855f7, #7c3aed); }

.earning-card h4 {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--jp-text);
}

.earning-card p {
    color: var(--jp-text-muted);
    margin-bottom: 20px;
}

.earning-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.earning-features li {
    padding: 8px 0;
    color: var(--jp-text);
    font-size: 0.9rem;
}

.earning-features i {
    color: var(--jp-success);
    margin-right: 10px;
}

/* Payment Methods */
.payment-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.payment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 25px 40px;
    background: var(--jp-bg-card);
    border-radius: 16px;
    box-shadow: var(--jp-shadow-lg);
    transition: all 0.3s;
}

.payment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.payment-item i {
    font-size: 2.5rem;
    color: var(--jp-primary);
}

.payment-item span {
    font-weight: 600;
    color: var(--jp-text);
}

.security-section {
    background: linear-gradient(180deg, transparent 0%, rgba(99,102,241,0.03) 100%);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.security-card {
    background: var(--jp-bg-card);
    border: 1px solid var(--jp-border);
    border-radius: 16px;
    padding: 22px;
    box-shadow: var(--jp-shadow-lg);
    height: 100%;
}

.security-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.security-card h4 {
    font-weight: 700;
    color: var(--jp-text);
    margin-bottom: 8px;
}

.security-card p {
    color: var(--jp-text-muted);
    margin: 0;
}

.testimonial-section {
    background: var(--jp-bg);
}

.testimonial-card {
    background: var(--jp-bg-card);
    border: 1px solid var(--jp-border);
    border-radius: 16px;
    padding: 22px;
    box-shadow: var(--jp-shadow-lg);
    height: 100%;
}

.testimonial-quote {
    color: var(--jp-text);
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 16px;
}

.testimonial-quote i {
    color: var(--jp-primary);
    margin-right: 8px;
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-name {
    font-weight: 700;
    color: var(--jp-text);
}

.testimonial-role {
    color: var(--jp-text-muted);
    font-size: 0.95rem;
}

/* News Cards */
.news-card {
    background: var(--jp-bg-card);
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    position: relative;
    box-shadow: var(--jp-shadow-lg);
    transition: all 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--jp-primary);
    color: #fff;
    padding: 10px;
    border-radius: 12px;
    text-align: center;
    line-height: 1.2;
}

.news-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.news-date .month {
    font-size: 0.75rem;
    text-transform: uppercase;
}

.news-card h4 {
    font-weight: 700;
    margin-bottom: 15px;
    padding-right: 70px;
    color: var(--jp-text);
}

.news-card p {
    color: var(--jp-text-muted);
    margin-bottom: 20px;
}

.news-link {
    color: var(--jp-primary);
    font-weight: 600;
    text-decoration: none;
}

.news-link:hover {
    color: var(--jp-primary-dark);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--jp-primary) 0%, #7c3aed 100%);
}

.cta-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    color: #fff;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

@media (max-width: 768px) {
    /* Hero responsive - mobile */
    .hero-section {
        min-height: calc(var(--viewport-height, 100vh) - var(--header-height) + 24px);
        padding-top: calc(var(--header-height) + 30px);
        padding-bottom: 40px;
        margin-top: 0; /* Ne csússzon a navbar mögé mobilon */
    }
    
    .hero-section .row {
        min-height: auto;
    }
    
    .hero-title { font-size: 2.2rem; }
    .hero-stats { 
        gap: 15px; 
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero-stats .stat-item {
        flex: 1 1 calc(50% - 10px);
        min-width: 120px;
    }
    .stat-value { font-size: 1.4rem; }
    .hero-description {
        font-size: 1rem;
    }
    .hero-illustration {
        height: 300px;
        margin-top: 30px;
    }
    .hero-bullets { flex-direction: column; }
    .hero-proof-row { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
    .section-title { font-size: 1.8rem; }
    .cta-card { text-align: center; justify-content: center; }
}

@media (max-width: 576px) {
    /* Hero responsive - small mobile */
    .hero-section {
        padding: 30px 0;
    }
    
    .hero-title { 
        font-size: 1.8rem; 
    }
    
    .hero-stats {
        gap: 10px;
    }
    
    .hero-stats .stat-item {
        padding: 12px 15px;
    }
    
    .stat-value { 
        font-size: 1.2rem; 
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-proof-row {
        grid-template-columns: 1fr;
        padding: 12px;
    }
    
    .hero-proof-item {
        align-items: flex-start;
    }
}


/* ============================================
   CONTACT.PHP STYLES
   ============================================ */
.contact-container {
        max-width: 900px;
        margin: 0 auto;
    }
    
    .contact-header {
        background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
        border-radius: 24px;
        padding: 3rem;
        color: white;
        text-align: center;
        position: relative;
        overflow: hidden;
        margin-bottom: 2rem;
    }
    
    .contact-header::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 100%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    }
    
    .contact-header-content {
        position: relative;
        z-index: 1;
    }
    
    .contact-icon {
        width: 80px;
        height: 80px;
        background: rgba(255,255,255,0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem;
        font-size: 2rem;
    }
    
    .contact-header h1 {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }
    
    .contact-header p {
        opacity: 0.9;
        margin: 0;
    }
    
    .contact-grid {
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        gap: 2rem;
    }
    
    .contact-info {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .info-card {
        background: var(--card-bg, #fff);
        border-radius: 16px;
        padding: 1.5rem;
        border: 1px solid var(--border-color, #e5e7eb);
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        transition: all 0.3s ease;
    }
    
    .info-card:hover {
        transform: translateX(5px);
        border-color: #6366f1;
    }
    
    .info-icon {
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, #6366f1, #8b5cf6);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.25rem;
        flex-shrink: 0;
    }
    
    .info-content h4 {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.25rem;
        color: var(--text-primary, #1f2937);
    }
    
    .info-content p {
        font-size: 0.9rem;
        color: var(--text-secondary, #6b7280);
        margin: 0;
    }
    
    .contact-form-card {
        background: var(--card-bg, #fff);
        border-radius: 20px;
        padding: 2rem;
        border: 1px solid var(--border-color, #e5e7eb);
        box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-group label {
        display: block;
        font-weight: 500;
        margin-bottom: 0.5rem;
        color: var(--text-primary, #1f2937);
    }
    
    .form-control {
        width: 100%;
        padding: 0.875rem 1rem;
        border: 2px solid var(--border-color, #e5e7eb);
        border-radius: 12px;
        font-size: 1rem;
        transition: all 0.3s ease;
        background: var(--input-bg, #fff);
        color: var(--text-primary, #1f2937);
    }
    
    .form-control:focus {
        outline: none;
        border-color: #6366f1;
        box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    }
    
    textarea.form-control {
        resize: vertical;
        min-height: 120px;
    }
    
    .btn-submit {
        width: 100%;
        padding: 1rem;
        background: linear-gradient(135deg, #6366f1, #8b5cf6);
        border: none;
        border-radius: 12px;
        color: white;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .btn-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    }
    
    .alert {
        padding: 1rem 1.25rem;
        border-radius: 12px;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    
    .alert-success {
        background: rgba(16, 185, 129, 0.1);
        border: 1px solid rgba(16, 185, 129, 0.3);
        color: #059669;
    }
    
    .alert-danger {
        background: rgba(239, 68, 68, 0.1);
        border: 1px solid rgba(239, 68, 68, 0.3);
        color: #dc2626;
    }
    
    /* Dark mode */
    [data-theme="dark"] {
        --card-bg: #1e1e2d;
        --border-color: #3a3a5c;
        --text-primary: #fff;
        --text-secondary: #a0a0b8;
        --input-bg: #252540;
    }
    
    [data-theme="dark"] .alert-success {
        color: #6ee7b7;
    }
    
    [data-theme="dark"] .alert-danger {
        color: #fca5a5;
    }
    
    @media (max-width: 768px) {
        .contact-grid {
            grid-template-columns: 1fr;
        }
        
        .contact-info {
            order: 2;
        }
    }


/* ============================================
   404.PHP STYLES
   ============================================ */
.error-container {
        min-height: 60vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 3rem 1rem;
    }
    
    .error-icon {
        width: 150px;
        height: 150px;
        background: linear-gradient(135deg, #6366f1, #8b5cf6);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 2rem;
        position: relative;
    }
    
    .error-icon::before {
        content: '';
        position: absolute;
        inset: -10px;
        border-radius: 50%;
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3));
        animation: pulse 2s ease-in-out infinite;
    }
    
    @keyframes pulse {
        0%, 100% { transform: scale(1); opacity: 1; }
        50% { transform: scale(1.1); opacity: 0.7; }
    }
    
    .error-icon i {
        font-size: 4rem;
        color: white;
        position: relative;
        z-index: 1;
    }
    
    .error-code {
        font-size: 8rem;
        font-weight: 800;
        background: linear-gradient(135deg, #6366f1, #8b5cf6);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        line-height: 1;
        margin-bottom: 1rem;
    }
    
    .error-title {
        font-size: 2rem;
        font-weight: 700;
        color: var(--jp-text);
        margin-bottom: 1rem;
    }
    
    .error-description {
        font-size: 1.1rem;
        color: var(--jp-text-muted, #6b7280);
        max-width: 500px;
        margin-bottom: 2rem;
        line-height: 1.6;
    }
    
    .error-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    
    .btn-home {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 1rem 2rem;
        background: linear-gradient(135deg, #6366f1, #8b5cf6);
        color: white;
        border-radius: 12px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .btn-home:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
        color: white;
    }
    
    .btn-back {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 1rem 2rem;
        background: var(--jp-bg-card, #fff);
        color: var(--jp-text);
        border: 2px solid var(--jp-border, #e5e7eb);
        border-radius: 12px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .btn-back:hover {
        border-color: #6366f1;
        color: #6366f1;
    }


/* ============================================
   PAGE.PHP STYLES
   ============================================ */
.page-hero {
        background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
        border-radius: 24px;
        padding: 3rem;
        color: white;
        text-align: center;
        position: relative;
        overflow: hidden;
        margin-bottom: 2rem;
    }
    
    .page-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        opacity: 0.5;
    }
    
    .page-hero-content {
        position: relative;
        z-index: 1;
    }
    
    .page-hero-icon {
        width: 80px;
        height: 80px;
        background: rgba(255,255,255,0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem;
        font-size: 2rem;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 0;
    }
    
    .page-content-card {
        background: var(--jp-bg-card, #fff);
        border-radius: 20px;
        padding: 2.5rem;
        border: 1px solid var(--jp-border, #e5e7eb);
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    }
    
    .page-content-card h2,
    .page-content-card h3,
    .page-content-card h4 {
        color: var(--jp-text);
        font-weight: 600;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .page-content-card h2:first-child,
    .page-content-card h3:first-child,
    .page-content-card h4:first-child {
        margin-top: 0;
    }
    
    .page-content-card p {
        color: var(--jp-text, #374151);
        line-height: 1.8;
        margin-bottom: 1rem;
    }
    
    .page-content-card ul,
    .page-content-card ol {
        color: var(--jp-text, #374151);
        padding-left: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .page-content-card li {
        margin-bottom: 0.5rem;
        line-height: 1.6;
    }
    
    .page-content-card a {
        color: #6366f1;
        text-decoration: none;
    }
    
    .page-content-card a:hover {
        text-decoration: underline;
    }
    
    .page-content-card blockquote {
        border-left: 4px solid #6366f1;
        padding-left: 1.5rem;
        margin: 1.5rem 0;
        color: var(--jp-text-muted, #6b7280);
        font-style: italic;
    }
    
    .page-content-card table {
        width: 100%;
        border-collapse: collapse;
        margin: 1.5rem 0;
    }
    
    .page-content-card th,
    .page-content-card td {
        padding: 0.75rem 1rem;
        border: 1px solid var(--jp-border, #e5e7eb);
        text-align: left;
    }
    
    .page-content-card th {
        background: var(--jp-bg, #f9fafb);
        font-weight: 600;
    }


/* ============================================
   REFER.PHP STYLES
   ============================================ */
.card-referral {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 2px solid rgba(99, 102, 241, 0.15);
    border-radius: 24px;
}

.referral-link-box .form-control {
    font-size: 0.95rem;
    padding: 15px 20px;
}

.share-buttons .btn {
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 500;
    color: #fff;
    border: none;
}

.btn-facebook { background: #1877f2; }
.btn-facebook:hover { background: #0d6efd; color: #fff; }
.btn-twitter { background: #1da1f2; }
.btn-twitter:hover { background: #0dcaf0; color: #fff; }
.btn-whatsapp { background: #25d366; }
.btn-whatsapp:hover { background: #198754; color: #fff; }
.btn-telegram { background: #0088cc; }
.btn-telegram:hover { background: #0d6efd; color: #fff; }

.referral-illustration {
    padding: 40px;
}

.referral-graphic {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.graphic-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: absolute;
}

.graphic-main {
    background: linear-gradient(135deg, var(--jp-primary), var(--jp-secondary));
    color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.graphic-ref {
    background: var(--jp-bg-card);
    color: var(--jp-success);
    box-shadow: var(--jp-shadow-md);
}

.graphic-ref-1 { top: 0; left: 50%; transform: translateX(-50%); }
.graphic-ref-2 { bottom: 0; left: 10%; }
.graphic-ref-3 { bottom: 0; right: 10%; }

.graphic-coin {
    position: absolute;
    color: #f59e0b;
    font-size: 1.5rem;
    animation: float 2s ease-in-out infinite;
}

.graphic-coin-1 { top: 20%; right: 0; animation-delay: 0s; }
.graphic-coin-2 { top: 60%; left: 0; animation-delay: 1s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.card-benefit {
    border: none;
    border-radius: 20px;
    transition: all 0.3s;
}

.card-benefit:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    margin: 0 auto;
}

.bg-gradient-primary { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.bg-gradient-success { background: linear-gradient(135deg, #22c55e, #16a34a); }
.bg-gradient-warning { background: linear-gradient(135deg, #f59e0b, #d97706); }

.empty-icon {
    width: 100px;
    height: 100px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--jp-primary);
    margin: 0 auto;
}

.user-avatar-sm {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--jp-primary), var(--jp-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
}

.badge-soft-success { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.badge-soft-secondary { background: rgba(100, 116, 139, 0.15); color: #64748b; }


/* ============================================
   CONVERTER.PHP STYLES
   ============================================ */
.converter-hero {
        background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #1e40af 100%);
        border-radius: 24px;
        padding: 3rem;
        color: white;
        text-align: center;
        position: relative;
        overflow: hidden;
        margin-bottom: 2rem;
    }
    
    .converter-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        opacity: 0.5;
    }
    
    .converter-hero-content {
        position: relative;
        z-index: 1;
    }
    
    .converter-icon {
        width: 100px;
        height: 100px;
        background: rgba(255,255,255,0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem;
        font-size: 3rem;
    }
    
    .converter-icon i {
        animation: rotate 3s linear infinite;
    }
    
    @keyframes rotate {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    
    .converter-hero h1 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }
    
    .converter-hero p {
        font-size: 1.1rem;
        opacity: 0.9;
        margin-bottom: 0;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .balance-cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .balance-card {
        border-radius: 20px;
        padding: 2rem;
        color: white;
        position: relative;
        overflow: hidden;
    }
    
    .balance-card::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 100%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    }
    
    .balance-card.user-points {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    }
    
    .balance-card.advertiser-points {
        background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    }
    
    .balance-card-content {
        position: relative;
        z-index: 1;
    }
    
    .balance-card-icon {
        width: 60px;
        height: 60px;
        background: rgba(255,255,255,0.2);
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .balance-label {
        font-size: 0.9rem;
        opacity: 0.9;
        margin-bottom: 0.25rem;
    }
    
    .balance-value {
        font-size: 2.5rem;
        font-weight: 700;
    }
    
    .balance-suffix {
        font-size: 1rem;
        font-weight: 400;
        opacity: 0.9;
        margin-left: 0.25rem;
    }
    
    .converter-card {
        background: var(--jp-bg-card, #fff);
        border-radius: 24px;
        padding: 2.5rem;
        border: 1px solid var(--jp-border, #e5e7eb);
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        max-width: 600px;
        margin: 0 auto 2rem;
    }
    
    .converter-card h3 {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--jp-text);
        margin-bottom: 1.5rem;
    }
    
    .converter-card h3 i {
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, #3b82f6, #1d4ed8);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1rem;
    }
    
    .converter-visual {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        margin-bottom: 2rem;
        flex-wrap: wrap;
    }
    
    .point-box {
        background: var(--jp-bg, #f9fafb);
        border: 2px solid var(--jp-border, #e5e7eb);
        border-radius: 16px;
        padding: 1.5rem 2rem;
        text-align: center;
        min-width: 180px;
    }
    
    .point-box.from {
        border-color: #10b981;
    }
    
    .point-box.to {
        border-color: #f59e0b;
    }
    
    .point-box-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
        color: white;
        margin: 0 auto 0.75rem;
    }
    
    .point-box.from .point-box-icon {
        background: linear-gradient(135deg, #10b981, #059669);
    }
    
    .point-box.to .point-box-icon {
        background: linear-gradient(135deg, #f59e0b, #d97706);
    }
    
    .point-box-label {
        font-size: 0.85rem;
        color: var(--jp-text-muted, #6b7280);
        margin-bottom: 0.25rem;
    }
    
    .point-box-value {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--jp-text);
    }
    
    .arrow-icon {
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, #3b82f6, #1d4ed8);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.25rem;
        flex-shrink: 0;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group label {
        display: block;
        font-weight: 600;
        color: var(--jp-text);
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }
    
    .input-wrapper {
        position: relative;
    }
    
    .input-wrapper i {
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        color: #3b82f6;
        font-size: 1.25rem;
    }
    
    .form-input {
        width: 100%;
        padding: 1rem 1rem 1rem 3rem;
        font-size: 1.25rem;
        font-weight: 600;
        border: 2px solid var(--jp-border, #e5e7eb);
        border-radius: 12px;
        background: var(--jp-bg, #f9fafb);
        color: var(--jp-text);
        transition: all 0.3s ease;
    }
    
    .form-input:focus {
        outline: none;
        border-color: #3b82f6;
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
        background: var(--jp-bg-card, #fff);
    }
    
    .form-input::placeholder {
        font-weight: 400;
        color: var(--jp-text-muted, #9ca3af);
    }
    
    .quick-amounts {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 0.75rem;
    }
    
    .quick-amount {
        padding: 0.5rem 1rem;
        background: var(--jp-bg, #f3f4f6);
        border: 1px solid var(--jp-border, #e5e7eb);
        border-radius: 8px;
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--jp-text-muted, #6b7280);
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .quick-amount:hover {
        background: #3b82f6;
        border-color: #3b82f6;
        color: white;
    }
    
    .btn-convert {
        width: 100%;
        padding: 1rem 2rem;
        background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
        color: white;
        border: none;
        border-radius: 12px;
        font-weight: 700;
        font-size: 1.1rem;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .btn-convert:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    }
    
    .btn-convert:active {
        transform: translateY(0);
    }
    
    .alert-modern {
        padding: 1rem 1.25rem;
        border-radius: 12px;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-weight: 500;
    }
    
    .alert-modern.success {
        background: rgba(16, 185, 129, 0.1);
        color: #059669;
        border: 1px solid rgba(16, 185, 129, 0.2);
    }
    
    .alert-modern.error {
        background: rgba(239, 68, 68, 0.1);
        color: #dc2626;
        border: 1px solid rgba(239, 68, 68, 0.2);
    }
    
    .alert-modern i {
        font-size: 1.25rem;
    }
    
    .info-section {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .info-card {
        background: var(--jp-bg-card, #fff);
        border-radius: 16px;
        padding: 1.5rem;
        border: 1px solid var(--jp-border, #e5e7eb);
        display: flex;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .info-card-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
        color: white;
        flex-shrink: 0;
    }
    
    .info-card-icon.blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
    .info-card-icon.green { background: linear-gradient(135deg, #10b981, #059669); }
    .info-card-icon.orange { background: linear-gradient(135deg, #f59e0b, #d97706); }
    
    .info-card-content h4 {
        font-size: 1rem;
        font-weight: 600;
        color: var(--jp-text);
        margin-bottom: 0.35rem;
    }
    
    .info-card-content p {
        font-size: 0.875rem;
        color: var(--jp-text-muted, #6b7280);
        margin: 0;
        line-height: 1.5;
    }
    
    /* Dark mode */
    [data-bs-theme="dark"] .form-input {
        background: rgba(255,255,255,0.05);
        border-color: rgba(255,255,255,0.1);
        color: #fff;
    }
    
    [data-bs-theme="dark"] .form-input:focus {
        background: rgba(255,255,255,0.08);
    }
    
    [data-bs-theme="dark"] .point-box {
        background: rgba(255,255,255,0.05);
        border-color: rgba(255,255,255,0.1);
    }
    
    [data-bs-theme="dark"] .quick-amount {
        background: rgba(255,255,255,0.05);
        border-color: rgba(255,255,255,0.1);
    }


/* ============================================
   SETTINGS.PHP STYLES
   ============================================ */
/* Settings Nav Pills */
.nav-settings {
    background: var(--jp-bg-card);
    padding: 0.75rem;
    border-radius: 16px;
    border: 1px solid var(--jp-border);
}

.nav-settings .nav-link {
    color: var(--jp-text-muted);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    transition: all 0.2s;
}

.nav-settings .nav-link:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--jp-primary);
}

.nav-settings .nav-link.active {
    background: var(--jp-gradient);
    color: #fff;
}

/* Form Switch */
.form-switch .form-check-input:checked {
    background-color: var(--jp-primary);
    border-color: var(--jp-primary);
}


/* ============================================
   LOTTERY PAGE STYLES - Modern 2025
   ============================================ */
.lottery-hero {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
    border-radius: 24px;
    padding: 3rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 20px 60px rgba(245, 158, 11, 0.3);
}

.lottery-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.lottery-hero-content {
    position: relative;
    z-index: 1;
}

.lottery-icon {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    animation: lotteryPulse 2s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

@keyframes lotteryPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 30px 10px rgba(255,255,255,0.2); }
}

.lottery-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.lottery-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.btn-enter {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: white;
    color: #d97706;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-enter:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: #b45309;
}

/* Lottery Stats Grid - Modern Card Style */
.lottery-page .stats-grid,
body.lottery-page .stats-grid,
.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Responsive: 5 ďż˝ 3 ďż˝ 2 ďż˝ 1 columns */
@media (max-width: 1200px) {
    .lottery-page .stats-grid,
    body.lottery-page .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .lottery-page .stats-grid,
    body.lottery-page .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .lottery-page .stats-grid,
    body.lottery-page .stats-grid {
        grid-template-columns: 1fr;
    }
}

.lottery-page .stat-card,
body.lottery-page .stat-card,
.stat-card {
    background: var(--jp-bg-card, #fff);
    border-radius: 16px;
    padding: 1.25rem 1rem;
    text-align: center;
    border: 1px solid var(--jp-border, #e5e7eb);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 0; /* Prevent overflow */
}

.lottery-page .stat-card::before,
body.lottery-page .stat-card::before,
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--stat-color, #6366f1), var(--stat-color-end, #8b5cf6));
    opacity: 0;
    transition: opacity 0.3s;
}

.lottery-page .stat-card:hover,
body.lottery-page .stat-card:hover,
.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.lottery-page .stat-card:hover::before,
body.lottery-page .stat-card:hover::before,
.stat-card:hover::before {
    opacity: 1;
}

.lottery-page .stat-icon,
body.lottery-page .stat-icon,
.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.25rem;
    color: white;
    position: relative;
    flex-shrink: 0;
}

.lottery-page .stat-icon::after,
body.lottery-page .stat-icon::after,
.stat-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 18px;
    background: inherit;
    opacity: 0.3;
    z-index: -1;
}

.stat-icon.entries { 
    background: linear-gradient(135deg, #6366f1, #8b5cf6); 
    --stat-color: #6366f1;
    --stat-color-end: #8b5cf6;
}
.stat-icon.prize { 
    background: linear-gradient(135deg, #f59e0b, #d97706); 
    --stat-color: #f59e0b;
    --stat-color-end: #d97706;
}
.stat-icon.my-entries { 
    background: linear-gradient(135deg, #10b981, #059669); 
    --stat-color: #10b981;
    --stat-color-end: #059669;
}
.stat-icon.next { 
    background: linear-gradient(135deg, #ec4899, #db2777); 
    --stat-color: #ec4899;
    --stat-color-end: #db2777;
}

.stat-card:has(.stat-icon.entries) { --stat-color: #6366f1; --stat-color-end: #8b5cf6; }
.stat-card:has(.stat-icon.prize) { --stat-color: #f59e0b; --stat-color-end: #d97706; }
.stat-card:has(.stat-icon.my-entries) { --stat-color: #10b981; --stat-color-end: #059669; }
.stat-card:has(.stat-icon.next) { --stat-color: #ec4899; --stat-color-end: #db2777; }

/* Gift ticket card special style */
.lottery-page .stat-card[style*="border: 2px solid"],
body.lottery-page .stat-card[style*="border: 2px solid"] {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(5, 150, 105, 0.04));
}

.lottery-page .stat-card[style*="border: 2px solid"]::before {
    background: linear-gradient(90deg, #10b981, #059669);
    opacity: 1;
}

.lottery-page .stat-value,
body.lottery-page .stat-value,
.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--jp-text, #1f2937);
    margin-bottom: 0.25rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Gift ticket value smaller multiplier */
.stat-value small {
    font-size: 0.65em;
    font-weight: 600;
    opacity: 0.85;
    display: block;
    margin-top: 0.15rem;
}

.lottery-page .stat-label,
body.lottery-page .stat-label,
.stat-label {
    font-size: 0.7rem;
    color: var(--jp-text-muted, #6b7280);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Dark mode lottery */
[data-bs-theme="dark"] .lottery-page .stat-card,
[data-bs-theme="dark"] body.lottery-page .stat-card {
    background: var(--jp-bg-card, #1e293b);
    border-color: var(--jp-border, #334155);
}

[data-bs-theme="dark"] .lottery-page .stat-card[style*="border: 2px solid"] {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.1));
}

/* Lottery Section Title */
.lottery-page .section-title,
body.lottery-page .section-title,
.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--jp-text, #1f2937);
    margin-bottom: 1.5rem;
}

.lottery-page .section-title i,
body.lottery-page .section-title i,
.section-title > i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

/* Winners Card */
.winners-card {
    background: var(--jp-bg-card, #fff);
    border-radius: 20px;
    border: 1px solid var(--jp-border, #e5e7eb);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.winners-table {
    width: 100%;
    border-collapse: collapse;
}

.winners-table th {
    background: var(--jp-bg-secondary, #f3f4f6);
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--jp-text-muted, #6b7280);
}

.winners-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--jp-border, #e5e7eb);
    color: var(--jp-text, #1f2937);
}

.winners-table tr:last-child td {
    border-bottom: none;
}

.winners-table tr {
    transition: background 0.2s;
}

.winners-table tr:hover {
    background: var(--jp-bg-secondary, #f9fafb);
}

.winner-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.winner-avatar {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.winner-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.prize-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.1));
    color: #d97706;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.prize-badge i {
    color: #f59e0b;
}

/* Lottery Empty State */
.lottery-page .empty-state,
body.lottery-page .empty-state,
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--jp-text-muted, #6b7280);
}

.lottery-page .empty-state i,
body.lottery-page .empty-state i,
.empty-state > i {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0.4;
    display: block;
}

.empty-state h4 {
    margin-bottom: 0.5rem;
    color: var(--jp-text, #1f2937);
}

/* Lottery Dark mode */
[data-theme="dark"] .lottery-hero,
[data-bs-theme="dark"] .lottery-hero {
    box-shadow: 0 20px 60px rgba(245, 158, 11, 0.15);
}

[data-theme="dark"] .stat-card,
[data-bs-theme="dark"] .stat-card {
    background: var(--jp-bg-card, #1e1e2d);
    border-color: var(--jp-border, #3a3a5c);
}

[data-theme="dark"] .stat-card:hover,
[data-bs-theme="dark"] .stat-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Lottery stat-value white in dark mode - NOT hero stats */
[data-theme="dark"] .lottery-page .stat-value,
[data-bs-theme="dark"] .lottery-page .stat-value,
[data-theme="dark"] .stat-card .stat-value,
[data-bs-theme="dark"] .stat-card .stat-value {
    color: #fff;
}

[data-theme="dark"] .winners-card,
[data-bs-theme="dark"] .winners-card {
    background: var(--jp-bg-card, #1e1e2d);
    border-color: var(--jp-border, #3a3a5c);
}

[data-theme="dark"] .winners-table th,
[data-bs-theme="dark"] .winners-table th {
    background: var(--jp-bg-secondary, #252540);
}

[data-theme="dark"] .winners-table td,
[data-bs-theme="dark"] .winners-table td {
    color: #fff;
    border-color: var(--jp-border, #3a3a5c);
}

[data-theme="dark"] .winners-table tr:hover,
[data-bs-theme="dark"] .winners-table tr:hover {
    background: var(--jp-bg-secondary, #252540);
}

[data-theme="dark"] .prize-badge,
[data-bs-theme="dark"] .prize-badge {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(217, 119, 6, 0.15));
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .lottery-hero {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }
    
    .lottery-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .lottery-hero h1 {
        font-size: 1.75rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.25rem 1rem;
    }
    
    .stat-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .winners-table th,
    .winners-table td {
        padding: 0.75rem 1rem;
    }
}

/* ============================================
   EARN PAGE (Pontszerzés) STYLES - 2025 Refresh
   ============================================ */
.earn-hero {
    background: linear-gradient(135deg, rgba(var(--jp-primary-rgb, 99, 102, 241), 0.95) 0%, rgba(var(--jp-secondary-rgb, 139, 92, 246), 0.95) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--jp-shadow-xl);
}

.earn-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 35%),
        radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.1), transparent 30%),
        radial-gradient(circle at 50% 80%, rgba(0, 0, 0, 0.12), transparent 45%);
    pointer-events: none;
}

.earn-title {
    font-size: 2.6rem;
    letter-spacing: -0.5px;
}

.earn-subtitle {
    max-width: 640px;
}

.earn-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    font-size: 0.9rem;
}

.chip-warning {
    background: rgba(var(--jp-warning-rgb, 245, 158, 11), 0.15);
    border-color: rgba(var(--jp-warning-rgb, 245, 158, 11), 0.35);
}

.chip-success {
    background: rgba(var(--jp-success-rgb, 16, 185, 129), 0.18);
    border-color: rgba(var(--jp-success-rgb, 16, 185, 129), 0.35);
}

.chip-soft {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.earn-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.earn-stat {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 12px 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.earn-stat .value {
    font-size: 1.35rem;
    font-weight: 800;
}

.earn-panel {
    background: var(--jp-bg-card, #fff);
    border: 1px solid var(--jp-border, #e5e7eb);
    box-shadow: var(--jp-shadow-lg);
}

.earn-panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.earn-panel-item {
    background: var(--jp-bg-secondary, #f9fafb);
    border: 1px solid var(--jp-border, #e5e7eb);
    border-radius: 12px;
    padding: 12px 14px;
}

.earn-panel-item .label {
    color: var(--jp-text-muted);
    font-size: 0.85rem;
}

.earn-panel-item .value {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--jp-text);
}

.earn-panel-footer {
    border-top: 1px dashed var(--jp-border, #e5e7eb);
    padding-top: 12px;
}

.earn-section-title {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--jp-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.earn-offer-card {
    background: var(--jp-bg-card, #fff);
    border: 1px solid var(--jp-border, #e5e7eb);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: var(--jp-shadow-md);
    transition: transform var(--jp-transition-base), box-shadow var(--jp-transition-base), border-color var(--jp-transition-base);
    position: relative;
}

.earn-offer-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--jp-shadow-lg);
    border-color: rgba(var(--jp-primary-rgb, 99, 102, 241), 0.35);
}

.earn-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 12px;
    background: var(--jp-bg-secondary, #f9fafb);
    color: var(--jp-text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.82rem;
    border: 1px solid transparent;
}

.badge-soft.badge-primary {
    background: rgba(var(--jp-primary-rgb, 99, 102, 241), 0.12);
    color: var(--jp-primary);
    border-color: rgba(var(--jp-primary-rgb, 99, 102, 241), 0.25);
}

.badge-soft.badge-success {
    background: rgba(var(--jp-success-rgb, 16, 185, 129), 0.12);
    color: var(--jp-success);
    border-color: rgba(var(--jp-success-rgb, 16, 185, 129), 0.25);
}

.badge-soft.badge-info {
    background: rgba(var(--jp-info-rgb, 59, 130, 246), 0.12);
    color: var(--jp-info);
    border-color: rgba(var(--jp-info-rgb, 59, 130, 246), 0.25);
}

.badge-soft.badge-warning {
    background: rgba(var(--jp-warning-rgb, 245, 158, 11), 0.12);
    color: var(--jp-warning);
    border-color: rgba(var(--jp-warning-rgb, 245, 158, 11), 0.25);
}

.badge-soft.badge-dark {
    background: rgba(0, 0, 0, 0.08);
    color: var(--jp-text);
    border-color: rgba(0, 0, 0, 0.15);
}

.card-earn {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    background: var(--jp-bg-card, #fff);
}

.card-earn:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.card-earn-header {
    height: 100px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-earn-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
}

.card-earn-icon {
    width: 64px;
    height: 64px;
    background: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--jp-primary);
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-earn-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.card-earn-body {
    padding: 1.5rem;
    text-align: center;
}

.game-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--jp-border, #e5e7eb);
    background: var(--jp-bg-card, #fff);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--jp-primary);
}

.game-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: -webkit-linear-gradient(45deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-primary { background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); }
.bg-gradient-success { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.bg-gradient-warning { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.bg-gradient-info { background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%); }
.bg-gradient-danger { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
.bg-gradient-purple { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); }
.bg-gradient-pink { background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); }

.stat-box {
    background: var(--jp-bg-secondary, #f9fafb);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s;
}

.stat-box:hover {
    background: var(--jp-bg-card, #fff);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .card-earn,
[data-bs-theme="dark"] .card-earn,
[data-theme="dark"] .game-card,
[data-bs-theme="dark"] .game-card {
    background: #1e1e2d;
    border-color: #3a3a5c;
}

[data-theme="dark"] .stat-box,
[data-bs-theme="dark"] .stat-box {
    background: #252540;
}

[data-theme="dark"] .stat-box:hover,
[data-bs-theme="dark"] .stat-box:hover {
    background: #2a2a4a;
}

@media (max-width: 767px) {
    .earn-hero {
        padding: 1.75rem;
    }
    
    .earn-title {
        font-size: 2rem;
    }
    
    .earn-panel-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

/* ============================================
   LOTTERY PAGE - 2025 REFRESH
   ============================================ */
.lotto-hero-modern {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 35%, #d97706 70%, #b45309 100%);
    color: #fff;
    box-shadow: var(--jp-shadow-xl);
}

.lotto-title {
    font-size: 2.4rem;
    letter-spacing: -0.5px;
}

.lotto-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-weight: 700;
    font-size: 0.85rem;
}

.lotto-chip.chip-soft {
    background: rgba(255, 255, 255, 0.1);
}

.lotto-chip.chip-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
}

.lotto-chip.chip-success {
    background: rgba(var(--jp-success-rgb, 16, 185, 129), 0.2);
    border-color: rgba(var(--jp-success-rgb, 16, 185, 129), 0.35);
    color: #fff;
}

.lotto-hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.lotto-hero-stat {
    background: rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.lotto-hero-stat .label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

.lotto-hero-stat .value {
    font-weight: 800;
    font-size: 1.35rem;
}

.lotto-side-card {
    border: 1px solid var(--jp-border, #e5e7eb);
    box-shadow: var(--jp-shadow-lg);
}

.lotto-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
}

.lotto-meta-compact {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.lotto-meta {
    background: var(--jp-bg-secondary, #f8fafc);
    border: 1px solid var(--jp-border, #e5e7eb);
    border-radius: 12px;
    padding: 10px 12px;
}

.lotto-meta .label {
    display: block;
    font-size: 0.8rem;
    color: var(--jp-text-muted);
    margin-bottom: 4px;
}

.lotto-meta strong {
    font-size: 1.05rem;
    color: var(--jp-text);
}

.lotto-how-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.lotto-how-card {
    background: var(--jp-bg-card, #fff);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--jp-border, #e5e7eb);
    position: relative;
    box-shadow: var(--jp-shadow-sm);
}

.lotto-how-step {
    position: absolute;
    top: -12px;
    left: 20px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
}

.lotto-how-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.lotto-winners-card {
    background: var(--jp-bg-card, #fff);
    border-radius: 20px;
    border: 1px solid var(--jp-border, #e5e7eb);
    overflow: hidden;
    box-shadow: var(--jp-shadow-md);
}

.lotto-winners-header {
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(245, 158, 11, 0.15));
    border-bottom: 1px solid var(--jp-border, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.lotto-winner-row {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid var(--jp-border, #e5e7eb);
    transition: background var(--jp-transition-base);
}

.lotto-winner-row:hover {
    background: var(--jp-bg-secondary, #f8fafc);
}

.lotto-winner-rank {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    margin-right: 14px;
    background: var(--jp-bg-secondary, #f8fafc);
    color: var(--jp-text);
}

.lotto-winner-row:nth-child(1) .lotto-winner-rank { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #fff; }
.lotto-winner-row:nth-child(2) .lotto-winner-rank { background: linear-gradient(135deg, #94a3b8, #64748b); color: #fff; }
.lotto-winner-row:nth-child(3) .lotto-winner-rank { background: linear-gradient(135deg, #cd7c32, #a0522d); color: #fff; }

.lotto-winner-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    margin-right: 12px;
    overflow: hidden;
}

.lotto-winner-info { flex: 1; }
.lotto-winner-name { font-weight: 600; color: var(--jp-text); font-size: 0.95rem; }
.lotto-winner-date { font-size: 0.8rem; color: var(--jp-text-muted); }

.lotto-winner-prize {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lotto-empty {
    text-align: center;
    padding: 48px 20px;
    color: var(--jp-text-muted);
}

.lotto-empty i {
    font-size: 3rem;
    opacity: 0.35;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .lotto-title { font-size: 2rem; }
    .lotto-hero-stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
    .lotto-meta-grid { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
    .lotto-winner-row { padding: 12px 16px; }
}

/* ============================================
   LOTTERY ENTER PAGE
   ============================================ */
.lottery-enter-hero-modern {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
    color: #fff;
    box-shadow: var(--jp-shadow-xl);
}

.lottery-enter-page .lotto-chip {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
}

.lottery-enter-page .lotto-chip.chip-outline {
    background: transparent;
}

.lottery-enter-page .lotto-chip.chip-success {
    background: rgba(var(--jp-success-rgb, 16, 185, 129), 0.2);
    border-color: rgba(var(--jp-success-rgb, 16, 185, 129), 0.35);
    color: #fff;
}

.enter-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 1rem;
}

.enter-info {
    background: var(--jp-bg-secondary, #f8fafc);
    border: 1px solid var(--jp-border, #e5e7eb);
    border-radius: 12px;
    padding: 12px;
}

.enter-info .label {
    display: block;
    font-size: 0.8rem;
    color: var(--jp-text-muted);
    margin-bottom: 4px;
}

.enter-info .value {
    font-weight: 800;
    color: var(--jp-text);
}

.enter-info .value.success { color: var(--jp-success); }
.enter-info .value.highlight { color: var(--jp-warning); }

.amount-group {
    margin-bottom: 1rem;
}

.amount-control {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.amount-btn {
    width: 52px;
    border: 1px solid var(--jp-border, #e5e7eb);
    background: var(--jp-bg-secondary, #f8fafc);
    border-radius: 12px;
    font-weight: 700;
    color: var(--jp-text);
    transition: var(--jp-transition-base);
}

.amount-btn:hover {
    background: rgba(var(--jp-primary-rgb, 99, 102, 241), 0.08);
    color: var(--jp-primary);
}

.amount-input-wrap {
    position: relative;
    flex: 1;
}

.amount-input-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #f59e0b;
}

.points-input {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 2.9rem;
    font-size: 1.4rem;
    font-weight: 800;
    border: 2px solid var(--jp-border, #e5e7eb);
    border-radius: 12px;
    background: var(--jp-bg-secondary, #f8fafc);
    color: var(--jp-text);
    transition: var(--jp-transition-base);
}

.points-input:focus {
    outline: none;
    border-color: var(--jp-primary);
    box-shadow: 0 0 0 4px rgba(var(--jp-primary-rgb, 99, 102, 241), 0.18);
}

.quick-amounts {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.quick-amount-btn {
    padding: 0.45rem 0.9rem;
    background: var(--jp-bg-secondary, #f8fafc);
    border: 1px solid var(--jp-border, #e5e7eb);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--jp-text);
    transition: var(--jp-transition-base);
    box-shadow: var(--jp-shadow-xs);
}

.quick-amount-btn:hover {
    background: rgba(var(--jp-primary-rgb, 99, 102, 241), 0.08);
    border-color: rgba(var(--jp-primary-rgb, 99, 102, 241), 0.35);
    color: var(--jp-primary);
    box-shadow: var(--jp-shadow-sm);
}

.fee-calculator {
    background: var(--jp-bg-secondary, #f8fafc);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--jp-border, #e5e7eb);
}

.fee-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.fee-row:not(:last-child) {
    border-bottom: 1px dashed var(--jp-border, #e5e7eb);
}

.fee-row.total .fee-value {
    color: var(--jp-success);
    font-size: 1.05rem;
    font-weight: 700;
}

.chance-row .fee-value { font-weight: 700; }

.gift-ticket-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.18));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.gift-ticket-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.gift-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
}

.btn-submit-ghost {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    margin-bottom: 0;
}

.lottery-enter-page .btn-submit-entry {
    border: none;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.35);
    transition: transform var(--jp-transition-base), box-shadow var(--jp-transition-base), filter var(--jp-transition-base);
}

.lottery-enter-page .btn-submit-entry:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(245, 158, 11, 0.45);
    filter: brightness(1.03);
}

.lottery-enter-page .btn-submit-entry:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(245, 158, 11, 0.35);
    filter: brightness(0.98);
}

.lottery-enter-page .btn-submit-entry:disabled {
    opacity: 0.65;
    box-shadow: none;
}

.lottery-enter-page .btn-submit-ghost {
    box-shadow: 0 8px 18px rgba(16, 185, 129, 0.35);
}

.lottery-enter-page .btn-submit-ghost:hover:not(:disabled) {
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.45);
}

@media (max-width: 768px) {
    .amount-control { flex-direction: column; }
    .amount-btn { width: 100%; }
    .lottery-enter-page .btn-submit-entry { width: 100%; }
}

.gift-summary {
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.gift-summary-body {
    text-align: center;
    padding: 0.5rem 0 0.25rem;
}

.gift-count {
    font-size: 2.5rem;
    font-weight: 800;
    color: #10b981;
    line-height: 1.2;
}

.gift-label {
    color: var(--jp-text-muted);
    font-size: 0.9rem;
}

.gift-value {
    color: var(--jp-text);
    margin-top: 0.25rem;
    font-weight: 600;
}

.tips-card.tips-modern {
    background: linear-gradient(180deg, rgba(var(--jp-primary-rgb, 99, 102, 241), 0.05), rgba(var(--jp-primary-rgb, 99, 102, 241), 0.02));
    border: 1px solid rgba(var(--jp-primary-rgb, 99, 102, 241), 0.25);
    box-shadow: var(--jp-shadow-md);
}

.tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--jp-bg-card, #fff);
    border: 1px solid var(--jp-border, #e5e7eb);
    box-shadow: var(--jp-shadow-sm);
}

.tip-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(var(--jp-primary-rgb, 99, 102, 241), 0.15), rgba(var(--jp-secondary-rgb, 139, 92, 246), 0.25));
    color: var(--jp-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.tip-icon.success {
    background: linear-gradient(135deg, rgba(var(--jp-success-rgb, 16, 185, 129), 0.15), rgba(var(--jp-success-rgb, 16, 185, 129), 0.25));
    color: var(--jp-success);
}

.tip-text {
    color: var(--jp-text);
    font-weight: 600;
}

@media (max-width: 768px) {
    .amount-control { flex-direction: column; }
    .amount-btn { width: 100%; }
}

/* ============================================
   LOTTERY ENTRY MODALS
   ============================================ */
.lottery-modal .modal-header {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.lottery-modal .modal-header.bg-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.lottery-modal .modal-title {
    color: #fff;
}

.lottery-modal .modal-body .btn {
    box-shadow: var(--jp-shadow-md);
}