/* ================================================
   喵喵的修仙 - YukiMio工作室版
   Meow's Cultivation - YukiMio Studio Version
   Dark Ink Wash Xianxia Style
   ================================================ */

/* CSS Variables */
:root {
    /* Colors - Dark Ink Palette */
    --ink-void: #050507;
    --ink-deep: #0a0a0d;
    --ink-dark: #111115;
    --ink-medium: #1a1a20;
    --ink-light: #252530;
    --ink-muted: #3a3a48;

    /* Accent Colors */
    --gold: #c9a227;
    --gold-light: #e8c547;
    --gold-dim: rgba(201, 162, 39, 0.4);
    --crimson: #b91c1c;
    --crimson-light: #dc2626;

    /* Text Colors */
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b0;
    --text-muted: #6a6a7a;

    /* Typography */
    --font-display: 'Noto Serif SC', serif;
    --font-body: 'Noto Sans SC', sans-serif;
    --font-brush: 'Ma Shan Zheng', cursive;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Animation */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ================================================
   Video Background
   ================================================ */
.video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(10, 10, 13, 0.5) 0%, rgba(5, 5, 7, 0.95) 100%),
        linear-gradient(to bottom, rgba(5, 5, 7, 0.3) 0%, rgba(5, 5, 7, 0.9) 100%);
}

/* ================================================
   Navigation
   ================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: var(--space-md) 0;
    transition: all 0.4s var(--ease-smooth);
}

.navbar.scrolled {
    background: rgba(5, 5, 7, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: color 0.3s;
}

.logo:hover {
    color: var(--gold);
}

.logo-bracket {
    color: var(--gold);
    margin: 0 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
}

.nav-link {
    position: relative;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color 0.3s;
    padding: var(--space-xs) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s var(--ease-smooth);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-xs);
}

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

/* ================================================
   Buttons
   ================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s var(--ease-smooth);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--ink-deep);
    box-shadow: 0 4px 20px var(--gold-dim);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--gold-dim);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--ink-muted);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-lg {
    padding: var(--space-md) var(--space-xl);
    font-size: 1.1rem;
}

.btn-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon svg {
    width: 100%;
    height: 100%;
}

/* ================================================
   Hero Section
   ================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    padding: var(--space-xs) var(--space-lg);
    background: rgba(201, 162, 39, 0.08);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 100px;
    animation: fadeInUp 1s var(--ease-smooth) 0.2s both;
}

.badge-deco {
    width: 30px;
    height: 1px;
    background: var(--gold);
}

.badge-text {
    font-size: 0.85rem;
    color: var(--gold);
    letter-spacing: 0.15em;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 12vw, 7rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-lg);
    background: linear-gradient(180deg, var(--text-primary) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s var(--ease-smooth) 0.4s both;
}

.hero-subtitle {
    font-family: var(--font-brush);
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--gold);
    margin-bottom: var(--space-md);
    animation: fadeInUp 1s var(--ease-smooth) 0.6s both;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 2;
    animation: fadeInUp 1s var(--ease-smooth) 0.8s both;
}

.hero-desc .highlight {
    color: var(--gold);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 1s var(--ease-smooth) 1s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    animation: fadeInUp 1s var(--ease-smooth) 1.2s both;
}

.stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-sep {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--ink-muted), transparent);
}

/* Ink Splatters */
.ink-splatter {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(26, 26, 32, 0.8) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.5;
}

.ink-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -150px;
}

.ink-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
}

.ink-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    right: 10%;
}

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

/* ================================================
   Section Headers
   ================================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header.light .section-label {
    color: var(--text-secondary);
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--space-md);
}

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

/* ================================================
   Studio Section
   ================================================ */
.studio {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, transparent, rgba(17, 17, 21, 0.8), transparent);
}

.studio-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.studio-visual {
    position: relative;
}

.studio-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.studio-frame {
    position: absolute;
    inset: -15px;
    border: 1px solid var(--gold);
    border-radius: 12px;
    opacity: 0.2;
}

.studio-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.studio-intro h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: var(--space-md);
}

.studio-desc {
    color: var(--text-secondary);
    line-height: 2;
}

.studio-desc strong {
    color: var(--text-primary);
}

.studio-desc .funny {
    display: block;
    margin-top: var(--space-sm);
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.studio-creed {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--ink-dark);
    border-left: 3px solid var(--gold);
    border-radius: 0 8px 8px 0;
}

.creed-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    color: var(--gold);
}

.creed-icon svg {
    width: 100%;
    height: 100%;
}

.studio-creed blockquote p {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-primary);
}

