@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');

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

/* Page Transition Loading Bar */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 9999;
    pointer-events: none;
}

.page-transition-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--purple-light), var(--pink), var(--purple-glow));
    box-shadow: 0 0 10px var(--purple-light), 0 0 20px var(--purple-light);
    transition: width 0.1s ease-out;
}

.page-transition.active .page-transition-bar {
    animation: loadingBar 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes loadingBar {
    0% { width: 0%; }
    20% { width: 30%; }
    50% { width: 60%; }
    80% { width: 90%; }
    100% { width: 100%; }
}

/* Page Load Animations */
.page-enter {
    opacity: 0;
}

.page-enter-active {
    animation: pageEnter 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.3s;
}

@keyframes pageEnter {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Element Animations */
.animate-fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-fade-in-delay-1 { animation-delay: 0.1s; }
.animate-fade-in-delay-2 { animation-delay: 0.2s; }
.animate-fade-in-delay-3 { animation-delay: 0.3s; }
.animate-fade-in-delay-4 { animation-delay: 0.4s; }
.animate-fade-in-delay-5 { animation-delay: 0.5s; }

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-scale-in {
    opacity: 0;
    transform: scale(0.9);
    animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes scaleIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideRight {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

:root {
    --bg-primary: #0d0d1a;
    --bg-secondary: #13132b;
    --purple-dark: #1e1e3f;
    --purple-mid: #2d2d5a;
    --purple-light: #6b5ce7;
    --purple-glow: #8b7cf7;
    --pink: #d946ef;
    --pink-glow: #f0abfc;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --legendary: linear-gradient(135deg, #f59e0b, #ef4444);
    --epic: linear-gradient(135deg, #a855f7, #6366f1);
    --rare: linear-gradient(135deg, #3b82f6, #06b6d4);
    --common: linear-gradient(135deg, #6b7280, #9ca3af);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background - 3D Ink Effect */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--bg-primary);
    overflow: hidden;
}

#ink-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 60px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 13, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 40px;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(13, 13, 26, 0.98);
    backdrop-filter: blur(20px);
    padding: 120px 40px 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--purple-light);
}

/* Hero Section - New Design */
.hero-new {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 60px 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(15rem, 30vw, 35rem);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.05em;
}

.hero-center {
    text-align: center;
    z-index: 1;
}

.hero-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.hero-label-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple-light), transparent);
}

.hero-main-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: 30px;
}

.hero-title-line {
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, #a78bfa 50%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-outline {
    background: none;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 2px var(--purple-light);
    opacity: 0.8;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--purple-light), var(--pink));
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);
}

.hero-btn-primary svg {
    transition: transform 0.3s ease;
}

.hero-btn-primary:hover svg {
    transform: translateX(4px);
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.hero-btn-secondary:hover {
    border-color: var(--purple-light);
    color: var(--text-primary);
    background: rgba(139, 92, 246, 0.1);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.hero-stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--purple-light), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

/* Old hero styles kept for other pages */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 60px 80px;
    position: relative;
}

.hero-content {
    max-width: 700px;
}

.hero-sparkle {
    color: #facc15;
    font-size: 2rem;
    margin-bottom: 20px;
    display: inline-block;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 450px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 16px 28px;
    background: var(--purple-dark);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background: var(--purple-mid);
    border-color: var(--purple-light);
    transform: translateY(-2px);
}

.hero-btn-arrow {
    width: 40px;
    height: 40px;
    background: var(--text-primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-btn-arrow svg {
    stroke: var(--bg-primary);
}

.hero-image {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 500px;
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
}

/* Section */
.section {
    padding: 100px 60px;
}

.section-header {
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--purple-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
}

/* Ability Grid */
.ability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1400px;
}

/* Ability Card - 이미지가 카드를 꽉 채움 */
.ability-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-primary);
    aspect-ratio: 3 / 4;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--glass-border);
}

.ability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.ability-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--purple-light);
    box-shadow: 0 30px 60px rgba(107, 92, 231, 0.3);
}

.ability-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ability-card:hover .ability-card-image {
    transform: scale(1.1);
}

/* 이미지 없을 때 placeholder */
.ability-card-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--bg-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ability-card-placeholder-text {
    font-size: 4rem;
    font-weight: 900;
    color: var(--purple-mid);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.ability-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 2;
}

