/**
 * ============================================
 * PORTFOLIO STYLES
 * ============================================
 * 
 * Dark theme portfolio with cyan accent color.
 * Based on Tailwind CSS design tokens.
 */

/* ==========================================
   CSS CUSTOM PROPERTIES (THEME)
   ========================================== */
:root {
    --background: 222 47% 4%;
    --foreground: 210 40% 98%;
    --card: 222 47% 6%;
    --card-foreground: 210 40% 98%;
    --primary: 199 89% 54%;
    --primary-foreground: 222 47% 4%;
    --secondary: 222 47% 10%;
    --secondary-foreground: 210 40% 98%;
    --muted: 222 47% 10%;
    --muted-foreground: 215 20% 70%;
    --border: 222 47% 12%;
    --radius: 1rem;
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
*, *::before, *::after {
    box-sizing: border-box;
    border-color: hsl(var(--border));
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

::selection {
    background-color: hsl(var(--primary) / 0.2);
    color: hsl(var(--primary));
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================
   SCROLLBAR
   ========================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: hsl(var(--background));
}

::-webkit-scrollbar-thumb {
    background: hsl(var(--secondary));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: hsl(var(--primary) / 0.4);
}

/* ==========================================
   LAYOUT
   ========================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 48px;
    }
}

.main-content {
    flex: 1;
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background-color: hsl(var(--background) / 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid hsl(var(--border));
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .navbar {
        padding: 0 48px;
    }
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
    color: white;
    transition: color 0.2s;
}

.navbar-brand:hover {
    color: hsl(var(--primary));
}

.navbar-links {
    display: none;
    align-items: center;
    gap: 32px;
    font-size: 0.875rem;
    font-weight: 500;
}

@media (min-width: 768px) {
    .navbar-links {
        display: flex;
    }
}

.nav-link {
    color: hsl(var(--muted-foreground));
    transition: color 0.2s;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: white;
}

.nav-link.active {
    color: hsl(var(--primary));
    font-weight: 600;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: hsl(var(--primary));
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.navbar-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-link {
    color: hsl(var(--muted-foreground));
    padding: 8px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    color: white;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: flex;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: hsl(var(--muted-foreground));
}

.mobile-menu-btn:hover {
    color: white;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background-color: hsl(var(--background) / 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid hsl(var(--border));
    padding: 16px 24px;
    flex-direction: column;
    gap: 8px;
    z-index: 40;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu .nav-link {
    padding: 12px 0;
    display: block;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: hsl(var(--background));
}

.hero-gradient {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.1), transparent 50%);
}

.hero-gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.05), transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 20;
    max-width: 900px;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
    color: white;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 4rem;
    }
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .hero-meta {
        gap: 32px;
    }
}

.hero-title {
    color: hsl(var(--primary));
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 1rem;
    }
}

.hero-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: hsl(var(--muted-foreground));
}

.hero-location svg {
    width: 16px;
    height: 16px;
    color: hsl(var(--primary));
}

.hero-location span {
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-bio {
    max-width: 576px;
    border-left: 2px solid hsl(var(--primary));
    padding-left: 24px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.hero-bio p {
    font-size: 1rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
    font-weight: 300;
}

@media (min-width: 768px) {
    .hero-bio p {
        font-size: 1.125rem;
    }
}

.hero-bio strong {
    color: white;
    font-weight: 500;
}

/* ==========================================
   SECTIONS
   ========================================== */
.section {
    padding: 96px 0;
}

.section-border {
    border-top: 1px solid hsl(var(--border));
}

.section-alt {
    background-color: hsl(var(--secondary) / 0.3);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
    color: white;
}

.section-description {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    max-width: 672px;
}

/* ==========================================
   PAGE HEADER
   ========================================== */
.page-header {
    padding: 96px 0;
    border-bottom: 1px solid hsl(var(--border));
    background-color: hsl(var(--secondary) / 0.1);
    position: relative;
    overflow: hidden;
    margin-top: 64px;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 50%);
}

.page-header-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
}

.page-header h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    color: white;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .page-header h1 {
        font-size: 3rem;
    }
}

.page-header-description {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
    font-weight: 300;
}

@media (min-width: 768px) {
    .page-header-description {
        font-size: 1.25rem;
    }
}

.page-header-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    color: hsl(var(--muted-foreground));
    margin-bottom: 32px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-item svg {
    width: 16px;
    height: 16px;
    color: hsl(var(--primary));
}

