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

body {
  font-family: 'Inter', sans-serif;
  background: #0d0d0d;
  color: #ffffff;
  line-height: 1.6;
}

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: #3A4936;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 1.25rem;
  box-shadow: 0 4px 15px rgba(58, 73, 54, 0.4);
  transition: all 0.3s;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  background: #4a5f44;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(58, 73, 54, 0.6);
}

/* Language toggle slider */
.lang-toggle {
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1000;
}

.lang-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #555;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.lang-label.active {
  color: #ff8a4c;
}

.toggle-track {
  position: relative;
  width: 36px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
}

.toggle-track:hover {
  background: rgba(255, 255, 255, 0.15);
}

.toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #ff8a4c;
  border-radius: 50%;
  transition: transform 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* When on EN page, thumb moves right */
.toggle-track.active .toggle-thumb {
  transform: translateX(16px);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: left;
  padding: 3rem 2rem;
  background: #0d0d0d;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 138, 76, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.profile-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #3A4936;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow:
    0 0 20px rgba(58, 73, 54, 0.7),
    0 0 40px rgba(58, 73, 54, 0.5),
    0 0 60px rgba(58, 73, 54, 0.3);
  flex-shrink: 0;
  border: 2px solid rgba(58, 73, 54, 0.5);
  overflow: hidden;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #ffffff;
}

.hero .tagline {
  font-size: 1rem;
  color: #888;
  margin-bottom: 1rem;
}

.hero .tagline .jp,
.hero .tagline .en {
  color: #666;
}

/* Section Styles */
section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #ff8a4c;
}

/* Featured Release */
.featured {
  background: #111111;
  padding: 3rem 2rem;
}

.featured-content {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.featured-video {
  width: 100%;
}

.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #666;
}

.play-button {
  width: 80px;
  height: 80px;
  background: rgba(255, 138, 76, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin-bottom: 1rem;
  box-shadow: 0 10px 30px rgba(255, 138, 76, 0.3);
}

.video-note {
  font-size: 0.85rem;
  color: #555;
}

.featured-info h3 {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.featured-info .artist {
  color: #ff8a4c;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.featured-info .year {
  color: #666;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
}

.featured-info .credits {
  color: #888;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.platform-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.platform-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s;
}

.platform-link img {
  width: 22px;
  height: 22px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.platform-link:hover {
  background: rgba(255, 138, 76, 0.3);
}

.platform-link:hover img {
  opacity: 1;
}

/* Discography Grid */
.discography-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.release-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.release-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(58, 73, 54, 0.6);
  box-shadow: 0 10px 30px rgba(58, 73, 54, 0.15);
}

.release-cover {
  aspect-ratio: 1;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.release-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.release-cover::after {
  content: '\25B6';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 50px;
  height: 50px;
  background: rgba(255, 138, 76, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
  opacity: 0;
  transition: all 0.3s;
}

.release-card:hover .release-cover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.release-info {
  padding: 1.25rem;
}

.release-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.release-info .meta {
  color: #666;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.release-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.release-info .credits {
  color: #666;
  font-size: 0.7rem;
  margin: 0;
}

.credit-line {
  display: block;
}

.credit-link {
  color: #ff8a4c;
  text-decoration: none;
  transition: color 0.2s;
}

.credit-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* Extra icon buttons (downloads, lyrics) */
.extra-buttons {
  display: flex;
  gap: 0.4rem;
  margin: 0.75rem 0;
}

.icon-btn {
  position: relative;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.icon-btn svg {
  width: 14px;
  height: 14px;
  fill: #888;
  transition: fill 0.2s;
}

.icon-btn:hover {
  background: #3A4936;
}

.icon-btn:hover svg {
  fill: #fff;
}

/* Primary action - Download (filled) */
.icon-btn-primary {
  background: rgba(58, 73, 54, 0.5);
}

.icon-btn-primary svg {
  fill: #a8b8a4;
}

.icon-btn-primary:hover {
  background: #3A4936;
}

.icon-btn-primary:hover svg {
  fill: #fff;
}

/* Secondary action - Lyrics (outlined) */
.icon-btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.icon-btn-secondary svg {
  fill: #666;
}

.icon-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.icon-btn-secondary:hover svg {
  fill: #aaa;
}

.featured-extra-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.featured-icon-btn {
  position: relative;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.featured-icon-btn svg {
  width: 18px;
  height: 18px;
  fill: #888;
  transition: fill 0.2s;
}

.featured-icon-btn:hover {
  background: #3A4936;
}

.featured-icon-btn:hover svg {
  fill: #fff;
}

/* Featured primary action - Download (filled) */
.featured-icon-btn-primary {
  background: rgba(58, 73, 54, 0.5);
}

.featured-icon-btn-primary svg {
  fill: #a8b8a4;
}

.featured-icon-btn-primary:hover {
  background: #3A4936;
}

.featured-icon-btn-primary:hover svg {
  fill: #fff;
}

/* Featured secondary action - Lyrics (outlined) */
.featured-icon-btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.featured-icon-btn-secondary svg {
  fill: #666;
}

.featured-icon-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.featured-icon-btn-secondary:hover svg {
  fill: #aaa;
}

/* Modals */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: #1a1a1a;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
  font-size: 1.1rem;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  color: #888;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.modal-close:hover {
  color: #fff;
}

.modal-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-tab {
  flex: 1;
  padding: 0.75rem;
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.modal-tab:hover {
  color: #aaa;
}

.modal-tab.active {
  color: #ff8a4c;
  border-bottom: 2px solid #ff8a4c;
}

.modal-content {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.lyrics-text {
  white-space: pre-wrap;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #ccc;
}

.modal-small {
  max-width: 360px;
}

.download-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.download-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: all 0.2s;
}

.download-option:hover {
  background: rgba(58, 73, 54, 0.4);
}

.download-option svg {
  width: 22px;
  height: 22px;
  fill: #ff8a4c;
  flex-shrink: 0;
}

.download-option .jp {
  color: #888;
  font-weight: 400;
}

/* Video Modal */
.modal-video {
  max-width: 900px;
  width: 100%;
}

.modal-content-video {
  padding: 0;
  background: #000;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #666;
  font-size: 0.9rem;
}

.release-link {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s;
}

.release-link img {
  width: 18px;
  height: 18px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.release-link:hover {
  background: #3A4936;
}

.release-link:hover img {
  opacity: 1;
}

/* Footer */
footer {
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s;
}

.social-link img {
  width: 22px;
  height: 22px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.social-link:hover {
  background: rgba(58, 73, 54, 0.6);
}

.social-link:hover img {
  opacity: 1;
}

.contact-line {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.copyright {
  color: #444;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .featured-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .platform-links {
    justify-content: center;
  }

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

  .release-links {
    justify-content: center;
  }

  .extra-buttons {
    justify-content: center;
  }

  .featured-extra-buttons {
    justify-content: center;
  }

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

  .scroll-top {
    bottom: 1rem;
    right: 1rem;
  }
}