.studio-values {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.value-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 50%;
    font-family: var(--font-brush);
    font-size: 1.25rem;
    color: var(--gold);
}

.value-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

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

/* ================================================
   Features Section
   ================================================ */
.features {
    padding: var(--space-3xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.feature-card {
    background: var(--ink-dark);
    border: 1px solid var(--ink-medium);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s var(--ease-smooth);
}

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

.feature-card.featured {
    grid-column: span 3;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
}

.feature-visual {
    position: relative;
    aspect-ratio: 16/9;
}

.feature-visual video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-vignette {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 50%, var(--ink-dark));
}

.feature-content {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gold);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink-deep);
    margin-bottom: var(--space-md);
    width: fit-content;
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin-bottom: var(--space-md);
    color: var(--gold);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.feature-desc {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.feature-tags span {
    padding: 4px 12px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--gold);
}

.feature-card:not(.featured) {
    padding: var(--space-xl);
}

/* ================================================
   Gallery Section
   ================================================ */
.gallery {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, transparent, rgba(17, 17, 21, 0.8));
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.char-card {
    background: var(--ink-dark);
    border: 1px solid var(--ink-medium);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s var(--ease-smooth);
}

.char-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}

.char-main {
    grid-column: span 2;
    grid-row: span 2;
}

.char-image {
    aspect-ratio: 3/4;
    overflow: hidden;
}

.char-main .char-image {
    aspect-ratio: auto;
    height: 100%;
}

.char-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-smooth);
}

.char-card:hover .char-image img {
    transform: scale(1.05);
}

.char-info {
    padding: var(--space-md);
}

.char-realm {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(185, 28, 28, 0.2);
    border: 1px solid var(--crimson);
    border-radius: 100px;
    font-size: 0.7rem;
    color: var(--crimson-light);
    margin-bottom: var(--space-xs);
}

.char-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.char-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ================================================
   Boss Section
   ================================================ */
.bosses {
    padding: var(--space-3xl) 0;
}

.boss-showcase {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.boss-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    background: var(--ink-dark);
    border: 1px solid var(--ink-medium);
    border-radius: 12px;
    overflow: hidden;
}

.boss-visual {
    position: relative;
    aspect-ratio: 16/9;
}

.boss-visual video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.boss-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 40%, var(--ink-dark));
}

.boss-info {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.boss-tier {
    display: inline-block;
    padding: 4px 16px;
    background: var(--crimson);
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-md);
    width: fit-content;
}

.boss-tier.small {
    font-size: 0.75rem;
    padding: 2px 10px;
}

.boss-name {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: var(--space-md);
}

.boss-lore {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.boss-abilities {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.boss-abilities span {
    padding: 6px 16px;
    background: var(--ink-medium);
    border: 1px solid var(--ink-muted);
    border-radius: 4px;
    font-size: 0.875rem;
}

.boss-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.boss-card {
    background: var(--ink-dark);
    border: 1px solid var(--ink-medium);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.boss-card:hover {
    border-color: var(--gold);
}

.boss-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.boss-thumb video,
.boss-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.boss-mini-info {
    padding: var(--space-md);
}

/* ================================================
   Trailer Section
   ================================================ */
.trailer {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, transparent, rgba(17, 17, 21, 0.8));
}

.trailer-showcase {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.trailer-player {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--ink-dark);
    border-radius: 12px;
    overflow: hidden;
}

.trailer-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trailer-clips {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.clip-item {
    cursor: pointer;
}

.clip-thumb {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    background: var(--ink-dark);
}

.clip-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clip-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s;
}

.clip-play svg {
    width: 40px;
    height: 40px;
    color: white;
}

.clip-item:hover .clip-play {
    opacity: 1;
}

.clip-item span {
    display: block;
    margin-top: var(--space-sm);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ================================================
   Reservation Section
   ================================================ */
.reserve {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, transparent, var(--ink-deep));
}

.reserve-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.reserve-desc {
    color: var(--text-secondary);
    line-height: 2;
    margin-bottom: var(--space-xl);
}

.rewards {
    display: flex;
    gap: var(--space-lg);
}

.reward {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.reward-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 50%;
    font-family: var(--font-brush);
    font-size: 1rem;
    color: var(--gold);
}

.reward-name {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.reserve-form-wrapper {
    padding: var(--space-xl);
    background: var(--ink-dark);
    border: 1px solid var(--ink-medium);
    border-radius: 12px;
}

.form-group {
    display: flex;
    gap: var(--space-sm);
}

.form-input {
    flex: 1;
    padding: var(--space-md);
    background: var(--ink-medium);
    border: 1px solid var(--ink-muted);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--gold);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-note {
    margin-top: var(--space-sm);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.success-state,
.error-state {
    text-align: center;
    padding: var(--space-xl);
    animation: fadeInUp 0.6s var(--ease-smooth);
}

.success-seal {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    color: var(--gold);
}

.success-seal svg {
    width: 100%;
    height: 100%;
}

.success-state h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: var(--space-sm);
}

.success-state p {
    color: var(--text-secondary);
}

.success-state .success-note {
    margin-top: var(--space-md);
    font-style: italic;
    color: var(--text-muted);
}

.error-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(185, 28, 28, 0.2);
    border: 2px solid var(--crimson);
    border-radius: 50%;
    font-size: 2rem;
    font-weight: bold;
    color: var(--crimson-light);
}

.error-state h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--crimson-light);
    margin-bottom: var(--space-sm);
}

