/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    color-scheme: dark;
    --bg-surface: #060b1d;
    --bg-elevated: rgba(15, 23, 42, 0.74);
    --bg-card: rgba(19, 27, 48, 0.78);
    --bg-card-soft: rgba(24, 32, 58, 0.65);
    --bg-accent: linear-gradient(135deg, rgba(129, 140, 248, 0.4), rgba(96, 165, 250, 0.25));
    --bg-gradient-main:
        radial-gradient(1200px 700px at 15% -10%, rgba(129, 140, 248, 0.42), transparent 60%),
        radial-gradient(1000px 600px at 85% -20%, rgba(14, 165, 233, 0.38), transparent 58%),
        radial-gradient(1000px 680px at 50% 120%, rgba(244, 114, 182, 0.35), transparent 65%),
        linear-gradient(180deg, #050815 0%, #080e1c 45%, #0c142b 100%);
    --bg-grid-color: rgba(148, 163, 184, 0.08);
    --border-soft: rgba(148, 163, 184, 0.12);
    --border-strong: rgba(148, 163, 184, 0.28);
    --text-primary: #f8fafc;
    --text-secondary: #cbd5f5;
    --text-muted: #94a3c7;
    --accent-blue: #60a5fa;
    --accent-purple: #818cf8;
    --accent-pink: #f472b6;
    --accent-cyan: #22d3ee;
    --glass-shadow: 0 24px 60px rgba(6, 13, 35, 0.35);
    --ring-glow: 0 0 0 1px rgba(96, 165, 250, 0.35);
    --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' width='200' height='200'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.15'/%3E%3C/svg%3E");
}

/* Force dark backgrounds everywhere */
html, body {
    background: var(--bg-surface) !important;
}

/* Additional reset for images */
img {
    max-width: none;
    height: auto;
    border: none;
    outline: none;
}

html {
    /* Prevent iOS zoom on form elements */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    /* Apple-style smooth scrolling */
    scroll-behavior: smooth;
    scroll-padding-top: 2rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-gradient-main);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height */
    overflow-x: hidden;
    /* Apple-style smooth scrolling */
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    /* Smooth momentum scrolling on iOS */
    -webkit-scroll-behavior: smooth;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(transparent 0%, rgba(148, 163, 184, 0.08) 50%, transparent 100%),
        linear-gradient(90deg, transparent 0%, rgba(148, 163, 184, 0.08) 50%, transparent 100%);
    background-size: 100% 180px, 180px 100%;
    opacity: 0.45;
    pointer-events: none;
    mix-blend-mode: screen;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(1200px at 15% 15%, rgba(129, 140, 248, 0.12), transparent 60%),
                radial-gradient(900px at 85% 35%, rgba(45, 212, 191, 0.1), transparent 65%);
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: lighten;
    opacity: 0.75;
}

body > * {
    position: relative;
    z-index: 1;
}

/* Container */
.container {
    max-width: min(1100px, 92vw);
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 3.2rem) clamp(1.5rem, 5vw, 3.5rem);
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 4vw, 3rem);
    justify-content: flex-start;
    /* Apple-style smooth scrolling */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Background Decoration - More subtle and professional */
.background-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.background-decoration::before,
.background-decoration::after {
    content: '';
    position: absolute;
    inset: 0;
    background-repeat: repeat;
    background-size: 3px 3px;
    opacity: 0.15;
}

/* Distant star layer (small, subtle) */
.background-decoration::before {
    background-image:
        radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.45) 50%, transparent 51%),
        radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.35) 50%, transparent 51%),
        radial-gradient(1px 1px at 80% 20%, rgba(255,255,255,0.35) 50%, transparent 51%),
        radial-gradient(1px 1px at 35% 85%, rgba(255,255,255,0.4) 50%, transparent 51%);
    animation: twinkleA 90s infinite linear;
}

