/* Home Selector Page - Clean Light Theme */

:root {
    --home-bg: #F8FAFC;
    --home-bg-elevated: #FFFFFF;
    --home-text: #0F172A;
    --home-muted: #64748B;
    --home-border: rgba(0, 0, 0, 0.08);
    --dotnet-accent: #0078d4;
    --dotnet-glow: rgba(0, 120, 212, 0.15);
    --laravel-accent: #FF2D20;
    --laravel-glow: rgba(255, 45, 32, 0.12);
}

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

body {
    font-family: 'DM Sans', system-ui, sans-serif;
    background: var(--home-bg);
    color: var(--home-text);
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 70% 40% at 50% -10%, rgba(0, 120, 212, 0.08), transparent),
        radial-gradient(ellipse 50% 30% at 100% 80%, rgba(255, 45, 32, 0.06), transparent),
        radial-gradient(ellipse 40% 30% at 0% 60%, rgba(0, 120, 212, 0.04), transparent);
    pointer-events: none;
    z-index: 0;
}

.home-selector {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 2rem 1.5rem 4rem;
}

/* Profile Header Card */
.profile-header-card {
    max-width: 480px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: var(--home-bg-elevated);
    border: 1px solid var(--home-border);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.profile-header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-avatar-wrap {
    margin-bottom: 1.25rem;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(0, 0, 0, 0.08);
}

.profile-avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--home-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--home-muted);
}

.profile-name {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.profile-title {
    font-size: 1rem;
    color: var(--laravel-accent);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.profile-tagline {
    font-size: 0.95rem;
    color: var(--home-muted);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.profile-location {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--home-muted);
    margin-bottom: 1.25rem;
}

.profile-icon {
    flex-shrink: 0;
}

.profile-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.profile-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--home-text);
    background: var(--home-bg);
    border: 1px solid var(--home-border);
    transition: all 0.2s ease;
}

.profile-cta:hover,
.profile-cta:focus {
    background: var(--laravel-glow);
    border-color: var(--laravel-accent);
    color: var(--laravel-accent) !important;
    transform: translateY(-1px);
    outline: 2px solid var(--laravel-accent);
    outline-offset: 2px;
}

.profile-cta-email:hover {
    border-color: var(--dotnet-accent);
}

.profile-cta-cv:hover {
    border-color: var(--laravel-accent);
}

.profile-cta-phone:hover {
    border-color: #25d366;
}

.profile-cta-linkedin:hover {
    border-color: #0a66c2;
}

.profile-seed-hint {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--home-muted);
    opacity: 0.8;
}

/* Portfolio Options */
.portfolio-options {
    max-width: 640px;
    margin: 0 auto;
}

.options-heading {
    font-size: 1rem;
    font-weight: 500;
    color: var(--home-muted);
    text-align: center;
    margin-bottom: 1.5rem;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    background: var(--home-bg-elevated);
    border: 1px solid var(--home-border);
    transition: all 0.3s ease;
}

.option-card:hover,
.option-card:focus {
    transform: translateY(-4px);
    border-color: rgba(0, 0, 0, 0.15);
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.option-card:focus-visible {
    outline: 2px solid var(--laravel-accent);
}

.option-card-dotnet:hover {
    border-color: rgba(0, 120, 212, 0.4);
    box-shadow: 0 12px 32px var(--dotnet-glow);
}

.option-card-dotnet:hover .option-icon {
    background: rgba(0, 120, 212, 0.15);
    color: var(--dotnet-accent);
}

.option-card-laravel:hover {
    border-color: rgba(255, 45, 32, 0.4);
    box-shadow: 0 12px 32px var(--laravel-glow);
}

.option-card-laravel:hover .option-icon {
    background: rgba(255, 45, 32, 0.15);
    color: var(--laravel-accent);
}

.option-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    transition: all 0.2s ease;
}

.option-card-dotnet .option-icon {
    background: transparent;
}

.option-card-laravel .option-icon {
    background: transparent;
}

.portfolio-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
}

.option-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.option-enter {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--home-muted);
    opacity: 0.8;
}

.option-card:hover .option-enter {
    opacity: 1;
}

/* CV Button (Prominent Primary CTA on Home) */
.profile-secondary-actions {
    margin-top: 1.25rem;
    display: flex;
    justify-content: center;
    width: 100%;
}

.btn-download-cv {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: 99px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff !important;
    background: var(--laravel-accent);
    box-shadow: 0 4px 12px var(--laravel-glow);
    transition: all 0.2s ease;
    white-space: nowrap;
    justify-content: center;
    border: 2px solid transparent;
}

.btn-download-cv:hover,
.btn-download-cv:focus {
    background: var(--laravel-accent);
    filter: brightness(0.95);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 45, 32, 0.25);
    outline: 2px solid var(--laravel-accent);
    outline-offset: 2px;
}

@media (max-width: 576px) {
    .home-selector {
        padding: 1.5rem 1rem 3rem;
    }

    .profile-header-card {
        padding: 1.5rem;
    }

    .profile-avatar,
    .profile-avatar-placeholder {
        width: 100px;
        height: 100px;
    }

    .profile-name {
        font-size: 1.5rem;
    }

    .profile-ctas {
        flex-direction: column;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }
}
