@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300&family=Noto+Sans+JP:wght@300;400;500&family=Montserrat:wght@300;400;500;600;700&display=swap');

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

/* Prevent image/video download */
img, video {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
  -webkit-touch-callout: none;
}

/* Re-enable pointer events for video controls */
video {
  pointer-events: auto;
}

/* Wrapper to block right-click on media */
.media-protected {
  position: relative;
}

.media-protected::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Intro Loader */
.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.intro-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-images {
  position: relative;
  width: 320px;
  height: 320px;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .intro-images {
    width: 480px;
    height: 480px;
    margin-bottom: 3rem;
  }
}

.intro-image {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 1rem;
  overflow: hidden;
  opacity: 0;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Portrait images (縦長) */
.intro-image-1,
.intro-image-3 {
  width: 180px;
  height: 260px;
}

@media (min-width: 640px) {
  .intro-image-1,
  .intro-image-3 {
    width: 240px;
    height: 340px;
  }
}

/* Landscape image (横長) */
.intro-image-2 {
  width: 300px;
  height: 220px;
}

@media (min-width: 640px) {
  .intro-image-2 {
    width: 420px;
    height: 300px;
  }
}

.intro-image-1 {
  animation: introImage1 3.5s ease forwards;
}

.intro-image-2 {
  animation: introImage2 3.5s ease forwards;
}

.intro-image-3 {
  animation: introImage3 3.5s ease forwards;
}

@keyframes introImage1 {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.6) rotate(-15deg) translateX(-30px);
  }
  15% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(-8deg) translateX(-20px);
  }
  70% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(-8deg) translateX(-20px);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9) rotate(-8deg) translateX(-20px);
  }
}

@keyframes introImage2 {
  0%, 10% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.6) rotate(0deg);
  }
  25% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05) rotate(0deg);
  }
  70% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95) rotate(0deg);
  }
}

@keyframes introImage3 {
  0%, 20% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.6) rotate(15deg) translateX(30px);
  }
  35% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(8deg) translateX(20px);
  }
  70% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(8deg) translateX(20px);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9) rotate(8deg) translateX(20px);
  }
}

.intro-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: introTextFade 3.5s ease forwards;
}

@keyframes introTextFade {
  0%, 30% {
    opacity: 0;
    transform: translateY(20px);
  }
  50% {
    opacity: 1;
    transform: translateY(0);
  }
  85% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.intro-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 300;
  color: white;
  letter-spacing: 0.2em;
}

@media (min-width: 640px) {
  .intro-name {
    font-size: 2.5rem;
  }
}

.intro-title {
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@media (min-width: 640px) {
  .intro-title {
    font-size: 1rem;
  }
}

/* Hide content while intro is active */
body.intro-active .header,
body.intro-active .main-content,
body.intro-active .footer {
  opacity: 0;
}

body .header,
body .main-content,
body .footer {
  transition: opacity 0.6s ease;
}

:root {
  /* Light Mode Colors */
  --bg-primary: #fafaf8;
  --bg-secondary: #f5f3ef;
  --bg-tertiary: #f3f4f6;
  --text-primary: #171717;
  --text-secondary: #4b5563;
  --text-tertiary: #6b7280;
  --text-muted: #9ca3af;
  --border-color: #e5e7eb;
  --border-light: #f3f4f6;
  --card-bg: #ffffff;
  --card-hover: #f9fafb;
  --header-bg: rgba(255, 255, 255, 0.95);
  --footer-bg: #111827;
  --footer-text: #ffffff;
  --footer-muted: #9ca3af;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Accent Colors */
  --purple-50: rgba(200, 169, 110, 0.08);
  --purple-100: rgba(200, 169, 110, 0.15);
  --purple-600: #c8a96e;
  --pink-50: rgba(232, 213, 176, 0.08);
  --pink-600: #e8d5b0;
  --gradient-accent: linear-gradient(135deg, #c8a96e, #e8d5b0);
}

/* Dark Mode Colors */
[data-theme="dark"] {
  --bg-primary: #0f0f0f;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #262626;
  --text-primary: #f5f5f5;
  --text-secondary: #d4d4d4;
  --text-tertiary: #a3a3a3;
  --text-muted: #737373;
  --border-color: #404040;
  --border-light: #262626;
  --card-bg: #1a1a1a;
  --card-hover: #262626;
  --header-bg: rgba(15, 15, 15, 0.95);
  --footer-bg: #0a0a0a;
  --footer-text: #f5f5f5;
  --footer-muted: #737373;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --purple-50: rgba(200, 169, 110, 0.1);
  --purple-100: rgba(200, 169, 110, 0.2);
  --pink-50: rgba(232, 213, 176, 0.1);
}

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  transition: background-color 0.3s, color 0.3s;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 3rem;
  }
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
  z-index: 50;
  transition: background-color 0.3s, border-color 0.3s;
}

