/* --- Variables & Reset --- */
:root {
    --primary-bg: #0f172a;
    /* Deep Navy */
    --secondary-bg: #1e293b;
    --accent-color: #38bdf8;
    /* Cyan/Blue */
    --accent-gradient: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
    --store-gradient: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
    /* Blue Gradient */
    --text-primary: #f8fafc;
    /* Slate 50 */
    --text-secondary: #94a3b8;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(56, 189, 248, 0.2);
    /* Blue border */
    --font-ar: 'Cairo', sans-serif;
    --font-en: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-ar);
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    direction: rtl;
    /* Arabic support */
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* --- Layout --- */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle Chocolate Touch: Radial gradient with hint of warm brown over navy */
    background: radial-gradient(circle at 50% 100%, rgba(62, 39, 35, 0.4) 0%, transparent 70%),
        radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.1) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.outher {
    width: 100%;
    max-width: 480px;
    /* Mobile-first constraint */
    padding: 2rem 1.5rem;
    margin: 0 auto;
}

.content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* --- Header Section --- */
.header-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-container {
    position: relative;
    margin-bottom: 1rem;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--secondary-bg);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
    /* Blue Shadow */
    object-fit: cover;
}

.verification-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background-color: var(--primary-bg);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #38bdf8;
    /* Blue */
    font-size: 1.2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.social-proof {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.stars {
    color: #fbbf24;
    /* Amber 400 */
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.trust-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-family: var(--font-en);
}

/* --- Booking Stats Base --- */
.booking-stats {
    width: 100%;
    max-width: 350px;
    margin: 0.5rem 0;
    padding: 1rem;
    border-radius: 16px;
    backdrop-filter: blur(4px);
    transition: transform 0.3s;
}

.booking-stats:hover {
    transform: scale(1.02);
}

.stats-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.progress-track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

/* Style 1: Modern Blue (Dynamic) */
.style-blue {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(56, 189, 248, 0.1);
}

.style-blue .highlight {
    color: #ef4444;
    animation: textPulse 1.5s infinite;
}

.style-blue .progress-fill {
    height: 100%;
    background: var(--store-gradient);
    border-radius: 4px;
    position: relative;
    /* Animation handled by width transition in JS usually, but keep simple intro animation */
    transition: width 1s ease-out;
}

.style-blue .progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    z-index: 1;
    background-size: 20px 20px;
    animation: moveStripes 1s linear infinite;
    border-radius: 4px;
    opacity: 0.3;
}

@keyframes textPulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}



@keyframes fillProgress {
    from {
        width: 0;
    }
}

@keyframes moveStripes {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 20px 20px;
    }
}

/* --- Links Container --- */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* --- Hero Card (Store) --- */
.hero-card {
    position: relative;
    background: var(--store-gradient);
    border-radius: 24px;
    padding: 2px;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.5);
    /* Blue shadow */
    transform: translateY(0);
}

.hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.6);
}

.hero-card .card-content {
    background: rgba(0, 0, 0, 0.3);
    /* Slightly darker for better text contrast/warmth */
    border-radius: 22px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    backdrop-filter: blur(5px);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.store-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.text-content {
    flex-grow: 1;
    text-align: right;
}

.text-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #fff;
}

.text-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    color: #0ea5e9;
    /* Blue text */
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: pulse 2s infinite;
}

/* --- Social Grid --- */
.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.glass-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.glass-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.glass-link span {
    font-weight: 600;
    font-size: 1rem;
}

.glass-link .icon-box {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    border-radius: 10px;
}

/* Brand Colors for Icons - Reverted */
.whatsapp {
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
}

.instagram {
    background: rgba(193, 53, 132, 0.15);
    color: #c13584;
}

.snapchat {
    background: rgba(255, 252, 0, 0.15);
    color: #FFFC00;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.tiktok {
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.maps {
    background: rgba(66, 133, 244, 0.15);
    color: #4285F4;
}

.mini-store {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
}

/* --- Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

.delay-6 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.shine-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shine 5s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

/* --- Melting Chocolate Animation --- */
@keyframes melt {
    0% {
        border-radius: 16px;
        transform: translateY(0) scaleY(1);
    }

    40% {
        border-radius: 40% 40% 50% 50% / 40% 40% 60% 60%;
        transform: translateY(2px) scaleX(1.05) scaleY(0.95);
    }

    60% {
        border-radius: 50% 50% 20% 20% / 50% 50% 80% 80%;
        transform: translateY(4px) scaleX(0.95) scaleY(1.05);
    }

    80% {
        border-radius: 30% 30% 60% 60% / 30% 30% 80% 80%;
        transform: translateY(2px) scaleY(1.02);
    }

    100% {
        border-radius: 16px;
        transform: translateY(0) scaleY(1);
    }
}

.icon-box {
    transition: all 0.3s ease;
}

.glass-link:hover .icon-box,
.hero-card:hover .icon-box {
    animation: melt 1.5s ease-in-out infinite;
    background: rgba(255, 255, 255, 0.2);
    /* Enhance liquid feel */
}

/* --- Mobile Responsiveness --- */
@media (max-width: 480px) {
    .outher {
        padding: 1.5rem 1rem;
        /* Reduce side padding */
        max-width: 100%;
    }

    .brand-name {
        font-size: 1.5rem;
        /* Smaller font */
    }

    .profile-img {
        width: 100px;
        height: 100px;
    }

    .social-grid {
        gap: 0.75rem;
        /* Reduce gap */
    }

    .glass-link {
        padding: 0.75rem;
        /* Reduce padding */
        gap: 0.75rem;
    }

    .glass-link .icon-box {
        width: 32px;
        /* Smaller icons */
        height: 32px;
        font-size: 1rem;
    }

    .booking-stats {
        padding: 0.75rem;
    }

    .stats-text {
        flex-direction: column;
        /* Stack text and percentage */
        align-items: center;
        text-align: center;
        gap: 0.25rem;
    }

    .hero-card .card-content {
        padding: 1rem;
        gap: 1rem;
    }

    .hero-card .icon-box {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}