:root {
    --primary-pink: #e6005c;
    --gradient-pink: linear-gradient(135deg, #ff5e97 0%, #e6005c 100%);
    --light-pink-bg: #fff0f6;
    --dark-pink-text: #b30047;
    --green-status: #10ac84;
    --orange-status: #f39c12;
    --radius: 20px;
    --font-main: 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    width: 100%; height: 100%; height: 100dvh;
    overflow: hidden; position: fixed;
    font-family: var(--font-main); background: #000;
}

.bg-image {
    position: absolute; inset: 0;
    background: url('img/bg.jpg') center/cover no-repeat;
    filter: blur(8px) brightness(0.6);
    transform: scale(1.1); z-index: 0;
}
.bg-overlay {
    position: absolute; inset: 0;
    background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

#snow-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 2; overflow: hidden;
}
.snowflake {
    position: absolute; top: -10px; color: #fff; font-size: 1em;
    font-family: Arial, sans-serif; text-shadow: 0 0 5px #000;
    user-select: none; z-index: 2;
    animation-name: fall; animation-timing-function: linear; animation-iteration-count: infinite;
}
@keyframes fall {
    0% { transform: translateY(-10vh) translateX(0); opacity: 1; }
    100% { transform: translateY(110vh) translateX(20px); opacity: 0.3; }
}

.top-nav {
    position: absolute; top: 0; left: 0; right: 0;
    height: 60px; padding: 0 15px;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 100; color: white;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
}
.nav-logo { 
    font-weight: 800; font-size: 1.1rem; 
    display: flex; gap: 8px; align-items: center;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.santa-hat-wrapper { position: relative; display: flex; align-items: center; }
.logo-icon { color: var(--primary-pink); }
.santa-hat-img {
    position: absolute; top: -14px; right: -8px; width: 24px; height: auto;
    transform: rotate(15deg); filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.5)); z-index: 101;
}

.nav-links { display: flex; align-items: center; gap: 10px; }
.login-btn { 
    width: 36px; height: 36px;
    border-radius: 50%; background: rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: white; text-decoration: none;
}
.btn-register-nav {
    background: var(--primary-pink);
    color: white; padding: 8px 14px; border-radius: 20px;
    font-size: 0.8rem; text-decoration: none; font-weight: 600;
    text-transform: uppercase;
}

.main-widget {
    position: relative; z-index: 5;
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    padding: 65px 10px 10px 10px; 
}
.cards-container { 
    position: relative; flex: 1; width: 100%; max-width: 400px; margin: 0 auto; perspective: 1000px; 
}
.card-stack, #empty-state { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; }

