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

:root {
    --card-bg: rgba(255, 255, 255, 0.12);
    --card-hover: rgba(255, 255, 255, 0.22);
    --border-color: rgba(255, 255, 255, 0.2);
    --border-hover: rgba(255, 255, 255, 0.4);
    --text-main: #ffffff;
    --text-muted: #b0b0b0;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: #0b0b0b;
    color: var(--text-muted);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100dvh;
    min-height: calc(var(--vh, 1vh) * 100);
    padding: 24px;
    overflow-x: hidden;
    position: relative;
}

#enter-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: pointer;
    transition: opacity 0.6s ease;
}

#enter-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.enter-text {
    color: #ffffff;
    font-size: 1.25rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.05em;
    user-select: none;
    animation: pulse-text 2s infinite ease-in-out;
}

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

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

.audio-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 10px 16px;
    border-radius: 14px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.audio-control button {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.audio-control input[type="range"] {
    width: 70px;
    cursor: pointer;
    accent-color: #ffffff;
}

.container {
    max-width: 680px;
    width: 100%;
    margin: auto;
    position: relative;
    z-index: 2;
}

h1 {
    color: var(--text-main);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.icon-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    width: 56px;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.icon-card:active {
    transform: scale(0.95);
}

.icon-card:hover {
    background-color: var(--card-hover);
    border-color: var(--border-hover);
}

.icon-card svg {
    width: 24px;
    height: 24px;
    fill: var(--text-main);
}

.typing-container {
    display: inline-flex;
    align-items: center;
    vertical-align: bottom;
}

.typing-text {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
}

@media (max-width: 400px) {
    body {
        padding: 16px;
    }
    .icon-card {
        width: 50px;
        height: 50px;
    }
    .icon-card svg {
        width: 22px;
        height: 22px;
    }
}