:root {
    --primary: #EF0606;
    --primary-dark: #cc0404;
    --secondary: #000000;
    --gray-bg: #f5f5f7;
    --text: #1d1d1f;
    --text-dim: #6e6e73;
    --white: #ffffff;
    --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--gray-bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
}

/* Base Glassmorphism effect for background */
.glass-bg {
    position: fixed;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(239, 6, 6, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    border-radius: 50%;
}

.container {
    width: 100%;
    max-width: 480px;
    padding: 60px 20px;
    text-align: center;
}

header {
    margin-bottom: 48px;
}

.profile-container {
    width: 110px;
    height: 110px;
    margin: 0 auto 24px;
    border-radius: 30%;
    overflow: hidden;
    background: var(--white);
    padding: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.profile-container:hover {
    transform: scale(1.05) rotate(5deg);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.subtitle {
    font-size: 1rem;
    color: var(--text-dim);
    letter-spacing: 0.5px;
}

/* Links Grid */
.links-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.link-card {
    display: flex;
    align-items: center;
    padding: 18px 24px;
    background-color: var(--white);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 1.05rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.01);
}

.link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(239, 6, 6, 0.1);
}

.icon-wrap {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-right: 20px;
    color: var(--secondary);
    transition: color 0.3s;
}

.link-card:hover .icon-wrap {
    color: var(--primary);
}

/* Profile specific link variations */
.link-card.whatsapp:hover .icon-wrap { color: #25d366; }
.link-card.instagram:hover .icon-wrap { color: #e4405f; }
.link-card.facebook:hover .icon-wrap { color: #1877f2; }
.link-card.tiktok:hover .icon-wrap { color: #000000; }
.link-card.youtube:hover .icon-wrap { color: #ff0000; }

.link-card span {
    flex: 1;
    text-align: left;
}

.arrow {
    font-size: 0.8rem;
    color: #ccced1;
    transition: transform 0.3s, color 0.3s;
}

.link-card:hover .arrow {
    transform: translateX(3px);
    color: var(--primary);
}

/* Appstore section */
.apps-section {
    margin-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 30px;
}

.apps-section p {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.store-grid {
    display: flex;
    gap: 12px;
}

.mini-btn {
    flex: 1;
    padding: 14px;
    background-color: var(--secondary);
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.mini-btn.red {
    background-color: var(--primary);
}

.mini-btn:hover {
    filter: brightness(1.2);
    transform: translateY(-1px);
}

/* Footer */
footer {
    margin-top: 60px;
    padding-bottom: 20px;
}

footer p {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Active animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.link-card {
    animation: fadeIn 0.4s ease forwards;
}

/* Delay staggered animations */
.link-card:nth-child(2) { animation-delay: 0.1s; }
.link-card:nth-child(3) { animation-delay: 0.2s; }
.link-card:nth-child(4) { animation-delay: 0.3s; }
.link-card:nth-child(5) { animation-delay: 0.4s; }
.link-card:nth-child(6) { animation-delay: 0.5s; }
