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

body {
    background-color: #020205;
    color: #ffffff;
    display: flex;
    flex-direction: column; /* Изменено для позиционирования футера */
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

.ambient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.blob {
    position: absolute;
    filter: blur(100px);
    border-radius: 50%;
    opacity: 0.45;
    animation: float 25s infinite alternate ease-in-out;
}

.blob-1 {
    background: #0044ff;
    width: 60vw;
    height: 60vw;
    top: -20vh;
    left: -15vw;
}

.blob-2 {
    background: #00d2ff;
    width: 50vw;
    height: 50vw;
    bottom: -15vh;
    right: -10vw;
    animation-delay: -10s;
}

.blob-3 {
    background: #3d00ff;
    width: 40vw;
    height: 40vw;
    top: 20%;
    right: 10%;
    opacity: 0.25;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(8vw, 12vh) scale(1.1); }
}

.card {
    background: rgba(15, 15, 18, 0.45);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 50px 35px;
    border-radius: 32px;
    text-align: center;
    max-width: 380px;
    width: 92%;
    z-index: 1;
    box-shadow: 0 40px 80px rgba(0,0,0,0.7), 
                inset 0 0 20px rgba(255, 255, 255, 0.02);
    position: relative;
}

.card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 32px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent, rgba(0, 210, 255, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.brand {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    margin-bottom: 28px;
}

h1 {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.5;
    margin-bottom: 38px;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 18px;
    text-decoration: none;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
}

.neon-btn {
    background: transparent;
    color: #00d2ff;
    border: 1.5px solid rgba(0, 210, 255, 0.8);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.15);
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

.neon-btn:active {
    transform: scale(0.97);
    background: rgba(0, 210, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.3);
}

.hidden {
    display: none !important;
}

#result {
    margin-top: 10px;
    animation: fadeIn 0.5s ease-out;
}

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

.udid-wrapper {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 20px;
}

code {
    font-family: ui-monospace, SFMono-Regular, monospace;
    font-size: 14px;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.copy-btn:active {
    transform: scale(0.97);
    background: rgba(255, 255, 255, 0.1);
}

/* Стили рекламы - ОБНОВЛЕНО */
.footer-promo {
    position: absolute;
    bottom: 60px; /* Было 30px, теперь 60px — текст стал выше */
    z-index: 1;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    width: 100%;
    letter-spacing: 0.5px;
}

.footer-promo a {
    color: rgba(0, 210, 255, 0.5);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.footer-promo a:hover {
    color: rgba(0, 210, 255, 1);
}
