.block__contacts {
    position: relative;
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    overflow: hidden;
    padding: 4rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
}

.contacts-content {
    position: relative;
    z-index: 5;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Форма - идентично .content__item */
.contacts__form {
    max-width: 550px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 2vh;
    padding: 2rem 1.5rem;
    border: 0px solid #00ff41;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(0, 255, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: rgb(255 255 255 / 10%);
    margin: 25px auto 0;
}

/* Сканирующая полоса */
.contacts__form::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(0, 255, 65, 0.15) 30%,
        rgba(0, 255, 65, 0.25) 50%,
        rgba(0, 255, 65, 0.15) 70%,
        transparent 100%);
    transition: top 0.6s cubic-bezier(0.65, 0, 0.35, 1);
    pointer-events: none;
    z-index: 1;
}

.contacts__form:hover::before {
    top: 100%;
}

/* Матричный дождь */
.contacts__form::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: repeating-linear-gradient(0deg,
        rgba(0, 255, 65, 0) 0px,
        rgba(0, 255, 65, 0) 2px,
        rgba(0, 255, 65, 0.08) 2px,
        rgba(0, 255, 65, 0.08) 4px);
    pointer-events: none;
    transition: height 0.3s ease;
    z-index: 0;
}

.contacts__form:hover::after {
    height: 100%;
    animation: matrixRainCard 0.4s linear infinite;
}

/* Hover эффекты - идентично .content__item:hover */
.contacts__form:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 21px rgba(0, 255, 65, 1);
    border-color: #00ffaa;
    background: #0a1a0a;
    background-image: repeating-radial-gradient(
        circle at 20% 30%,
        rgba(0, 255, 65, 1) 0px,
        rgba(0, 255, 65, 1) 2px,
        transparent 2px,
        transparent 4px
    );
    background-blend-mode: overlay;
}

/* Глитч заголовка формы */
.contacts__form:hover .form__title {
    animation: glitchText 0.3s ease-in-out infinite;
    text-shadow: 0 0 5px #00ff41, 0 0 10px #00ff41;
}

/* Мерцание промпта */
.contacts__form:hover .form__prompt {
    animation: textFlicker 0.2s ease-in-out 2;
}

/* Код в углах формы */
.contacts__form .matrix-code-hover {
    position: absolute;
    bottom: 8px;
    right: 8px;
    
    font-size: 7px;
    color: rgba(0, 255, 65, 0);
    transition: color 0.2s ease;
    pointer-events: none;
    z-index: 2;
}

.contacts__form:hover .matrix-code-hover {
    color: rgba(0, 255, 65, 0.5);
    animation: blinkCode 0.8s step-end infinite;
}

.contacts__form .hover-code {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 8px;
    font-family: monospace;
    color: transparent;
    transition: color 0.2s;
    pointer-events: none;
    z-index: 3;
}

.contacts__form:hover .hover-code {
    color: rgba(0, 255, 65, 0.4);
    animation: codeBlink 0.5s step-end infinite;
}

.form__header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed rgba(0, 255, 65, 0.4);
    position: relative;
    z-index: 2;
}