.header-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (min-width: 640px) {
  .header-content {
    padding: 1rem 1.5rem;
  }
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s;
}

@media (min-width: 640px) {
  .logo {
    font-size: 1.25rem;
  }
}

/* Navigation Menu */
.nav-menu {
  display: none;
  gap: 2rem;
}

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

.nav-link {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #c8a96e;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s;
}

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

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

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

/* Mobile Menu */
.nav-menu.mobile-active {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  padding: 6rem 2rem 2rem;
  gap: 2.5rem;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.nav-menu.mobile-active .nav-link {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
}

.nav-menu.mobile-active .nav-link:hover {
  color: #c8a96e;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 110;
}

@media (min-width: 640px) {
  .header-controls {
    gap: 1rem;
  }
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-tertiary);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

@media (min-width: 640px) {
  .theme-toggle {
    width: 40px;
    height: 40px;
  }
}

.theme-toggle:hover {
  background: var(--border-color);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  color: var(--text-primary);
  transition: color 0.3s;
}

@media (min-width: 640px) {
  .theme-toggle svg {
    width: 20px;
    height: 20px;
  }
}

.theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  background: var(--bg-tertiary);
  border-radius: 9999px;
  padding: 3px;
  transition: background-color 0.3s;
}

.lang-btn {
  padding: 0.375rem 0.625rem;
  border: none;
  background: transparent;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: all 0.2s;
}

@media (min-width: 640px) {
  .lang-btn {
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
  }
}

.lang-btn:hover {
  color: var(--text-primary);
}

.lang-btn.active {
  background: var(--text-primary);
  color: var(--bg-primary);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 70%,
    rgba(0, 0, 0, 0.3) 100%
  );
  z-index: 1;
}

.hero-content {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: white;
  padding: 0 1.5rem;
}

@media (min-width: 640px) {
  .hero-content {
    bottom: 3rem;
  }
}

.hero-subtitle {
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.8;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1rem;
  }
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 4rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 5rem;
  }
}

.hero-description {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

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

.hero-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  transition: all 0.3s;
}

.hero-social-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-social-link svg {
  width: 22px;
  height: 22px;
}

.hero-scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.3s;
  animation: bounce 2s infinite;
}

.hero-scroll:hover {
  color: white;
}

.hero-scroll svg {
  width: 24px;
  height: 24px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Section Title */
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.75rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 2.5rem;
  letter-spacing: 0.05em;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 2.25rem;
    margin-bottom: 3.5rem;
  }
}

/* Profile Section (New Layout) */
.profile-wrapper {
  padding: 6rem 0 4rem;
  background: var(--bg-secondary);
}

@media (min-width: 640px) {
  .profile-wrapper {
    padding: 7rem 0 5rem;
  }
}

@media (min-width: 1024px) {
  .profile-wrapper {
    padding: 8rem 0 6rem;
  }
}

.profile-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .profile-grid {
    gap: 3rem;
  }
}

@media (min-width: 768px) {
  .profile-grid {
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .profile-grid {
    gap: 5rem;
  }
}

.profile-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  aspect-ratio: 3 / 5;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

@media (min-width: 768px) {
  .profile-image-wrapper {
    max-width: none;
  }
}

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

.profile-info {
  text-align: center;
}

@media (min-width: 768px) {
  .profile-info {
    text-align: left;
  }
}

.profile-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  color: #c8a96e;
  margin-bottom: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.profile-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

@media (min-width: 640px) {
  .profile-name {
    font-size: 2rem;
  }
}

.profile-bio {
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 2.5rem;
  font-size: 0.9375rem;
}

@media (min-width: 640px) {
  .profile-bio {
    font-size: 1rem;
    line-height: 2;
    margin-bottom: 3rem;
  }
}

/* Skills Section */
.skills-section {
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .skills-section {
    margin-bottom: 3rem;
  }
}

.subsection-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-tertiary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.6;
}

@media (min-width: 640px) {
  .subsection-label {
    margin-bottom: 1.25rem;
  }
}

.section-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-tertiary);
  margin-bottom: 0.75rem;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .skills-list {
    gap: 0.75rem;
  }
}

