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

:root {
    --primary-color: #8B5CF6;
    --primary-hover: #7C3AED;
    --secondary-color: #EC4899;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --border-color: #E5E7EB;
    --success-color: #10B981;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Heebo', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: var(--text-dark);
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section {
    width: 100%;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 40px;
    background: white;
    max-width: 600px;
    margin: 0 auto;
}

.event-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
    text-align: center;
}

.event-subtitle {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-light);
    text-align: center;
}

.event-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 10px 14px;
    background: var(--bg-light);
    border-radius: 8px;
}

.registration-note {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
}

.icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: var(--primary-color);
}


.registration-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input {
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Heebo', sans-serif;
    transition: all 0.3s ease;
    direction: rtl;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group input::placeholder {
    color: var(--text-light);
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 700;
    font-family: 'Heebo', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-icon {
    width: 20px;
    height: 20px;
    transform: rotate(180deg);
}

.success-message {
    display: none;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #D1FAE5, #A7F3D0);
    border-radius: 16px;
    margin-top: 20px;
    animation: slideIn 0.5s ease-out;
}

.success-message.show {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    stroke: var(--success-color);
    stroke-width: 2;
}

.success-message h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.success-message p {
    font-size: 1rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        border-radius: 16px;
    }

    .hero-section {
        border-radius: 16px 16px 0 0;
    }

    .content-wrapper {
        padding: 30px 24px;
    }

    .event-title {
        font-size: 2rem;
    }

    .event-subtitle {
        font-size: 1rem;
    }

    .event-details {
        flex-direction: column;
    }

    .detail-item {
        width: 100%;
        justify-content: center;
    }

    .registration-note {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .event-title {
        font-size: 1.5rem;
    }

    .detail-item {
        font-size: 0.875rem;
    }

    .submit-btn {
        font-size: 1rem;
        padding: 14px 28px;
    }
}
