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

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --arabic: #10b981;
    --arabic-dark: #059669;
    --french: #3b82f6;
    --french-dark: #2563eb;
    --contact: #f59e0b;
    --contact-dark: #d97706;
    --register: #ec4899;
    --register-dark: #db2777;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
}

body {
    font-family: 'Cairo', sans-serif;
    min-height: 100vh;
    overflow: hidden;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    position: relative;
    overflow: hidden;
}

/* خلفية متحركة */
.bg-animation {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: var(--register);
    bottom: -80px;
    left: -80px;
    animation-delay: 2s;
}

.circle-3 {
    width: 250px;
    height: 250px;
    background: var(--arabic);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

/* المحتوى الرئيسي */
.main-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    padding: 20px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.6s ease-out;
}

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

/* قسم الشعار */
.logo-section {
    text-align: center;
    margin-bottom: 36px;
}

.logo-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--primary), var(--register));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.logo-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* قسم الأزرار */
.buttons-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 14px;
    text-decoration: none;
    color: white;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 14px;
}

.btn:hover {
    transform: translateX(-6px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateX(-3px) scale(0.98);
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.15);
}

.btn-icon svg {
    width: 20px;
    height: 20px;
}

.btn-text {
    flex: 1;
}

.btn-arrow {
    font-size: 1.2rem;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.btn:hover .btn-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ألوان الأزرار */
.btn-arabic {
    background: linear-gradient(135deg, var(--arabic), var(--arabic-dark));
    border-color: rgba(16, 185, 129, 0.3);
}

.btn-arabic:hover {
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.btn-french {
    background: linear-gradient(135deg, var(--french), var(--french-dark));
    border-color: rgba(59, 130, 246, 0.3);
}

.btn-french:hover {
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn-contact {
    background: linear-gradient(135deg, var(--contact), var(--contact-dark));
    border-color: rgba(245, 158, 11, 0.3);
}

.btn-contact:hover {
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.btn-payment {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: rgba(16, 185, 129, 0.3);
}

.btn-payment:hover {
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.btn-register {
    background: linear-gradient(135deg, var(--register), var(--register-dark));
    border-color: rgba(236, 72, 153, 0.3);
}

.btn-register:hover {
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.3);
}

/* النص السفلي */
.footer-text {
    text-align: center;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.footer-text p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* تجاوب */
@media (max-width: 480px) {
    .main-container {
        padding: 16px;
    }

    .glass-card {
        padding: 32px 20px;
        border-radius: 20px;
    }

    .title {
        font-size: 1.6rem;
    }

    .btn {
        padding: 14px 16px;
    }
}

@media (min-height: 800px) {
    .page-wrapper {
        padding: 40px 0;
    }
}