/* rumahaestetikmurah — Link in Bio
   Aesthetic pastel pink/purple theme, mobile-first */

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

:root {
    --bg-1: #fdf2f8;
    --bg-2: #fce7f3;
    --bg-3: #f3e8ff;
    --card-bg: rgba(255, 255, 255, 0.7);
    --card-border: rgba(255, 255, 255, 0.9);
    --text-primary: #1f1f23;
    --text-secondary: #6b7280;
    --accent: #ec4899;
    --shadow: 0 4px 24px rgba(236, 72, 153, 0.08);
    --shadow-hover: 0 8px 32px rgba(236, 72, 153, 0.18);
}

html, body {
    min-height: 100vh;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 50%, var(--bg-3) 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* Animated background blobs */
.bg-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #fbcfe8 0%, transparent 70%);
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #ddd6fe 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.container {
    position: relative;
    z-index: 1;
    max-width: 480px;
    margin: 0 auto;
    padding: 60px 24px 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Profile */
.profile {
    text-align: center;
    margin-bottom: 40px;
}

.avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
    color: white;
    font-size: 42px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: lowercase;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.3);
    border: 4px solid white;
}

.name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.bio {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 320px;
    margin: 0 auto;
}

/* Links */
.links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.link-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: rgba(255, 255, 255, 0.9);
}

.link-card:active {
    transform: translateY(0) scale(0.98);
}

.link-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.link-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.link-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
}

.link-sub {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.link-arrow {
    color: var(--text-secondary);
    font-size: 18px;
    flex-shrink: 0;
    transition: transform 0.2s;
}

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

/* Footer */
.footer {
    text-align: center;
    margin-top: 40px;
    color: var(--text-secondary);
    font-size: 12px;
    opacity: 0.6;
}

/* Small screens */
@media (max-width: 380px) {
    .container { padding: 40px 18px 30px; }
    .avatar { width: 80px; height: 80px; font-size: 36px; }
    .name { font-size: 20px; }
}

/* Dark mode auto */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-1: #1a0f1a;
        --bg-2: #1f1421;
        --bg-3: #1a1326;
        --card-bg: rgba(40, 25, 45, 0.6);
        --card-border: rgba(255, 255, 255, 0.1);
        --text-primary: #f5f5f7;
        --text-secondary: #a8a8b0;
        --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
        --shadow-hover: 0 8px 32px rgba(236, 72, 153, 0.25);
    }
    .avatar { border-color: rgba(255, 255, 255, 0.1); }
}