@media (min-width: 768px) {
  .skills-list {
    justify-content: flex-start;
  }
}

.skill-tag {
  background: rgba(200, 169, 110, 0.08);
  border: 1px solid rgba(200, 169, 110, 0.4);
  padding: 0.5rem 1rem;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 400;
  color: #c8a96e;
  letter-spacing: 0.08em;
  transition: all 0.3s;
}

.skill-tag:hover {
  background: rgba(200, 169, 110, 0.15);
  border-color: #c8a96e;
}

@media (min-width: 640px) {
  .skill-tag {
    font-size: 0.8125rem;
  }
}

/* Experience Section */
.experience-section {
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .experience-section {
    margin-top: 3rem;
  }
}

.experience-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .experience-list {
    gap: 1.5rem;
  }
}

.experience-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

@media (min-width: 640px) {
  .experience-item {
    gap: 1.5rem;
    padding-bottom: 1.5rem;
  }
}

.experience-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.experience-year {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #c8a96e;
  min-width: 90px;
}

.experience-content {
  flex: 1;
}

.experience-title {
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.experience-desc {
  color: var(--text-tertiary);
  font-size: 0.8125rem;
  line-height: 1.5;
}

/* Works Section */
.works-section {
  padding: 4rem 0;
}

@media (min-width: 640px) {
  .works-section {
    padding: 5rem 0;
  }
}

@media (min-width: 1024px) {
  .works-section {
    padding: 6rem 0;
  }
}

/* Contact Section */
.contact-section {
  padding: 4rem 0;
  background: var(--bg-secondary);
  text-align: center;
}

@media (min-width: 640px) {
  .contact-section {
    padding: 5rem 0;
  }
}

@media (min-width: 1024px) {
  .contact-section {
    padding: 6rem 0;
  }
}

.contact-text {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .contact-text {
    font-size: 1rem;
    padding: 0;
  }
}

.contact-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 480px) {
  .contact-social {
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
  }
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.3s;
  width: 100%;
  justify-content: center;
  max-width: 220px;
}

@media (min-width: 480px) {
  .contact-link {
    width: auto;
    padding: 1rem 2rem;
  }
}

.contact-link:hover {
  border-color: #c8a96e;
  color: #c8a96e;
}

.contact-link svg {
  width: 20px;
  height: 20px;
}

@media (min-width: 640px) {
  .contact-link svg {
    width: 22px;
    height: 22px;
  }
}

/* Social Links */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

@media (min-width: 640px) {
  .btn {
    padding: 0.75rem 2rem;
  }
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.btn-primary:hover {
  opacity: 0.9;
}

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

.btn-secondary:hover {
  background: var(--bg-secondary);
}

/* Portfolio Section */
.portfolio-section {
  min-height: 50vh;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

@media (min-width: 640px) {
  .tabs {
    gap: 0.75rem;
    margin-bottom: 2.5rem;
  }
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: var(--bg-tertiary);
  color: var(--text-tertiary);
  white-space: nowrap;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .tab {
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }
}

.tab .icon {
  width: 16px;
  height: 16px;
}

@media (min-width: 640px) {
  .tab .icon {
    width: 20px;
    height: 20px;
  }
}

.tab:hover {
  background: var(--border-color);
}

.tab.active {
  background: #c8a96e;
  color: #ffffff;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 400px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    max-width: none;
    margin: 0;
  }
}

@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

/* Video Card */
.video-card {
  cursor: pointer;
  position: relative;
  z-index: 1;
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.video-card:hover {
  border-color: rgba(200, 169, 110, 0.3);
  box-shadow: 0 0 20px rgba(200, 169, 110, 0.1);
}

/* Hide card videos when modal is open */
.modal.active ~ .main-content .video-card video,
body:has(.modal.active) .video-card video {
  visibility: hidden;
}

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

.video-card:hover .card-title {
  color: var(--text-tertiary);
}

.card-thumbnail {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: var(--bg-tertiary);
}

.card-info {
  padding: 0.625rem 0.75rem 0.75rem;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1a1a1a 0%, #0d0d0d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease;
}

.video-placeholder.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* Default: static play icon circle */
.video-placeholder::before {
  content: '';
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s;
}

/* Play triangle */
.video-placeholder::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 0 9px 16px;
  border-color: transparent transparent transparent rgba(255, 255, 255, 0.75);
  margin-left: 4px;
  transition: border-color 0.2s;
}

/* Loading state: replace play icon with spinner */
.video-placeholder.is-loading::before {
  width: 36px;
  height: 36px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: rgba(200, 169, 110, 0.8);
  animation: spin 0.85s linear infinite;
}

.video-placeholder.is-loading::after {
  display: none;
}

@media (min-width: 640px) {
  .card-info {
    padding: 0.75rem 1rem 1rem;
  }
}

.card-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.video-card .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* Hide play overlay until video is confirmed ready */
.video-card:not(.video-loaded) .play-overlay {
  display: none !important;
}

.play-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
  .play-button {
    width: 48px;
    height: 48px;
  }
}

