/* ========================================
   THOMAS TIN TIN - ALIEN ARTISTIC PORTFOLIO
   ======================================== */

/* CSS Variables */
:root {
    --primary-color: #00ff88;
    --secondary-color: #ff00ff;
    --accent-color: #00ffff;
    --bg-dark: #0a0a1a;
    --bg-darker: #050510;
    --bg-card: rgba(20, 20, 40, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #a0a0c0;
    --glow-green: 0 0 20px rgba(0, 255, 136, 0.5);
    --glow-pink: 0 0 20px rgba(255, 0, 255, 0.5);
    --glow-cyan: 0 0 20px rgba(0, 255, 255, 0.5);
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Space Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    max-width: 100vw;
    position: relative;
}

/* Lock horizontal scroll globally */
html, body {
    overscroll-behavior-x: none;
}

/* Canvas Background */
#alienCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 50%, #0f0f2a 100%);
}

/* Particles */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav-alien {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(10, 10, 26, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
}

.glow-text {
    color: var(--primary-color);
    text-shadow: var(--glow-green);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { text-shadow: 0 0 10px rgba(0, 255, 136, 0.5); }
    50% { text-shadow: 0 0 30px rgba(0, 255, 136, 0.8), 0 0 60px rgba(0, 255, 136, 0.4); }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    text-shadow: var(--glow-green);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

/* Alien Character */
.alien-character {
    position: absolute;
    top: 20%;
    right: 10%;
    cursor: pointer;
    animation: float 3s ease-in-out infinite;
    z-index: 10;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.alien-body {
    position: relative;
    width: 100px;
    height: 150px;
}

.alien-head {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 70px;
    background: linear-gradient(180deg, #4ade80 0%, #22c55e 100%);
    border-radius: 50% 50% 40% 40%;
    box-shadow: 0 0 30px rgba(74, 222, 128, 0.5);
}

.alien-eye {
    position: absolute;
    width: 20px;
    height: 25px;
    background: #000;
    border-radius: 50%;
    top: 25px;
    animation: blink 4s infinite;
}

.alien-eye::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    top: 5px;
    left: 5px;
    animation: eye-shine 2s infinite;
}

@keyframes eye-shine {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(3px, 2px); }
}

@keyframes blink {
    0%, 45%, 55%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.1); }
}

.alien-eye.left { left: 8px; }
.alien-eye.right { right: 8px; }

.alien-antenna {
    position: absolute;
    width: 4px;
    height: 20px;
    background: #22c55e;
    top: -15px;
}

.alien-antenna::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: antenna-glow 1s infinite alternate;
}

@keyframes antenna-glow {
    0% { box-shadow: 0 0 5px var(--primary-color); }
    100% { box-shadow: 0 0 20px var(--primary-color), 0 0 40px var(--primary-color); }
}

.alien-antenna.left { left: 15px; transform: rotate(-15deg); }
.alien-antenna.right { right: 15px; transform: rotate(15deg); }

.alien-torso {
    position: absolute;
    top: 65px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 50px;
    background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
    border-radius: 20px 20px 15px 15px;
}

.alien-arm {
    position: absolute;
    top: 75px;
    width: 10px;
    height: 35px;
    background: #22c55e;
    border-radius: 5px;
    animation: wave 2s ease-in-out infinite;
}

.alien-arm.left { left: 10px; transform-origin: top center; }
.alien-arm.right { right: 10px; transform-origin: top center; animation-delay: 0.5s; }

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-20deg); }
    75% { transform: rotate(20deg); }
}

/* Hero Content */
.hero-content {
    max-width: 800px;
    z-index: 5;
}

.glitch-wrapper {
    position: relative;
}

