/* --- SETĂRI GLOBALE APPLE CLEAN --- */
:root {
    --bg-color: #000000;
    --container-bg: #151516;
    --text-main: #f5f5f7;
    --text-muted: #86868b;
    --accent: #2997ff;
    --border-radius: 18px;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

h1, h2, p {
    margin: 0;
}

/* --- ANIMAȚIE DE BAZĂ --- */
.fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- PAGINA 1: QR --- */
.qr-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
}

.qr-container {
    background: var(--container-bg);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 360px;
}

.qr-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 10px;
    object-fit: cover;
}

.qr-container h1 { font-size: 20px; font-weight: 600; }
.subtitle { color: var(--text-muted); font-size: 14px; margin-bottom: 25px; }

.qr-box {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 20px;
}

.qr-image { width: 180px; height: 180px; display: block; }

.redirect-text { color: var(--text-muted); font-size: 13px; margin-bottom: 15px; }

.btn-direct {
    display: inline-block;
    padding: 12px 24px;
    background: #1c1c1e;
    color: var(--text-main);
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn-direct:hover { background: #2c2c2e; }

/* --- PAGINA 2: PROFIL --- */
.profile-page {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.container {
    width: 100%;
    max-width: 480px;
}

.hero {
    text-align: center;
    margin-bottom: 40px;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero h1 { font-size: 28px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 5px; }
.motto { color: var(--text-muted); font-size: 15px; }

.section {
    background: var(--container-bg);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.section h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.text-block {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.interests {
    color: var(--accent);
    font-size: 15px;
    font-weight: 500;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.timeline-item {
    color: var(--text-muted);
    font-size: 15px;
}

.timeline-item strong { color: #fff; }

/* --- GRID PREFERINȚE (2x2) --- */
.favorites-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.fav-card {
    background: #1c1c1e;
    border-radius: 14px;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fav-card:hover:not(.no-link) {
    transform: scale(1.03);
    background: #2c2c2e;
}

.fav-card img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.fav-card span {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.no-link { cursor: default; }
