body {
    background-color: #000000;
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
        sans-serif;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

main {
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

section {
    margin-bottom: 40px;
}

section:first-of-type {
    margin-bottom: 30px;
}

h1 {
    font-size: 2rem;
    margin-bottom: 12px;
    margin-left: -36px;
}

h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-style: italic;
    margin-left: -13px;
}

h3 {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}

.flag {
    font-size: 1.5rem;
    margin-right: 4px;
}

.subtitle,
.item a {
    font-size: 0.9rem;
    color: #888888;
    font-weight: normal;
    margin: 0;
    margin-top: -2px;
    display: block;
    width: fit-content;
}

.item {
    margin-bottom: 1.5rem;
}

.links {
    display: flex;
    gap: 12px;
}

a {
    color: #ffffff;
    text-decoration: none;
    position: relative;
}

.item a::after {
    content: "";
    position: absolute;
    top: -6px;
    bottom: -6px;
    left: -6px;
    right: -6px;
}

.links a, .btn-link {
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid #333333;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.2s, border-color 0.2s;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    font-family: inherit;
    position: relative;
}

.btn-link .tooltip {
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, bottom 0.2s;
}

.btn-link:hover .tooltip {
    opacity: 1;
    bottom: 140%;
}

.btn-link.copied {
    border-color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.1);
}

.links a:hover, .btn-link:hover {
    background-color: #1a1a1a;
    border-color: #555555;
}

.item a:hover {
    color: #bbbbbb;
}
