/**
 * KNKYX.club Module Styles
 * Subnavigation und Modul-spezifische Komponenten
 */

/* Subnav spezifische Club-Modifikatoren können hier ergänzt werden (Basis ausgelagert) */

.knkyx-brand-link {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

/* ========================================
   CONTENT BEREICHE
   ======================================== */

.knkyx-main {
    padding-top: 0; /* Offset wird global in mainnavigation.css / subnavigation.css gesetzt */
    min-height: auto; /* kein künstlicher Leerraum über dem Footer */
}

.knkyx-body--club-landing .knkyx-header ~ .knkyx-main,
.knkyx-body--club-landing .knkyx-subnav ~ .knkyx-main,
.knkyx-body--club-landing .knkyx-main {
    padding-top: 0 !important;
}

.knkyx-content-container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0 2rem 2rem;
}

/* ========================================
   CLUB HERO SECTION (gleiche Höhe wie Hauptseite)
   ======================================== */

.knkyx-club-hero-visual {
    position: relative;
    width: calc(100% + 4rem);
    max-width: none;
    height: 100vh;
    margin-left: -2rem;
    margin-right: -2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 1;
}

.knkyx-club-hero-image-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #050505;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: scale(1.02);
    z-index: 0;
}

.knkyx-club-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: opacity 2s ease-in-out;
    filter: blur(2px);
    
    /* Maximale Bildqualität für IMG-Element */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    
    /* Browser-Optimierungen */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    z-index: 0;
}

.knkyx-club-hero-background.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.knkyx-club-hero-image-fallback.is-visible {
    opacity: 1;
}

.knkyx-club-hero-background.fade-in {
    animation: fadeInHeroSmooth 1.2s ease-in-out;
}

@keyframes fadeInHeroSmooth {
    from {
        opacity: 0;
        transform: scale(1.08);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Vignette + Dark Overlay für optimale Text-Lesbarkeit */
.knkyx-club-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at center, 
            rgba(0, 0, 0, 0.45) 0%, 
            rgba(0, 0, 0, 0.75) 100%),
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0.65) 50%,
            rgba(0, 0, 0, 0.7) 100%
        );
    z-index: 1;
    pointer-events: none;
}

.knkyx-club-hero-content {
    position: relative;
    z-index: 10;
    padding: 0 var(--knkyx-space-xl) var(--knkyx-space-xl);
    margin: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.knkyx-club-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    color: #fff;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 4px 8px rgba(0, 0, 0, 0.6),
        0 8px 16px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
}

.hero-title-animated {
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s backwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.25), rgba(185, 28, 28, 0.15));
    border: 1px solid rgba(220, 38, 38, 0.4);
    color: #fca5a5;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 auto 1.5rem;
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.1s backwards;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.2);
}

.hero-badge-label {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ffffff;
}

.hero-badge-separator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    flex-shrink: 0;
}

.hero-badge-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffe2e2;
}

.hero-badge i.pulse-dot {
    color: #ef4444;
    font-size: 0.6rem;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.hero-badge strong {
    color: #fff;
    font-weight: 700;
}

.hero-badge i {
    color: #f87171;
    font-size: 1rem;
}

.knkyx-club-hero-content .hero-subtitle {
    font-size: 1.4rem;
    color: #ffffff;
    margin: 0 0 2rem 0;
    line-height: 1.6;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 4px 8px rgba(0, 0, 0, 0.5);
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s backwards;
}

.knkyx-hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 2.5rem auto 0;
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s backwards;
    width: 100%;
    max-width: 800px;
}

.knkyx-hero-buttons .knkyx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    white-space: nowrap;
}

.hero-trust-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem auto 0;
    font-size: 0.95rem;
    color: #e5e7eb;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 4px 8px rgba(0, 0, 0, 0.5);
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s backwards;
    text-align: center;
    width: 100%;
}

.hero-trust-note i {
    color: #10b981;
    font-size: 1.1rem;
}

/* Trust Badges mit Icons */
.hero-trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem auto 0;
    flex-wrap: wrap;
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s backwards;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #e5e7eb;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 4px 8px rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.trust-badge i {
    color: #10b981;
    font-size: 1rem;
}

/* EU-Globe Icon */
.trust-badge-eu i {
    color: #3b82f6 !important;
}

