/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    background: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

/* Контейнер для регистрации */
.Registration {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle, #0a0a0a, #000);
    position: relative;
    overflow: hidden;
}

/* Заголовок */
.Registration h1 {
    color: #00ffcc;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px #00ffcc, 0 0 20px #00ffcc, 0 0 40px #00ffcc;
    font-size: 2.5rem;
    letter-spacing: 3px;
    animation: neonGlow 1.5s infinite alternate;
}

@keyframes neonGlow {
    from {
        text-shadow: 0 0 10px #00ffcc, 0 0 20px #00ffcc, 0 0 40px #00ffcc;
    }
    to {
        text-shadow: 0 0 20px #00ffcc, 0 0 40px #00ffcc, 0 0 80px #00ffcc;
    }
}

/* Форма регистрации */
.Registration_form {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid #00ffcc;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.3), inset 0 0 20px rgba(0, 255, 204, 0.1);
    backdrop-filter: blur(10px);
    min-width: 350px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.Registration_form:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.5), inset 0 0 30px rgba(0, 255, 204, 0.2);
}

/* Эффекты углов формы */
.Registration_form::before,
.Registration_form::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    border: 2px solid #00ffcc;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.Registration_form::before {
    top: -10px;
    left: -10px;
    border-right: none;
    border-bottom: none;
    border-radius: 15px 0 0 0;
}

.Registration_form::after {
    bottom: -10px;
    right: -10px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 15px 0;
}

.Registration_form:hover::before,
.Registration_form:hover::after {
    width: 60px;
    height: 60px;
    opacity: 1;
}

/* Поле ввода */
.input_register {
    width: 100%;
    padding: 14px 20px;
    margin: 1rem 0 0.5rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    border: 2px solid #00ffcc;
    color: #00ffcc;
    caret-color: #00ffcc;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input_register::placeholder {
    color: rgba(0, 255, 204, 0.5);
    transition: all 0.3s ease;
}

.input_register:focus::placeholder {
    opacity: 0;
    transform: translateX(10px);
}

.input_register:focus {
    outline: none;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.4);
    transform: scale(1.02);
    background: rgba(0, 0, 0, 0.7);
    border-color: #00ffcc;
}

/* Контейнер для кнопок валюты */
.currency_buttons {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    margin: 1rem 0;
}

/* Кнопки валюты */
.currency_button {
    flex: 1 1 calc(20% - 10px);
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #00ffcc;
    color: #00ffcc;
    padding: 10px;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.currency_button:hover {
    background: rgba(0, 255, 204, 0.1);
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.3);
    transform: translateY(-2px);
}

.currency_button:active {
    background: rgba(0, 255, 204, 0.2);
    transform: translateY(0);
}

/* Кнопка регистрации */
.button_register {
    margin: 1.5rem 0 0.5rem;
    background: linear-gradient(45deg, #00ffcc, #00ccff);
    padding: 14px 20px;
    border-radius: 10px;
    width: 100%;
    border: none;
    color: #000;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.button_register::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: 0.5s;
}

.button_register:hover::before {
    left: 100%;
}

.button_register:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.4), 0 0 40px rgba(0, 255, 204, 0.2);
    background: linear-gradient(45deg, #00ccff, #00ffcc);
}

/* Анимация пульсации при нажатии */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 204, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 255, 204, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 204, 0);
    }
}

.button_register:active {
    animation: pulse 0.3s;
}

/* Адаптивность */
@media (max-width: 480px) {
    .Registration_form {
        min-width: 90%;
        padding: 2rem;
    }

    .Registration h1 {
        font-size: 2rem;
    }

    .currency_button {
        flex: 1 1 calc(50% - 10px);
    }
}