/* 
  ========================================
  itsLinxly Portfolio - Premium Styles
  ========================================
*/

:root {
    /* Color Palette - Premium Ultra-Dark Mode */
    --bg-main: #06060c;
    --bg-secondary: #0c0c16;
    --bg-card: rgba(18, 18, 28, 0.45);
    --bg-navbar: rgba(10, 10, 15, 0.6);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --accent-primary: #6366f1; /* Indigo */
    --accent-secondary: #a855f7; /* Violet */
    --accent-pink: #ec4899; /* Accent Glow Spot */
    --accent-glow: rgba(99, 102, 241, 0.35);
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(99, 102, 241, 0.15);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Layout */
    --section-padding: 120px 0;
    --container-width: 1100px;
    --border-radius: 20px;
    --border-radius-sm: 12px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: #06060c;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, #7606B3 0%, #7606B3 var(--violet-spread, 35%), #000066 100%);
    background-attachment: fixed !important;
    background-color: #06060c;
    --violet-spread: 35%;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

@media (max-width: 768px) {
    body {
        background-attachment: scroll !important;
    }
}

/* 
  Ambient Background Glows 
*/
.glow-container {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.ambient-glow {
    position: absolute;
    filter: blur(120px);
    opacity: 0.45;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.glow-1 {
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.75) 0%, rgba(168, 85, 247, 0.2) 50%, transparent 70%);
    animation: floatGlow1 18s infinite alternate ease-in-out, morphGlow1 22s infinite alternate ease-in-out;
}

.glow-2 {
    bottom: -15%;
    right: -10%;
    width: 65vw;
    height: 65vw;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.7) 0%, rgba(99, 102, 241, 0.25) 50%, transparent 75%);
    animation: floatGlow2 22s infinite alternate ease-in-out, morphGlow2 26s infinite alternate ease-in-out;
}

.glow-3 {
    top: 30%;
    left: 20%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.6) 0%, rgba(236, 72, 153, 0.2) 60%, transparent 80%);
    opacity: 0.35;
    animation: floatGlow3 15s infinite alternate ease-in-out, morphGlow3 19s infinite alternate ease-in-out;
}

@keyframes floatGlow1 {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(8%, 10%) scale(1.1) rotate(90deg); }
    100% { transform: translate(-5%, 15%) scale(0.95) rotate(180deg); }
}

@keyframes floatGlow2 {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(-10%, -8%) scale(0.9) rotate(-120deg); }
    100% { transform: translate(5%, -15%) scale(1.05) rotate(-240deg); }
}

@keyframes floatGlow3 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(12%, -10%) scale(1.15); }
    100% { transform: translate(-8%, 5%) scale(0.9); }
}

@keyframes morphGlow1 {
    0% { border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%; }
    50% { border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%; }
    100% { border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%; }
}

@keyframes morphGlow2 {
    0% { border-radius: 50% 50% 30% 70% / 50% 60% 40% 50%; }
    50% { border-radius: 30% 70% 70% 30% / 50% 30% 70% 50%; }
    100% { border-radius: 60% 40% 60% 40% / 40% 60% 50% 50%; }
}

@keyframes morphGlow3 {
    0% { border-radius: 60% 40% 60% 40% / 50% 50% 50% 50%; }
    50% { border-radius: 40% 60% 40% 60% / 60% 40% 60% 40%; }
    100% { border-radius: 50% 50% 60% 40% / 40% 60% 40% 60%; }
}

/* 
  Typography 
*/
h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding);
    position: relative;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 3.5rem;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 40%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 100px;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

/* 
  Buttons 
*/
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3), 
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* 
  Navigation (Floating Glass Pill) 
*/
.navbar {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1200px;
    padding: 14px 32px;
    border-radius: 100px;
    background: var(--bg-navbar);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    top: 16px;
    padding: 10px 28px;
    background: rgba(8, 8, 12, 0.85);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 30%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition-smooth);
}

