/* ===================================
   かしこまり公式サイト - Modern Style
   =================================== */

/* Variables */
:root {
  --primary-yellow: #FFD700;
  --secondary-yellow: #FFC107;
  --accent-orange: #FF9800;
  --accent-green: #4CAF50;
  --text-dark: #333333;
  --text-light: #666666;
  --bg-light: #FFF9E6;
  --bg-white: #FFFFFF;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --font-main: 'M PLUS Rounded 1c', sans-serif;
  --font-accent: 'Kiwi Maru', serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-yellow);
  text-decoration: none;
  transition: var(--transition);
}

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

/* Loader */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

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

.sunflower-loader {
  position: relative;
  width: 80px;
  height: 80px;
  animation: rotate 2s linear infinite;
}

.sunflower-loader .petal {
  position: absolute;
  width: 20px;
  height: 30px;
  background: var(--primary-yellow);
  border-radius: 50% 50% 50% 0;
  top: 50%;
  left: 50%;
  transform-origin: 0 0;
}

.sunflower-loader .petal:nth-child(1) { transform: rotate(0deg) translate(-10px, -40px); }
.sunflower-loader .petal:nth-child(2) { transform: rotate(60deg) translate(-10px, -40px); }
.sunflower-loader .petal:nth-child(3) { transform: rotate(120deg) translate(-10px, -40px); }
.sunflower-loader .petal:nth-child(4) { transform: rotate(180deg) translate(-10px, -40px); }
.sunflower-loader .petal:nth-child(5) { transform: rotate(240deg) translate(-10px, -40px); }
.sunflower-loader .petal:nth-child(6) { transform: rotate(300deg) translate(-10px, -40px); }

.sunflower-loader .center {
  position: absolute;
  width: 30px;
  height: 30px;
  background: #8B4513;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 0.5rem 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.logo-icon {
  font-size: 2rem;
  margin-right: 0.5rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

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

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  padding: 0.5rem 0.3rem;
  white-space: nowrap;
  text-align: center;
  min-width: fit-content;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-yellow);
  transition: var(--transition);
}

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

.nav-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 50%;
  color: var(--text-dark);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary-yellow);
  transform: translateY(-2px);
}

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

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  margin: 3px 0;
  transition: var(--transition);
}

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

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

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 152, 0, 0.3));
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  margin-bottom: 1rem;
}

.title-main {
  display: block;
  font-size: 4rem;
  font-weight: 900;
  color: var(--primary-yellow);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease;
}

.title-sub {
  display: block;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-dark);
  opacity: 0.8;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 1s ease 0.6s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background: var(--accent-orange);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
  background: var(--text-dark);
  color: var(--bg-white);
}

.hero-visual {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.hero-character {
  width: 100%;
  max-width: 500px;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.sunflower-decoration {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.sunflower {
  position: absolute;
  width: 60px;
  height: 60px;
  background: var(--primary-yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 20px var(--primary-yellow);
  opacity: 0.3;
}

.sunflower::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: #8B4513;
  border-radius: 50%;
}

.sunflower-1 {
  top: 10%;
  right: 10%;
  animation: float 8s ease-in-out infinite;
}

.sunflower-2 {
  bottom: 20%;
  left: 5%;
  animation: float 10s ease-in-out infinite reverse;
}

.sunflower-3 {
  top: 50%;
  right: 5%;
  animation: float 7s ease-in-out infinite;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  margin: 0.5rem auto;
  border-right: 2px solid var(--text-dark);
  border-bottom: 2px solid var(--text-dark);
  transform: rotate(45deg);
}

/* Sections */
.section {
  padding: 5rem 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary-yellow);
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--primary-yellow);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-top: 1rem;
}

.bg-light {
  background-color: var(--bg-light);
}

/* Profile Section */
.profile-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}

.profile-image {
  position: relative;
}

.profile-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.profile-decoration {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 150px;
  height: 150px;
  opacity: 0.5;
}

.profile-name {
  font-size: 2.5rem;
  color: var(--primary-yellow);
  margin-bottom: 0.5rem;
}

