:root {
    --neon-pink: #d12eb0;
    --neon-pink-glow: rgba(209, 46, 176, 0.6);
    --deep-bg: #0d040d;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--deep-bg);
    color: #ffffff;
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
}

.hero-visual {
    position: absolute;
    inset: 0;
    background: url('https://www.masturhub.com/contents/videos_screenshots/188000/188590/preview.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    filter: blur(8px) brightness(0.3) saturate(1.2);
    transform: scale(1.1);
    z-index: 0;
    will-change: transform;
    backface-visibility: hidden;
}

@media (max-width: 768px) {
    .hero-visual {
        background-attachment: scroll;
        background-size: cover;
        min-height: 100vh;
    }
}

@media (max-width: 480px) {
    .hero-visual {
        filter: blur(4px) brightness(0.25) saturate(1.3);
        transform: scale(1.05);
    }
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.2));
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 2;
    opacity: 0.3;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: floatUp linear infinite;
    will-change: transform, opacity;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    20% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

.responsive-title {
    font-size: clamp(2rem, 8vw, 7.5rem);
    line-height: 0.9;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    letter-spacing: -0.01em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1em;
}

@media (max-width: 480px) {
    .responsive-title {
        font-size: clamp(1.5rem, 7vw, 3rem);
        gap: 0.05em;
    }
}

.glitch-wrapper {
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
    white-space: normal;
    overflow: visible;
    padding: 0;
}

.glitch-wrapper:hover {
    animation: glitch-anim 0.4s cubic-bezier(.25, .46, .45, .94) both infinite;
    color: var(--neon-pink);
    text-shadow: 2px 2px var(--neon-pink), -2px -2px #00ffff, 0 0 30px var(--neon-pink-glow);
    filter: drop-shadow(0 0 20px var(--neon-pink));
}

@keyframes glitch-anim {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
    100% {
        transform: translate(0);
    }
}

@keyframes neon-glow {
    0%, 100% {
        filter: drop-shadow(0 0 10px var(--neon-pink)) drop-shadow(0 0 20px var(--neon-pink-glow));
    }
    50% {
        filter: drop-shadow(0 0 20px var(--neon-pink)) drop-shadow(0 0 40px var(--neon-pink-glow));
    }
}

.btn-primary {
    background: var(--neon-pink);
    box-shadow: 0 0 20px var(--neon-pink-glow);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-size: inherit;
    color: white;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: scale(0.95);
}

.btn-primary:hover {
    box-shadow: 0 0 40px var(--neon-pink), 0 0 60px var(--neon-pink-glow);
    transform: translateY(-3px);
}

.btn-secondary {
    border: 2px solid rgba(209, 46, 176, 0.5);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--neon-pink);
    background: rgba(209, 46, 176, 0.1) !important;
    box-shadow: 0 0 20px rgba(209, 46, 176, 0.3);
    transform: translateY(-2px);
}

@keyframes slideUpIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glass-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0.4) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    animation: slideUpIn 0.6s ease-out;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(209, 46, 176, 0.15), inset 0 0 30px rgba(209, 46, 176, 0.05);
    border-color: rgba(209, 46, 176, 0.2);
}

.glass-card:active {
    transform: scale(0.98);
}

.text-gradient {
    background: linear-gradient(to right, #fff, var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
    display: inline-block;
    padding: 0 0.1em;
    white-space: normal;
    overflow: visible;
    min-width: 100%;
}

@keyframes gradient-shift {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 10px var(--neon-pink-glow));
    }
    50% {
        filter: brightness(1.2) drop-shadow(0 0 20px var(--neon-pink-glow));
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

#toast {
    visibility: hidden;
    min-width: 250px;
    background-color: rgba(209, 46, 176, 0.9);
    color: #fff;
    text-align: center;
    border-radius: 50px;
    padding: 16px;
    position: fixed;
    z-index: 100;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%) scale(0.8);
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5), 0 0 30px rgba(209, 46, 176, 0.3);
    opacity: 0;
    transition: opacity 0.3s, bottom 0.3s, transform 0.3s;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}

