/* ===== SHARED COMPONENTS ===== */

/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--gold) 0%, #6d5dfc 100%);
    color: #ffffff;
    padding: 13px 28px;
    border-radius: var(--r-md);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s;
    box-shadow: 0 4px 24px var(--gold-glow), 0 1px 0 rgba(255,255,255,0.15) inset;
    letter-spacing: 0.2px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 36px rgba(232, 168, 78, 0.35);
    filter: brightness(1.06);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-2);
    padding: 13px 28px;
    border-radius: var(--r-md);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border: 1px solid var(--border-s);
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.25s var(--ease);
}

.btn-outline:hover {
    color: var(--text);
    border-color: var(--border-h);
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-2px);
}

/* --- Pulse ring indicator --- */
.pulse-ring {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    flex-shrink: 0;
    animation: pulse-ring-anim 2.2s ease-in-out infinite;
}

/* --- Status label (hero label) --- */
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--teal);
    background: var(--teal-dim);
    border: 1px solid rgba(20, 230, 208, 0.18);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
    letter-spacing: 0.3px;
}

/* --- Page sections --- */
.page-section {
    padding: var(--section-pad) 28px;
    position: relative;
    z-index: 1;
}

.section-alt {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

/* --- Section header --- */
.section-head {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    background: var(--gold-dim);
    border: 1px solid rgba(232, 168, 78, 0.2);
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 14px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.4px;
    color: var(--text);
    margin-bottom: 14px;
    line-height: 1.2;
}

.section-title mark {
    background: none;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(135deg, var(--gold-light), var(--teal));
}

.section-sub {
    font-size: 1rem;
    color: var(--text-2);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Fira Code ligatures */
[class*="font-mono"],
.section-tag, .hero-label, .stat-label, .pstat-label,
.skill-group__title, .badge, .footer-copy, .exp-duration,
.tech-tag, .stack-tag, .skill-tag, .tab-badge {
    font-feature-settings: "calt" 1, "liga" 1;
}

/* --- Badges --- */
.badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.badge--active {
    background: var(--green-dim);
    color: var(--green);
    border: 1px solid rgba(74, 222, 128, 0.22);
}

.badge--soon {
    background: var(--amber-dim);
    color: var(--amber);
    border: 1px solid rgba(251, 191, 36, 0.22);
}

/* --- Coming soon placeholder --- */
.coming-soon-view {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 28px;
    position: relative;
    z-index: 1;
}

.coming-soon-inner {
    max-width: 480px;
}

.coming-soon-icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 28px;
    filter: drop-shadow(0 0 24px rgba(232, 168, 78, 0.3));
}

.coming-soon-inner p {
    color: var(--text-2);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 32px;
}

/* --- Social links --- */
.social-links {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-s);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-2);
    transition: all 0.25s var(--ease);
}

.social-link:hover {
    background: var(--gold-dim);
    border-color: var(--border-h);
    color: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--gold-glow);
}

/* --- Footer --- */
footer {
    padding: 24px 28px;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-3);
}

.footer-logo {
    text-decoration: none;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
}

.footer-logo:hover { opacity: 0.75; }

.footer-logo-img {
    height: 32px;
    width: auto;
    display: block;
}
