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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #0a0e27;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

body::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 230, 180, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -400px;
    right: -300px;
    animation: float___animation 12s ease-in-out infinite;
}

body::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 150, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -300px;
    left: -200px;
    animation: float___animation 15s ease-in-out infinite reverse;
}

@keyframes float___animation {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-40px) translateX(40px);
    }
}

.main___container {
    background: rgba(15, 20, 40, 0.95);
    backdrop-filter: blur(25px);
    max-width: 500px;
    width: 100%;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 1px rgba(0, 230, 180, 0.3);
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(0, 230, 180, 0.2);
    border-radius: 2px;
}

.right___section {
    padding: 60px 50px;
    background: rgba(0, 0, 0, 0.4);
}

.logo___section {
    text-align: center;
    margin-bottom: 35px;
}

.logo___wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    display: block;
    position: relative;
}

.logo___wrapper::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(0, 230, 180, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse___glow 3s ease-in-out infinite;
}

@keyframes pulse___glow {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.logo___wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0, 230, 180, 0.4));
    position: relative;
    z-index: 1;
}

.form___header {
    text-align: center;
    margin-bottom: 35px;
}

.form___header h2 {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 230, 180, 0.2);
}

.form___header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
}

.form___group {
    margin-bottom: 22px;
}

.form___label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin-bottom: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form___input,
.form___select {
    width: 100%;
    padding: 15px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 230, 180, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form___input:focus,
.form___select:focus {
    outline: none;
    border-color: #00e6b4;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 230, 180, 0.1), 0 4px 12px rgba(0, 230, 180, 0.15);
    transform: translateY(-1px);
}

.form___input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form___select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2300e6b4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 45px;
}

.form___select option {
    background: #0a0e1e;
    color: white;
}

.submit___btn {
    width: 100%;
    padding: 17px;
    background: linear-gradient(135deg, #00e6b4 0%, #00a896 100%);
    border: none;
    border-radius: 10px;
    color: #0a0e1e;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    box-shadow: 0 10px 30px rgba(0, 230, 180, 0.4);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit___btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

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

.submit___btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 230, 180, 0.6);
}

.submit___btn:active {
    transform: translateY(0);
}

.submit___btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.success___screen {
    display: none;
    text-align: center;
    padding: 60px 40px;
}

.success___screen.active___state {
    display: block;
    animation: fade___in 0.5s ease;
}

@keyframes fade___in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success___icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #00e6b4 0%, #00a896 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    animation: scale___in 0.6s ease;
    box-shadow: 0 10px 30px rgba(0, 230, 180, 0.5);
}

@keyframes scale___in {
    from {
        transform: scale(0) rotate(-180deg);
    }

    to {
        transform: scale(1) rotate(0);
    }
}

.success___icon svg {
    width: 45px;
    height: 45px;
    stroke: #0a0e1e;
    stroke-width: 3;
    fill: none;
}

.success___screen h2 {
    color: white;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 18px;
    text-shadow: 0 2px 10px rgba(0, 230, 180, 0.2);
}

.success___screen p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 35px;
}

.telegram___btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    background: linear-gradient(135deg, #00e6b4 0%, #00a896 100%);
    color: #0a0e1e;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 230, 180, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.telegram___btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 230, 180, 0.6);
}

.telegram___btn:active {
    transform: translateY(0);
}

.form___container.hidden___state {
    display: none;
}

.contact___input___wrapper {
    display: none;
}

.contact___input___wrapper.active___state {
    display: block;
    animation: slide___down 0.3s ease;
}

@keyframes slide___down {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error___message {
    display: none;
    background: rgba(220, 38, 38, 0.15);
    color: #ff6b6b;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 22px;
    font-size: 14px;
    border-left: 3px solid #ff6b6b;
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.error___message.active___state {
    display: block;
    animation: slide___down 0.3s ease;
}

.loading___spinner {
    display: none;
    width: 22px;
    height: 22px;
    border: 3px solid rgba(10, 14, 30, 0.3);
    border-top-color: #0a0e1e;
    border-radius: 50%;
    animation: spin___animation 0.8s linear infinite;
    margin: 0 auto;
}

@keyframes spin___animation {
    to {
        transform: rotate(360deg);
    }
}

.submit___btn.loading___state .loading___spinner {
    display: block;
}

.submit___btn.loading___state .btn___text {
    display: none;
}

@media (max-width: 768px) {
    .right___section {
        padding: 40px 30px;
    }

    .form___header h2 {
        font-size: 24px;
    }

    .logo___wrapper {
        width: 80px;
        height: 80px;
    }
}