:root {
    --bg-color: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --card-bg: #ffffff;
    --card-hover: #f8fafc;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
}

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

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

/* Background Animations */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background-color: var(--bg-color);
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.bg-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(241, 245, 249, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: -1;
}

/* Main Container */
.container {
    width: 100%;
    max-width: 680px;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

/* Profile Section */
.profile {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.profile-img {
    max-width: 200px;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.profile-img:hover {
    transform: scale(1.05) rotate(2deg);
}

.name {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

.bio {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

/* Links Section */
.links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.link-card:hover {
    background-color: var(--card-hover);
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.link-card:hover::before {
    opacity: 1;
}

.link-card .icon {
    font-size: 1.5rem;
    margin-right: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.link-card:hover .icon {
    background: rgba(59, 130, 246, 0.1);
    transform: scale(1.1);
}

.link-card .card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
    margin-right: 4.25rem;
}

.link-card .title {
    font-size: 1.15rem;
    font-weight: 600;
    transition: color 0.3s ease;
    margin-bottom: 0.25rem;
}

.link-card .description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.link-card:hover .title {
    color: var(--accent);
}

/* Footer */
.footer {
    margin-top: 4rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-align: center;
    animation: fadeIn 1s ease-out 0.6s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.pin-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pin-modal {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 440px;
    width: 90%;
    animation: fadeInDown 0.5s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.pin-logo {
    max-width: 160px;
    max-height: 110px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin-bottom: 1.25rem;
}

.pin-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.pin-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.pin-divider {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 1.25rem;
    width: 100%;
}

.pin-prompt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.pin-modal input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    outline: none;
    transition: border-color 0.3s ease;
}

.pin-modal input:focus {
    border-color: var(--accent);
}

.pin-modal button {
    width: 100%;
    padding: 0.75rem;
    font-size: 1.1rem;
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.pin-modal button:hover {
    background-color: var(--accent-hover);
}

.pin-error {
    color: #ef4444;
    margin-top: 1rem;
    font-weight: 500;
}

.pin-close-btn {
    position: absolute !important;
    top: 1rem !important;
    left: 1rem !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    border: none !important;
    font-size: 1.8rem !important;
    line-height: 1 !important;
    color: var(--text-secondary) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0.2rem 0.5rem !important;
    border-radius: 50% !important;
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    font-weight: normal !important;
}

.pin-close-btn:hover {
    color: var(--text-primary) !important;
    transform: scale(1.1) !important;
    background: rgba(0, 0, 0, 0.05) !important;
}

.contact-wa {
    color: #25d366;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact-wa:hover {
    color: #128c7e;
    text-decoration: underline;
}