/* Gelbes SSL-Schloss */
.ssl-lock {
    color: #fbbf24 !important;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.4));
}

.hero-quick-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 2rem auto 0;
    padding: 1.5rem;
    background: rgba(26, 26, 26, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(100, 100, 100, 0.2);
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s backwards;
    max-width: 700px;
    width: 100%;
}

.quick-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: #d1d5db;
}

.quick-stat i {
    color: #f87171;
    font-size: 1rem;
}

.quick-stat strong {
    color: #fff;
    font-weight: 700;
}

.knkyx-club-intro {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 12px;
    padding: 2rem 3rem;
    margin: 2rem 0 3rem;
    text-align: center;
}

.knkyx-club-intro .hero-description {
    font-size: 1.1rem;
    color: #9ca3af;
    line-height: 1.8;
    margin: 0;
}

@keyframes fadeInHero {
    from {
        opacity: 0;
        transform: scale(1.05);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Legacy Hero Styles (fallback) */
.knkyx-club-hero {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(185, 28, 28, 0.1));
    border-radius: 12px;
    margin-bottom: 2rem;
}

.knkyx-club-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    background: linear-gradient(45deg, #dc2626, #b91c1c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.knkyx-club-hero p {
    font-size: 1.2rem;
    color: #9ca3af;
    margin: 0;
}

/* Hero CTA Buttons (für nicht-eingeloggte Besucher) */
.knkyx-hero-cta {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.knkyx-hero-cta .knkyx-btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.knkyx-hero-cta .knkyx-btn-secondary {
    background: transparent;
    border: 2px solid #dc2626;
    color: #dc2626;
}

.knkyx-hero-cta .knkyx-btn-secondary:hover {
    background: #dc2626;
    color: white;
}

/* ========================================
   STATS SECTION
   ======================================== */

.knkyx-club-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: #dc2626;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
    color: #dc2626;
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #9ca3af;
    font-weight: 500;
}

/* ========================================
   ACTION CARDS
   ======================================== */

.knkyx-club-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.action-card {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.action-card:hover {
    border-color: #dc2626;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.2);
}

.action-card i {
    font-size: 3rem;
    color: #dc2626;
    margin-bottom: 1rem;
}

.action-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin: 0 0 0.5rem 0;
}

.action-card p {
    font-size: 1rem;
    color: #9ca3af;
    margin: 0;
}

/* ========================================
   LANDINGPAGE SECTIONS
   ======================================== */

.knkyx-section {
    padding: 4rem 2rem;
    margin-bottom: 2rem;
}

.knkyx-section-dark {
    background: rgba(26, 26, 26, 0.4);
    border-radius: 12px;
}

.knkyx-section-cta {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15), rgba(185, 28, 28, 0.15));
    border-radius: 12px;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 1rem 0;
    background: linear-gradient(45deg, #dc2626, #b91c1c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-intro {
    font-size: 1.2rem;
    color: #9ca3af;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* ========================================
   HERO SECTION UPDATES
   ======================================== */

.hero-subtitle {
    font-size: 1.4rem;
    color: #e5e7eb;
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: #9ca3af;
    max-width: 900px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* ========================================
   FEATURE GRID
   ======================================== */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(100, 100, 100, 0.2);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(220, 38, 38, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.15);
}

.feature-icon {
    font-size: 3rem;
    color: #f87171;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 5rem;
    height: 5rem;
    object-fit: contain;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin: 0 0 1rem 0;
}

.feature-card p {
    font-size: 1rem;
    color: #9ca3af;
    margin: 0;
    line-height: 1.6;
}

/* ========================================
   COMPARISON GRID
   ======================================== */

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.comparison-card {
    background: rgba(30, 30, 30, 0.6);
    border: 2px solid rgba(100, 100, 100, 0.2);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.comparison-card:hover {
    border-color: rgba(220, 38, 38, 0.4);
    background: rgba(30, 30, 30, 0.8);
    transform: translateY(-4px);
}

.comparison-icon {
    font-size: 2.5rem;
    color: #f87171;
    margin-bottom: 1rem;
}

.comparison-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin: 0 0 0.75rem 0;
}

.comparison-card p {
    font-size: 0.95rem;
    color: #d1d5db;
    margin: 0;
    line-height: 1.6;
}

/* ========================================
   PRICING SECTION
   ======================================== */

.knkyx-section-pricing {
    background: radial-gradient(ellipse at center, rgba(220, 38, 38, 0.08), transparent 70%);
    position: relative;
}

.pricing-header-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), rgba(185, 28, 28, 0.1));
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #fca5a5;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: center;
    letter-spacing: 0.3px;
}