.glitch {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-primary);
    position: relative;
    animation: glitch 2s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    color: var(--secondary-color);
    animation: glitch-1 0.5s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.glitch::after {
    color: var(--accent-color);
    animation: glitch-2 0.5s infinite;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(3px, -3px); }
    40% { transform: translate(-3px, 3px); }
    60% { transform: translate(3px, 3px); }
    80% { transform: translate(-3px, -3px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-3px, 3px); }
    40% { transform: translate(3px, -3px); }
    60% { transform: translate(-3px, -3px); }
    80% { transform: translate(3px, 3px); }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 1.5rem 0;
    min-height: 30px;
}

.cursor {
    animation: blink-cursor 0.8s infinite;
}

@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.tag {
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 25px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.tag:hover {
    border-color: var(--primary-color);
    box-shadow: var(--glow-green);
    transform: translateY(-3px);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-display);
    font-size: 0.9rem;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #00cc6a);
    color: var(--bg-dark);
    font-weight: 700;
}

.btn-primary:hover {
    box-shadow: var(--glow-green);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: rgba(0, 255, 136, 0.1);
    box-shadow: var(--glow-green);
    transform: translateY(-3px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    position: relative;
}

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

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

.scroll-indicator span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: 6rem 2rem;
    position: relative;
}

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

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.alien-icon {
    font-size: 2rem;
    animation: float 2s ease-in-out infinite;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-frame {
    position: relative;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 5px;
    animation: rotate-border 5s linear infinite;
}

@keyframes rotate-border {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.hologram-effect {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 136, 0.1) 2px,
        rgba(0, 255, 136, 0.1) 4px
    );
    animation: scan 2s linear infinite;
    pointer-events: none;
}

@keyframes scan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

/* Artistic Notes */
.artistic-note {
    position: relative;
    padding: 1.5rem;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
    background: var(--bg-card);
    border-left: 3px solid var(--primary-color);
    border-radius: 0 10px 10px 0;
}

.artistic-note::before {
    content: attr(data-note);
    position: absolute;
    top: -12px;
    left: 1rem;
    background: var(--bg-dark);
    padding: 0 0.5rem;
    font-size: 0.75rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.artistic-note p {
    color: var(--text-secondary);
}

.artistic-note strong {
    color: var(--primary-color);
}

/* Stats Compact */
.stats-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.25);
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: default;
}

.stat-chip:hover {
    background: rgba(0, 255, 136, 0.15);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.2);
}

