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

html {
    height: 100%;
    overscroll-behavior: none;
}

body {
    background: #000;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 Helvetica, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100dvh;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

/* Background video — pinned directly to the viewport (not to body) so it
   tracks Android/iOS's dynamic toolbar resizing without repaint glitches. */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    object-fit: cover;
    z-index: -2;
}

/* Darkening scrim so text stays readable over the video */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.7)
    );
    z-index: -1;
}

.container {
    max-width: 700px;
    width: 100%;
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 1.2rem;
    font-weight: 400;
    color: #9ca3af;
    margin-bottom: 2rem;
}

p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #d1d5db;
    margin-bottom: 2rem;
}

.links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.social-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
    opacity: 0.7;
    transform: translateY(-1px);
}

.resume-btn {
  display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.6rem 1.4rem;
    border-radius: 999px;

    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;

    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.resume-btn:hover {
     background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.resume-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 4px;
}

footer {
    margin-top: 4rem;
    color: #6b7280;
    font-size: 0.9rem;
}

::selection {
    background: #fff;
    color: #000;
}