.form__prompt {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.contacts__form:hover .form__prompt {
    color: #00ffaa;
}

.form__title {
    color: #ffffff;
    font-size: 1.15rem;
    
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.cursor-blink {
    animation: blinkCursor 1s step-end infinite;
    color: #00ff41;
}

@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.form__group {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.form__label {
    display: block;
    color: #ffffff;
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.contacts__form:hover .form__label {
    color: #b8ffb8;
}

.label-sign {
    color: #00ff41;
    margin-right: 5px;
}

.form__input,
.form__select,
.form__textarea {
    width: 100%;
    background: rgba(0, 10, 0, 0.8);
    border: 1px solid #00ff41;
    padding: 0.8rem 1rem;
    color: #b8ffb8;
    
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.contacts__form:hover .form__input,
.contacts__form:hover .form__select,
.contacts__form:hover .form__textarea {
    border-color: #00ffaa;
    background: rgba(0, 20, 0, 0.9);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    outline: none;
    border-color: #00ffaa;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.3);
    background: rgba(0, 20, 0, 0.9);
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: #2a5a2a;
}

.select__wrapper {
    position: relative;
}

.form__select {
    cursor: pointer;
    appearance: none;
    padding-right: 2rem;
}

.form__select option {
    background: #030503;
    color: #b8ffb8;
}

.select__arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #00ff41;
    pointer-events: none;
    font-size: 0.7rem;
    transition: all 0.3s ease;
}

.contacts__form:hover .select__arrow {
    color: #00ffaa;
    filter: drop-shadow(0 0 5px #00ff41);
}

.form__textarea {
    resize: vertical;
    min-height: 68px;
}

/* Кнопка отправки */
.form__submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: transparent;
    border: 1px solid #00ff41;
    padding: 0.9rem;
    color: #00ff41;
    
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.form__submit:hover {
    background: #00ff41;
    color: #030503;
    box-shadow: 0 0 20px #00ff41;
}

.form__submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn__arrow {
    transition: transform 0.3s ease;
}

.form__submit:hover .btn__arrow {
    transform: translateX(5px);
}

.btn__glitch-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    pointer-events: none;
}

.form__submit:hover .btn__glitch-effect {
    transform: translateX(100%);
}

/* Статус формы */
.form__status {
    margin-top: 1rem;
    padding: 0.8rem;
    text-align: center;
    font-size: 0.8rem;
    font-family: monospace;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.form__status.loading {
    color: #00ff41;
    border: 1px dashed #00ff41;
    background: rgba(0, 255, 65, 0.05);
    animation: borderPulse 1.5s infinite;
}

.form__status.success {
    color: #00ffaa;
    border: 1px solid #00ffaa;
    background: rgba(0, 255, 170, 0.05);
}

.form__status.error {
    color: #ff4444;
    border: 1px solid #ff4444;
    background: rgba(255, 68, 68, 0.05);
}

.hidden {
    display: none;
}

/* Футер */
.contacts__footer {
    margin-top: 40px;
    text-align: center;
    position: relative;
    z-index: 5;
}

.footer__divider {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.divider__text {
    color: #00ff41;
    font-size: 0.7rem;
    letter-spacing: 3px;
    background: rgba(0, 10, 0, 0.8);
    padding: 0.3rem 1rem;
    border: 1px solid rgba(0, 255, 65, 0.3);
}

.footer__links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer__link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #7acc7a;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    padding: 0.3rem 0.8rem;
}

.footer__link:hover {
    color: #00ff41;
    text-shadow: 0 0 5px #00ff41;
    background: rgba(0, 255, 65, 0.1);
}

.footer__status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    padding: 0.8rem;
    border-top: 1px solid rgba(0, 255, 65, 0.2);
    margin-top: 0.5rem;
}

.status__led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff41;
    box-shadow: 0 0 8px #00ff41;
    animation: pulseLed 1.5s infinite;
}

@keyframes pulseLed {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.status__text {
    color: #00ff41;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
}

.status__glitch {
    color: #7acc7a;
    font-size: 15px;
    opacity: 0.6;
}

/* CRT эффект выключения */
.crt-turn-off {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    background: transparent;
    opacity: 0;
    transition: opacity 0.1s;
    overflow: hidden;
}

.crt-turn-off.active {
    opacity: 1;
}

.crt-band {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50vh;
    background: #0a0f0a;
    transition: transform 1s cubic-bezier(0.7, 0, 0.3, 1);
    transform: translateY(0);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
}

.crt-band-top {
    top: 0;
    border-bottom: 1px solid #a5a5a5;
}

.crt-band-bottom {
    bottom: 0;
    border-top: 1px solid #a5a5a5;
}

.crt-center-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: #ffffff;
    transform: translateY(-50%) scaleX(0);
    transition: transform 0.8s cubic-bezier(0.5, 0, 0.5, 1);
    box-shadow: 0 0 30px #ffffff, 0 0 60px #ffffff;
    opacity: 0;
    z-index: 10000;
}

.crt-turn-off.active .crt-band-top {
    animation: bandTopToCenter 1.2s cubic-bezier(0.8, 0, 0.2, 1) forwards;
}

.crt-turn-off.active .crt-band-bottom {
    animation: bandBottomToCenter 1.2s cubic-bezier(0.8, 0, 0.2, 1) forwards;
}

.crt-turn-off.active .crt-center-line {
    animation: linePulse 1.2s ease-in-out forwards;
}

@keyframes bandTopToCenter {
    0% { transform: translateY(0); }
    60% { transform: translateY(calc(50vh - 2px)); }
    85% { transform: translateY(calc(50vh - 2px)); opacity: 1; }
    100% { transform: translateY(calc(50vh - 2px)); opacity: 0; }
}

@keyframes bandBottomToCenter {
    0% { transform: translateY(0); }
    60% { transform: translateY(calc(-50vh + 2px)); }
    85% { transform: translateY(calc(-50vh + 2px)); opacity: 1; }
    100% { transform: translateY(calc(-50vh + 2px)); opacity: 0; }
}

@keyframes linePulse {
    0% { transform: translateY(-50%) scaleX(0); opacity: 0; }
    30% { transform: translateY(-50%) scaleX(0.3); opacity: 0.7; }
    60% { transform: translateY(-50%) scaleX(1); opacity: 1; }
    85% { transform: translateY(-50%) scaleX(1); opacity: 1; }
    100% { transform: translateY(-50%) scaleX(0); opacity: 0; }
}

/* Анимации (те же что у .content__item) */
@keyframes borderPulse {
    0%, 100% {
        border-color: #00ff41;
        box-shadow: 0 0 5px rgba(0, 255, 65, 0.3), inset 0 0 5px rgba(0, 255, 65, 0.1);
    }
    50% {
        border-color: #00ffaa;
        box-shadow: 0 0 20px rgba(0, 255, 170, 0.5), inset 0 0 15px rgba(0, 255, 170, 0.2);
    }
}

@keyframes glitchText {
    0%, 100% { transform: translate(0); text-shadow: -1px 0 #ff00cc, 1px 0 #00ffcc; }
    20% { transform: translate(-1px, 0); text-shadow: -2px 0 #ff00cc, 2px 0 #00ffcc; }
    40% { transform: translate(1px, 0); text-shadow: 1px -1px #ff00cc, -1px 1px #00ffcc; }
    60% { transform: translate(0, 0); text-shadow: 0 0 #ff00cc, 0 0 #00ffcc; }
    80% { transform: translate(0, -1px); text-shadow: -1px 1px #ff00cc, 1px -1px #00ffcc; }
}

@keyframes textFlicker {
    0%, 100% { opacity: 1; text-shadow: 0 0 0 #00ff41; }
    25% { opacity: 0.8; text-shadow: 0 0 3px #00ff41; }
    50% { opacity: 1; text-shadow: 0 0 0 #00ff41; }
    75% { opacity: 0.9; text-shadow: 0 0 5px #00ff41; }
}

@keyframes matrixRainCard {
    0% { background-position: 0 0; }
    100% { background-position: 0 20px; }
}

@keyframes blinkCode {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.2; }
}

@keyframes codeBlink {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.1; }
}

/* Глобальное уведомление */
.global-notification {
    position: fixed;
    bottom: 50%;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 480px;
    width: 100%;
    z-index: 99999;
    opacity: 0;
    transition: all 0.4s 2s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.global-notification.show {
    opacity: 1;
    pointer-events: auto;
}

.notification-content {
    background: #00ff41;
    color: #030503;
    box-shadow: 0 0 20px #00ff41;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(5px);
    border-radius: 0;
    
    position: relative;
    overflow: hidden;
}

.notification-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #00ff41;
    opacity: 0.5;
    animation: scanNotification 2s linear infinite;
}

@keyframes scanNotification {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.notification-icon {
    font-size: 1.2rem;
    min-width: 24px;
    text-align: center;
}

.notification-text {
    color: #000000;
    font-size: 16px;
    letter-spacing: 1px;
    flex: 1;
    text-align: center;
}

.notification-close {
    color: #7acc7a;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 5px;
    transition: all 0.2s;
    line-height: 1;
    opacity: 0.6;
}

.notification-close:hover {
    color: #00ff41;
    opacity: 1;
    transform: scale(1.2);
    text-shadow: 0 0 10px #00ff41;
}

.global-notification.loading .notification-content {
    border-color: #00ff41;
    animation: notificationPulse 1.5s infinite;
}

.global-notification.loading .notification-icon::before {
    content: '⌛';
    animation: spinIcon 1s linear infinite;
    display: inline-block;
}

.global-notification.success .notification-content {
    border-color: #00ffaa;
    box-shadow: 0 0 30px rgba(0, 255, 170, 0.3);
}

.global-notification.success .notification-icon::before {
    content: '✓';
    color: #00ffaa;
}

.global-notification.error .notification-content {
    border-color: #ff4444;
    box-shadow: 0 0 30px rgba(255, 68, 68, 0.3);
}

.global-notification.error .notification-icon::before {
    content: '✗';
    color: #ff4444;
}

@keyframes notificationPulse {
    0%, 100% { border-color: #00ff41; }
    50% { border-color: #00ffaa; }
}

@keyframes spinIcon {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Адаптив */
@media (max-width: 700px) {
    .block__contacts {
        padding: 2rem 1rem 1rem 1rem;
    }
    
    .contacts__form {
        width: 90%;
        padding: 1.5rem;
        margin: 1rem auto;
    }
    
    .form__title {
        font-size: 16px;
    }
    
    .footer__links {
        gap: 1rem;
    }
    
    .footer__link {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
    
    .status__glitch {
        display: none;
    }
}

@media (max-width: 480px) {
    .form__submit {
        font-size: 14px;
        padding: 0.7rem;
    }
    
    .footer__links {
        gap: 0.5rem;
    }
    
    .footer__link {
        font-size: 1.2rem;
        padding: 0.5rem;
    }
}