.meta-item span {
    font-size: 0.875rem;
    font-weight: 500;
}

.page-header-intro {
    font-size: 1.125rem;
    font-weight: 300;
    margin-bottom: 48px;
    color: hsl(var(--foreground) / 0.9);
    line-height: 1.7;
    max-width: 768px;
}

@media (min-width: 768px) {
    .page-header-intro {
        font-size: 1.25rem;
    }
}

/* ==========================================
   CARDS
   ========================================== */
.card {
    overflow: hidden;
    border: 1px solid hsl(var(--border));
    background-color: hsl(var(--secondary) / 0.2);
    border-radius: 16px;
    transition: all 0.3s;
}

.card:hover {
    background-color: hsl(var(--secondary) / 0.4);
    border-color: hsl(var(--primary) / 0.3);
}

.card-content {
    padding: 32px;
}

/* Project Cards */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 64px;
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.project-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    transition: color 0.2s;
    color: white;
}

.project-card:hover h3 {
    color: hsl(var(--primary));
}

.project-card p {
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
    margin-bottom: 32px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: hsl(var(--primary));
    transition: gap 0.2s;
}

.project-link:hover {
    gap: 12px;
}

.project-link svg {
    width: 16px;
    height: 16px;
}

/* ==========================================
   BADGES
   ========================================== */
.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    border: 1px solid hsl(var(--border));
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: hsl(var(--background));
    color: hsl(var(--muted-foreground));
}

.badge-primary {
    background-color: hsl(var(--primary) / 0.2);
    color: hsl(var(--primary));
    border-color: hsl(var(--primary) / 0.3);
}

.badge-secondary {
    background-color: hsl(var(--secondary) / 0.5);
    color: hsl(var(--muted-foreground));
}

/* ==========================================
   SKILLS SECTION
   ========================================== */
.skills-header {
    max-width: 672px;
    margin-bottom: 64px;
}

.skills-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
    color: white;
}

.skills-header p {
    color: hsl(var(--muted-foreground));
    font-size: 1.125rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.skill-group {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.skill-group-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid hsl(var(--border));
    padding-bottom: 12px;
}

.skill-group-header svg {
    width: 20px;
    height: 20px;
    color: hsl(var(--primary));
}

.skill-group-header h3 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: hsl(var(--foreground) / 0.8);
}

.skill-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .skill-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    background-color: hsl(var(--background));
    border: 1px solid hsl(var(--border));
    transition: border-color 0.2s;
}

.skill-item:hover {
    border-color: hsl(var(--primary) / 0.5);
}

.skill-item span {
    font-weight: 500;
    font-size: 0.875rem;
    color: hsl(var(--foreground) / 0.9);
}

/* ==========================================
   ABOUT GRID
   ========================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.about-card {
    padding: 32px;
    border-radius: 16px;
    background-color: hsl(var(--secondary) / 0.2);
    border: 1px solid hsl(var(--border));
    transition: border-color 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.about-card:hover {
    border-color: hsl(var(--primary) / 0.3);
}

.about-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.about-card h2 svg {
    width: 24px;
    height: 24px;
    color: hsl(var(--primary));
}

.about-card-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.about-card-content p {
    color: hsl(var(--muted-foreground));
    font-size: 1.125rem;
    line-height: 1.7;
}

.about-card-content strong {
    color: white;
    font-weight: 500;
}

/* ==========================================
   GAME JAMS GRID
   ========================================== */
.jams-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .jams-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .jams-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.jam-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.jam-card .card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.jam-header {
    margin-bottom: 24px;
    min-height: 100px;
}

.jam-event {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: hsl(var(--primary) / 0.8);
    font-family: monospace;
    margin-bottom: 8px;
}

.jam-achievement {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.jam-achievement svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.jam-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    transition: color 0.2s;
    line-height: 1.3;
}

.jam-card:hover h2 {
    color: hsl(var(--primary));
}

.jam-description {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
    margin-bottom: 24px;
    line-height: 1.6;
    font-style: italic;
    opacity: 0.8;
    flex: 1;
}

.jam-highlights {
    margin-bottom: 32px;
}

