/* ============================================
   真城由理 / Yuri Mashiro - Fan Site
   Modern Dark Theme with Purple Accent
   ============================================ */

/* === CSS Variables === */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b5;
    --text-muted: #666680;
    --accent-primary: #9b59ff;
    --accent-secondary: #6c3ce0;
    --accent-light: #c084fc;
    --accent-glow: rgba(155, 89, 255, 0.3);
    --accent-pink: #e879f9;
    --accent-blue: #60a5fa;
    --accent-cyan: #22d3ee;
    --gradient-1: linear-gradient(135deg, #9b59ff, #e879f9);
    --gradient-2: linear-gradient(135deg, #6c3ce0, #60a5fa);
    --gradient-3: linear-gradient(135deg, #e879f9, #f472b6);
    --gradient-4: linear-gradient(135deg, #22d3ee, #60a5fa);
    --gradient-5: linear-gradient(135deg, #a78bfa, #6366f1);
    --gradient-6: linear-gradient(135deg, #f472b6, #fb923c);
    --gradient-7: linear-gradient(135deg, #34d399, #22d3ee);
    --border-color: rgba(155, 89, 255, 0.15);
    --border-hover: rgba(155, 89, 255, 0.4);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(155, 89, 255, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Noto Sans JP', 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--accent-primary);
    color: white;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--accent-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-primary);
}

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

/* === Cursor Glow === */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(155, 89, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: 0;
}

body:hover .cursor-glow {
    opacity: 1;
}

/* === Loading Screen === */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.loading-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.2em;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.loading-emblem {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: brightness(0.9) sepia(0.3) hue-rotate(230deg) saturate(2);
    animation: pulseGlow 2s ease infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.7; filter: brightness(0.9) sepia(0.3) hue-rotate(230deg) saturate(2); }
    50% { opacity: 1; filter: brightness(1.2) sepia(0.3) hue-rotate(230deg) saturate(2) drop-shadow(0 0 12px rgba(155, 89, 255, 0.5)); }
}

.loading-bar {
    width: 200px;
    height: 2px;
    background: rgba(155, 89, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 15px;
}

.loading-bar-fill {
    width: 0%;
    height: 100%;
    background: var(--gradient-1);
    border-radius: 2px;
    animation: loadingBar 1.5s ease forwards;
}

@keyframes loadingBar {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

.loading-text {
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

/* === Navigation === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-emblem {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: brightness(0.9) sepia(0.3) hue-rotate(230deg) saturate(2);
    transition: all var(--transition-normal);
}

.nav-logo:hover .nav-emblem {
    filter: brightness(1.2) sepia(0.3) hue-rotate(230deg) saturate(2) drop-shadow(0 0 8px rgba(155, 89, 255, 0.5));
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.1em;
}

.logo-accent {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
}

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

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

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

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

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

.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(5px, -5px);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    10% {
        opacity: 0.6;
        transform: scale(1);
    }
    90% {
        opacity: 0.2;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(0);
    }
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(155, 89, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(232, 121, 249, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(96, 165, 250, 0.05) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
    margin: 0 auto;
}

.hero-emblem-wrap {
    margin-bottom: 14px;
    animation: fadeInDown 1s ease 0.3s both;
}

.hero-emblem {
    width: 56px;
    height: 56px;
    object-fit: contain;
    filter: brightness(1) sepia(0.2) hue-rotate(230deg) saturate(1.8) drop-shadow(0 0 20px rgba(155, 89, 255, 0.3));
    animation: floatEmblem 4s ease-in-out infinite;
}

@keyframes floatEmblem {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-nameplate {
    display: block;
    max-width: min(420px, 70vw);
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 0 24px rgba(155, 89, 255, 0.2));
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent-light);
    border: 1px solid var(--border-color);
    padding: 6px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    background: rgba(155, 89, 255, 0.05);
    animation: fadeInDown 1s ease 0.5s both;
}

.hero-title {
    margin-bottom: 14px;
    animation: fadeInUp 1s ease 0.7s both;
}

.hero-title-jp {
    display: block;
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    letter-spacing: 0.15em;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-title-en {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    font-weight: 400;
    letter-spacing: 0.5em;
    color: var(--text-muted);
    margin-top: 10px;
}

.hero-subtitle {
    font-size: clamp(0.85rem, 1.8vw, 1rem);
    color: var(--text-secondary);
    margin-bottom: 28px;
    animation: fadeInUp 1s ease 0.9s both;
    letter-spacing: 0.05em;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
    animation: fadeInUp 1s ease 1.1s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.hero-stat-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 4px;
}

.hero-stat-divider {
    width: 1px;
    height: 32px;
    background: var(--border-color);
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    animation: fadeInUp 1s ease 1.3s both;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 20px rgba(155, 89, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(155, 89, 255, 0.4);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    background: rgba(155, 89, 255, 0.1);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* === Scroll Indicator === */
.hero-scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeIn 1s ease 2s both;
}

.scroll-line {
    width: 1px;
    height: 36px;
    background: var(--border-color);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -36px;
    left: 0;
    width: 100%;
    height: 36px;
    background: var(--gradient-1);
    animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
    0% { top: -36px; }
    100% { top: 36px; }
}

.hero-scroll-indicator span {
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* === Section Common === */
.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.section-number {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-primary);
    letter-spacing: 0.1em;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.section-line {
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.section-description {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 50px;
    padding-left: 60px;
}

/* === About Section === */
.about-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 40px;
}

.about-image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image-photo {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-slow), box-shadow var(--transition-normal);
}

.about-image-frame:hover .about-image-photo {
    transform: scale(1.02);
    box-shadow: var(--shadow-glow);
}

.about-image-frame {
    position: relative;
}

.about-image-frame::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: calc(var(--radius-lg) + 3px);
    background: conic-gradient(from 0deg, transparent, var(--accent-primary), transparent, var(--accent-pink), transparent);
    animation: rotateBorder 8s linear infinite;
    opacity: 0.4;
    z-index: -1;
}

@keyframes rotateBorder {
    100% { transform: rotate(360deg); }
}

.about-intro {
    margin-bottom: 24px;
}

.about-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.about-name-en {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
}

.about-tagline {
    font-size: 1rem;
    color: var(--accent-light);
    font-weight: 500;
}

.about-description {
    margin-bottom: 30px;
}

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

.about-description strong {
    color: var(--accent-light);
    font-weight: 600;
}

.about-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.about-detail-item {
    display: flex;
    gap: 20px;
    align-items: baseline;
}

.detail-label {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    min-width: 80px;
}

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

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

.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.skill-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

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

.skill-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: rgba(155, 89, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: var(--accent-light);
}

.skill-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.skill-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.skill-tag {
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 50px;
    background: rgba(155, 89, 255, 0.08);
    color: var(--accent-light);
    border: 1px solid rgba(155, 89, 255, 0.15);
    font-weight: 500;
}

.skill-app-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.skill-app-links a {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-light);
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(155, 89, 255, 0.25);
    background: rgba(155, 89, 255, 0.05);
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.skill-app-links a:hover {
    background: rgba(155, 89, 255, 0.15);
    border-color: var(--accent-primary);
    color: white;
    transform: translateY(-1px);
}

/* === (Timeline removed) === */

/* legacy timeline kept for reference
.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 60px;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
    padding-right: calc(50% + 40px);
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
    padding-left: calc(50% + 40px);
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--accent-primary);
    transition: all var(--transition-normal);
}

.timeline-dot.active {
    background: var(--accent-primary);
    box-shadow: 0 0 20px var(--accent-glow);
}

.timeline-date {
    display: none;
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: all var(--transition-normal);
    width: 100%;
}

.timeline-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.timeline-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.timeline-year-badge {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-primary);
    background: rgba(155, 89, 255, 0.1);
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.1em;
}

.timeline-year-badge.current {
    background: var(--gradient-1);
    color: white;
}

.timeline-card h3 {
    font-size: 1rem;
    font-weight: 700;
}

.timeline-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.8;
}

.timeline-card strong {
    color: var(--accent-light);
}*/

/* === Achievements / Tabs === */
.achievements-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tab-btn:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.tab-btn.active {
    background: var(--gradient-1);
    border-color: transparent;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.work-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.work-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.work-card-visual {
    position: relative;
    overflow: hidden;
}

.work-thumbnail {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
    transition: transform var(--transition-slow);
}

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

.gradient-1 { background: var(--gradient-1); }
.gradient-2 { background: var(--gradient-2); }
.gradient-3 { background: var(--gradient-3); }
.gradient-4 { background: var(--gradient-4); }
.gradient-5 { background: var(--gradient-5); }
.gradient-6 { background: var(--gradient-6); }
.gradient-7 { background: var(--gradient-7); }

.work-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    color: white;
}

.work-card-content {
    padding: 24px;
}

.work-card-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.work-meta {
    font-size: 0.8rem;
    color: var(--accent-light);
    margin-bottom: 10px;
    font-weight: 500;
}

.work-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.work-links {
    display: flex;
    gap: 10px;
}

.work-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-light);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(155, 89, 255, 0.2);
    transition: all var(--transition-fast);
}

.work-link:hover {
    background: rgba(155, 89, 255, 0.1);
    border-color: var(--accent-primary);
    color: white;
}

/* === Music Section === */
.music {
    background: var(--bg-secondary);
}

.music-video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
    max-width: 600px;
}

.music-video-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-normal);
    text-decoration: none;
    color: inherit;
}

.music-video-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
    color: inherit;
}