.error-state p {
    color: var(--text-muted);
}

/* ================================================
   Footer
   ================================================ */
.footer {
    padding: var(--space-2xl) 0 var(--space-lg);
    background: var(--ink-deep);
    border-top: 1px solid var(--ink-medium);
}

.footer-main {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-2xl);
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: var(--space-xs);
}

.footer-studio {
    font-size: 0.9rem;
    color: var(--gold);
    margin-bottom: var(--space-xs);
}

.footer-slogan {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: var(--space-3xl);
}

.link-group h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.link-group a {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
    transition: color 0.3s;
}

.link-group a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--ink-medium);
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal a {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--text-primary);
}

/* ================================================
   Toast
   ================================================ */
.toast {
    position: fixed;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: var(--space-sm) var(--space-xl);
    background: var(--gold);
    color: var(--ink-deep);
    border-radius: 100px;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: all 0.3s var(--ease-smooth);
    z-index: 200;
}

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

.toast.error {
    background: var(--crimson);
    color: white;
}

/* ================================================
   Responsive
   ================================================ */
@media (max-width: 1024px) {
    .studio-content {
        grid-template-columns: 1fr;
    }

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

    .feature-card.featured {
        grid-column: span 2;
        grid-template-columns: 1fr;
    }

    .feature-vignette {
        background: linear-gradient(to top, var(--ink-dark), transparent);
    }

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

    .char-main {
        grid-column: span 2;
        grid-row: span 1;
    }

    .boss-main {
        grid-template-columns: 1fr;
    }

    .boss-overlay {
        background: linear-gradient(to top, var(--ink-dark), transparent);
    }

    .reserve-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .rewards {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        background: var(--ink-void);
        transform: translateX(-100%);
        transition: transform 0.4s var(--ease-smooth);
        z-index: 99;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 1.5rem;
        padding: var(--space-md);
    }

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

    .feature-card.featured {
        grid-column: span 1;
    }

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

    .char-main {
        grid-column: span 1;
    }

    .boss-row {
        grid-template-columns: 1fr;
    }

    .trailer-clips {
        grid-template-columns: 1fr;
    }

    .form-group {
        flex-direction: column;
    }

    .footer-main {
        flex-direction: column;
        gap: var(--space-xl);
    }

    .footer-links {
        flex-wrap: wrap;
        gap: var(--space-xl);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

/* ================================================
   Trailer Section
   ================================================ */
.trailer {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, var(--ink-deep) 0%, var(--ink-void) 100%);
}

.trailer-showcase {
    margin-top: var(--space-xl);
}

.trailer-main {
    margin-bottom: var(--space-xl);
}

.trailer-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--ink-deep);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.trailer-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trailer-clips {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.clip-item {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s var(--ease-smooth);
    background: var(--ink-deep);
}

.clip-item:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}

.clip-item.active {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.3);
}

.clip-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.clip-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s var(--ease-smooth);
}

.clip-item:hover .clip-thumb video {
    transform: scale(1.05);
}

.clip-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(201, 162, 39, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s var(--ease-smooth);
}

.clip-item:hover .clip-play {
    opacity: 1;
}

.clip-play svg {
    width: 20px;
    height: 20px;
    fill: var(--ink-void);
    margin-left: 2px;
}

.clip-item span {
    display: block;
    padding: var(--space-sm);
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    background: var(--ink-medium);
}

/* Mobile Responsive for Trailer */
@media (max-width: 768px) {
    .trailer-clips {
        grid-template-columns: 1fr;
    }

    .clip-item {
        display: flex;
        align-items: center;
    }

    .clip-thumb {
        width: 120px;
        flex-shrink: 0;
        aspect-ratio: 16 / 9;
    }

    .clip-item span {
        text-align: left;
        flex-grow: 1;
    }
}