.jam-highlights-title {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: hsl(var(--foreground) / 0.5);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.jam-highlights-title svg {
    width: 12px;
    height: 12px;
}

.jam-highlights ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.jam-highlights li {
    font-size: 0.75rem;
    color: hsl(var(--foreground) / 0.7);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.jam-highlights li::before {
    content: '•';
    color: hsl(var(--primary));
    font-size: 1rem;
    line-height: 1;
}

.jam-footer {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid hsl(var(--border) / 0.5);
}

.jam-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.jam-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.jam-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: hsl(var(--muted-foreground));
    transition: color 0.2s;
}

.jam-link:hover {
    color: white;
}

.jam-link svg {
    width: 16px;
    height: 16px;
}

/* ==========================================
   TEACHING PAGE
   ========================================== */
.teaching-section {
    margin-bottom: 128px;
}

.teaching-section:last-child {
    margin-bottom: 0;
}

.teaching-section-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.teaching-section-title .icon-wrapper {
    padding: 12px;
    border-radius: 16px;
    background-color: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
}

.teaching-section-title .icon-wrapper svg {
    width: 32px;
    height: 32px;
}

.teaching-section-title h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.025em;
}

.teaching-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .teaching-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.teaching-card {
    padding: 32px;
    border-radius: 16px;
    background-color: hsl(var(--secondary) / 0.2);
    border: 1px solid hsl(var(--border));
    transition: border-color 0.2s;
}

.teaching-card:hover {
    border-color: hsl(var(--primary) / 0.3);
}

.teaching-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.teaching-card-meta {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: hsl(var(--primary));
}

.teaching-card-platform {
    font-size: 0.75rem;
    font-family: monospace;
    color: hsl(var(--muted-foreground));
}

.teaching-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.teaching-card:hover h3 {
    color: hsl(var(--primary));
}

.teaching-card p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
    margin-bottom: 24px;
}

.teaching-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: hsl(var(--primary));
    transition: gap 0.2s;
}

.teaching-link:hover {
    gap: 12px;
}

.teaching-link svg {
    width: 12px;
    height: 12px;
}

/* ==========================================
   SHOWCASE PAGE
   ========================================== */
.showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 768px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.showcase-card {
    padding: 32px;
    border-radius: 24px;
    background-color: hsl(var(--secondary) / 0.1);
    border: 1px solid hsl(var(--border));
    transition: all 0.3s ease;
}

.showcase-card:hover {
    border-color: hsl(var(--primary) / 0.5);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -15px hsl(var(--primary) / 0.15);
}

.showcase-preview-link {
    display: block;
    text-decoration: none;
}

.showcase-preview {
    aspect-ratio: 16 / 9;
    margin-bottom: 32px;
    border-radius: 16px;
    background-color: hsl(var(--secondary) / 0.3);
    background-image: linear-gradient(135deg, hsl(var(--secondary) / 0.4) 0%, hsl(var(--primary) / 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.showcase-thumbnail {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.showcase-card:hover .showcase-thumbnail {
    transform: scale(1.05);
}

.showcase-card:hover .showcase-preview {
    background-color: hsl(var(--secondary) / 0.4);
}

.showcase-preview-icon {
    color: hsl(var(--primary) / 0.4);
    transition: all 0.3s ease;
    z-index: 5;
}

.showcase-card:hover .showcase-preview-icon {
    color: hsl(var(--primary));
    transform: scale(1.1);
}

.showcase-preview-icon svg {
    width: 48px;
    height: 48px;
}

.showcase-preview::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, hsl(var(--background) / 0.6), transparent 50%);
    z-index: 2;
}

.showcase-overlay {
    position: absolute;
    inset: 0;
    background: hsl(var(--primary) / 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.showcase-card:hover .showcase-overlay {
    opacity: 1;
}

.showcase-overlay-text {
    color: hsl(var(--primary-foreground));
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.showcase-overlay-text svg {
    width: 20px;
    height: 20px;
}

.showcase-type-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 15;
}

.showcase-content {
    padding: 0 8px;
}

.showcase-category {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: hsl(var(--primary) / 0.8);
    margin-bottom: 8px;
}

.showcase-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.showcase-card:hover h3 {
    color: hsl(var(--primary));
}

.showcase-card p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
    margin-bottom: 24px;
}

.showcase-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: hsl(var(--primary));
    transition: gap 0.2s;
}

.showcase-link:hover {
    gap: 12px;
}

.showcase-link svg {
    width: 12px;
    height: 12px;
}

/* ==========================================
   PROJECT DETAIL PAGES
   ========================================== */
.project-header {
    padding-bottom: 64px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--primary));
    margin-bottom: 48px;
    transition: gap 0.2s;
}

