:root {
    --bg-color: #110910;
    --card-bg: rgba(35, 20, 33, 0.6);
    --card-border: rgba(255, 255, 255, 0.08);
    --primary-color: #e63946;
    --primary-gradient: linear-gradient(135deg, #FF4B72 0%, #FF2A55 100%);
    --primary-hover: #ff1c4b;
    --text-main: #ffffff;
    --text-muted: #a098a0;
    --input-bg: rgba(20, 10, 18, 0.8);
    --input-border: rgba(255, 255, 255, 0.12);
    --input-focus: rgba(255, 75, 114, 0.5);
    --success-color: #4CAF50;
    --error-color: #f44336;
}

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

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

/* Background Effects */
.background-glow {
    position: fixed;
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 42, 85, 0.15) 0%, rgba(17, 9, 16, 0) 70%);
    filter: blur(80px);
    z-index: -1;
    animation: drift 20s ease-in-out infinite alternate;
}

.background-glow::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.1) 0%, rgba(17, 9, 16, 0) 70%);
    filter: blur(60px);
}

@keyframes drift {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(10%, 5%);
    }
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease-out;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.logo-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 300;
}

/* Card */
.support-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.card-content {
    padding: 40px;
}

.card-content h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.card-content>p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

/* Form Styles */
.input-group {
    margin-bottom: 24px;
    position: relative;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 8px;
    transition: color 0.3s;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.input-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23A098A0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.input-group select option {
    background: var(--bg-color);
    color: var(--text-main);
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--input-focus);
}

.input-group input:focus+label,
.input-group select:focus+label,
.input-group textarea:focus+label {
    color: var(--primary-color);
}

.input-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Button */
.submit-btn {
    width: 100%;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 20px rgba(255, 42, 85, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 42, 85, 0.4);
}

.submit-btn:active {
    transform: translateY(1px);
}

.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .spinner {
    display: block;
}

/* Alternatives */
.contact-alternatives {
    background: rgba(0, 0, 0, 0.2);
    padding: 24px 40px;
    border-top: 1px solid var(--card-border);
}

.contact-alternatives h3 {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 16px;
    text-align: center;
}

.alternative-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 480px) {
    .alternative-links {
        flex-direction: row;
        justify-content: center;
    }
}

.alt-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-main);
    text-decoration: none;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
    font-size: 0.95rem;
    font-weight: 500;
    flex: 1;
}

.alt-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.alt-link svg {
    color: var(--primary-color);
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 40px;
    color: var(--text-muted);
    font-size: 0.85rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.footer-links {
    margin-top: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Status Messages */
.form-status {
    margin-top: 20px;
    padding: 14px;
    border-radius: 10px;
    text-align: center;
    font-size: 0.95rem;
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.form-status.success {
    display: block;
    background: rgba(76, 175, 80, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.form-status.error {
    display: block;
    background: rgba(244, 67, 54, 0.1);
    color: var(--error-color);
    border: 1px solid rgba(244, 67, 54, 0.2);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

/* Focus effects on whole group */
.input-group:focus-within label {
    color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .card-content {
        padding: 30px 20px;
    }

    .contact-alternatives {
        padding: 24px 20px;
    }
}