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

:root {
    --bg-color: #0b0b0b;
    --card-bg: #141414;
    --card-hover: #1f1f1f;
    --border-color: #222222;
    --border-hover: #333333;
    --text-main: #ffffff;
    --text-muted: #b0b0b0;
}

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

body {
    background-color: var(--bg-color);
    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;
}

.container {
    max-width: 680px;
    width: 100%;
    margin: auto;
}

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;
}

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;
    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-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--text-main);
    width: 6ch;
    animation: 
        typing 4s steps(6, end) infinite,
        blink-cursor 0.75s step-end infinite;
    vertical-align: bottom;
}

.typing-text {
    display: inline-block;
}

@keyframes typing {
    0% { width: 0; }
    40% { width: 6ch; }
    70% { width: 6ch; }
    100% { width: 0; }
}

@keyframes blink-cursor {
    from, to { border-color: transparent; }
    50% { border-color: var(--text-main); }
}

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