.pricing-header-label i {
    color: #fbbf24;
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 3rem auto;
}

.pricing-card {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.7), rgba(20, 20, 20, 0.5));
    border: 2px solid rgba(100, 100, 100, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: rgba(220, 38, 38, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.pricing-card-trial {
    border-color: rgba(100, 100, 100, 0.3);
}

.pricing-card-member {
    border-color: rgba(220, 38, 38, 0.4);
    background: linear-gradient(135deg, rgba(40, 30, 30, 0.7), rgba(30, 20, 20, 0.5));
    animation: subtlePulse 4s ease-in-out infinite;
}

@keyframes subtlePulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(220, 38, 38, 0.15);
    }
    50% {
        box-shadow: 0 0 30px rgba(220, 38, 38, 0.25);
    }
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #4b5563;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-badge-popular {
    background: linear-gradient(45deg, #dc2626, #b91c1c);
}

.pricing-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin: 1.5rem 0 1.5rem 0;
    text-align: center;
}

.pricing-price {
    text-align: center;
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #f87171;
}

.pricing-card-member .price-amount {
    background: linear-gradient(45deg, #dc2626, #f87171);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 1rem;
    color: #9ca3af;
    margin-left: 0.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: #d1d5db;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li i {
    color: #10b981;
    font-size: 1.1rem;
}

.knkyx-btn-block {
    width: 100%;
    text-align: center;
}

.knkyx-btn-accent {
    background: linear-gradient(45deg, #dc2626, #b91c1c);
    border: none;
    color: white;
}

.knkyx-btn-accent:hover {
    background: linear-gradient(45deg, #b91c1c, #991b1b);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(220, 38, 38, 0.4);
}

.pricing-note {
    text-align: center;
    color: #9ca3af;
    font-size: 0.95rem;
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(100, 100, 100, 0.05);
    border-radius: 8px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-note i {
    color: #f87171;
    margin-right: 0.5rem;
}

/* ========================================
   MEMBER FEATURES GRID
   ======================================== */

.member-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.member-feature {
    background: rgba(26, 26, 26, 0.4);
    border: 1px solid rgba(100, 100, 100, 0.2);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.member-feature:hover {
    border-color: rgba(220, 38, 38, 0.3);
    background: rgba(26, 26, 26, 0.6);
}

.member-feature-icon {
    font-size: 2.5rem;
    color: #f87171;
    margin-bottom: 1rem;
}

.member-feature h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin: 0 0 0.75rem 0;
}

.member-feature p {
    font-size: 0.95rem;
    color: #9ca3af;
    margin: 0;
    line-height: 1.6;
}

/* ========================================
   TRUST GRID
   ======================================== */

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.trust-card {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(100, 100, 100, 0.2);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.trust-card:hover {
    border-color: rgba(220, 38, 38, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.15);
}

.trust-icon {
    font-size: 2.5rem;
    color: #f87171;
    margin-bottom: 1rem;
}

.trust-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin: 0 0 0.75rem 0;
}

.trust-card p {
    font-size: 0.95rem;
    color: #9ca3af;
    margin: 0;
    line-height: 1.6;
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */

.final-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.cta-note {
    font-size: 1.1rem;
    color: #d1d5db;
    margin: 0;
}

.footer-links {
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.95rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #dc2626;
}

.footer-links .separator {
    color: #4b5563;
}

/* ========================================
   RESPONSIVE ANPASSUNGEN
   ======================================== */

@media (max-width: 768px) {
    .knkyx-club-hero-visual {
        min-height: 500px;
    }

    .knkyx-club-hero-content h1,
    .hero-title-animated {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .knkyx-hero-buttons {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .knkyx-hero-buttons .knkyx-btn {
        flex: 1;
        min-width: 200px;
        justify-content: center;
    }

    .hero-quick-stats {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .quick-stat {
        justify-content: center;
    }

    .hero-trust-note {
        font-size: 0.85rem;
        text-align: center;
    }

    .knkyx-club-hero-content .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-intro {
        font-size: 1.1rem;
    }

    .feature-grid,
    .comparison-grid,
    .member-features-grid,
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-container {
        grid-template-columns: 1fr;
    }

    .knkyx-section {
        padding: 3rem 1rem;
    }

    .knkyx-content-container {
        padding: 0 1rem 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .interests-bars {
        padding: 1rem;
    }

    .city-map-grid {
        grid-template-columns: 1fr;
    }

    /* Map responsive */
    .club-member-map {
        height: 400px;
    }

    .map-legend {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .interactive-map-container {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .knkyx-hero-cta {
        flex-direction: column;
    }

    .knkyx-btn-large {
        width: 100%;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    /* Map mobile */
    .club-member-map {
        height: 300px;
    }

    .map-legend {
        flex-direction: column;
        gap: 0.75rem;
    }

    .map-status {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

/* ========================================
   STATS SECTION (KPI COUNTER)
   ======================================== */

.knkyx-section-stats {
    background: radial-gradient(ellipse at center, rgba(185, 28, 28, 0.08), transparent 70%);
    position: relative;
}

/* Live Activity Ticker */
.live-activity-ticker {
    max-width: 800px;
    margin: 0 auto 3rem;
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(100, 100, 100, 0.3);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    overflow: hidden;
}

.ticker-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.ticker-content {
    position: relative;
    height: 24px;
    overflow: hidden;
}

.ticker-item {
    position: absolute;
    width: 100%;
    color: #e5e7eb;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.ticker-item.active {
    opacity: 1;
    transform: translateY(0);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.7), rgba(20, 20, 20, 0.5));
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    border-color: #dc2626;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.25);
}

.stat-icon {
    font-size: 3rem;
    color: #f87171;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.stat-label {
    font-size: 1.1rem;
    color: #9ca3af;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   INTEREST BARS SECTION
   ======================================== */

.interests-bars {
    max-width: 900px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: rgba(26, 26, 26, 0.3);
    border-radius: 16px;
    border: 1px solid rgba(100, 100, 100, 0.2);
}

.interest-bar-item {
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.interest-bar-item:last-child {
    margin-bottom: 0;
}

.interest-bar-item:hover {
    transform: translateX(5px);
}

.interest-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.interest-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e5e7eb;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.interest-badge {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 0 8px currentColor;
}

.interest-percentage {
    font-size: 1.1rem;
    font-weight: 700;
    color: #d1d5db;
    min-width: 60px;
    text-align: right;
}

.interest-bar-bg {
    height: 32px;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(100, 100, 100, 0.2);
    position: relative;
}

.interest-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--bar-color, #dc2626);
    border-radius: 16px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px var(--bar-color, #dc2626);
}

.interest-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: slide 2s infinite;
}

@keyframes slide {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* ========================================
   CITY MAP SECTION
   ======================================== */

.knkyx-section-map {
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.05), transparent 70%);
    position: relative;
}

/* Interactive Leaflet Map Container */
.interactive-map-container {
    max-width: 1200px;
    margin: 3rem auto 2rem;
    background: rgba(20, 20, 20, 0.5);
    border: 1px solid rgba(100, 100, 100, 0.3);
    border-radius: 16px;
    padding: 2rem;
    overflow: hidden;
}

.map-header {
    text-align: center;
    margin-bottom: 2rem;
}

.map-status {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: #d1d5db;
    background: rgba(30, 30, 30, 0.6);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(100, 100, 100, 0.3);
}

.map-status strong {
    color: #f87171;
}

/* Leaflet Map Styling */
.club-member-map {
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(100, 100, 100, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.map-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #9ca3af;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px currentColor;
}

/* Custom Leaflet Marker Styling */
.custom-city-marker {
    background: transparent !important;
    border: none !important;
}

.city-marker-pin {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px currentColor, 0 4px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.city-marker-pin:hover {
    transform: scale(1.3);
    border-width: 4px;
}

.marker-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    opacity: 0.6;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.3;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Custom Popup Styling */
.custom-city-popup .leaflet-popup-content-wrapper {
    background: rgba(20, 20, 20, 0.95) !important;
    border: 1px solid rgba(220, 38, 38, 0.3) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7) !important;
    padding: 0 !important;
}

.custom-city-popup .leaflet-popup-tip {
    background: rgba(20, 20, 20, 0.95) !important;
    border: 1px solid rgba(220, 38, 38, 0.3) !important;
}

.custom-city-popup .leaflet-popup-content {
    margin: 0 !important;
    min-width: 200px;
}

.city-popup {
    padding: 1.5rem;
    color: #fff;
}

.city-popup h3 {
    margin: 0 0 1rem 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    border-bottom: 2px solid rgba(220, 38, 38, 0.3);
    padding-bottom: 0.75rem;
}

.popup-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.popup-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #d1d5db;
}

.popup-stat i {
    color: #f87171;
    font-size: 1rem;
}

.popup-stat.online i {
    color: #10b981;
    animation: pulse 2s ease-in-out infinite;
}

.popup-stat strong {
    color: #fff;
    font-weight: 600;
}

.popup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(45deg, #dc2626, #b91c1c);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
}

.popup-btn:hover {
    background: linear-gradient(45deg, #b91c1c, #991b1b);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

/* Marker Cluster Styling */
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
    background-color: rgba(220, 38, 38, 0.3) !important;
    border: 2px solid #dc2626 !important;
}

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
    background-color: rgba(220, 38, 38, 0.6) !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 14px !important;
}

.marker-cluster-large {
    background-color: rgba(185, 28, 28, 0.4) !important;
}

.marker-cluster-large div {
    background-color: rgba(185, 28, 28, 0.7) !important;
}

/* Old static map pins (fallback) - kept for compatibility */
.mini-live-map {
    max-width: 1000px;
    margin: 3rem auto 2rem;
    background: rgba(20, 20, 20, 0.5);
    border: 1px solid rgba(100, 100, 100, 0.3);
    border-radius: 16px;
    padding: 2rem;
    overflow: hidden;
    display: none; /* Hidden when Leaflet is active */
}

.city-map-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.city-map-item {
    background: rgba(26, 26, 26, 0.6);
    border: 2px solid rgba(100, 100, 100, 0.2);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
}

.city-map-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.city-map-item:hover,
.city-map-item.highlighted {
    border-color: #f87171;
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 10px 25px rgba(248, 113, 113, 0.2);
    background: rgba(26, 26, 26, 0.8);
}

.city-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.city-members {
    font-size: 1.1rem;
    color: #9ca3af;
    margin-bottom: 1rem;
}

.city-bar {
    height: 6px;
    background: rgba(100, 100, 100, 0.2);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.city-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--intensity);
    background: linear-gradient(90deg, #f87171, #dc2626);
    border-radius: 3px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.city-map-item:hover .city-bar::after,
.city-map-item.highlighted .city-bar::after {
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.6);
}

.city-map-note {
    text-align: center;
    color: #9ca3af;
    font-size: 1rem;
    margin-top: 2.5rem;
    padding: 1rem;
    background: rgba(100, 100, 100, 0.05);
    border-radius: 8px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.city-map-note i {
    color: #f87171;
    margin-right: 0.5rem;
}

/* ========================================
   ANIMATIONS & TRANSITIONS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.comparison-card,
.member-feature,
.trust-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 768px) {
    .knkyx-club-hero-visual {
        height: 100vh;
    }
    
    .knkyx-club-hero-content {
        padding: 0 var(--knkyx-space-md) var(--knkyx-space-md);
        margin-bottom: var(--knkyx-space-sm);
    }
    
    .knkyx-club-hero-background {
        background-attachment: scroll;
    }
    
    .knkyx-hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--knkyx-space-md);
        max-width: 100%;
    }
    
    .knkyx-club-hero-content h1 {
        font-size: 2rem;
    }
    
    .knkyx-club-hero-content .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-quick-stats {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
}

/* ========== CUSTOM ICON IMAGES ========== */

/* Section icon containers */
.stat-icon img,
.comparison-icon img,
.member-feature-icon img,
.trust-icon img {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Trust badges & quick stats (inline small icons) */
.trust-badge img,
.quick-stat img {
    width: 1.3em;
    height: 1.3em;
    object-fit: contain;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Button icon images */
.knkyx-btn img {
    width: 1.2em;
    height: 1.2em;
    vertical-align: middle;
    object-fit: contain;
    margin-right: 0.15em;
    position: relative;
    top: -0.05em;
}

/* Pricing label/badge images */
.pricing-header-label img {
    width: 1.2em;
    height: 1.2em;
    vertical-align: middle;
    object-fit: contain;
}


