* {
    font-family: 'Estedad', sans-serif;
}

body {
    background: #18181b;
    min-height: 100vh;
    overflow: hidden;
}

/* Aurora Effect Variables */
:root {
    --aurora: repeating-linear-gradient(100deg, #3b82f6 10%, #a5b4fc 15%, #93c5fd 20%, #ddd6fe 25%, #60a5fa 30%);
    --dark-gradient: repeating-linear-gradient(100deg, #000 0%, #000 7%, transparent 10%, transparent 12%, #000 16%);
    --blue-300: #93c5fd;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --indigo-300: #a5b4fc;
    --violet-200: #ddd6fe;
    --black: #000;
    --transparent: transparent;
}

/* Aurora Container */
.aurora-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* Aurora Effect */
.aurora-effect {
    pointer-events: none;
    position: absolute;
    inset: -10px;
    background-image: var(--dark-gradient), var(--aurora);
    background-size: 300%, 200%;
    background-position: 50% 50%, 50% 50%;
    opacity: 0.3;
    filter: blur(10px);
    will-change: transform;
    mask-image: radial-gradient(ellipse at 100% 0%, black 10%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 10%, transparent 70%);
}

.aurora-effect::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--dark-gradient), var(--aurora);
    background-size: 200%, 100%;
    background-attachment: fixed;
    mix-blend-mode: difference;
    animation: aurora 120s linear infinite;
}

@keyframes aurora {
    from {
        background-position: 50% 50%, 50% 50%;
    }

    to {
        background-position: 350% 50%, 350% 50%;
    }
}

/* Logo Container */
.logo-container {
    position: relative;
    z-index: 10;
}

.logo-wrapper {
    padding: 2rem;
    border-radius: 32px;
    backdrop-filter: blur(30px);
}

.logo-wrapper img {
    width: 300px;
    height: auto;

}

/* Social Links */
.social-link {
    transition: all 0.1s ease;
    backdrop-filter: blur(20px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* Logo Interactive States */
.logo-wrapper {
    cursor: pointer;
    position: relative;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.logo-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 0 60px rgba(59, 130, 246, 0.3);
}

.logo-wrapper:active {
    transform: scale(0.98);
}

/* Logo Hint */
.logo-hint {
    display: block;
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: pulse-hint 2s ease-in-out infinite;
}

.logo-wrapper:hover .logo-hint {
    color: rgba(255, 255, 255, 0.7);
}

@keyframes pulse-hint {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.8;
    }
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Content */
.modal-content {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.1) 50%, rgba(30, 30, 40, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(59, 130, 246, 0.1);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

/* Modal Close Button */
.modal-close {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
    transform: rotate(90deg);
}

/* Modal Body */
.modal-body {
    direction: rtl;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #93c5fd 50%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.modal-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 2;
    font-size: 1rem;
}

.modal-text p {
    margin-bottom: 1.25rem;
    text-align: justify;
}

.modal-text p:last-child {
    margin-bottom: 0;
}

/* Scrollbar Styling for Modal */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.4);
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.6);
}

/* Responsive */
@media (max-width: 640px) {
    .modal-content {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .modal-title {
        font-size: 1.35rem;
    }

    .modal-text {
        font-size: 0.95rem;
        line-height: 1.9;
    }

    .logo-wrapper img {
        width: 200px;
    }
}