/* Glassmorphic Void Portfolio Styles */

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: #eef5ff;
    /* Deep space gradient */
    background: radial-gradient(circle at 50% 50%, #10204b 0%, #050b21 70%, #020411 100%);
    overflow-x: hidden;
}

/* ---------- Global layout ---------- */
.page {
    padding-top: 72px; /* space for fixed nav */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    background: rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 64px;
}

.brand {
    font-weight: 800;
    letter-spacing: 0.08rem;
    color: #cfe0ff;
    text-transform: uppercase;
    font-size: 0.95rem;
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: #c6d7ff;
    text-decoration: none;
    font-size: 0.92rem;
    opacity: 0.95;
}

.nav-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.nav-spacer {
    flex: 1;
}

.design-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.design-switcher label {
    font-size: 0.85rem;
    color: #a9c0ff;
}

.design-switcher select {
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #eaf2ff;
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    font-size: 0.9rem;
    outline: none;
}

.design-switcher select option {
    background: #0d1943;
    color: #eaf2ff;
}

.design-switcher select:focus {
    border-color: rgba(137, 170, 255, 0.8);
    box-shadow: 0 0 0 3px rgba(137, 170, 255, 0.18);
}

/* ---------- Buttons / chips ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 0.95rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #eaf2ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
}

.btn.primary {
    border-color: rgba(79, 141, 253, 0.55);
    background: rgba(79, 141, 253, 0.18);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.85rem;
    color: #dce7ff;
}

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

.card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.25rem;
}

.card h3 {
    margin: 0 0 0.5rem;
    color: #c3d7ff;
    font-size: 1.05rem;
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    color: #a7c0ff;
    font-size: 0.85rem;
}

.thumb {
    width: 100%;
    height: 160px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(48, 77, 140, 0.6), rgba(22, 42, 86, 0.4));
    border: 1px solid rgba(255, 255, 255, 0.14);
    margin-bottom: 0.9rem;
}

/* ---------- Blog post layout ---------- */
.post {
    max-width: 900px;
    margin: 0 auto;
}

.post-hero {
    margin-bottom: 1.25rem;
}

.post-title {
    margin: 0.5rem 0 0.75rem;
    font-size: 2.1rem;
    color: #d7e6ff;
}

.post-body {
    line-height: 1.75;
}

.callout {
    margin-top: 1.25rem;
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
}

.callout h3 {
    margin-top: 0;
}

/* ---------- Footer ---------- */
.footer {
    padding: 2.5rem 0 3rem;
    color: #a7c0ff;
    text-align: center;
    font-size: 0.9rem;
}

@media (max-width: 680px) {
    .nav-inner {
        height: auto;
        padding: 0.8rem 0;
        flex-wrap: wrap;
    }
    .design-switcher {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Hero section */
.hero {
    position: relative;
    text-align: center;
    padding: 5rem 1rem 3rem;
    background: linear-gradient(180deg, rgba(10,20,60,0.8), rgba(5,12,32,0.8));
}
.hero h1 {
    margin: 0;
    font-size: 2.5rem;
    color: #b5cfff;
    letter-spacing: 0.05rem;
}
.hero p {
    margin-top: 0.5rem;
    font-size: 1.1rem;
    color: #a4bdf0;
}

main {
    padding: 2rem 1rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Glass cards */
.glass-card {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.glass-card h2 {
    margin-top: 0;
    font-size: 1.8rem;
    color: #c3d7ff;
}
.glass-card h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: #a8c3ff;
}
.glass-card p {
    line-height: 1.6;
    margin: 0.5rem 0;
}
.glass-card a {
    color: #89aaff;
    text-decoration: none;
}
.glass-card a:hover {
    text-decoration: underline;
}

/* Portfolio grid */
.portfolio-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}
.portfolio-items .item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1rem;
    backdrop-filter: blur(6px);
    transition: transform 0.2s ease;
}
.portfolio-items .item:hover {
    transform: translateY(-4px);
}
.portfolio-items .item h3 {
    margin-top: 0;
    font-size: 1rem;
    color: #a5c3ff;
}
.portfolio-items .item p {
    font-size: 0.9rem;
}

/* Profile placeholder in about */
#about .profile-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #304d8c, #162a56);
    margin-bottom: 1rem;
}

/* Social icons */
.social-links {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #fff;
    font-size: 0.7rem;
    text-decoration: none;
    font-weight: bold;
}
.social-icon.facebook { background-color: #3b5998; }
.social-icon.twitter { background-color: #1da1f2; }
.social-icon.pinterest { background-color: #bd081c; }
.social-icon.reddit { background-color: #ff4500; }
.social-icon.discord { background-color: #5865f2; }
.social-icon.patreon { background-color: #e85a18; }
.social-icon.paypal { background-color: #003087; }
.social-icon.stripe { background-color: #635bff; }
.social-icon.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social-icon.youtube { background-color: #ff0000; }
.social-icon.tiktok { background: linear-gradient(45deg, #69c9d0 0%, #ee1d52 50%, #000000 100%); }
.social-icon.linkedin { background-color: #0077b5; }