/* Near star layer (slightly brighter, slower) */
.background-decoration::after {
    background-image:
        radial-gradient(1.5px 1.5px at 15% 15%, rgba(255,255,255,0.5) 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 75% 25%, rgba(255,255,255,0.45) 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 45% 55%, rgba(255,255,255,0.5) 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 85% 85%, rgba(255,255,255,0.4) 50%, transparent 51%);
    animation: twinkleB 120s infinite linear;
    opacity: 0.12;
}

@keyframes twinkleA {
    0% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-0.7%) translateX(0.7%); }
    100% { transform: translateY(0) translateX(0); }
}

@keyframes twinkleB {
    0% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(1%) translateX(-0.6%); }
    100% { transform: translateY(0) translateX(0); }
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.08;
    animation: float 80s infinite ease-in-out;
    mix-blend-mode: screen;
}

.orb-1 {
    width: 680px;
    height: 680px;
    background:
        radial-gradient(38% 38% at 42% 42%, rgba(255, 190, 100, 0.65), transparent 62%),
        radial-gradient(58% 58% at 62% 62%, rgba(255, 110, 50, 0.55), transparent 64%),
        radial-gradient(78% 78% at 50% 50%, rgba(255, 40, 0, 0.22), transparent 65%);
    top: 18%;
    left: 6%;
    animation-delay: 0s;
}
.orb-1::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(30% 30% at 45% 45%, rgba(255,200,120,0.45), transparent 60%),
                radial-gradient(22% 22% at 55% 55%, rgba(255,120,60,0.35), transparent 65%);
    filter: blur(60px);
    opacity: 0.6;
}

.orb-2 {
    width: 700px;
    height: 700px;
    background:
        radial-gradient(38% 38% at 58% 42%, rgba(160, 220, 255, 0.65), transparent 62%),
        radial-gradient(58% 58% at 42% 62%, rgba(110, 190, 255, 0.55), transparent 64%),
        radial-gradient(78% 78% at 50% 50%, rgba(0, 140, 255, 0.22), transparent 65%);
    top: 52%;
    right: 4%;
    animation-delay: -12s;
}
.orb-2::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(30% 30% at 55% 45%, rgba(190,235,255,0.45), transparent 60%),
                radial-gradient(22% 22% at 45% 55%, rgba(120,200,255,0.35), transparent 65%);
    filter: blur(60px);
    opacity: 0.6;
}

.orb-3 {
    width: 420px;
    height: 420px;
    background:
        radial-gradient(50% 50% at 50% 50%, rgba(160, 120, 255, 0.35), transparent 65%),
        radial-gradient(60% 60% at 30% 70%, rgba(80, 60, 200, 0.25), transparent 65%);
    bottom: 18%;
    left: 18%;
    animation-delay: -20s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    33% {
        transform: translateY(-12px) translateX(10px);
    }
    66% {
        transform: translateY(10px) translateX(-10px);
    }
}

/* Profile Section */
.profile-section {
    display: grid;
    grid-template-columns: minmax(120px, 160px) 1fr;
    gap: clamp(2rem, 4vw, 3rem);
    align-items: center;
    padding: clamp(2rem, 4vw, 3rem);
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.82), rgba(12, 23, 46, 0.68));
    border-radius: 28px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(20px);
    text-align: left;
}

.profile-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px at 100% 0%, rgba(96, 165, 250, 0.22), transparent 60%);
    opacity: 0.75;
    pointer-events: none;
}

.profile-media {
    position: relative;
    display: grid;
    place-items: center;
    z-index: 1;
    justify-self: center;
}

.profile-image {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
}

.profile-meta {
    position: relative;
    z-index: 1;
}

.media-glow {
    position: absolute;
    inset: auto;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(96, 165, 250, 0.45), transparent 65%);
    filter: blur(60px);
    z-index: 1;
    opacity: 0.8;
}

/* Professional avatar styling */
.container .profile-section .profile-image .avatar-img,
.profile-section .profile-image img[src*="PFP"],
img[alt*="MasstarVT Profile Picture"] {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    margin: 0 auto !important;
    display: block !important;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.2) !important;
    border: 4px solid rgba(59, 130, 246, 0.1) !important;
    max-width: 120px !important;
    max-height: 120px !important;
    transition: all 0.3s ease !important;
}