.ability-card-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.ability-card-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.ability-card-rarity {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rarity-legendary { background: var(--legendary); }
.rarity-epic { background: var(--epic); }
.rarity-rare { background: var(--rare); }
.rarity-common { background: var(--common); }

/* Filter */
.filter-container {
    display: flex;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    background: var(--glass-bg);
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

.filter-btn:hover {
    border-color: var(--purple-light);
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--purple-dark);
    border-color: var(--purple-light);
    color: var(--text-primary);
}

/* Character Page */
.character-page {
    padding-top: 100px;
}

.character-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px;
    align-items: center;
}

.character-image-container {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.character-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.character-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--bg-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    font-weight: 900;
    color: var(--purple-mid);
}

.character-info {
    padding: 20px 0;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: var(--purple-dark);
    border-color: var(--purple-light);
    color: var(--text-primary);
}

.character-category {
    display: inline-block;
    padding: 8px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--purple-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.character-name {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.character-rarity {
    margin-bottom: 24px;
}

.character-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Skills */
.skills-section {
    margin-top: 40px;
}

.skills-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.skill-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.skill-btn {
    padding: 12px 20px;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    background: var(--glass-bg);
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.skill-btn:hover {
    border-color: var(--purple-light);
    color: var(--text-primary);
}

.skill-btn.active {
    background: var(--purple-dark);
    border-color: var(--purple-light);
    color: var(--text-primary);
}

.skill-detail {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 28px;
}

.skill-detail h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.skill-detail p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.skill-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-stat {
    padding: 10px 16px;
    background: rgba(107, 92, 231, 0.1);
    border: 1px solid rgba(107, 92, 231, 0.2);
    border-radius: 8px;
    font-size: 0.85rem;
}

.skill-stat-label {
    color: var(--text-muted);
    margin-right: 8px;
}

.skill-stat-value {
    color: var(--purple-light);
    font-weight: 600;
}

.skill-image-container {
    position: relative;
    width: 100%;
    height: 240px;
    margin-bottom: 24px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.skill-placeholder {
    position: absolute;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--purple-mid), var(--purple-light));
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.skill-placeholder-text {
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    line-height: 1.2;
}

/* Page Header */
.page-header {
    padding: 160px 60px 60px;
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.page-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Info Page */
.info-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 160px 30px 80px;
}

.info-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 50px;
}

.info-card h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.info-card h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 40px 0 16px;
    color: var(--text-primary);
}

.info-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 24px 0 8px;
    color: var(--text-primary);
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.info-card ul {
    color: var(--text-secondary);
    margin-left: 24px;
    margin-bottom: 16px;
}

.info-card li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.info-card a {
    color: var(--purple-light);
    text-decoration: none;
}

.info-card a:hover {
    text-decoration: underline;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 30px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(107, 92, 231, 0.1);
    border: 1px solid rgba(107, 92, 231, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: rgba(107, 92, 231, 0.2);
    transform: translateX(8px);
}

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

/* Footer */
footer {
    text-align: center;
    padding: 40px 60px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

    .hero-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 20px 24px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 120px 24px 60px;
    }

    /* Hero New - Mobile */
    .hero-new {
        padding: 120px 24px 60px;
    }

    .hero-bg-text {
        font-size: clamp(8rem, 25vw, 15rem);
    }

    .hero-label {
        gap: 12px;
        font-size: 0.7rem;
        margin-bottom: 20px;
    }

    .hero-label-line {
        width: 24px;
    }

    .hero-title-line {
        font-size: clamp(3rem, 15vw, 5rem);
    }

    .hero-title-outline {
        -webkit-text-stroke: 1.5px var(--purple-light);
    }

    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 40px;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat-num {
        font-size: 1.8rem;
    }

    .hero-stat-label {
        font-size: 0.75rem;
    }

    .hero-stat-divider {
        height: 30px;
    }

    .section {
        padding: 60px 24px;
    }

    .page-header {
        padding: 120px 24px 40px;
    }

    .character-hero {
        padding: 40px 24px;
    }

    .info-card {
        padding: 30px 24px;
    }

    .ability-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
}

@media (max-width: 480px) {
    .ability-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    /* Hero New - Small Mobile */
    .hero-new {
        padding: 110px 16px 50px;
    }

    .hero-bg-text {
        font-size: 6rem;
    }

    .hero-label {
        gap: 8px;
        font-size: 0.6rem;
    }

    .hero-label-line {
        width: 16px;
    }

    .hero-title-line {
        font-size: 2.8rem;
    }

    .hero-title-outline {
        -webkit-text-stroke: 1px var(--purple-light);
    }

    .hero-desc {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .hero-stats {
        gap: 16px;
    }

    .hero-stat-num {
        font-size: 1.5rem;
    }

    .hero-stat-label {
        font-size: 0.7rem;
    }

    .hero-stat-divider {
        height: 24px;
    }
}