.play-button svg {
  width: 16px;
  height: 16px;
  color: white;
  fill: white;
  margin-left: 2px;
}

@media (min-width: 640px) {
  .play-button svg {
    width: 20px;
    height: 20px;
  }
}

.video-card .hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}

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

.video-card .hover-overlay svg {
  width: 40px;
  height: 40px;
  color: white;
  fill: white;
}

@media (min-width: 640px) {
  .video-card .hover-overlay svg {
    width: 48px;
    height: 48px;
  }
}

/* Gallery Indicator (Card) */
.video-card .gallery-indicator {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-weight: 600;
}

.video-card .gallery-indicator svg {
  width: 14px;
  height: 14px;
}

@media (min-width: 640px) {
  .video-card .gallery-indicator {
    font-size: 0.875rem;
    padding: 0.375rem 0.625rem;
  }

  .video-card .gallery-indicator svg {
    width: 16px;
    height: 16px;
  }
}

.card-tag {
  position: absolute;
  top: 0.375rem;
  left: 0.375rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  color: black;
  font-size: 0.625rem;
  padding: 0.1875rem 0.375rem;
  border-radius: 0.25rem;
  font-weight: 600;
}

@media (min-width: 640px) {
  .card-tag {
    top: 0.5rem;
    left: 0.5rem;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }
}

.card-title {
  font-weight: 700;
  font-size: 0.8125rem;
  margin-bottom: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s;
}

@media (min-width: 640px) {
  .card-title {
    font-size: 1rem;
  }
}

.card-description {
  font-size: 0.6875rem;
  color: var(--text-tertiary);
  margin-bottom: 0.375rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 640px) {
  .card-description {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
  }
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.375rem;
}

@media (min-width: 640px) {
  .card-tags {
    margin-bottom: 0.5rem;
  }
}

.card-tags span {
  font-size: 0.625rem;
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .card-tags span {
    font-size: 0.75rem;
  }
}

.card-affiliate {
  padding: 0.375rem;
  background: linear-gradient(135deg, var(--purple-50), var(--pink-50));
  border-radius: 0.375rem;
  border: 1px solid rgba(200, 169, 110, 0.15);
}

@media (min-width: 640px) {
  .card-affiliate {
    padding: 0.5rem;
    border-radius: 0.5rem;
  }
}

.card-affiliate-label {
  font-size: 0.625rem;
  color: var(--text-secondary);
  margin-bottom: 0.125rem;
}

@media (min-width: 640px) {
  .card-affiliate-label {
    font-size: 0.75rem;
  }
}

.card-affiliate-product {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .card-affiliate-product {
    font-size: 0.75rem;
  }
}

/* Loading */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem;
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .loading {
    padding: 2rem;
  }
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-color);
  border-top-color: var(--text-secondary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@media (min-width: 640px) {
  .spinner {
    width: 20px;
    height: 20px;
  }
}

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

.end-message {
  text-align: center;
  padding: 1.5rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

@media (min-width: 640px) {
  .end-message {
    padding: 2rem;
    font-size: 0.875rem;
  }
}

.empty-state {
  background: var(--bg-secondary);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: background-color 0.3s;
}

@media (min-width: 640px) {
  .empty-state {
    padding: 3rem;
  }
}

.empty-state svg {
  width: 48px;
  height: 48px;
  color: var(--text-muted);
  margin: 0 auto 1rem;
}

@media (min-width: 640px) {
  .empty-state svg {
    width: 64px;
    height: 64px;
  }
}

.empty-state p {
  color: var(--text-tertiary);
}

/* Footer */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 2rem 0;
  transition: background-color 0.3s;
}

@media (min-width: 640px) {
  .footer {
    padding: 3rem 0;
  }
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .footer-content {
    padding: 0 1.5rem;
  }
}

.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .footer-main {
    flex-direction: row;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
}

.footer-brand h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.15em;
}

