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

:root {
    --bg: #000;
    --text: #fff;
    --muted: rgba(255,255,255,0.4);
    --border: rgba(255,255,255,0.2);
    --hover: rgba(255,255,255,0.05);
    --active: rgba(255,255,255,0.15);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
    height: 100%;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

#app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.name {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.4s var(--ease);
    user-select: none;
    padding: 2rem;
    line-height: 1;
}

.name:hover {
    letter-spacing: 0.2em;
    text-shadow: 0 0 40px rgba(255,255,255,0.3);
}

.name.active {
    transform: translateY(-20px);
}

.vignettes {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.5s var(--ease);
    margin-top: 1rem;
}

.vignettes.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.vignette {
    background: var(--hover);
    border: 1px solid var(--border);
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: var(--text);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
}

.vignette:hover {
    background: var(--active);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-2px);
}

.vignette:active {
    transform: translateY(0);
}

.icon {
    width: 18px;
    height: 18px;
    opacity: 0.7;
    flex-shrink: 0;
}

.notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: rgba(255,255,255,0.95);
    color: #000;
    padding: 1.5rem 3rem;
    border-radius: 10px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 100;
    font-weight: 500;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.notification.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.footer {
    position: fixed;
    bottom: 2rem;
    left: 0;
    right: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 1;
}

.privacy {
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0.05em;
}

.info-btn {
    width: 24px;
    height: 24px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    background: transparent;
    font-family: inherit;
    padding: 0;
}

.info-btn:hover, .info-btn:focus {
    border-color: rgba(255,255,255,0.8);
    color: rgba(255,255,255,0.9);
    transform: scale(1.1);
    outline: none;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: #111;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2.5rem;
    border-radius: 15px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    position: relative;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal h2 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    color: rgba(255,255,255,0.9);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
}

.modal-content {
    font-size: 0.9rem;
    line-height: 1.8;
}

.modal-row {
    display: flex;
    margin-bottom: 0.8rem;
}

.modal-row dt {
    flex: 0 0 140px;
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: normal;
}

.modal-row dd {
    flex: 1;
    color: rgba(255,255,255,0.9);
    margin: 0;
}

.modal-section {
    margin: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    padding: 0;
    line-height: 1;
}

.close-btn:hover, .close-btn:focus {
    color: rgba(255,255,255,0.9);
    outline: none;
}

@media (max-width: 600px) {
    .vignettes {
        flex-direction: column;
        gap: 1rem;
    }
    .vignette {
        width: 100%;
        justify-content: center;
    }
    .modal-row {
        flex-direction: column;
        gap: 0.2rem;
    }
    .modal-row dt {
        flex: none;
    }
    .modal {
        padding: 2rem 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 2px solid rgba(255,255,255,0.5);
    outline-offset: 2px;
}
