@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,700;1,800&display=swap');

:root {
    --bg-card: rgba(0, 0, 0, 0.45);
    --border: rgba(255, 255, 255, 0.15);
    --border-hover: rgba(255, 255, 255, 0.4);
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --font-sans: 'Inter', sans-serif;
    --radius: 28px;
}

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

body {
    background-color: #050505;
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

#bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100vw;
    min-height: 100vh;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: -2;
    object-fit: cover;
}

.pixel-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(0,0,0,0.35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.35) 1px, transparent 1px);
    background-size: 3px 3px;
    z-index: -1;
    pointer-events: none;
}

.mute-btn {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
}

.mute-btn:hover {
    background: rgba(0,0,0,0.8);
    transform: scale(1.05);
}

.biolink-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
    width: 100%;
    justify-content: center;
}

.profile-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.8);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.profile-text {
    display: flex;
    flex-direction: column;
}

.profile-name {
    font-size: 2rem;
    font-weight: 800;
    font-style: italic;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-badges {
    font-size: 1rem;
    font-style: normal;
    text-shadow: none;
}

.profile-handle {
    font-size: 1rem;
    font-weight: 700;
    font-style: italic;
    color: var(--text-main);
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.profile-join {
    font-size: 0.8rem;
    font-weight: 600;
    font-style: italic;
    color: var(--text-muted);
    margin-top: 0.25rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.social-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.9);
    color: #000;
    border-radius: 50%;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.social-icon:hover {
    transform: translateY(-4px);
    background: #fff;
    box-shadow: 0 8px 25px rgba(255,255,255,0.5);
}

.links-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-bottom: 3rem;
}

.link-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-main);
    text-decoration: none;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.link-btn:hover {
    background: rgba(0,0,0,0.7);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.sections-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.glass-section {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    font-style: italic;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.section-text {
    color: var(--text-main);
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    margin-bottom: 1.5rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--border);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

.setup-list {
    list-style: none;
}

.setup-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.setup-list li:last-child {
    border-bottom: none;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--border);
    border-radius: 16px;
    color: var(--text-main);
    font-family: var(--font-sans);
    outline: none;
    transition: all 0.2s;
}

.form-input:focus {
    border-color: #fff;
    background: rgba(0,0,0,0.8);
}

textarea.form-input {
    height: 120px;
    resize: none;
}

.submit-btn {
    padding: 1rem;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.submit-btn:hover {
    background: rgba(255,255,255,0.8);
}

.footer {
    margin-top: 4rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpAnim 0.8s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeUpAnim {
    to { opacity: 1; transform: translateY(0); }
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

.enter-screen {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.5s ease;
}

.enter-text {
    font-size: 1.2rem;
    font-style: italic;
    color: white;
    letter-spacing: 0.1em;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}