@media (min-width: 640px) {
  .footer-brand h4 {
    font-size: 1.5rem;
  }
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--footer-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-social span {
  font-size: 0.8125rem;
}

@media (min-width: 640px) {
  .footer-social span {
    font-size: 0.875rem;
  }
}

.footer-rights {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.rights-notice {
  font-size: 0.7rem;
  line-height: 1.8;
  color: var(--footer-muted);
  opacity: 0.7;
  text-align: center;
}

@media (min-width: 640px) {
  .rights-notice {
    font-size: 0.75rem;
  }
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--footer-muted);
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .footer-bottom {
    padding-top: 2rem;
    font-size: 0.875rem;
  }
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

@media (min-width: 640px) {
  .modal {
    padding: 2rem;
  }
}

.modal.active {
  display: flex;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
}

@media (min-width: 640px) {
  .modal-close {
    top: 1rem;
    right: 1rem;
  }
}

.modal-close svg {
  width: 28px;
  height: 28px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

@media (min-width: 640px) {
  .modal-close svg {
    width: 32px;
    height: 32px;
  }
}

.modal-close:hover svg {
  color: white;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10;
}

@media (min-width: 640px) {
  .modal-nav {
    padding: 0.75rem;
  }
}

.modal-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-nav svg {
  width: 20px;
  height: 20px;
  color: white;
}

@media (min-width: 640px) {
  .modal-nav svg {
    width: 24px;
    height: 24px;
  }
}

.modal-prev {
  left: 0.5rem;
}

@media (min-width: 640px) {
  .modal-prev {
    left: 1rem;
  }
}

.modal-next {
  right: 0.5rem;
}

@media (min-width: 640px) {
  .modal-next {
    right: 1rem;
  }
}

.modal-content {
  position: relative;
  max-height: 85vh;
  max-width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 0.75rem;
  overflow: hidden;
  background: black;
}

.modal-content.landscape {
  aspect-ratio: auto;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .modal-content {
    max-height: 90vh;
    border-radius: 1rem;
  }

  .modal-content.landscape {
    max-width: 85vw;
  }
}

.modal-content > video,
.modal-content > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.modal-content.landscape > img {
  object-fit: contain;
  position: relative;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 70vh;
}

.modal-content.landscape .modal-info {
  position: relative;
  background: rgba(0, 0, 0, 0.8);
  width: 100%;
  border-radius: 0 0 0.75rem 0.75rem;
}

/* Modal Video Loading Overlay */
.modal-video-loading {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: white;
  font-size: 0.875rem;
}

.modal-loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@media (min-width: 640px) {
  .modal-loading-spinner {
    width: 56px;
    height: 56px;
    border-width: 4px;
  }

  .modal-video-loading {
    font-size: 1rem;
  }
}

.modal-controls {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .modal-controls {
    top: 1rem;
    right: 1rem;
  }
}

.modal-control-btn {
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}

.modal-control-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.modal-control-btn svg {
  width: 18px;
  height: 18px;
  color: white;
}

@media (min-width: 640px) {
  .modal-control-btn svg {
    width: 20px;
    height: 20px;
  }
}

.modal-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

@media (min-width: 640px) {
  .modal-info {
    padding: 1.5rem;
  }
}

.modal-title {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}

@media (min-width: 640px) {
  .modal-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
}

.modal-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .modal-description {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
  }
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .modal-tags {
    gap: 0.5rem;
    margin-bottom: 0.75rem;
  }
}

.modal-tag {
  padding: 0.1875rem 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  font-size: 0.625rem;
  color: white;
}

@media (min-width: 640px) {
  .modal-tag {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
  }
}

.modal-affiliate {
  padding: 0.5rem;
  background: linear-gradient(135deg, rgba(200, 169, 110, 0.2), rgba(232, 213, 176, 0.2));
  backdrop-filter: blur(4px);
  border-radius: 0.375rem;
  border: 1px solid rgba(200, 169, 110, 0.3);
}

@media (min-width: 640px) {
  .modal-affiliate {
    padding: 0.75rem;
    border-radius: 0.5rem;
  }
}

.modal-affiliate-label {
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
  .modal-affiliate-label {
    font-size: 0.75rem;
  }
}

.modal-affiliate-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.modal-affiliate-product {
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .modal-affiliate-product {
    font-size: 0.875rem;
  }
}

.modal-affiliate-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.625rem;
  color: #e8d5b0;
  text-decoration: none;
  font-weight: 600;
  flex-shrink: 0;
  transition: color 0.2s;
}

@media (min-width: 640px) {
  .modal-affiliate-link {
    font-size: 0.75rem;
  }
}

.modal-affiliate-link:hover {
  color: #ffffff;
}

.modal-affiliate-link svg {
  width: 10px;
  height: 10px;
}

@media (min-width: 640px) {
  .modal-affiliate-link svg {
    width: 12px;
    height: 12px;
  }
}

.modal-counter {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .modal-counter {
    bottom: 1rem;
    font-size: 0.875rem;
  }
}

/* Gallery Navigation (Modal) */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10;
}