.logo:hover {
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.5));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 12px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 18px;
    border-radius: 100px;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
}

/* 
  Hero Section 
*/
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
}

/* Glowing Greeting Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.2s;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.05);
}

.hero-badge span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-primary);
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.hero h1 {
    font-size: 5.5rem;
    margin-bottom: 16px;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #ffffff 40%, #c7d2fe 75%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.4s;
    filter: drop-shadow(0 2px 20px rgba(0, 0, 0, 0.3));
}

.subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.8s;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 1s;
}

.scroll-indicator p {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    position: relative;
    opacity: 0.8;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.6s infinite;
}

@keyframes scroll {
    0% { top: 6px; opacity: 1; }
    100% { top: 22px; opacity: 0; }
}

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

/* 
  About Me Section 
*/
.about-me {
    background-color: transparent;
}

.about-me-grid {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 60px;
    align-items: center;
}

.about-me-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.avatar-glow-ring {
    position: relative;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4),
                0 0 20px rgba(168, 85, 247, 0.2);
}

.avatar-fallback {
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.avatar-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-secondary);
    border: 2px solid var(--bg-secondary);
}

.about-me-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 40%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-me-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-me-info-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

@media (max-width: 900px) {
    .about-me-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-me-info-list {
        justify-items: center;
    }
}

/* 
  About Section 
*/
.about {
    background-color: transparent;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 45px 35px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 
                0 0 20px rgba(99, 102, 241, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card .icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.about-card:hover .icon {
    transform: scale(1.12) rotate(5deg);
}

.about-card h3 {
    font-size: 1.45rem;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 700;
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 
  Projects Section 
*/
.projects {
    background-color: transparent;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.project-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), 
                0 0 30px rgba(99, 102, 241, 0.15), 
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
}

.project-image {
    height: 220px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.06);
}

.project-overlay {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
}

.project-overlay span {
    background: rgba(8, 8, 12, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.project-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.project-info p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.tag {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition-smooth);
}

.project-card:hover .tag {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
}

.project-link {
    display: inline-flex;
    align-items: center;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    width: fit-content;
}

.project-link span {
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.project-card:hover .project-link {
    color: var(--accent-primary);
}

.project-card:hover .project-link span {
    transform: translateX(5px);
}

/* 
  Footer 
*/
footer {
    background-color: transparent;
    padding: 80px 0 40px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 30%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-links {
    display: flex;
    gap: 24px;
}

.social-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    padding: 4px 0;
}

.social-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-primary);
    transition: var(--transition-smooth);
}

.social-links a:hover {
    color: var(--text-primary);
}

.social-links a:hover::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* 
  Responsive Design 
*/
@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }
    
    .navbar {
        width: calc(100% - 32px);
        top: 16px;
        padding: 8px 18px;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .nav-links {
        gap: 6px;
    }
    
    .nav-links a {
        font-size: 0.85rem;
        padding: 5px 10px;
    }
    
    .hero h1 {
        font-size: 3.5rem;
        letter-spacing: -1px;
    }
    
    .subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* 
  Scroll Animation Transitions 
*/
.about-card, .project-card, .animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.about-card.visible, .project-card.visible, .animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 
  Subpage & Gallery Styles (Lynxia Details)
*/
.page-header {
    padding: 180px 0 60px;
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 40%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 20px rgba(0, 0, 0, 0.3));
}

.page-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.project-details {
    padding: 30px 0;
}

.details-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 45px;
    margin-bottom: 50px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.details-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.details-content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

.details-content p:last-of-type {
    margin-bottom: 0;
}

/* Gallery */
.gallery-section {
    margin-bottom: 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
    aspect-ratio: 16 / 10;
    background: rgba(0,0,0,0.2);
}