/* Hover effect */
.container .profile-section .profile-image .avatar-img:hover,
.profile-section .profile-image img[src*="PFP"]:hover,
img[alt*="MasstarVT Profile Picture"]:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.3) !important;
}

.avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.avatar-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.3);
}

.avatar-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.avatar-img {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    margin: 0 auto !important;
    display: block !important;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.2) !important;
    transition: all 0.3s ease;
    border: 4px solid rgba(59, 130, 246, 0.1) !important;
    max-width: 120px !important;
    max-height: 120px !important;
}

.avatar-img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.3) !important;
}

/* Additional fallback for profile image */
.profile-image img {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

.profile-name {
    font-size: clamp(2rem, 3.2vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #60a5fa 0%, #818cf8 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.profile-description {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.profile-tagline {
    font-size: clamp(0.95rem, 1.3vw, 1.05rem);
    color: var(--text-muted);
    max-width: 560px;
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
}

.profile-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.25), rgba(96, 165, 250, 0.15));
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid rgba(129, 140, 248, 0.2);
}

.profile-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(129, 140, 248, 0.7), rgba(129, 140, 248, 0));
    box-shadow: 0 0 12px rgba(129, 140, 248, 0.65);
}

.profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.35rem;
}

.profile-actions .cta-button {
    min-width: 0;
}

.cta-button.ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-strong);
}

.cta-button.ghost:hover {
    border-color: rgba(96, 165, 250, 0.6);
    background: rgba(59, 130, 246, 0.12);
    color: var(--text-primary);
}

.profile-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-metrics li {
    background: var(--bg-card-soft);
    border: 1px solid rgba(96, 165, 250, 0.12);
    padding: 1rem 1.1rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.15);
    backdrop-filter: blur(22px);
    text-align: left;
}

.metric-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: baseline;
    gap: 0.15rem;
}

.metric-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.08em;
}

.metric-sup {
    font-size: 0.7em;
    opacity: 0.85;
}

/* Links Section */
.links-section {
    margin-bottom: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: clamp(1.5rem, 3vw, 2rem);
}

.links-category {
    margin-bottom: 2.5rem;
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.72), rgba(12, 22, 44, 0.65));
    padding: clamp(1.75rem, 3vw, 2.5rem);
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(8, 12, 28, 0.5);
    backdrop-filter: blur(22px);
    border: 1px solid rgba(148, 163, 184, 0.14);
    transition: transform 280ms ease, box-shadow 280ms ease;
    position: relative;
    overflow: hidden;
}

.links-category::after {
    content: '';
    position: absolute;
    inset: -20%;
    background-image: var(--noise);
    opacity: 0.07;
    pointer-events: none;
}

.links-category:last-child {
    margin-bottom: 0;
}

.links-category:hover,
.links-category:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 32px 60px rgba(5, 10, 25, 0.55);
}

.section-heading {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.65rem;
    text-align: left;
}

.category-title {
    font-size: clamp(1.25rem, 1.8vw, 1.6rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.category-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 520px;
}

.links-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

/* Link Cards */
.link-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.2rem;
    padding: 1.25rem 1.5rem;
    background: rgba(22, 32, 58, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 16px;
    text-decoration: none;
    color: #f1f5f9;
    transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 240ms ease, border-color 240ms ease, background 240ms ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(5, 10, 25, 0.35);
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 240ms ease;
    z-index: -1;
}

.link-card::after {
    content: '';
    position: absolute;
    top: -120%;
    left: -60%;
    width: 60%;
    height: 320%;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 60%);
    transform: rotate(20deg);
    transition: transform 700ms ease, opacity 400ms ease;
    opacity: 0;
}

.link-card:hover::before {
    opacity: 0.1;
}

.link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 45px rgba(5, 10, 25, 0.45);
    border-color: rgba(255, 255, 255, 0.2);
}

.link-card:hover::after {
    transform: translateX(220%) rotate(20deg);
    opacity: 1;
}

