:root {
    --gold: #D4AF37;
    --gold-light: #F4C430;
    --gold-dark: #AA8C2C;
    --black: #0a0a0a;
    --dark-grey: #1a1a1a;
    --white: #ffffff;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Background Handling */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    /* Dim the background image */
    z-index: -2;
}

/* Gradient Overlay for better text readability */
.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: -1;
}

.container {
    width: 100%;
    padding: 2rem;
    text-align: center;
    max-width: 800px;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 4rem 2rem;
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    background: rgba(10, 10, 10, 0.6);
}

/* Logo */
.logo-container {
    margin-bottom: 1rem;
}

.logo {
    max-width: 350px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Typography */
.main-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.rich {
    color: var(--white);
}

.club {
    color: var(--gold);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    color: #cccccc;
    text-transform: uppercase;
}

.arabic-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--gold);
    margin-top: -1.5rem;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center horizontally */
    gap: 15px;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(-5px);
    /* Move left slightly since RTL */
    color: var(--gold);
}

.gold-icon {
    color: var(--gold);
    font-size: 1.4rem;
}

/* Social Links */
.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    color: var(--gold);
    font-size: 2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold);
    z-index: -1;
    transform: scale(0);
    transition: transform 0.3s ease;
    border-radius: 50%;
}

.social-icon:hover {
    color: var(--black);
    box-shadow: 0 0 20px var(--gold);
    border-color: transparent;
}

.social-icon:hover::before {
    transform: scale(1);
}

.social-handle {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.animate-fade-down {
    opacity: 0;
    animation: fadeDown 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

.delay-3 {
    animation-delay: 0.9s;
}

/* Responsive */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 2rem 1rem;
        gap: 1rem;
        /* Reduced gap from 2rem */
    }

    .main-title {
        font-size: 2rem;
    }

    .subtitle,
    .arabic-subtitle {
        font-size: 1.2rem;
    }

    .contact-info {
        gap: 1rem;
        /* Reduced gap */
        margin: 1rem 0;
        /* Reduced margin */
    }

    .contact-item {
        font-size: 1rem;
        justify-content: center;
        gap: 10px;
        /* Reduced gap */
    }

    .logo {
        max-width: 320px;
        /* Increased from 280px */
    }

    .social-links {
        gap: 1.5rem;
        /* Reduced social gap */
        margin-top: 0.5rem;
    }

    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}