/* ================================================================
   AZRIEL DEV — Undertale Cosmic Landing Page
   Design System & Styles
   ================================================================ */

/* === Custom Properties === */
:root {
    /* Colors — Cosmic Undertale Palette */
    --bg-primary: #06010f;
    --bg-secondary: #0e0520;
    --bg-card: rgba(15, 8, 35, 0.7);
    --bg-glass: rgba(20, 10, 50, 0.45);

    --purple-deep: #1a0a2e;
    --purple-mid: #2d1458;
    --purple-bright: #9b59b6;
    --purple-glow: #c084fc;
    --purple-neon: #d946ef;

    --blue-deep: #0d1b3e;
    --blue-cosmic: #1e3a5f;

    --gold: #ffd700;
    --gold-dim: #b8960f;
    --gold-glow: #ffe566;

    --red-determination: #ff3333;

    --text-primary: #e8e0ff;
    --text-secondary: #a89bc7;
    --text-muted: #6b5a8a;

    --white: #f5f0ff;

    /* Typography */
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-pixel: 'Press Start 2P', monospace;

    /* Spacing */
    --section-padding: 120px 0;
    --container-width: 1200px;
    --gap: 24px;

    /* Borders / Radius */
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration: 0.4s;
    --duration-slow: 0.8s;
}

/* === Reset & Base === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.7;
}

::selection {
    background: var(--purple-bright);
    color: var(--white);
}

/* === Three.js Background === */
#three-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#three-bg canvas {
    display: block;
}

.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(6, 1, 15, 0.7) 100%);
}

/* === Container === */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--gap);
}

/* === Navigation === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--duration) var(--ease-out);
}

.navbar.scrolled {
    padding: 8px 0;
    background: rgba(6, 1, 15, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(155, 89, 182, 0.1);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--gap);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 24px;
    color: var(--gold);
    animation: logoSpin 6s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

@keyframes logoSpin {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.2);
    }
}

.logo-text {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo-accent {
    color: var(--purple-glow);
}

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

.nav-link {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    position: relative;
    transition: all var(--duration) var(--ease-out);
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: all var(--duration) var(--ease-out);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

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

/* Burger */
.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1010;
}

.nav-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--duration) var(--ease-out);
}

.lang-toggle {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: 'Orbitron', monospace;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all var(--duration) var(--ease-out);
    margin-left: 8px;
}

.lang-toggle:hover {
    background: var(--gold);
    color: var(--bg-primary);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.music-toggle {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--duration) var(--ease-out);
    margin-left: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 30px;
}

.music-toggle:hover {
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.nav-burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-burger.active span:nth-child(2) {
    opacity: 0;
}

.nav-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(6, 1, 15, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration) var(--ease-out);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-links {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 3px;
    transition: all var(--duration) var(--ease-out);
    display: block;
    padding: 12px;
}

.mobile-link:hover {
    color: var(--gold);
    transform: scale(1.05);
}

/* === Hero Section === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding: 120px 24px 80px;
}

.hero-content {
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--purple-glow);
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 20px;
    border: 1px solid rgba(155, 89, 182, 0.3);
    border-radius: 100px;
    background: rgba(155, 89, 182, 0.08);
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s var(--ease-out) 0.3s forwards;
}

.badge-star {
    color: var(--gold);
    animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.8);
    }
}

.hero-title {
    font-family: var(--font-display);
    line-height: 1;
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.title-line-1 {
    font-size: clamp(60px, 12vw, 120px);
    font-weight: 900;
    letter-spacing: 8px;
    color: var(--white);
}

.title-line-2 {
    font-size: clamp(50px, 10vw, 100px);
    font-weight: 900;
    letter-spacing: 12px;
    margin-top: -8px;
}

.char-reveal {
    display: inline-block;
    opacity: 0;
    transform: translateY(60px) rotateX(-90deg);
    animation: charReveal 0.8s var(--ease-out) forwards;
}

.char-reveal.accent {
    background: linear-gradient(135deg, var(--gold), var(--purple-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.3));
}

/* Stagger character animations */
.title-line-1 .char-reveal:nth-child(1) {
    animation-delay: 0.5s;
}

.title-line-1 .char-reveal:nth-child(2) {
    animation-delay: 0.6s;
}

.title-line-1 .char-reveal:nth-child(3) {
    animation-delay: 0.7s;
}

.title-line-1 .char-reveal:nth-child(4) {
    animation-delay: 0.8s;
}

.title-line-1 .char-reveal:nth-child(5) {
    animation-delay: 0.9s;
}

.title-line-1 .char-reveal:nth-child(6) {
    animation-delay: 1.0s;
}

.title-line-2 .char-reveal:nth-child(1) {
    animation-delay: 1.1s;
}

.title-line-2 .char-reveal:nth-child(2) {
    animation-delay: 1.2s;
}

.title-line-2 .char-reveal:nth-child(3) {
    animation-delay: 1.3s;
}

@keyframes charReveal {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out) 1.5s forwards;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out) 1.7s forwards;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all var(--duration) var(--ease-out);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple-bright), var(--purple-neon));
    color: var(--white);
    box-shadow: 0 4px 24px rgba(155, 89, 182, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(155, 89, 182, 0.6);
}

