:root {
    --bg-color: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #3b82f6;
    --primary-gradient: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

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

body {
    background-color: var(--bg-color);
    font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    overflow-x: hidden;
    position: relative;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
}
.blob-1 { width: 300px; height: 300px; background: #3b82f6; top: -10%; left: -10%; }
.blob-2 { width: 400px; height: 400px; background: #8b5cf6; bottom: -20%; right: -10%; }

.container { width: 100%; max-width: 420px; perspective: 1000px; position: relative; }

/* Секретная кнопка */
.secret-btn {
    position: absolute;
    top: -15px;
    left: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 10px;
    font-family: inherit;
    padding: 5px 10px;
    border-radius: 10px;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.secret-btn:hover {
    background: rgba(236, 72, 153, 0.2);
    color: #ec4899;
    border-color: #ec4899;
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.3);
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 25px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: relative;
}

.status-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(59, 130, 246, 0.2); color: #60a5fa;
    padding: 6px 14px; border-radius: 20px; font-size: 11px;
    font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px;
}

.status-badge .dot {
    width: 8px; height: 8px; background-color: #60a5fa;
    border-radius: 50%; box-shadow: 0 0 10px #60a5fa; animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(96, 165, 250, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(96, 165, 250, 0); }
}

h1 {
    font-size: 28px; font-weight: 800; line-height: 1.2; margin-bottom: 10px;
    background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.subtitle { color: var(--text-muted); font-size: 13px; line-height: 1.5; margin-bottom: 20px; }
.section-title { font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 10px; margin-top: 15px; }

/* Горизонтальный скролл */
.horizontal-scroll {
    display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none;
}
.horizontal-scroll::-webkit-scrollbar { display: none; }

/* Карточки дат */
.date-card {
    min-width: 70px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 10px; border-radius: 16px; text-align: center; cursor: pointer;
    transition: all 0.2s ease; display: flex; flex-direction: column; align-items: center; gap: 5px; flex-shrink: 0;
}
.date-card .day-name { font-size: 11px; color: var(--text-muted); text-transform: uppercase; }
.date-card .day-num { font-size: 18px; font-weight: 700; }
.date-card .month-name { font-size: 10px; color: var(--text-muted); }
.date-card:hover { background: rgba(255, 255, 255, 0.1); }
.date-card.active { background: rgba(59, 130, 246, 0.15); border-color: var(--primary); box-shadow: 0 0 15px rgba(59, 130, 246, 0.2); }
.date-card.active .day-num { color: var(--primary); }

/* Кнопки времени */
.time-pill {
    padding: 10px 20px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: all 0.2s ease;
}
.time-pill.active { background: var(--primary); border-color: var(--primary); color: white; box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4); }

/* Поле ввода */
.input-wrapper { position: relative; margin-bottom: 15px; }
.input-wrapper i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--primary); }
.input-wrapper input {
    width: 100%; background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 15px 15px 45px; border-radius: 16px; color: white; font-family: inherit; font-size: 14px; outline: none; transition: border 0.3s;
}
.input-wrapper input:focus { border-color: var(--primary); background: rgba(0, 0, 0, 0.3); }

/* Карта */
.map-wrapper {
    height: 150px; border-radius: 16px; overflow: hidden; margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1); filter: invert(90%) hue-rotate(180deg) brightness(80%) contrast(120%); position: relative;
}
.map-wrapper iframe { width: 100%; height: 100%; border: none; }

/* Кнопки */
.action-area { position: relative; height: 60px; display: flex; justify-content: center; }
.btn-confirm {
    width: 100%; background: var(--primary-gradient); color: white; border: none;
    padding: 18px; border-radius: 16px; font-family: inherit; font-size: 15px; font-weight: 700;
    cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.4);
}
.btn-confirm:hover { transform: translateY(-2px); box-shadow: 0 15px 25px -5px rgba(59, 130, 246, 0.5); }

.btn-reject {
    position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    background: transparent; color: var(--text-muted); border: none; font-family: inherit;
    font-size: 12px; cursor: pointer; padding: 10px; text-decoration: underline; z-index: 10;
    opacity: 0.3; transition: opacity 0.3s;
}
.btn-reject:hover { opacity: 1; color: #ef4444; }

/* Экран успеха */
.success-screen { text-align: center; padding: 20px 0; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.success-icon { font-size: 60px; color: #10b981; margin-bottom: 20px; text-shadow: 0 0 20px rgba(16, 185, 129, 0.4); }
.success-screen h1 { font-size: 32px; margin-bottom: 10px; }
.details-box {
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px; border-radius: 16px; margin: 20px 0; text-align: left; font-size: 15px; line-height: 1.8;
}
.details-box span { color: var(--primary); font-weight: 600; }

/* Секретный экран любви */
.love-screen { text-align: center; padding: 20px 0; animation: fadeIn 0.5s ease; }
.love-screen h1 { font-size: 26px; background: linear-gradient(135deg, #ec4899, #f43f5e); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 20px; }
.love-heart { font-size: 80px; color: #ec4899; animation: heartbeat 1s infinite; margin-bottom: 10px; text-shadow: 0 0 30px rgba(236, 72, 153, 0.5); }
@keyframes heartbeat { 0% { transform: scale(1); } 14% { transform: scale(1.1); } 28% { transform: scale(1); } 42% { transform: scale(1.1); } 70% { transform: scale(1); } }

/* Toast уведомление */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #ef4444;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.4);
    transition: bottom 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
}
.toast.show { bottom: 30px; }