.link-arrow {
    font-size: 1.35rem;
    color: rgba(148, 163, 184, 0.6);
    transition: transform 240ms ease, color 240ms ease;
}

.link-card:hover .link-arrow,
.link-card:focus .link-arrow {
    transform: translateX(4px);
    color: rgba(226, 232, 240, 0.9);
}

.link-icon {
    font-size: 1.5rem;
    margin-right: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    overflow: hidden;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    color: #60a5fa;
    box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.15);
    transition: transform 240ms ease, box-shadow 240ms ease, background 240ms ease;
}

.link-card:hover .link-icon {
    transform: scale(1.06);
    box-shadow: 0 0 24px rgba(59, 130, 246, 0.25), inset 0 0 0 1px rgba(59, 130, 246, 0.25);
}

.link-icon svg {
    width: 24px;
    height: 24px;
    color: inherit;
    flex-shrink: 0;
}

.link-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.link-content h3 {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #f1f5f9;
}

.link-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.link-content p {
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    color: #94a3b8;
    line-height: 1.4;
}

/* Individual Link Styles */
.twitch {
    --gradient: linear-gradient(135deg, #9146ff, #6441a4);
}

.twitch .link-icon {
    background: rgba(145, 70, 255, 0.2);
    color: #a855f7;
}

.discord {
    --gradient: linear-gradient(135deg, #5865f2, #4752c4);
}

.discord .link-icon {
    background: rgba(88, 101, 242, 0.2);
    color: #6366f1;
}

.twitter {
    --gradient: linear-gradient(135deg, #1da1f2, #0d8bd9);
}

.twitter .link-icon {
    background: rgba(29, 161, 242, 0.2);
    color: #38bdf8;
}

.bluesky {
    --gradient: linear-gradient(135deg, #00d4ff, #0099cc);
}

.bluesky .link-icon {
    background: rgba(0, 212, 255, 0.2);
    color: #0ea5e9;
}

.kofi {
    --gradient: linear-gradient(135deg, #ff5f5f, #e74c3c);
}

.kofi .link-icon {
    background: rgba(255, 95, 95, 0.2);
    color: #f87171;
}

.throne {
    --gradient: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.throne .link-icon {
    background: rgba(59, 130, 246, 0.18);
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.25);
    border: 1px solid rgba(59, 130, 246, 0.25);
    backdrop-filter: blur(12px);
    color: #93c5fd;
}
.github {
    --gradient: linear-gradient(135deg, #333, #24292e);
}

.github .link-icon {
    background: rgba(100, 116, 139, 0.2);
    color: #94a3b8;
}

.email {
    --gradient: linear-gradient(135deg, #34495e, #2c3e50);
}

.email .link-icon {
    background: rgba(52, 73, 94, 0.2);
    color: #64748b;
}

/* Footer */
.footer {
    text-align: center;
    padding: 1.6rem 2.2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    color: var(--text-muted);
    margin-top: auto;
    background: linear-gradient(160deg, rgba(12, 22, 44, 0.75), rgba(11, 20, 40, 0.6));
    border-radius: 22px;
    backdrop-filter: blur(18px);
    box-shadow: 0 16px 36px rgba(5, 10, 25, 0.3);
}

.footer p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.footer-links span {
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 0.75);
    font-weight: 500;
}

/* Responsive Design */
@media (min-width: 480px) {
    .container {
        padding: 1.5rem 2rem;
    }
    
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .profile-name {
        font-size: 2.5rem;
    }
    
    .avatar-placeholder {
        width: 120px;
        height: 120px;
    }
    
    .avatar-img {
        width: 120px !important;
        height: 120px !important;
        max-width: 120px !important;
        max-height: 120px !important;
    }
    
    .avatar-text {
        font-size: 2.5rem;
    }
    
    .profile-description {
        font-size: 1.1rem;
    }
    
    .profile-tagline {
        font-size: 1rem;
    }
    
    .category-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 900px) {
    .profile-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-meta {
        align-items: center;
    }

    .profile-tagline {
        margin: 0 auto;
    }

    .profile-actions {
        justify-content: center;
    }

    .profile-badges {
        justify-content: center;
    }

    .profile-metrics {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .profile-metrics li {
        align-items: center;
        text-align: center;
    }

    .nav-container {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
}

@media (max-width: 600px) {
    .nav-container {
        padding: 0.85rem 1rem;
        margin-bottom: 1rem;
    }

    .profile-section {
        padding: 1.75rem;
    }

    .profile-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mission-callout {
        padding: 1.75rem;
    }

    .section-heading {
        align-items: center;
        text-align: center;
    }

    .category-subtitle {
        max-width: 100%;
    }

    .mission-callout .cta-button {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .container {
        padding: clamp(2rem, 2.5vw, 3rem);
    }
    
    .profile-section {
        margin-bottom: 2.5rem;
    }
    
    .profile-name {
        font-size: 2.8rem;
    }
    
    .profile-description {
        font-size: 1.15rem;
    }
    
    .profile-tagline {
        font-size: 1.05rem;
    }
    
    .category-title { font-size: clamp(1.2rem, 1.5vw, 1.5rem); }
    
    .link-card {
        padding: 1.15rem 1.5rem;
    }
    
    .link-icon {
        font-size: 1.6rem;
    }
    
    .link-content h3 { font-size: clamp(1rem, 1.2vw, 1.15rem); }
    
    .link-content p { font-size: clamp(0.85rem, 1vw, 0.95rem); }
}

@media (min-height: 900px) {
    .container {
        padding: clamp(2.5rem, 3vh, 4rem) clamp(2rem, 2vw, 3rem);
    }
    
    .profile-section {
        margin-bottom: 3rem;
    }
    
    .links-section {
        margin-bottom: 2rem;
    }
    
    .links-category {
        margin-bottom: 2rem;
    }
    
    .links-grid {
        gap: 1rem;
    }
    
    .link-card {
        padding: 1.25rem 1.5rem;
    }
}

/* Large screen enhancements */
@media (min-width: 1100px) {
    .links-grid { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .floating-orb,
    .avatar-placeholder,
    .link-card,
    .background-decoration::before,
    .background-decoration::after {
        animation: none;
        transition: none;
    }
}

/* Focus States for Accessibility */
.link-card:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.sidebar-link:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.hamburger-menu:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .link-card {
        border: 2px solid #fff;
        background: #000;
    }
    
    .profile-name {
        -webkit-text-fill-color: #fff;
        color: #fff;
    }
    
    body {
        background: #000;
        color: #fff;
    }
}

/* Navigation Styles */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.75), rgba(13, 25, 48, 0.6));
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(8, 12, 28, 0.45);
}

.site-logo {
    font-weight: 700;
    font-size: clamp(1rem, 2vw, 1.2rem);
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1.05rem;
    border-radius: 999px;
    color: var(--text-primary);
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.22), rgba(129, 140, 248, 0.18));
    border: 1px solid rgba(96, 165, 250, 0.38);
    box-shadow: 0 12px 28px rgba(8, 16, 35, 0.4);
    backdrop-filter: blur(14px);
    transition: transform 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.logo-mark {
    letter-spacing: 0.14em;
    color: var(--text-primary);
}

.logo-accent {
    background: linear-gradient(135deg, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-logo:hover {
    color: var(--text-primary);
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.32), rgba(129, 140, 248, 0.28));
    border-color: rgba(148, 163, 184, 0.5);
    box-shadow: 0 16px 38px rgba(8, 16, 35, 0.45);
    transform: translateY(-1px);
}

.site-logo:hover .logo-accent {
    filter: brightness(1.1);
}

.hamburger-menu {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.9rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.hamburger-menu:hover {
    background: rgba(15, 23, 42, 0.9);
    transform: scale(1.05);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hamburger-line {
    width: 22px;
    height: 2px;
    background: #f1f5f9;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu.is-active .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger-menu.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.sidebar {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100vh;
    height: 100dvh;
    background: #0f172a !important;
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: right 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    /* Apple-style smooth scrolling */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    overscroll-behavior: contain;
    /* Custom scrollbar for webkit browsers */
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
}

.sidebar * {
    background-color: transparent !important;
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0f172a;
    z-index: -1;
}

.sidebar.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #0f172a !important;
    position: relative;
    z-index: 1;
}

.sidebar-header h3 {
    color: #f1f5f9;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    background: transparent !important;
}

.close-sidebar {
    background: transparent !important;
    border: none;
    color: #f1f5f9;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.close-sidebar:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: scale(1.1);
}

.sidebar-nav {
    padding: 2.5rem 0;
    display: flex;
    flex-direction: column;
    background: #0f172a !important;
    min-height: calc(100vh - 120px);
    position: relative;
    z-index: 1;
}

.sidebar-link {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 1.2rem 2rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    background: transparent !important;
    position: relative;
    z-index: 1;
}

.sidebar-link:hover {
    color: #f1f5f9;
    background: rgba(59, 130, 246, 0.1) !important;
    border-left-color: rgba(59, 130, 246, 0.5);
}

.sidebar-link.active {
    color: #f1f5f9;
    background: rgba(59, 130, 246, 0.2) !important;
    border-left-color: #3b82f6;
    font-weight: 700;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    width: 100dvw;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* About Me Page Styles */
.about-content {
    max-width: 100%;
}

.about-section {
    margin-bottom: 3rem;
    background: rgba(15, 23, 42, 0.6);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #f1f5f9;
    letter-spacing: -0.02em;
}

.about-text {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    line-height: 1.7;
}

.about-text p {
    margin-bottom: 1.25rem;
    color: #cbd5e1;
    font-size: 1rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.journey-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.timeline-item {
    background: rgba(22, 32, 58, 0.75);
    border-radius: 18px;
    padding: 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.12);
    position: relative;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(5, 10, 25, 0.35);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    backdrop-filter: blur(18px);
}

.timeline-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.18), transparent 65%);
    opacity: 0;
    transition: opacity 240ms ease;
}

.timeline-item:hover::before {
    opacity: 1;
}

.timeline-year {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(148, 163, 184, 0.7);
}

.timeline-item h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
}

.timeline-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

.timeline-tag {
    align-self: flex-start;
    margin-top: auto;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(22, 78, 168, 0.24);
    color: rgba(191, 219, 254, 0.85);
    border: 1px solid rgba(96, 165, 250, 0.25);
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.skill-card {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.skill-card:hover {
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.skill-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    color: #60a5fa;
}

.skill-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #f1f5f9;
}

.skill-card p {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 0.95rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.value-card {
    background: rgba(22, 32, 58, 0.75);
    border-radius: 18px;
    padding: 1.75rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 0 16px 36px rgba(5, 10, 25, 0.32);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    backdrop-filter: blur(18px);
}

.value-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

.value-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.value-list li {
    font-size: 0.85rem;
    color: rgba(203, 213, 225, 0.85);
    display: flex;
    gap: 0.4rem;
}

.value-list li::before {
    content: '•';
    color: rgba(129, 140, 248, 0.8);
    font-size: 1rem;
    line-height: 1;
    transform: translateY(2px);
}

.mission-callout {
    margin-top: 3rem;
    padding: clamp(2rem, 3vw, 2.75rem);
    border-radius: 26px;
    background: linear-gradient(140deg, rgba(14, 165, 233, 0.12), rgba(244, 114, 182, 0.12));
    border: 1px solid rgba(94, 234, 212, 0.2);
    box-shadow: 0 25px 50px rgba(14, 165, 233, 0.18);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    backdrop-filter: blur(24px);
}

.about-callout {
    background: linear-gradient(145deg, rgba(129, 140, 248, 0.18), rgba(45, 212, 191, 0.18));
    border: 1px solid rgba(129, 140, 248, 0.28);
    box-shadow: 0 30px 55px rgba(129, 140, 248, 0.18);
}

.mission-callout h2 {
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    font-weight: 700;
    color: var(--text-primary);
}

.mission-callout p {
    color: rgba(224, 231, 255, 0.85);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 620px;
}

.callout-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.callout-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.mission-callout .cta-button {
    min-width: 180px;
}

/* Interests */
.interests-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.interest-tag {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #f1f5f9;
    padding: 0.7rem 1.4rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.interest-tag:hover {
    transform: translateY(-2px);
    background: rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.cta-button.primary {
    background: linear-gradient(135deg, #60a5fa 0%, #818cf8 45%, #f472b6 100%);
    color: #ffffff;
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(96, 165, 250, 0.35);
}

.cta-button.secondary {
    background: rgba(30, 41, 59, 0.8);
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-button.secondary:hover {
    background: rgba(30, 41, 59, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
    .nav-container {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .hamburger-menu {
        padding: 0.7rem;
        min-height: 44px; /* Minimum touch target size */
        min-width: 44px;
        justify-content: center;
        align-items: center;
    }
    
    .hamburger-line {
        width: 20px;
    }
    
    .sidebar {
        width: 300px;
        right: -300px;
    }
    
    .sidebar-header {
        padding: 1.5rem;
    }
    
    .sidebar-header h3 {
        font-size: 1.1rem;
    }
    
    .close-sidebar {
        min-height: 44px; /* Minimum touch target size */
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .sidebar-link {
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
        min-height: 44px; /* Minimum touch target size */
        display: flex;
        align-items: center;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .skill-card {
        padding: 1.5rem;
    }
    
    .about-text {
        padding: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 0.95rem;
        min-height: 44px; /* Minimum touch target size */
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.6rem;
    }
    
    .hamburger-menu {
        padding: 0.6rem;
    }
    
    .hamburger-line {
        width: 18px;
    }
    
    .sidebar {
        width: 280px;
        right: -280px;
    }
    
    .sidebar-header {
        padding: 1.2rem;
    }
    
    .sidebar-header h3 {
        font-size: 1rem;
    }
    
    .sidebar-link {
        font-size: 1rem;
        padding: 0.9rem 1.2rem;
    }
    
    .interests-list {
        gap: 0.5rem;
    }
    
    .interest-tag {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .cta-button {
        max-width: 240px;
        font-size: 0.9rem;
    }
}

/* PC Specs Page Styles */
.specs-content {
    max-width: 100%;
}

.specs-overview {
    margin-bottom: 3rem;
}

.specs-summary {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.specs-summary::after {
    content: '';
    position: absolute;
    inset: -20%;
    background-image: var(--noise);
    opacity: 0.06;
    pointer-events: none;
}

.specs-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.8rem;
}

.setup-stat {
    background: rgba(22, 32, 58, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 18px 36px rgba(5, 10, 25, 0.32);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    backdrop-filter: blur(18px);
}

.setup-stat .stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(148, 163, 184, 0.75);
    font-weight: 600;
}

.setup-stat .stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.setup-stat p {
    color: rgba(203, 213, 225, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
}

.specs-description {
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-top: 1rem;
}

.specs-section {
    margin-bottom: 3rem;
    background: rgba(15, 23, 42, 0.6);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.specs-section::after {
    content: '';
    position: absolute;
    inset: -25%;
    background-image: var(--noise);
    opacity: 0.06;
    pointer-events: none;
}

.peripherals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.peripheral-card {
    background: rgba(22, 32, 58, 0.78);
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    padding: 1.75rem;
    box-shadow: 0 16px 32px rgba(5, 10, 25, 0.3);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    backdrop-filter: blur(18px);
}

.peripheral-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.peripheral-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    color: rgba(203, 213, 225, 0.85);
    font-size: 0.95rem;
    line-height: 1.5;
}

.peripheral-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
}

.peripheral-card ul li::before {
    content: '•';
    color: rgba(94, 234, 212, 0.65);
    line-height: 1.4;
    transform: translateY(2px);
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.workflow-card {
    background: rgba(22, 32, 58, 0.78);
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    padding: 1.75rem;
    box-shadow: 0 16px 32px rgba(5, 10, 25, 0.3);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    backdrop-filter: blur(18px);
}

.workflow-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
}

.workflow-card p {
    color: rgba(203, 213, 225, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
}

.workflow-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    color: rgba(148, 163, 184, 0.8);
    font-size: 0.85rem;
}

.workflow-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.workflow-card ul li::before {
    content: '↳';
    color: rgba(96, 165, 250, 0.65);
    line-height: 1.3;
}

/* Compact PC Panel */
.pc-specs-panel {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.pc-specs-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.specs-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    background: rgba(15, 23, 42, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.spec-item:hover {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.spec-item .spec-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    color: #60a5fa;
    flex-shrink: 0;
}

.spec-item .spec-details h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-item .spec-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: #f1f5f9;
    margin: 0;
}

.spec-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.spec-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(138, 43, 226, 0.3);
}

.spec-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8a2be2, #4169e1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.spec-card:hover::before {
    opacity: 1;
}

.spec-card .spec-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(138, 43, 226, 0.2);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    color: #8a2be2;
}

.spec-details h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.spec-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
}

.spec-info, .spec-timing, .spec-brand {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.spec-temp {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.temp-label {
    color: #a0a0a0;
    font-size: 0.85rem;
}

.temp-value {
    background: linear-gradient(135deg, #ff4444, #ff6b6b);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* GPU specific styles */
.gpu-list {
    margin-top: 1rem;
}

.gpu-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gpu-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.gpu-name {
    color: #e0e0e0;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.gpu-info, .gpu-status {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.display-info {
    color: #a0a0a0;
    font-size: 0.85rem;
    margin-top: 1rem;
    font-style: italic;
}

/* Storage specific styles */
.storage-list {
    margin-top: 1rem;
}

.storage-item {
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.storage-item:last-child {
    border-bottom: none;
    margin-bottom: 0.5rem;
    padding-bottom: 0;
}

.storage-name {
    color: #e0e0e0;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.storage-info {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.optical-info {
    color: #888;
    font-size: 0.8rem;
    font-style: italic;
    margin-top: 1rem;
}

/* Performance Section */
.performance-section {
    margin: 4rem 0;
}

.performance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.performance-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.performance-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(65, 105, 225, 0.3);
}

.performance-card h3 {
    color: #4169e1;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.performance-card p {
    color: #e0e0e0;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    margin-top: 3rem;
}

.contact-text {
    color: #e0e0e0;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Responsive Design for Specs Page */
@media (max-width: 768px) {
    .specs-grid-compact {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .specs-stats-grid,
    .peripherals-grid,
    .workflow-grid {
        grid-template-columns: 1fr;
    }
    
    .pc-specs-panel {
        padding: 1.5rem;
    }
    
    .spec-item {
        padding: 0.8rem;
    }
    
    .spec-item .spec-icon {
        width: 35px;
        height: 35px;
    }
    
    .performance-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .performance-card {
        padding: 1.5rem;
    }
    
    .contact-section {
        padding: 2rem;
    }
    
    .specs-summary {
        padding: 1.5rem;
    }

    .setup-stat,
    .peripheral-card,
    .workflow-card {
        padding: 1.35rem;
    }
}

@media (max-width: 480px) {
    .specs-grid-compact {
        grid-template-columns: 1fr;
    }
    
    .pc-specs-panel {
        padding: 1.2rem;
    }
    
    .spec-item {
        padding: 0.6rem;
        gap: 0.8rem;
    }
    
    .spec-item .spec-details h4 {
        font-size: 0.8rem;
    }
    
    .spec-item .spec-name {
        font-size: 0.9rem;
    }
    
    .spec-item .spec-icon {
        width: 30px;
        height: 30px;
    }
    
    .performance-card {
        padding: 1.2rem;
    }
    
    .contact-section {
        padding: 1.5rem;
    }
    
    .specs-summary {
        padding: 1.2rem;
    }
    
    .specs-description {
        font-size: 1rem;
    }

    .setup-stat,
    .peripheral-card,
    .workflow-card {
        padding: 1.1rem;
    }
}
