@font-face {
    font-family: 'AfonsoRibeiro';
    src: url('../fonts/afonsoribeiro.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --text-color: #eaeaea;
    --bg-color: #000000;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --accent: rgba(255, 255, 255, 0.12);
    --muted: rgba(255, 255, 255, 0.6);
    --icon-stroke: #ffffff;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background .25s ease, color .25s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    margin: 0 10px 6px;
    border-radius: 0 0 16px 16px;
    background: #000000;
    border: 1px solid #1a1a1a;
    z-index: 1000;
}

.logo {
    font-family: "AfonsoRibeiro", Inter, sans-serif;
    font-size: 1.5rem;
    letter-spacing: .4px;
    font-weight: 600;
    line-height: 1;
    color: var(--text-color);
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-link {
    color: inherit;
    text-decoration: none;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: var(--text-color);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all .2s ease;
    opacity: .7;
}

.main-nav .nav-link:hover {
    opacity: 1;
    background: #1a1a1a;
}

.main-nav .nav-link.active {
    opacity: 1;
    font-weight: 600;
}

.main-nav .nav-link i {
    font-size: 1rem;
}

.controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.menu-btn {
    position: relative;
    width: 44px;
    height: 34px;
    cursor: pointer;
    padding: 5px;
    border-radius: 8px;
    user-select: none;
    outline: none;
    border: none;
    background: none;
}

.menu-btn div {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-50%) rotate(0deg);
    width: 26px;
    height: 3px;
    background: var(--icon-stroke);
    border-radius: 3px;
    transition: top 0.1s ease 0.3s, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-btn div:nth-child(1) {
    top: calc(50% - 10px);
}

.menu-btn div:nth-child(2) {
    top: 50%;
}

.menu-btn div:nth-child(3) {
    top: calc(50% + 10px);
}

.menu-btn.active div {
    transition: top 0.1s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.menu-btn.active div:nth-child(1) {
    top: 50%;
    transform: translateX(-50%) translateY(-50%) rotate(315deg);
}

.menu-btn.active div:nth-child(2) {
    transform: translateX(-50%) translateY(-50%) rotate(405deg);
}

.menu-btn.active div:nth-child(3) {
    top: 50%;
    bottom: auto;
    transform: translateX(-50%) translateY(-50%) rotate(405deg);
}

.navigation-menu {
    position: absolute;
    top: 84px;
    right: 28px;
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 10px;
    padding: 8px;
    min-width: 200px;
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .6);
    z-index: 9999;
    pointer-events: none;
}

.navigation-menu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.navigation-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: var(--text-color);
    text-decoration: none;
    font-size: .95rem;
    font-weight: 500;
    border-radius: 10px;
    transition: all .2s ease;
    outline: none;
    touch-action: manipulation;
    opacity: .8;
}

.navigation-menu a i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.navigation-menu a:hover {
    opacity: 1;
    background: #1a1a1a;
}

.navigation-menu a.active {
    opacity: 1;
    background: #222;
    font-weight: 600;
}

.socials img {
    display: none;
}

.socials i {
    font-size: 26px;
    color: var(--text-color);
    display: inline-block;
    line-height: 1;
}

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 16px 30px;
}

.card {
    position: relative;
    z-index: 1;
    width: 880px;
    max-width: calc(100% - 32px);
    border-radius: 18px;
    padding: 28px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: center;
}

.card h1 {
    margin: 0;
    font-size: 2.2rem;
    letter-spacing: .6px;
    font-family: AfonsoRibeiro, Inter, sans-serif;
    color: var(--text-color);
}

.subtitle {
    color: var(--muted);
    font-size: .98rem;
}

.subtitle .cursor {
    animation: blink 1s infinite;
    opacity: 1;
    transition: opacity 0.3s ease;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.socials {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    flex-wrap: wrap;
    row-gap: 12px;
}

.socials a {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, .04);
    transition: transform .12s ease, box-shadow .12s ease;
    text-decoration: none;
    flex-shrink: 0;
    user-select: none;
}

.socials a:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .6);
}

@keyframes slideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}