.gallery-item:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background: linear-gradient(to top, rgba(6, 6, 12, 0.95) 40%, rgba(6, 6, 12, 0.4) 75%, transparent 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: white;
    transform: translateY(10px);
    opacity: 0;
    transition: var(--transition-smooth);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
    opacity: 1;
}

.gallery-caption h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.gallery-caption p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 24px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
}

.back-link span {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.back-link:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.15);
}

.back-link:hover span {
    transform: translateX(-4px);
}

/* 
  Steam-like Shop Layout 
*/
.steam-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.steam-shop-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

/* Left Column: Showcase */
.steam-showcase {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.steam-main-view {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.steam-main-view img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.steam-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.steam-thumb {
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: var(--transition-smooth);
    background: rgba(0, 0, 0, 0.2);
}

.steam-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.steam-thumb:hover, .steam-thumb.active {
    opacity: 1;
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

/* Right Column: Info Card */
.steam-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.steam-banner-bg {
    width: 100%;
    height: 130px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.steam-logo {
    max-width: 55%;
    max-height: 55%;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

.steam-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.steam-metadata-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

.metadata-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.meta-label {
    color: var(--text-muted);
}

.meta-val {
    color: var(--text-primary);
    font-weight: 500;
}

.meta-val.highlight-blue {
    color: #66c0f4;
    text-shadow: 0 0 8px rgba(102, 192, 244, 0.3);
}

.meta-val.highlight-purple {
    color: #c7d2fe;
}

.steam-popular-tags {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tag-title {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Action Box */
.steam-action-box {
    background: linear-gradient(90deg, rgba(20, 20, 35, 0.7) 0%, rgba(99, 102, 241, 0.1) 100%);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-primary);
    border-radius: var(--border-radius-sm);
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.action-details h2 {
    font-size: 1.4rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.action-details p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.action-btn-block {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

.price-tag {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0 20px;
    color: var(--text-primary);
}

.steam-play-btn {
    padding: 10px 24px;
    font-size: 0.95rem;
    border-radius: 6px;
}

/* Detailed About Info */
.steam-detailed-info {
    background: rgba(12, 12, 22, 0.35);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 35px;
    margin-bottom: 40px;
}

.steam-detailed-info h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.steam-hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-primary) 0%, transparent 100%);
    margin-bottom: 24px;
}

.steam-about-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

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

/* 
  Linktree-like Page 
*/
.links-wrapper {
    max-width: 580px;
    margin: 140px auto 80px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 10;
    position: relative;
}

.links-avatar {
    margin-bottom: 20px;
}

.links-wrapper h1 {
    font-size: 2rem;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff 40%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.links-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 35px;
    max-width: 400px;
}

.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15), 
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.08),
        transparent
    );
    transition: 0.5s;
}

.link-item:hover::before {
    left: 100%;
}

.link-item:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

/* Featured link item with primary glowing accent */
.link-item.featured {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15), 
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.link-item.featured:hover {
    border-color: rgba(99, 102, 241, 0.55);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%);
}

.link-icon {
    font-size: 1.3rem;
    position: absolute;
    left: 20px;
}

/* 
  Project Gallery Page 
*/
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 20px;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.gallery-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.gallery-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.gallery-card-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.gallery-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-card-img img {
    transform: scale(1.05);
}

.gallery-card-details {
    padding: 16px 20px;
}

.gallery-card-details h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.gallery-card-details p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 4, 8, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content {
    max-width: 100%;
    max-height: 100%;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(99, 102, 241, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 2010;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--accent-pink);
    transform: scale(1.1);
}

.lightbox-caption {
    margin-top: 20px;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

@media (max-width: 900px) {
    .steam-shop-grid {
        grid-template-columns: 1fr;
    }
    
    .steam-action-box {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    
    .action-btn-block {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 130px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2.8rem;
    }
    
    .page-header p {
        font-size: 1.05rem;
    }
    
    .details-content {
        padding: 30px 20px;
    }
    
    .details-content h2 {
        font-size: 1.5rem;
    }
}
