* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}

body {
    background: #020b18;
    height: 100vh;
    overflow: hidden;
    color: white;
}

#bg {
    position: fixed;
    inset: 0;
    z-index: 0;
}

/* Гирлянда с плавным переливом цветов */
.garland {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 1;
    pointer-events: none;
}

.light {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00d4ff;
    box-shadow: 
        0 0 8px #fff,
        0 0 16px currentColor;
    animation: lightPulse 4s ease-in-out infinite alternate;
}

@keyframes garlandFlow {
    0%   { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

@keyframes lightPulse {
    0%   { transform: scale(1); opacity: 0.7; box-shadow: 0 0 8px currentColor; }
    100% { transform: scale(1.4); opacity: 1;   box-shadow: 0 0 20px currentColor; }
}

.card {
    width: 360px;
    max-width: 90%;
    margin: 100px auto 140px;
    padding: 32px 24px;
    border-radius: 28px;
    background: rgba(10, 20, 40, 0.58);
    backdrop-filter: blur(22px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.65);
    text-align: center;
    position: relative;
    z-index: 2;
}

.santa {
    position: absolute;
    top: -20px;
    right: -45px;
    width: 90px;
    height: auto;
    z-index: 3;
    transform: rotate(12deg);
}

.santa img {
    width: 50%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.6));
}

.logo {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 14px;
    color: #00d4ff;
    text-shadow: 
        0 0 6px #00d4ff,
        0 0 12px #00d4ff,
        0 0 20px rgba(0, 212, 255, 0.4);
    letter-spacing: -1px;
}

.hello {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 500;
}

.desc {
    opacity: 0.7;
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 28px;
}

.stat {
    background: rgba(0, 255, 200, 0.12);
    color: #00ffd0;
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 14px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

.green-dot {
    display: inline-block;
    width: 7px;
    height: 5px;
    background-color: #00ffd0;
    border-radius: 50%;
    animation: blinkSlow 2.2s infinite;
    flex-shrink: 0;
    box-shadow: 0 0 6px #00ffd0;
}

@keyframes blinkSlow {
    0%, 100% { 
        opacity: 1; 
        transform: scaleX(1.1);
        box-shadow: 0 0 8px #00ffd0; 
    }
    50% { 
        opacity: 0.25; 
        transform: scaleX(0.9);
        box-shadow: none; 
    }
}

.upload, .send {
    width: 100%;
    padding: 16px;
    border-radius: 18px;
    font-size: 17px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.upload {
    background: linear-gradient(90deg, #0a5cff, #003cff);
    color: white;
}

.send {
    background: linear-gradient(90deg, #00d49f, #00bfff);
    color: black;
    margin-top: 14px;
}

.shield {
    margin-top: 20px;
    font-size: 13px;
    opacity: 0.65;
}

.bottom {
    position: fixed;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 16px;
    z-index: 2;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
    pointer-events: none;
}

.modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.modal-content {
    width: 100%;
    max-width: 380px;
    background: rgba(20, 35, 65, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px 24px 0 0;
    padding: 28px 24px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-align: center;
}

.modal-body {
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255,255,255,0.85);
}

.modal-body ol {
    padding-left: 24px;
    margin: 0;
}

.modal-body ol li {
    margin-bottom: 16px;
}

.modal-body strong {
    color: white;
    font-weight: 600;
}

.faq-item {
    margin-bottom: 24px;
}

.faq-item strong {
    display: block;
    margin-bottom: 6px;
    color: white;
}

.modal-close {
    width: 100%;
    padding: 16px;
    margin-top: 20px;
    background: linear-gradient(90deg, #00d49f, #00bfff);
    color: black;
    font-size: 17px;
    font-weight: 600;
    border: none;
    border-radius: 18px;
    cursor: pointer;
}

.bottom button {
    background: rgba(255,255,255,0.08);
    border: none;
    color: white;
    padding: 12px 26px;
    border-radius: 16px;
    font-size: 14px;
}

.hidden {
    display: none;
}