.music-thumb-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--bg-secondary);
}

.music-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.music-video-card:hover .music-thumb {
    transform: scale(1.05);
}

.music-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.music-play-overlay i {
    font-size: 3.5rem;
    color: #ff0000;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
    transition: transform var(--transition-fast);
}

.music-video-card:hover .music-play-overlay {
    opacity: 1;
}

.music-video-card:hover .music-play-overlay i {
    transform: scale(1.1);
}

.music-thumb-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: white;
    z-index: 2;
}

.music-video-info {
    padding: 20px;
}

.music-video-info h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

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

.music-channel-cta {
    margin-top: 30px;
}

.music-channel-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.music-channel-link:hover {
    border-color: #ff0000;
    color: #ff0000;
    background: rgba(255, 0, 0, 0.05);
}

/* === Voice Training Section === */
.voice-training {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.voice-training::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(155, 89, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.vt-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.vt-heading {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vt-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.9;
    margin-bottom: 24px;
}

.vt-features {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vt-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.vt-features li i {
    color: var(--accent-light);
    font-size: 1rem;
}

.vt-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.vt-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.vt-icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.vt-icon-ring {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--accent-light);
    position: relative;
    background: rgba(155, 89, 255, 0.05);
    transition: all var(--transition-normal);
}

.vt-icon-ring::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 60%, var(--accent-primary) 80%, transparent 100%);
    animation: rotateBorder 6s linear infinite;
    opacity: 0.4;
    z-index: -1;
}