.btn-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--duration);
}

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

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(155, 89, 182, 0.4);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(255, 215, 0, 0.05);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 48px;
    font-size: 17px;
    border-radius: 14px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out) 2s forwards;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: var(--gold);
    display: inline;
}

.stat-plus {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--gold);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--purple-bright), transparent);
}

/* 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 1s var(--ease-out) 2.5s forwards;
}

.scroll-text {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--purple-bright), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        height: 40px;
        opacity: 1;
    }

    50% {
        height: 60px;
        opacity: 0.5;
    }
}

/* === Section Base === */
.section {
    padding: var(--section-padding);
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--purple-glow);
    letter-spacing: 4px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--white);
}

.title-dot {
    color: var(--gold);
}

/* Text glow */
.text-glow {
    color: var(--purple-glow);
    text-shadow: 0 0 20px rgba(192, 132, 252, 0.4);
}

/* === About Section === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-lead {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--purple-glow);
    background: rgba(155, 89, 182, 0.1);
    border: 1px solid rgba(155, 89, 182, 0.2);
    border-radius: 100px;
    transition: all var(--duration) var(--ease-out);
}

.tag:hover {
    background: rgba(155, 89, 182, 0.2);
    border-color: var(--purple-glow);
    transform: translateY(-2px);
}

/* Terminal Card */
.terminal {
    background: rgba(10, 5, 25, 0.8);
    border: 1px solid rgba(155, 89, 182, 0.2);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(20, 10, 40, 0.6);
    border-bottom: 1px solid rgba(155, 89, 182, 0.1);
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f57;
}

.dot.yellow {
    background: #febc2e;
}

.dot.green {
    background: #28c840;
}

.terminal-title {
    font-size: 12px;
    color: var(--text-muted);
    font-family: monospace;
}

.terminal-body {
    padding: 20px;
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 13px;
    line-height: 1.8;
}

.terminal-line {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.prompt {
    color: var(--gold);
    font-weight: bold;
}

.command {
    color: var(--purple-glow);
}

.terminal-output {
    color: var(--text-secondary);
    white-space: pre;
    font-size: 12px;
}

.json-key {
    color: var(--purple-glow);
}

.json-value {
    color: var(--gold);
}

/* === Skills Section === */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
}

.skill-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(155, 89, 182, 0.15);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--duration-slow) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--purple-glow), transparent);
    opacity: 0;
    transition: opacity var(--duration) var(--ease-out);
}

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

.skill-card:hover {
    transform: translateY(-8px);
    border-color: rgba(155, 89, 182, 0.4);
    box-shadow: 0 20px 50px rgba(155, 89, 182, 0.15);
}

.skill-icon {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
}

.skill-icon i {
    font-size: 28px;
    color: var(--gold);
    z-index: 1;
    position: relative;
}

.skill-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