.stat-icon {
    font-size: 1rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-plus {
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-left: -2px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ========================================
   SKILLS SECTION
   ======================================== */
.skills-universe {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.skill-category {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.category-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.skill-planets {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-planet {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.skill-planet:hover {
    transform: translateX(10px);
    box-shadow: var(--glow-green);
}

.skill-planet::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    width: calc(var(--skill-level, 0) * 1%);
    transition: width 1s ease-out;
}

.planet-icon {
    font-size: 1.5rem;
}

.planet-name {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.orbit {
    position: absolute;
    right: 1rem;
    width: 30px;
    height: 30px;
    border: 2px dashed rgba(0, 255, 136, 0.3);
    border-radius: 50%;
    animation: orbit-spin 3s linear infinite;
}

@keyframes orbit-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   PROJECTS SECTION
   ======================================== */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid var(--text-secondary);
    border-radius: 25px;
    color: var(--text-secondary);
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: var(--glow-green);
}

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

.project-card {
    position: relative;
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--glow-green);
}

.project-hologram {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(0, 255, 136, 0.1) 50%,
        transparent 70%
    );
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.project-card:hover .project-hologram {
    transform: translateX(100%);
}

.project-content {
    padding: 2rem;
}

.project-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.project-content h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.project-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tags span {
    padding: 0.25rem 0.75rem;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 15px;
    font-size: 0.75rem;
    color: var(--primary-color);
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: var(--primary-color);
    text-shadow: var(--glow-green);
}

/* ========================================
   MUSIC SECTION
   ======================================== */
.music-player {
    max-width: 600px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.visualizer {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 5px;
    height: 80px;
    margin-bottom: 2rem;
}

.visualizer .bar {
    width: 15px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    border-radius: 5px 5px 0 0;
    animation: equalizer 0.5s ease-in-out infinite alternate;
}

.visualizer .bar:nth-child(1) { height: 20px; animation-delay: 0s; }
.visualizer .bar:nth-child(2) { height: 40px; animation-delay: 0.1s; }
.visualizer .bar:nth-child(3) { height: 30px; animation-delay: 0.2s; }
.visualizer .bar:nth-child(4) { height: 60px; animation-delay: 0.3s; }
.visualizer .bar:nth-child(5) { height: 50px; animation-delay: 0.4s; }
.visualizer .bar:nth-child(6) { height: 70px; animation-delay: 0.5s; }
.visualizer .bar:nth-child(7) { height: 45px; animation-delay: 0.6s; }
.visualizer .bar:nth-child(8) { height: 55px; animation-delay: 0.7s; }
.visualizer .bar:nth-child(9) { height: 35px; animation-delay: 0.8s; }
.visualizer .bar:nth-child(10) { height: 65px; animation-delay: 0.9s; }
.visualizer .bar:nth-child(11) { height: 25px; animation-delay: 1s; }
.visualizer .bar:nth-child(12) { height: 45px; animation-delay: 1.1s; }

@keyframes equalizer {
    0% { transform: scaleY(0.5); }
    100% { transform: scaleY(1); }
}

.player-controls {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.control-btn {
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: rgba(0, 255, 136, 0.2);
    box-shadow: var(--glow-green);
    transform: scale(1.1);
}

.play-btn {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
}

.now-playing {
    text-align: center;
}

.track-title {
    display: block;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.progress-bar {
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    width: 35%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 5px;
    animation: progress-move 10s linear infinite;
}

@keyframes progress-move {
    0% { width: 0%; }
    100% { width: 100%; }
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.music-card {
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.music-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--glow-green);
}

.album-art {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--bg-darker), var(--bg-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.music-card h4 {
    font-family: var(--font-display);
    margin-bottom: 0.5rem;
}

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

/* ========================================
   APP PROMO SECTION
   ======================================== */
.app-promo {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 255, 136, 0.02) 50%, transparent 100%);
}

.app-showcase {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.app-mockup {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-frame {
    position: relative;
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #2a2a3a 0%, #1a1a2a 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #000;
    border-radius: 0 0 15px 15px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0a0a1a 0%, #141428 100%);
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-header-ui {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 35px 20px 10px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.app-status-icons {
    display: flex;
    gap: 5px;
    font-size: 0.65rem;
}

.app-content-ui {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.app-album-art {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.album-vinyl {
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, #333 0%, #111 40%, #222 41%, #111 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: spin 4s linear infinite;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.vinyl-center {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.app-track-info {
    text-align: center;
    margin-bottom: 20px;
}

.app-track-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.app-track-info p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.app-progress-ui {
    width: 100%;
    margin-bottom: 20px;
}

.app-progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin-bottom: 8px;
}

.app-progress-fill {
    width: 40%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
}

.app-time-stamps {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.app-controls-ui {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.app-ctrl-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.app-ctrl-btn:hover {
    transform: scale(1.1);
}

.app-play-btn {
    width: 55px;
    height: 55px;
    background: var(--primary-color);
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-bottom-nav {
    display: flex;
    justify-content: space-around;
    width: 100%;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.app-bottom-nav .nav-item {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.3s;
}

.app-bottom-nav .nav-item.active {
    opacity: 1;
}

.phone-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at center, rgba(0, 255, 136, 0.2) 0%, transparent 70%);
    z-index: -1;
    animation: phone-glow-pulse 3s ease-in-out infinite;
}

@keyframes phone-glow-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.app-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.app-badge {
    display: inline-block;
    width: fit-content;
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-color);
    animation: pulse-glow 2s ease-in-out infinite;
}

.app-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-tagline {
    font-size: 1.3rem;
    color: var(--text-secondary);
}

.app-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

.app-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-item h5 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

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

.app-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.app-platforms {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.platform-icon {
    padding: 0.25rem 0.75rem;
    background: var(--bg-card);
    border-radius: 15px;
    font-size: 0.85rem;
}

.app-newsletter {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.85rem 1rem;
    background: var(--bg-card);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-body);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-btn {
    white-space: nowrap;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-secondary);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.contact-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateX(10px);
}

.link-icon {
    font-size: 1.5rem;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: var(--glow-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.input-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
}

.form-group input:focus ~ .input-glow,
.form-group textarea:focus ~ .input-glow {
    width: 100%;
}

.submit-btn {
    width: 100%;
    justify-content: center;
}

.btn-rocket {
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-rocket {
    transform: translateX(10px) translateY(-10px);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 3rem 2rem;
    background: var(--bg-darker);
    border-top: 1px solid rgba(0, 255, 136, 0.2);
}

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

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 50%;
    font-size: 1.2rem;
    text-decoration: none;
    border: 1px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--primary-color);
    box-shadow: var(--glow-green);
    transform: translateY(-5px);
}

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

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet and below */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
        max-width: 100%;
    }
    
    .skills-universe {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .music-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .alien-character {
        transform: scale(0.8);
        right: 5%;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        height: 100dvh;
        background: var(--bg-darker);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        gap: 1.5rem;
        border-left: 1px solid rgba(0, 255, 136, 0.2);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 1.5rem;
        padding-top: 80px;
    }
    
    .glitch {
        font-size: 2rem;
        word-break: break-word;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-tags {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .tag {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .alien-character {
        position: relative;
        top: auto;
        right: auto;
        transform: scale(0.6);
        margin-bottom: 1rem;
    }
    
    .hero-content {
        order: 2;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        order: -1;
    }
    
    .stats-compact {
        justify-content: center;
    }
    
    .stat-chip {
        padding: 0.5rem 0.85rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-filters {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .music-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .music-card {
        padding: 1rem;
    }
    
    .album-art {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    /* App Promo Mobile */
    .app-showcase {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .app-mockup {
        order: -1;
    }
    
    .phone-frame {
        width: 240px;
        height: 500px;
    }
    
    .app-album-art {
        width: 150px;
        height: 150px;
    }
    
    .album-vinyl {
        width: 120px;
        height: 120px;
    }
    
    .app-title {
        font-size: 2.2rem;
    }
    
    .app-tagline {
        font-size: 1.1rem;
    }
    
    .app-features {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: left;
    }
    
    .app-badge {
        margin: 0 auto;
    }
    
    .app-platforms {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .app-newsletter {
        flex-direction: column;
    }
    
    .newsletter-btn {
        width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 1.6rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .section {
        padding: 3rem 1rem;
    }
    
    .artistic-note {
        padding: 1rem;
        padding-left: 1.5rem;
        font-size: 0.9rem;
    }
    
    .skill-category {
        padding: 1.5rem;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .image-frame {
        width: 200px;
        height: 200px;
    }
    
    .avatar-placeholder {
        font-size: 4rem;
    }
}

@media (max-width: 480px) {
    .glitch {
        font-size: 1.5rem;
    }
    
    .nav-alien {
        padding: 0.75rem 1rem;
    }
    
    .nav-logo {
        font-size: 1.2rem;
    }
    
    .image-frame {
        width: 150px;
        height: 150px;
    }
    
    .avatar-placeholder {
        font-size: 3rem;
    }
    
    .visualizer .bar {
        width: 8px;
        gap: 3px;
    }
    
    .visualizer {
        height: 60px;
        gap: 3px;
    }
    
    .music-player {
        padding: 1rem;
    }
    
    .player-controls {
        gap: 1rem;
    }
    
    .control-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .play-btn {
        width: 50px;
        height: 50px;
    }
    
    /* App Promo Extra Small */
    .phone-frame {
        width: 200px;
        height: 420px;
        border-radius: 30px;
        padding: 8px;
    }
    
    .phone-notch {
        width: 90px;
        height: 22px;
        top: 8px;
    }
    
    .phone-screen {
        border-radius: 24px;
    }
    
    .app-album-art {
        width: 110px;
        height: 110px;
        margin-bottom: 15px;
    }
    
    .album-vinyl {
        width: 85px;
        height: 85px;
    }
    
    .vinyl-center {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .app-track-info h4 {
        font-size: 0.95rem;
    }
    
    .app-track-info p {
        font-size: 0.75rem;
    }
    
    .app-controls-ui {
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .app-ctrl-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .app-play-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .app-title {
        font-size: 1.8rem;
    }
    
    .app-tagline {
        font-size: 1rem;
    }
    
    .feature-icon {
        font-size: 1.5rem;
    }
    
    .feature-item h5 {
        font-size: 0.9rem;
    }
    
    .feature-item p {
        font-size: 0.8rem;
    }
    
    .stats-compact {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .stat-chip {
        justify-content: center;
        padding: 0.6rem 1rem;
    }
    
    .section {
        padding: 2.5rem 0.75rem;
    }
    
    .btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .project-content {
        padding: 1.5rem;
    }
    
    .project-icon {
        font-size: 2.5rem;
    }
    
    .project-content h3 {
        font-size: 1.1rem;
    }
    
    .contact-link {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.85rem;
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 2rem 1rem;
    }
    
    .social-links {
        gap: 0.75rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .glitch {
        font-size: 1.3rem;
    }
    
    .hero-tags .tag {
        font-size: 0.8rem;
    }
    
    .music-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 5rem 1rem 2rem;
    }
    
    .alien-character {
        display: none;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

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

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .btn:active {
        transform: scale(0.95);
    }
    
    .project-card:active {
        transform: scale(0.98);
    }
    
    .nav-link:active {
        color: var(--primary-color);
    }
    
    .skill-planet:active {
        background: rgba(0, 255, 136, 0.1);
    }
    
    .music-card:active {
        transform: scale(0.95);
    }
    
    .filter-btn:active {
        transform: scale(0.95);
    }
}

/* Prevent text selection on interactive elements */
.btn, .nav-link, .filter-btn, .control-btn, .social-link, .project-card, .music-card {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
}

/* Smooth scrolling for iOS */
.nav-links {
    -webkit-overflow-scrolling: touch;
}

/* Action buttons enhancement */
.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--primary-color);
    border-radius: 25px;
    color: var(--primary-color);
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: rgba(0, 255, 136, 0.1);
    box-shadow: var(--glow-green);
    transform: translateY(-2px);
}

.action-btn.active {
    background: var(--primary-color);
    color: var(--bg-dark);
}

/* Quick actions bar */
.quick-actions {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(0, 255, 136, 0.3);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.quick-actions.visible {
    opacity: 1;
    visibility: visible;
}

.quick-action-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-action-btn:hover,
.quick-action-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .quick-actions {
        bottom: 15px;
        padding: 0.5rem 0.75rem;
        gap: 0.5rem;
    }
    
    .quick-action-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: var(--bg-dark);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: var(--glow-green);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 70px;
        right: 15px;
        font-size: 1.2rem;
    }
}

/* Theme toggle button */
.theme-toggle {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--bg-card);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 99;
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    box-shadow: var(--glow-green);
}

@media (max-width: 768px) {
    .theme-toggle {
        top: 70px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
}

/* Download resume button */
.download-resume {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

/* Loading overlay */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-darker);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(0, 255, 136, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    margin-top: 1rem;
    color: var(--primary-color);
    font-family: var(--font-display);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