.vt-icon-ring:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.vt-icon-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.vt-stats-row {
    display: flex;
    gap: 40px;
}

.vt-stat-item {
    text-align: center;
}

.vt-stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vt-stat-desc {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* === Links Section === */
.links {
    background: var(--bg-secondary);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    text-decoration: none;
}

.link-card:hover {
    border-color: var(--border-hover);
    transform: translateX(4px);
    background: var(--bg-card-hover);
}

.link-card-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.link-card.youtube .link-card-icon { background: rgba(255, 0, 0, 0.1); color: #ff0000; }
.link-card.twitter .link-card-icon { background: rgba(96, 165, 250, 0.1); color: #60a5fa; }

.link-card.strikingly .link-card-icon { background: rgba(155, 89, 255, 0.1); color: var(--accent-light); }
.link-card.portfolio-link .link-card-icon { background: rgba(232, 121, 249, 0.1); color: var(--accent-pink); }
.link-card.coconala .link-card-icon { background: rgba(251, 146, 60, 0.1); color: #fb923c; }
.link-card.voice-training-link .link-card-icon { background: rgba(232, 121, 249, 0.1); color: var(--accent-pink); }

.link-card:hover.youtube { border-color: rgba(255, 0, 0, 0.3); }
.link-card:hover.twitter { border-color: rgba(96, 165, 250, 0.3); }

.link-card:hover.strikingly { border-color: var(--border-hover); }
.link-card:hover.portfolio-link { border-color: rgba(232, 121, 249, 0.3); }
.link-card:hover.coconala { border-color: rgba(251, 146, 60, 0.3); }
.link-card:hover.voice-training-link { border-color: rgba(232, 121, 249, 0.3); }

.link-card-info {
    flex: 1;
    min-width: 0;
}

.link-card-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.link-card-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.link-card-arrow {
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.link-card:hover .link-card-arrow {
    color: var(--accent-primary);
    transform: translateX(4px);
}

/* === Contact Section === */
.contact {
    background: var(--bg-primary);
}

.contact-body {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.contact-card {
    text-align: center;
    max-width: 520px;
    width: 100%;
    padding: 48px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.contact-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.contact-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(155, 89, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--accent-light);
}

.contact-heading {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-address {
    margin-bottom: 20px;
}

.contact-address a {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--accent-light);
    padding: 10px 28px;
    border: 1px solid rgba(155, 89, 255, 0.25);
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.contact-address a:hover {
    background: rgba(155, 89, 255, 0.12);
    border-color: var(--accent-primary);
    color: white;
}

.contact-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.8;
    display: flex;
    align-items: baseline;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-note i {
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-shrink: 0;
    position: relative;
    top: 1px;
}

.contact-note a {
    color: var(--accent-light);
    font-weight: 600;
    text-decoration: none;
}

.contact-note a:hover {
    color: white;
    text-decoration: underline;
}

/* === Footer === */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

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

.footer-emblem {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0.7) sepia(0.3) hue-rotate(230deg) saturate(1.5);
    margin-bottom: 6px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 8px;
}

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

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    font-size: 1.1rem;
}

.footer-social a:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(155, 89, 255, 0.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(155, 89, 255, 0.05);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.8;
}

.footer-year {
    margin-top: 4px;
}

/* === Animations === */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

/* Scroll animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* === Responsive Design === */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 280px 1fr;
        gap: 40px;
    }

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

    .music-video-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        font-size: 1rem;
        padding: 16px 32px;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

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

    .about-image-frame {
        max-width: 280px;
        margin: 0 auto;
    }

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

    .section-description {
        padding-left: 0;
    }

    .music-video-grid {
        grid-template-columns: 1fr;
    }

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

    .vt-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .vt-visual {
        order: -1;
    }

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

    .hero {
        padding: 70px 0 100px;
    }

    .hero-emblem {
        width: 44px;
        height: 44px;
    }

    .hero-emblem-wrap {
        margin-bottom: 10px;
    }

    .hero-badge {
        font-size: 0.55rem;
        padding: 5px 14px;
        margin-bottom: 14px;
        letter-spacing: 0.15em;
    }

    .hero-nameplate {
        max-width: min(320px, 70vw);
    }

    .hero-title {
        margin-bottom: 10px;
    }

    .hero-title-en {
        font-size: 0.7rem;
        letter-spacing: 0.3em;
        margin-top: 6px;
    }

    .hero-subtitle {
        margin-bottom: 20px;
        font-size: 0.85rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 14px;
        margin-bottom: 24px;
    }

    .hero-stat-number {
        font-size: 0.9rem;
    }

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

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.85rem;
    }

    .hero-scroll-indicator {
        bottom: 16px;
    }

    .scroll-line {
        height: 28px;
    }

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

    .footer-logo {
        align-items: center;
    }

    .section {
        padding: 80px 0;
    }

    .achievements-tabs {
        gap: 6px;
    }

    .tab-btn {
        font-size: 0.75rem;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-nameplate {
        max-width: min(260px, 68vw);
    }

    .hero-emblem {
        width: 36px;
        height: 36px;
    }

    .hero-badge {
        font-size: 0.5rem;
        padding: 4px 12px;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

/* === Custom Scrollbar === */
::-webkit-scrollbar {
    width: 6px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}