.skill-card h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.skill-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.skill-bar {
    width: 100%;
    height: 3px;
    background: rgba(155, 89, 182, 0.15);
    border-radius: 2px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--purple-bright), var(--gold));
    border-radius: 2px;
    transition: width 1.5s var(--ease-out);
}

/* === Projects Section === */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.project-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(155, 89, 182, 0.12);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--duration-slow) var(--ease-out);
    position: relative;
}

.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, transparent 30%, var(--purple-glow) 50%, transparent 70%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--duration) var(--ease-out);
    pointer-events: none;
}

.project-card:hover::after {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(155, 89, 182, 0.2);
}

.project-preview {
    position: relative;
    height: 180px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.project-gradient {
    display: none;
}

.project-gradient-1 {
    background: linear-gradient(135deg, #1a0a2e, #2d1458, #0d1b3e);
}

.project-gradient-2 {
    background: linear-gradient(135deg, #0d1b3e, #1a0a2e, #2d1458);
}

.project-gradient-3 {
    background: linear-gradient(135deg, #2d1458, #ff3333 40%, #1a0a2e);
}

.project-gradient-4 {
    background: linear-gradient(135deg, #0d1b3e, #1a0a2e, #ffd700 80%);
}

.project-gradient-5 {
    background: linear-gradient(135deg, #1a0a2e, #0d1b3e, #9b59b6 70%);
}

.project-logo {
    position: relative;
    z-index: 2;
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.3));
    transition: all var(--duration) var(--ease-out);
}

.project-card:hover .project-logo {
    transform: scale(1.1);
    filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.5));
}

.project-icon-large {
    position: relative;
    z-index: 2;
    font-size: 48px;
    color: rgba(255, 215, 0, 0.6);
    transition: all var(--duration) var(--ease-out);
}

.project-card:hover .project-icon-large {
    color: var(--gold);
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
}

.project-info {
    padding: 24px;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.project-type {
    font-size: 11px;
    font-weight: 600;
    color: var(--purple-glow);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-year {
    font-size: 12px;
    color: var(--text-muted);
}

.project-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: var(--white);
}

.project-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.project-tech span {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 4px 10px;
    border: 1px solid rgba(155, 89, 182, 0.15);
    border-radius: 100px;
    letter-spacing: 0.5px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    transition: all var(--duration) var(--ease-out);
}

.project-link i {
    transition: transform var(--duration) var(--ease-out);
}

.project-link:hover {
    color: var(--gold-glow);
}

.project-link:hover i {
    transform: translateX(4px);
}

/* === Contact Section === */
.contact-content {
    text-align: center;
}

.contact-text {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 40px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(155, 89, 182, 0.15);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all var(--duration) var(--ease-out);
    min-width: 180px;
}

.contact-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.1);
}

.contact-card-icon {
    font-size: 32px;
    color: var(--purple-glow);
    transition: color var(--duration);
}

.contact-card:hover .contact-card-icon {
    color: var(--gold);
}

.contact-card-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.contact-card-value {
    font-size: 12px;
    color: var(--text-muted);
}

/* === Footer === */
.footer {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(155, 89, 182, 0.1);
    padding: 40px 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-text {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-social {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(155, 89, 182, 0.2);
    color: var(--text-secondary);
    font-size: 16px;
    text-decoration: none;
    transition: all var(--duration) var(--ease-out);
}

.footer-social:hover {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(255, 215, 0, 0.05);
    transform: translateY(-3px);
}

/* === Reveal Animations === */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Fade In Up Keyframe === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Copy Toast === */
.copy-toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(20, 10, 50, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s var(--ease-out);
    pointer-events: none;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.copy-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* === Responsive === */
@media (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .nav-links {
        display: none;
    }

    .nav-burger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

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

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

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

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 28px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .contact-cards {
        flex-direction: column;
        align-items: center;
    }

    .contact-card {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 16px 60px;
    }

    .title-line-1 {
        letter-spacing: 4px;
    }

    .title-line-2 {
        letter-spacing: 6px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }
}