.gallery-nav:hover {
  background: rgba(0, 0, 0, 0.7);
}

.gallery-nav svg {
  width: 20px;
  height: 20px;
  color: white;
}

@media (min-width: 640px) {
  .gallery-nav {
    padding: 0.75rem;
  }

  .gallery-nav svg {
    width: 24px;
    height: 24px;
  }
}

.gallery-nav-prev {
  left: 0.5rem;
}

.gallery-nav-next {
  right: 0.5rem;
}

@media (min-width: 640px) {
  .gallery-nav-prev {
    left: 1rem;
  }

  .gallery-nav-next {
    right: 1rem;
  }
}

.gallery-dots {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

@media (min-width: 640px) {
  .gallery-dots {
    bottom: 6rem;
  }
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
}

.gallery-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.gallery-dot.active {
  background: white;
  transform: scale(1.2);
}

@media (min-width: 640px) {
  .gallery-dot {
    width: 10px;
    height: 10px;
  }
}

/* SNS Follow Bar */
.sns-follow-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-secondary);
}

.sns-follow-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.4;
  flex-shrink: 0;
}

.sns-follow-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.sns-follow-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.6;
  text-decoration: none;
  transition: opacity 0.2s;
}

.sns-follow-link:hover {
  opacity: 1;
}

.sns-follow-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* News Section */
.news-section {
  padding: 5rem 0 4rem;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border-light);
}

.news-item {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.15s;
  flex-wrap: wrap;
}

@media (min-width: 640px) {
  .news-item {
    flex-wrap: nowrap;
  }
}

.news-date {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: #c8a96e;
  flex-shrink: 0;
  min-width: 5.5rem;
}

.news-tag {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  padding: 0.1rem 0.45rem;
  flex-shrink: 0;
}

.news-tag--event {
  color: #e8c480;
  border: 1px solid rgba(232, 196, 128, 0.45);
}

.news-tag--promotion {
  color: #c8a96e;
  border: 1px solid rgba(200, 169, 110, 0.35);
}

.news-tag--fashion {
  color: #a0a0a0;
  border: 1px solid rgba(160, 160, 160, 0.3);
}

.news-title {
  font-size: 0.85rem;
  line-height: 1.5;
  flex: 1;
}

/* Appearances Section */
.appearances-section {
  padding: 5rem 0 4rem;
}

.appearances-group {
  margin-bottom: 3rem;
}

.appearances-group-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c8a96e;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.appearances-group-icon {
  display: flex;
  align-items: center;
}

.appearances-group-icon svg {
  width: 14px;
  height: 14px;
  stroke: #c8a96e;
}

.appearances-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .appearances-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .appearances-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.appearance-card {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1rem 1.125rem;
  transition: border-color 0.2s;
}

.appearance-card:hover {
  border-color: #c8a96e;
}

.appearance-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c8a96e;
  border: 1px solid rgba(200, 169, 110, 0.4);
  border-radius: 3px;
  padding: 0.15rem 0.4rem;
  margin-bottom: 0.6rem;
}

.appearance-badge--model {
  color: #a0a0a0;
  border-color: rgba(160, 160, 160, 0.3);
}

.appearance-brand {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 0.2rem;
  line-height: 1.4;
}

.appearance-project {
  font-size: 0.75rem;
  opacity: 0.6;
  margin: 0;
  line-height: 1.4;
}

.appearances-note {
  font-size: 0.75rem;
  opacity: 0.45;
  text-align: center;
  margin-top: 1.5rem;
}

.appearance-card--upcoming {
  border-color: rgba(200, 169, 110, 0.5);
  background: rgba(200, 169, 110, 0.04);
}

.appearance-badge--upcoming {
  color: #e8c480;
  border-color: rgba(232, 196, 128, 0.5);
  animation: pulse-upcoming 2.4s ease-in-out infinite;
}

@keyframes pulse-upcoming {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