.profile-title {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.profile-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.detail-item {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: 10px;
}

.detail-label {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.detail-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.profile-description {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary-yellow);
  color: var(--text-dark);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* News Section */
.news-header {
  text-align: center;
  margin-bottom: 3rem;
}

.news-description {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.news-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
  color: var(--bg-white);
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(29, 161, 242, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.news-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.news-link:hover {
  background: linear-gradient(135deg, #0d8bd9, #0a6fb5);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(29, 161, 242, 0.4);
  color: var(--bg-white);
}

.news-link:hover::before {
  left: 100%;
}

.news-embed-container {
  margin: 3rem auto;
  background: var(--bg-white);
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  transition: var(--transition);
  width: fit-content;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.news-embed-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2);
}

.news-post-embed {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.news-post-embed .twitter-tweet {
  margin: 0 !important;
  width: auto !important;
  max-width: 550px !important;
  min-width: 300px !important;
}

.news-footer {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

/* Videos Section */
.videos-header {
  text-align: center;
  margin-bottom: 3rem;
}

.videos-description {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.videos-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.videos-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #FF0000, #CC0000);
  color: var(--bg-white);
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.videos-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.videos-link:hover {
  background: linear-gradient(135deg, #CC0000, #990000);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
  color: var(--bg-white);
}

.videos-link:hover::before {
  left: 100%;
}

.videos-grid {
  display: flex;
  justify-content: center;
  margin: 3rem 0;
}

.video-card.latest-archive {
  max-width: 600px;
  width: 100%;
}

.video-card {
  background: var(--bg-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.video-card.featured {
  grid-row: 1 / 3;
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.video-card.featured .video-thumbnail {
  height: 315px;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.video-thumbnail iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 0, 0, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  transition: var(--transition);
  cursor: pointer;
}

.video-overlay:hover {
  background: rgba(255, 0, 0, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.video-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  line-height: 1.3;
}

.video-card.featured .video-title {
  font-size: 1.5rem;
}

.video-description {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

.video-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.video-date {
  color: var(--text-light);
  font-size: 0.85rem;
}

.video-type {
  background: var(--primary-yellow);
  color: var(--text-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.videos-footer {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

/* Music Section */
.music-featured {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.featured-video {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  background: transparent;
}

.featured-video iframe {
  width: 100%;
  height: 400px;
  border: none;
}

.video-category,
.music-category {
  margin-bottom: 1rem;
}

.category-label {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary-yellow);
  color: var(--text-dark);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.video-info {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: 10px;
}

.video-info h4 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.video-info p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0;
}

.featured-info h3 {
  color: var(--primary-yellow);
  margin-bottom: 1rem;
}

.music-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.music-description {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 2rem;
}

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

.music-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: var(--bg-light);
  border-radius: 10px;
  color: var(--text-dark);
  font-weight: 600;
  transition: var(--transition);
}

.music-link:hover {
  background: var(--primary-yellow);
  transform: translateX(5px);
}

.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.music-card {
  background: var(--bg-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  padding: 1.5rem;
}

.music-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.music-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.music-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

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

/* TuneCore Embed Section */
.tunecore-embed-section {
  margin: 3rem 0;
}

.tunecore-embed-container {
  background: var(--bg-white);
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  transition: var(--transition);
  overflow: hidden;
}

.tunecore-embed-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2);
}

.tunecore-embed-container iframe {
  width: 100%;
  height: 1000px;
  border: none;
  border-radius: 10px;
}

/* Music Grid Wrapper */
.music-grid-wrapper {
  margin: 3rem 0;
}

.music-grid-title {
  text-align: center;
  color: var(--primary-yellow);
  margin-bottom: 2rem;
  font-size: 2rem;
}

/* Schedule Section */
.schedule-content {
  display: flex;
  justify-content: center;
}

.schedule-calendar {
  background: var(--bg-white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.calendar-header h3 {
  color: var(--primary-yellow);
}

.calendar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dark);
  font-weight: 600;
}

.calendar-note {
  text-align: center;
  color: var(--text-light);
  padding: 3rem;
  background: var(--bg-light);
  border-radius: 10px;
}

.schedule-upcoming h3 {
  color: var(--primary-yellow);
  margin-bottom: 2rem;
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.event-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-white);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--primary-yellow);
  border-radius: 10px;
  font-weight: 700;
}

.date-month {
  font-size: 0.9rem;
}

.date-day {
  font-size: 1.8rem;
}

.event-info h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.event-info p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Goods Section */
.goods-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.goods-banner {
  display: block;
  transition: var(--transition);
}

.goods-banner:hover {
  transform: scale(1.05);
}

.goods-banner img {
  height: 80px;
  width: auto;
}

.goods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.goods-card {
  background: var(--bg-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.goods-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.goods-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.goods-card h4 {
  padding: 1.5rem 1.5rem 0.5rem;
  font-size: 1.2rem;
}

.goods-card p {
  padding: 0 1.5rem;
  color: var(--text-light);
}

.goods-link {
  display: inline-block;
  margin: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary-yellow);
  color: var(--text-dark);
  border-radius: 25px;
  font-weight: 600;
  transition: var(--transition);
}

.goods-link:hover {
  background: var(--accent-orange);
  color: var(--bg-white);
  transform: translateY(-2px);
}

/* Portfolio Section */
.portfolio {
  position: relative;
}

.portfolio-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.portfolio-image {
  max-width: 600px;
  width: 100%;
}

.portfolio-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
}

.expandable-image {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.expandable-image:hover {
  transform: scale(1.02);
}

.portfolio-header {
  text-align: center;
}

.portfolio-description {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.portfolio-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary-yellow), var(--secondary-yellow));
  color: var(--text-dark);
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.portfolio-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.portfolio-link:hover {
  background: linear-gradient(135deg, var(--accent-orange), #FF7043);
  color: var(--bg-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 152, 0, 0.4);
}

.portfolio-link:hover::before {
  left: 100%;
}


.timeline-summary {
  margin: 3rem 0;
}

.timeline-summary h3 {
  text-align: center;
  color: var(--primary-yellow);
  margin-bottom: 2rem;
  font-size: 2rem;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.summary-item {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--bg-white);
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-left: 4px solid var(--primary-yellow);
}

.summary-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.summary-year {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-yellow), var(--secondary-yellow));
  color: var(--text-dark);
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.summary-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.summary-content strong {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  display: block;
}

.summary-content p {
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

.portfolio-footer {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.update-info {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

/* Fan Art Section */
.fanart-message {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 3rem;
  color: var(--text-light);
}

.fanart-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.fanart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 2rem;
  background: var(--primary-yellow);
  color: var(--text-dark);
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.fanart-link:hover {
  background: var(--accent-orange);
  color: var(--bg-white);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--bg-white);
  padding: 3rem 0 1rem;
}

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

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  color: var(--primary-yellow);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--bg-white);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary-yellow);
  color: var(--text-dark);
}

.footer-links h4,
.footer-info h4 {
  color: var(--primary-yellow);
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  line-height: 2;
}

.footer-links a:hover {
  color: var(--primary-yellow);
}

.footer-info p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary-yellow);
  color: var(--text-dark);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

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

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

/* Image Modal */
.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.image-modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.image-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s ease;
}

.image-modal-close:hover {
  color: var(--primary-yellow);
}

.image-modal-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1.1rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px 20px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

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

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

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

/* Large Screen Adjustments */
@media (min-width: 1200px) {
  .nav-container {
    max-width: 1600px;
  }
  
  .nav-list {
    gap: 2rem;
  }
  
  .nav-link {
    font-size: 1rem;
    padding: 0.5rem 0.5rem;
  }
}

@media (min-width: 1400px) {
  .nav-list {
    gap: 2.5rem;
  }
  
  .nav-link {
    font-size: 1.1rem;
    padding: 0.5rem 0.8rem;
  }
}

/* Medium Screen Adjustments */
@media (max-width: 1199px) and (min-width: 992px) {
  .nav-list {
    gap: 1rem;
  }
  
  .nav-link {
    font-size: 0.85rem;
    padding: 0.5rem 0.2rem;
  }
}

@media (max-width: 991px) and (min-width: 769px) {
  .nav-list {
    gap: 0.8rem;
  }
  
  .nav-link {
    font-size: 0.8rem;
    padding: 0.5rem 0.1rem;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .profile-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .music-featured {
    grid-template-columns: 1fr;
  }
  
  
  .videos-categories {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem 0;
  }
  
  .video-category-section {
    padding: 1.5rem;
  }
  
  .tunecore-embed-container {
    padding: 1rem;
  }
  
  .tunecore-embed-container iframe {
    height: 700px;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  
  .hero {
    height: auto;
    min-height: calc(100vh - 70px);
    margin-top: 0;
    padding-top: 70px;
    padding-bottom: 2rem;
  }
  
  .hero-content {
    padding: 2rem 1rem;
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .hero-visual {
    display: none;
  }
  
  .hero-text {
    text-align: center;
    max-width: 100%;
  }
  
  .profile-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .portfolio-image {
    max-width: 500px;
  }
  
  .profile-details {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    max-width: none;
    margin: 0 auto 2rem;
  }
  
  .detail-item {
    padding: 0.8rem;
    text-align: center;
  }
  
  .detail-label {
    font-size: 1rem;
  }
  
  .detail-value {
    font-size: 1.2rem;
    font-weight: 600;
  }
  
  .portfolio-buttons,
  .news-buttons,
  .videos-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .portfolio-link,
  .news-link,
  .videos-link {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .goods-links {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .goods-banner img {
    height: 100px;
    max-width: 95%;
  }
  
  .summary-item {
    flex-direction: column;
    text-align: center;
  }
  
  .summary-year {
    margin-bottom: 1rem;
  }
  
  
  .news-embed-container {
    padding: 1rem;
    width: calc(100% - 2rem);
    max-width: calc(100% - 2rem);
  }
  
  .news-post-embed .twitter-tweet {
    min-width: 280px !important;
    max-width: 100% !important;
  }
  
  .tunecore-embed-container iframe {
    height: 600px;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 70px);
    background: var(--bg-white);
    flex-direction: column;
    padding: 2rem;
    transition: var(--transition);
    justify-content: flex-start;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 1.5rem;
  }
  
  .nav-link {
    font-size: 1.2rem;
    padding: 1rem 0;
    text-align: center;
    font-weight: 600;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .title-main {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-content {
    padding: 1.5rem 0.5rem;
  }
  
  .portfolio-image {
    max-width: 400px;
  }
  
  .music-grid,
  .goods-grid {
    grid-template-columns: 1fr;
  }
  
  .profile-details {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .detail-item {
    padding: 0.6rem;
    text-align: center;
  }
  
  .detail-label {
    font-size: 0.9rem;
  }
  
  .detail-value {
    font-size: 1.1rem;
    font-weight: 600;
  }
  
  .goods-links {
    gap: 1rem;
  }
  
  .goods-banner img {
    height: 80px;
    max-width: 90%;
  }
  
  .summary-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-embed-container {
    height: 500px;
  }
  
  .portfolio-link,
  .portfolio-toggle {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}