:root {
    --bg-base: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --gold: #d4af37;
    --gold-light: #f3e5ab;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.06);
    
    font-family: 'Cairo', sans-serif;
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

/* Background Effects */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -2;
    animation: float 20s infinite ease-in-out alternate;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(212, 175, 55, 0.12); /* Gold */
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.04); /* Soft White */
    bottom: -200px;
    left: -150px;
    animation-delay: -5s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: rgba(139, 90, 43, 0.08); /* Darker Gold/Bronze */
    top: 40%;
    left: 40%;
    animation-delay: -10s;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.04;
    pointer-events: none;
    z-index: -1;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

.container {
    width: 100%;
    max-width: 520px;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    z-index: 1;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); filter: blur(5px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Profile Header */
.profile-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.avatar-container {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
}

.avatar-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, var(--gold), transparent, var(--gold-light));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotate 4s linear infinite;
    opacity: 0.8;
}

@keyframes rotate {
    to { transform: rotate(360deg); }
}

.avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1f1d1b, #0a0908);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 20px rgba(212, 175, 55, 0.1);
}

.avatar-initial {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.brand-name {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
}

.brand-bio {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 90%;
}

/* Links Container */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.link-card {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 4px;
    background: var(--accent);
    opacity: 0.5;
    transition: all 0.4s ease;
}

.link-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: var(--glass-hover);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 40px rgba(255,255,255,0.03);
}

.link-card:hover::before {
    opacity: 1;
    width: 6px;
    box-shadow: 0 0 15px var(--accent);
}

.link-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    color: var(--accent);
    margin-left: 1.25rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.instagram-icon i {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Hover effect on icons */
.link-card:hover .link-icon {
    background: var(--accent);
    color: #000; /* Contrast */
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    border-color: transparent;
}

/* Specific contrast fixes */
.link-card:hover .link-icon i.fa-facebook-f,
.link-card:hover .link-icon i.fa-whatsapp,
.link-card:hover .link-icon i.fa-map-marker-alt {
    color: #fff;
}

.tiktok-icon {
    color: #fff;
}
.link-card:hover .tiktok-icon {
    background: #fff;
    color: #000;
}
.link-card:hover .tiktok-icon i {
    color: #000;
}

.link-card:hover .instagram-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.link-card:hover .instagram-icon i {
    background: none;
    -webkit-text-fill-color: #fff;
    color: #fff;
}

.link-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.link-title {
    font-size: 1.15rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.link-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
    transition: color 0.3s ease;
}

.link-card:hover .link-title {
    color: #fff;
}

.link-arrow {
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.5;
    transition: all 0.4s ease;
    margin-right: 1rem;
}

.link-card:hover .link-arrow {
    opacity: 1;
    transform: translateX(-5px);
    color: var(--text-primary);
}

/* Map Section */
.map-wrapper {
    width: 100%;
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
}

.map-wrapper:hover {
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    transform: translateY(-3px);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: invert(90%) hue-rotate(180deg) contrast(100%) grayscale(50%);
    opacity: 0.7;
    transition: all 0.4s ease;
}

.map-wrapper:hover iframe {
    opacity: 1;
    filter: invert(90%) hue-rotate(180deg) contrast(110%) grayscale(10%);
}

.map-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.6);
    border-radius: 20px;
    z-index: 1;
}

/* Footer */
.footer {
    text-align: center;
    padding-top: 1rem;
    padding-bottom: 2rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.footer span {
    color: var(--gold);
    font-weight: 800;
}

/* Special Offer Card */
.special-offer {
    border-color: rgba(255, 184, 0, 0.4);
    box-shadow: 0 0 20px rgba(255, 184, 0, 0.1);
    animation: specialPulse 2.5s infinite alternate !important;
}

.special-offer:hover {
    border-color: rgba(255, 184, 0, 0.8);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 40px rgba(255, 184, 0, 0.3) !important;
}

@keyframes specialPulse {
    from { box-shadow: 0 0 15px rgba(255, 184, 0, 0.1); border-color: rgba(255, 184, 0, 0.3); }
    to { box-shadow: 0 0 35px rgba(255, 184, 0, 0.3); border-color: rgba(255, 184, 0, 0.6); }
}

/* Staggered entry animation for links */
.link-card:nth-child(1) { animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both; }
.link-card:nth-child(2) { animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.10s both; }
.link-card:nth-child(3) { animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both; }
.link-card:nth-child(4) { animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.20s both; }
.link-card:nth-child(5) { animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both; }
.link-card:nth-child(6) { animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.30s both; }
.link-card:nth-child(7) { animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both; }
.link-card:nth-child(8) { animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.40s both; }
.link-card:nth-child(9) { animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both; }
.map-wrapper { animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both; }