.back-link:hover {
    gap: 12px;
}

.back-link svg {
    width: 16px;
    height: 16px;
}

.project-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.badge-award {
    background-color: hsl(var(--primary) / 0.2);
    color: hsl(var(--primary));
    border-color: hsl(var(--primary) / 0.3);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-award svg {
    width: 12px;
    height: 12px;
}

.project-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
}

@media (min-width: 1024px) {
    .project-layout {
        grid-template-columns: 2fr 1fr;
    }
}

.project-main {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.project-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    letter-spacing: -0.025em;
}

.project-about {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.project-about p {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.8;
}

.project-about strong {
    color: white;
    font-weight: 500;
}

.project-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.project-role {
    padding: 32px;
    border-radius: 24px;
    background-color: hsl(var(--primary) / 0.05);
    border: 1px solid hsl(var(--primary) / 0.2);
}

.role-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.role-header svg {
    width: 32px;
    height: 32px;
    color: hsl(var(--primary));
}

.role-header h2 {
    margin-bottom: 0;
    font-size: 1.5rem;
}

.project-role > p {
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.8;
}

.project-role strong {
    color: white;
}

.tasks-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 640px) {
    .tasks-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.task-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    transition: all 0.2s ease;
    cursor: default;
}

.task-item:hover {
    padding-left: 8px;
}

.task-item:hover .task-dot {
    transform: scale(1.3);
    box-shadow: 0 0 12px hsl(var(--primary) / 0.6);
}

.task-item:hover .task-text {
    color: hsl(var(--primary));
}

.task-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: hsl(var(--primary));
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.task-text {
    font-size: 0.9375rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.5;
    transition: color 0.2s ease;
}

.project-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    padding: 32px;
    border-radius: 24px;
    background-color: hsl(var(--secondary) / 0.2);
    border: 1px solid hsl(var(--border));
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    color: hsl(var(--primary));
}

.sidebar-header svg {
    width: 28px;
    height: 28px;
}

.sidebar-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.sidebar-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid hsl(var(--border));
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: hsl(var(--muted-foreground));
}

.stat-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
}

.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Tech Stack */
.tech-stack-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: hsl(var(--background));
    color: hsl(var(--muted-foreground));
    border: 1px solid hsl(var(--border));
    transition: all 0.2s ease;
}

.tech-badge:hover {
    border-color: hsl(var(--primary) / 0.5);
    color: hsl(var(--primary));
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    box-shadow: 0 10px 15px -3px hsl(var(--primary) / 0.2);
}

.btn-primary:hover {
    background-color: hsl(var(--primary) / 0.9);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: hsl(var(--primary));
    border: 1px solid hsl(var(--primary) / 0.2);
}

.btn-outline:hover {
    background-color: hsl(var(--primary) / 0.05);
}

.btn svg {
    width: 16px;
    height: 16px;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    padding: 80px 0;
    background-color: hsl(var(--background));
    border-top: 1px solid hsl(var(--border));
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-brand {
        align-items: flex-start;
    }
}

.footer-brand-name {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
    color: white;
    margin-bottom: 16px;
}

.footer-brand-desc {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    text-align: center;
    max-width: 288px;
}

@media (min-width: 768px) {
    .footer-brand-desc {
        text-align: left;
    }
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

@media (min-width: 768px) {
    .footer-right {
        align-items: flex-end;
    }
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-social-link {
    padding: 8px;
    color: hsl(var(--muted-foreground));
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social-link:hover {
    color: hsl(var(--primary));
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
}

.footer-copyright {
    text-align: center;
}

@media (min-width: 768px) {
    .footer-copyright {
        text-align: right;
    }
}

.footer-copyright p {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
}

.footer-note {
    font-size: 10px;
    color: hsl(var(--muted-foreground) / 0.5);
    margin-top: 8px;
    font-style: italic;
    max-width: 200px;
    line-height: 1.4;
}

/* ==========================================
   BACK TO TOP BUTTON
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 50;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: hsl(var(--primary) / 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid hsl(var(--primary) / 0.2);
    color: hsl(var(--primary));
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(48px);
    pointer-events: none;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background-color: hsl(var(--primary));
    color: white;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-primary {
    color: hsl(var(--primary));
}

.text-white {
    color: white;
}

.text-muted {
    color: hsl(var(--muted-foreground));
}

.mt-16 {
    margin-top: 64px;
}
