*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --liefro-red:    #E8192C;
    --liefro-dark:   #1A0A0B;
    --liefro-card:   rgba(255,255,255,0.06);
    --liefro-border: rgba(255,255,255,0.12);
    --liefro-input:  rgba(255,255,255,0.08);
    --text-primary:  #FFFFFF;
    --text-muted:    rgba(255,255,255,0.55);
}
body { font-family: 'Inter', sans-serif; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--liefro-dark); }
.bg-canvas { position: fixed; inset: 0; z-index: 0; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.35; animation: drift 14s ease-in-out infinite alternate; }
.blob-1 { width: 650px; height: 650px; background: radial-gradient(circle, #E8192C 0%, transparent 70%); top: -200px; left: -200px; animation-duration: 16s; }
.blob-2 { width: 500px; height: 500px; background: radial-gradient(circle, #7B0010 0%, transparent 70%); bottom: -150px; right: -150px; animation-duration: 12s; animation-delay: -6s; }
.blob-3 { width: 300px; height: 300px; background: radial-gradient(circle, #FF5C6E 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%,-50%); animation-duration: 20s; animation-delay: -3s; }
@keyframes drift { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,-40px) scale(1.08); } 100% { transform: translate(-20px,30px) scale(0.95); } }
.bg-grid { position: fixed; inset: 0; z-index: 1; background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px); background-size: 60px 60px; }
.page-wrapper { position: relative; z-index: 2; width: 100%; padding: 24px 16px; display: flex; justify-content: center; align-items: center; min-height: 100vh; }
.glass-card { background: var(--liefro-card); border: 1px solid var(--liefro-border); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); border-radius: 24px; width: 100%; max-width: 900px; display: grid; grid-template-columns: 1fr 1.6fr; overflow: hidden; box-shadow: 0 0 0 1px rgba(232,25,44,0.15), 0 40px 100px rgba(0,0,0,0.55); animation: cardIn 0.7s cubic-bezier(0.22,1,0.36,1) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(40px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.left-panel { background: linear-gradient(145deg, #E8192C 0%, #9B0015 100%); padding: 52px 36px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; position: relative; overflow: hidden; }
.left-panel::before { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; border: 60px solid rgba(255,255,255,0.06); top: -80px; left: -80px; }
.left-panel::after { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 50px solid rgba(255,255,255,0.06); bottom: -60px; right: -60px; }
.logo-wrap { position: relative; z-index: 1; background: rgba(255,255,255,0.12); border-radius: 20px; padding: 20px 28px; border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(10px); }
.logo-wrap img { max-width: 180px; display: block; filter: brightness(0) invert(1); }
.left-tagline { position: relative; z-index: 1; color: rgba(255,255,255,0.90); font-size: 14px; font-weight: 400; line-height: 1.7; text-align: center; max-width: 200px; }
.feature-strip { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; width: 100%; }
.feature-item { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.1); border-radius: 12px; padding: 10px 14px; border: 1px solid rgba(255,255,255,0.15); }
.feature-item i { color: #fff; font-size: 15px; width: 20px; text-align: center; }
.feature-item span { color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 500; }
.right-panel { padding: 56px 52px; display: flex; flex-direction: column; justify-content: center; }
.brand-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(232,25,44,0.15); border: 1px solid rgba(232,25,44,0.3); color: #FF6B7A; font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; margin-bottom: 24px; width: fit-content; }
.brand-badge i { font-size: 10px; }
.main-heading { font-size: 28px; font-weight: 800; color: var(--text-primary); line-height: 1.25; margin-bottom: 10px; }
.main-heading span { background: linear-gradient(90deg, #E8192C, #FF6B7A); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.sub-heading { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin-bottom: 36px; }
.search-wrapper { position: relative; margin-bottom: 16px; }
.search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 15px; pointer-events: none; transition: color 0.2s; }
.search-input { width: 100%; background: var(--liefro-input); border: 1.5px solid var(--liefro-border); border-radius: 14px; padding: 16px 18px 16px 46px; color: var(--text-primary); font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 400; outline: none; transition: border-color 0.25s, background 0.25s, box-shadow 0.25s; }
.search-input::placeholder { color: var(--text-muted); }
.search-input:focus { border-color: var(--liefro-red); background: rgba(232,25,44,0.06); box-shadow: 0 0 0 4px rgba(232,25,44,0.12); }
.btn-enter { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 15px 24px; border-radius: 14px; border: none; cursor: pointer; font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #E8192C 0%, #B50017 100%); box-shadow: 0 4px 20px rgba(232,25,44,0.45), inset 0 1px 0 rgba(255,255,255,0.15); transition: transform 0.2s, box-shadow 0.2s, filter 0.2s; text-decoration: none; margin-bottom: 28px; }
.btn-enter:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(232,25,44,0.55), inset 0 1px 0 rgba(255,255,255,0.15); filter: brightness(1.05); color: #fff; text-decoration: none; }
.btn-enter:active { transform: translateY(0); }
.btn-enter i { font-size: 14px; transition: transform 0.2s; }
.btn-enter:hover i { transform: translateX(4px); }
.divider { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.divider-line { flex: 1; height: 1px; background: var(--liefro-border); }
.divider-text { color: var(--text-muted); font-size: 12px; font-weight: 500; }
.stats-row { display: flex; gap: 12px; }
.stat-card { flex: 1; background: var(--liefro-input); border: 1px solid var(--liefro-border); border-radius: 12px; padding: 14px 12px; text-align: center; transition: border-color 0.2s, background 0.2s; }
.stat-card:hover { border-color: rgba(232,25,44,0.3); background: rgba(232,25,44,0.06); }
.stat-number { font-size: 20px; font-weight: 800; color: var(--text-primary); line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 11px; color: var(--text-muted); font-weight: 500; }
#ajax-loader { display: none; position: fixed; inset: 0; z-index: 999; background: rgba(26,10,11,0.75); backdrop-filter: blur(6px); align-items: center; justify-content: center; }
#ajax-loader.active { display: flex; }
.spinner-ring { width: 52px; height: 52px; border: 4px solid rgba(232,25,44,0.2); border-top-color: var(--liefro-red); border-radius: 50%; animation: spin 0.75s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 768px) { .glass-card { grid-template-columns: 1fr; max-width: 480px; } .left-panel { padding: 36px 28px; } .right-panel { padding: 36px 28px; } .main-heading { font-size: 22px; } .logo-wrap img { max-width: 140px; } }

/* Language Picker Styles */
.lang-selector-wrapper {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--liefro-card);
    border: 1px solid var(--liefro-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px 16px;
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.lang-btn img, .lang-option img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-btn i {
    font-size: 10px;
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

.lang-selector-wrapper.active .lang-btn i {
    transform: rotate(180deg);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #1a0a0b;
    border: 1px solid var(--liefro-border);
    border-radius: 12px;
    width: 140px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    animation: dropIn 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lang-selector-wrapper.active .lang-dropdown {
    display: block;
}

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

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    transition: background 0.2s;
    cursor: pointer;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.lang-option.active {
    background: rgba(232, 25, 44, 0.15);
    color: #FF6B7A;
    font-weight: 600;
}