#toast.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
    transform: translateX(-50%) scale(1);
}

button[onclick*="copyToClipboard"] {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

button[onclick*="copyToClipboard"]:hover,
button[onclick*="window.open"]:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px currentColor;
}

@media (max-width: 480px) {
    button[onclick*="copyToClipboard"] {
        padding: 12px 16px;
        font-size: 13px;
    }

    button[onclick*="copyToClipboard"]:active {
        transform: scale(0.98);
    }
}

@media (max-width: 768px) {
    .glass-card p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .glass-card {
        padding: 16px;
    }

    .glass-card h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .glass-card p {
        font-size: 12px;
    }
}

.animate-ping {
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

h1, h2, h3 {
    position: relative;
    animation: subtle-glow 2s ease-in-out infinite;
}

@keyframes subtle-glow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(209, 46, 176, 0.3);
    }
    50% {
        text-shadow: 0 0 30px rgba(209, 46, 176, 0.5);
    }
}

.gallery-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
}

.gallery-container::before,
.gallery-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    background: linear-gradient(to right, #0d040d, transparent);
    z-index: 15;
    pointer-events: none;
}

.gallery-container::after {
    right: 0;
    background: linear-gradient(to left, #0d040d, transparent);
}

.gallery-slider {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
}

.gallery-item {
    min-width: 100%;
    width: 100%;
    height: 450px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(209, 46, 176, 0.2), rgba(255, 105, 180, 0.1));
    border: 2px solid rgba(209, 46, 176, 0.4);
    border-radius: 15px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .gallery-item {
        height: 300px;
    }
    .gallery-container::before,
    .gallery-container::after {
        width: 40px;
        background: linear-gradient(to right, #0d040d, rgba(13, 4, 13, 0.3));
    }
    .gallery-container::after {
        background: linear-gradient(to left, #0d040d, rgba(13, 4, 13, 0.3));
    }
}

@media (max-width: 480px) {
    .gallery-item {
        height: 200px;
    }
    .gallery-container::before,
    .gallery-container::after {
        width: 30px;
        background: linear-gradient(to right, #0d040d, rgba(13, 4, 13, 0.5));
    }
    .gallery-container::after {
        background: linear-gradient(to left, #0d040d, rgba(13, 4, 13, 0.5));
    }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, rgba(209, 46, 176, 0.3), rgba(255, 105, 180, 0.2));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.gallery-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.gallery-dot.active {
    background: var(--neon-pink);
    box-shadow: 0 0 15px var(--neon-pink-glow);
    transform: scale(1.3);
}

.gallery-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 20;
}

.gallery-btn {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(209, 46, 176, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.gallery-btn:hover {
    background: rgba(209, 46, 176, 0.4);
    border-color: var(--neon-pink);
    box-shadow: 0 0 15px var(--neon-pink-glow);
}

.modal-gallery {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-gallery.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(209, 46, 176, 0.3);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(209, 46, 176, 0.3);
    color: white;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 1001;
    user-select: none;
}

.modal-nav:hover {
    background: rgba(209, 46, 176, 0.4);
    box-shadow: 0 0 20px var(--neon-pink-glow);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(209, 46, 176, 0.3);
    color: white;
    font-size: 28px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1002;
}

.modal-close:hover {
    background: rgba(209, 46, 176, 0.4);
    box-shadow: 0 0 20px var(--neon-pink-glow);
}

.modal-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(209, 46, 176, 0.3);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    backdrop-filter: blur(10px);
    z-index: 1001;
}

@media (max-width: 768px) {
    .modal-nav {
        padding: 12px 16px;
        font-size: 20px;
    }

    .modal-close {
        width: 45px;
        height: 45px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .modal-nav {
        padding: 10px 14px;
        font-size: 18px;
    }

    .modal-close {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .modal-counter {
        font-size: 12px;
        padding: 8px 16px;
    }
}

[onclick*="copyToClipboard"],
[onclick*="window.open"] {
    animation: slideUpIn 0.6s ease-out;
}

[onclick*="copyToClipboard"]:hover svg,
[onclick*="window.open"]:hover svg {
    animation: floatIcon 0.6s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

[class*="status"] {
    animation: pulse-status 2s ease-in-out infinite;
}

@keyframes pulse-status {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@media (max-width: 768px) {
    header {
        padding-top: 60px !important;
        padding-bottom: 20px !important;
        min-height: auto;
    }

    main {
        padding-left: 12px;
        padding-right: 12px;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .text-gradient {
        white-space: normal;
    }

    h2 {
        font-size: 20px !important;
    }
}

@media (max-width: 480px) {
    header {
        padding-top: 50px !important;
        padding-bottom: 15px !important;
    }

    main {
        padding: 8px;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    h2 {
        font-size: 18px !important;
        margin-bottom: 12px !important;
    }

    h3 {
        font-size: 14px !important;
    }

    p {
        font-size: 13px !important;
    }

    .px-6 {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .gap-5 {
        gap: 12px !important;
    }

    .gap-6 {
        gap: 12px !important;
    }

    .gap-10 {
        gap: 12px !important;
    }

    footer {
        padding-top: 20px;
        padding-bottom: 20px;
        font-size: 8px;
    }
}

/* FAQ styles 🔧 */
#faq .faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    transition: transform 0.25s ease;
}

.faq-question {
    font-weight: 700;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.25));
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(255,255,255,0.03);
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    pointer-events: auto; /* ensure clickable */
    position: relative;
    z-index: 2;
}

.faq-question:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(209,46,176,0.06);
}

.faq-question:focus {
    outline: 2px solid var(--neon-pink);
    outline-offset: 3px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    padding-top: 0;
    padding-bottom: 0;
    transition: max-height 0.45s cubic-bezier(.2,.9,.2,1), opacity 0.25s ease, padding 0.25s ease, transform 0.35s cubic-bezier(.2,.9,.2,1);
    transform: translateY(-6px);
    border-left: 3px solid rgba(209,46,176,0.06);
    border-radius: 0 0 12px 12px;
    margin-left: 6px;
}

.faq-item.open .faq-answer {
    opacity: 1;
    visibility: visible;
    padding-top: 12px;
    padding-bottom: 12px;
    transform: translateY(0);
}

.faq-question .chev {
    display: inline-block;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
    font-size: 18px;
    color: var(--neon-pink);
}

.faq-item.open .chev {
    transform: rotate(180deg);
}

@media (max-width: 480px) {
    .faq-question { padding: 12px 14px; }
    .faq-answer { font-size: 13px; }
}

/* Модальное окно для заявки */
.application-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
}

.application-modal-overlay.show {
    display: flex;
    opacity: 1;
}

.application-modal-content {
    background: rgba(13, 4, 13, 0.95) !important;
    border: 1px solid rgba(209, 46, 176, 0.3) !important;
    border-radius: 20px;
    padding: 32px 28px;
    max-width: 500px;
    width: 100%;
    max-height: calc(100vh - 32px);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(209, 46, 176, 0.2), inset 0 0 60px rgba(209, 46, 176, 0.05);
    animation: modalSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin: auto;
}



@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-40px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.application-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(209, 46, 176, 0.2);
}

.application-modal-header h2 {
    color: #ffffff;
    margin: 0;
    font-size: 1.75rem;
    background: linear-gradient(135deg, #ff69b4 0%, #d12eb0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.application-modal-close {
    background: rgba(209, 46, 176, 0.2);
    color: #ff69b4;
    border: 1px solid rgba(209, 46, 176, 0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.application-modal-close:hover {
    background: rgba(209, 46, 176, 0.4);
    border-color: rgba(209, 46, 176, 0.6);
    transform: rotate(90deg);
}

.application-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

.form-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(209, 46, 176, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(209, 46, 176, 0.6);
    box-shadow: 0 0 20px rgba(209, 46, 176, 0.2);
}

.form-input:hover:not(:focus) {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(209, 46, 176, 0.3);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-char-count {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: right;
    transition: color 0.2s ease;
}

.form-input:focus ~ .form-char-count,
.form-textarea:focus ~ .form-char-count {
    color: rgba(209, 46, 176, 0.6);
}

.form-error {
    font-size: 0.8rem;
    color: #ff6b6b;
    opacity: 0;
    transition: opacity 0.2s ease;
    height: 0;
}

.form-error.show {
    opacity: 1;
    height: auto;
}

.form-buttons {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(209, 46, 176, 0.1);
}

.modal-btn-primary {
    flex: 1;
    background: linear-gradient(135deg, #d12eb0 0%, #ff69b4 100%);
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(209, 46, 176, 0.3);
    padding: 10px 20px !important;
    font-weight: 600;
    border-radius: 12px;
    font-size: 0.9rem;
    height: auto;
}

.modal-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(209, 46, 176, 0.5);
}

.modal-btn-primary:active {
    transform: translateY(0);
}

.modal-btn-cancel {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px 20px !important;
    font-weight: 600;
    border-radius: 12px;
    font-size: 0.9rem;
    height: auto;
}

.modal-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.modal-btn-cancel:active {
    transform: scale(0.98);
}

.form-status {
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease, height 0.3s ease;
    height: 0;
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
    z-index: 10;
    min-height: 0;
}

.form-status.show {
    opacity: 1;
    height: auto;
    padding: 16px 12px;
    min-height: 40px;
    overflow: visible;
}

.form-status.success {
    background: rgba(34, 197, 94, 0.25);
    color: #ffffff;
    border: 1.5px solid rgba(34, 197, 94, 0.8);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.3);
}

.form-status.error {
    background: rgba(239, 68, 68, 0.25);
    color: #ffffff;
    border: 1.5px solid rgba(239, 68, 68, 0.8);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}

.form-status.loading {
    background: rgba(209, 46, 176, 0.25);
    color: #ffffff;
    border: 1.5px solid rgba(209, 46, 176, 0.8);
    box-shadow: 0 0 15px rgba(209, 46, 176, 0.3);
}

.form-status-button {
    display: none;
    margin-top: 16px;
    padding: 12px 32px;
    background: linear-gradient(135deg, #d12eb0 0%, #ff69b4 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-status-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(209, 46, 176, 0.4);
}

.form-status-button:active {
    transform: translateY(0);
}

.form-status-button.show {
    display: block;
}

@media (max-width: 768px) {
    .application-modal-overlay {
        padding: 12px;
    }

    .application-modal-content {
        padding: 24px 20px;
        border-radius: 16px;
        max-height: calc(100vh - 24px);
        overflow: hidden;
    }

    .application-modal-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .application-modal-header h2 {
        font-size: 1.4rem;
    }

    .application-modal-close {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .application-modal-overlay {
        padding: 8px;
    }

    .application-modal-content {
        padding: 18px 16px;
        border-radius: 14px;
        max-height: calc(100vh - 16px);
        overflow: hidden;
    }

    .application-modal-header {
        margin-bottom: 16px;
        padding-bottom: 12px;
        gap: 8px;
    }

    .application-modal-header h2 {
        font-size: 1.2rem;
    }

    .application-modal-close {
        width: 32px;
        height: 32px;
        font-size: 16px;
        flex-shrink: 0;
    }

    .form-group {
        gap: 6px;
    }

    .form-label {
        font-size: 0.75rem;
    }

    .form-input {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .form-textarea {
        min-height: 80px;
        font-size: 0.85rem;
    }

    .form-buttons {
        flex-direction: column;
        gap: 8px;
        margin-top: 16px;
        padding-top: 16px;
    }

    .modal-btn-primary,
    .modal-btn-cancel {
        width: 100%;
        padding: 10px 16px !important;
        font-size: 0.85rem;
    }

    .form-status {
        font-size: 0.8rem;
        padding: 12px 10px;
    }

    .form-status.show {
        padding: 12px 10px;
        min-height: 35px;
    }

    .form-status-button {
        width: 100%;
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}