.profile-card {
    width: 100%; height: 100%; 
    background: white; border-radius: var(--radius);
    position: absolute; box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    overflow: hidden; cursor: grab;
    display: flex; flex-direction: column;
}
.card-image-wrapper { flex: 1; min-height: 0; position: relative; background: #222; }
.card-image-wrapper img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

.card-content {
    flex-shrink: 0; background: white;
    padding: 12px 15px 15px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 8px; text-align: center;
}
.card-content h2 { font-size: 1.4rem; font-weight: 800; color: #111; margin: 0; line-height: 1.2; }

.distance-badge {
    font-size: 0.75rem; color: #666; background: #f3f3f3;
    padding: 3px 10px; border-radius: 20px;
    display: inline-flex; align-items: center; gap: 5px; font-weight: 500;
}
.status-indicator { font-weight: 600; font-size: 0.8rem; display: flex; align-items: center; gap: 6px; }
.status-indicator.online { color: var(--green-status); }
.status-indicator.away { color: var(--orange-status); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.status-dot.online { background: var(--green-status); box-shadow: 0 0 0 3px rgba(16, 172, 132, 0.15); }
.status-dot.away { background: var(--orange-status); box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.15); }

.btn-main-action {
    width: 100%; background: var(--gradient-pink); color: white;
    border: none; border-radius: 50px; padding: 12px;
    font-size: 0.95rem; font-weight: 700; cursor: pointer;
    box-shadow: 0 8px 20px rgba(230, 0, 92, 0.3);
    display: flex; align-items: center; justify-content: center; gap: 8px;
    text-transform: uppercase; animation: pulse-btn 2s infinite; margin-top: 2px;
}
@keyframes pulse-btn {
    0% { box-shadow: 0 0 0 0 rgba(230, 0, 92, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(230, 0, 92, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 0, 92, 0); }
}

.actions-row { display: flex; gap: 10px; width: 100%; margin-top: 2px; }

/* ZMIENIONY STYL DLA DOLNYCH PRZYCISKÓW (GRUBSZE, WIĘKSZE) */
.btn-secondary {
    flex: 1; background: #fff; color: var(--dark-pink-text);
    border: 2px solid var(--light-pink-bg); border-radius: 14px;
    padding: 10px; /* Więcej oddechu */
    font-size: 0.85rem; /* Większa czcionka */
    font-weight: 700; /* Pogrubienie */
    cursor: pointer;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    white-space: nowrap;
}
.btn-secondary i { font-size: 1.2rem; color: var(--primary-pink); } /* Większa ikona */

.phone-container { 
    display: flex; gap: 3px; align-items: center; 
    font-family: 'Poppins', sans-serif; 
    font-weight: 800; /* Bardzo gruby numer */
    font-size: 0.9rem;
}
.blur-text { filter: blur(4px); opacity: 0.7; }

.swipe-tag {
    position: absolute; top: 30px; padding: 6px 16px;
    border: 4px solid; border-radius: 10px;
    font-size: 1.8rem; font-weight: 800; text-transform: uppercase;
    opacity: 0; z-index: 20;
}
.tag-like { left: 20px; color: #2ecc71; border-color: #2ecc71; transform: rotate(-15deg); }
.tag-nope { right: 20px; color: #ff4757; border-color: #ff4757; transform: rotate(15deg); }

.widget-footer { text-align: center; color: rgba(255,255,255,0.5); font-size: 0.7rem; padding: 10px 0 5px; }

/* MODALE */
.modal {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.85);
    z-index: 999; justify-content: center; align-items: center;
    padding: 20px; animation: fadeIn 0.3s;
}
.modal-box {
    background: white; width: 100%; max-width: 320px; border-radius: 20px;
    text-align: center; position: relative; overflow: hidden;
}
.close-icon { position: absolute; top: 15px; right: 15px; font-size: 1.5rem; cursor: pointer; color: #999; }
.modal-header { padding: 20px 20px 10px; }
.modal-header i { font-size: 2.2rem; margin-bottom: 8px; }
.modal-header h2 { font-size: 1.3rem; color: #333; margin: 0; }
.modal-body { padding: 5px 20px 25px; }
.modal-body p { color: #666; font-size: 0.85rem; margin-bottom: 15px; line-height: 1.4; }
.btn-cta-modal {
    display: block; width: 100%; background: var(--gradient-pink);
    color: white; text-decoration: none; padding: 14px;
    border-radius: 50px; font-weight: 600; border: none; cursor: pointer; font-size: 0.95rem;
}
.btn-disabled { background: #ccc; cursor: not-allowed; }
.secure-info { margin-top: 12px; font-size: 0.7rem; color: #aaa; }
.checkbox-wrapper {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    margin-bottom: 15px; background: #f9f9f9; padding: 12px; border-radius: 10px; border: 1px solid #eee;
}
.checkbox-wrapper input { transform: scale(1.3); accent-color: var(--primary-pink); }
@keyframes fadeIn { from {opacity:0} to {opacity:1} }

#notification-container {
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 2000; pointer-events: none;
    display: flex; justify-content: center;
}
.notification-slider {
    background: rgba(16, 16, 16, 0.95); color: #fff;
    backdrop-filter: blur(10px); border-bottom-left-radius: 12px; border-bottom-right-radius: 12px;
    padding: 12px 24px; box-shadow: 0 5px 20px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.1); border-top: none;
    display: flex; align-items: center; gap: 10px; font-size: 0.85rem;
    transform: translateY(-150%); transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); pointer-events: auto;
}
.notification-slider.show { transform: translateY(0); }
.notification-slider i { color: #2ecc71; font-size: 1rem; }

@media (max-width: 480px) {
    .notification-slider {
        width: 92%; border-radius: 12px; margin-top: 10px;
        font-size: 0.8rem; padding: 10px 15px; justify-content: center;
    }
}
@media (max-height: 660px) {
    .main-widget { padding-top: 55px; }
    .card-content { padding-bottom: 10px; }
    .btn-main-action { padding: 10px; margin-top: 2px; }
    .widget-footer { font-size: 0.7rem; margin-top: 5px; }
}
