* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic Pro", "メイリオ",
    sans-serif;
}

body {
  height: 100%;
  width: 100%;
}

.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  padding: 40px 0;
  text-align: center;
  width: 100%;
}

.logo {
  height: 64px;
}

@media screen and (max-width: 1200px) { 
  .header {
      padding: 16px 0;
  }
  .logo {
      height: 40px;
  }
}

.content {
  display: flex;
  justify-content: center;
  gap: 64px;
  padding: 100px 16px 0px 16px;
  height: 100%;
  width: 100%;
}

.content-profile {
  display: inline-flex;
  flex-direction: column;
}

.profile-card {
  width: 496px;
  max-height: 428px;
  background-color: white;
  border-radius: 24px;
  padding: 24px;
}

.profile-header {
  display: inline-flex;
  align-items: center;
  padding-bottom: 1rem;
}

.profile-img-container {
  display: inline-flex;
  align-items: center;
}

.profile-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-left: 40px;
  height: 100%;
}

.stat {
  text-align: center;
}

.stat-number {
  color: #f02c54;
  font-weight: 600;
  font-size: 24px;
}

.stat-label {
  font-weight: 300;
  font-size: 12px;
  color: #333333;
}

.profile-name {
  font-weight: 600;
  font-size: 20px;
  color: #f02c54;
  padding-bottom: 1rem;
}

.profile-bio {
  display: inline-flex;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.4;
  padding-bottom: 2rem;
  color: #333;
  border-bottom: 1px solid #d1d1d1;
  width: 100%;
}

.social-links {
  display: inline-flex;
  align-items: center;
  padding-top: 1.5rem;
  width: 100%;
  gap: 24px;
}

.social-text {
  font-weight: 600;
  font-size: 16px;
  color: #333333;
}

.social-icons {
  display: flex;
  gap: 24px;
  cursor: pointer;
}

.social-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.twitter {
  background-color: black;
  color: white;
}

.facebook {
  background-color: #1877f2;
  color: white;
}

.app-download {
  color: white;
  text-align: center;
  margin-top: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: none;
}

.app-download img {
  height: 96px;
  width: 100%;
  cursor: pointer;
}

.app-download-text {
  padding-left: 2rem;
  font-weight: 600;
  font-size: 32px;
  color: #fff;
}

/* Hide mobile app download button on PC */
.sp-app-download {
  display: none;
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 1200px) {
  .content {
    justify-content: flex-start;
    flex-direction: column;
    padding: 32px 16px 0px 16px;
    gap: 24px;
    align-items: center;
  }

  .content-profile {
    width: 358px;
  }

  .profile-card,
  .video-section {
    width: 100%;
    max-width: 400px;
    padding: 16px;
  }

  .profile-header {
    width: 100%;
  }

  .profile-img {
    width: 96px;
    height: 96px;
  }

  .profile-stats {
    padding-left: 2rem;
    gap: 2rem;
  }

  .stat-number {
    font-size: 18px;
  }

  .profile-bio {
    font-size: 12px;
    padding-bottom: 16px;
  }

  .social-links {
    padding-top: 16px;
    gap: 16px
  }

  .social-icons {
      gap: 16px;
  }

  .social-icon {
    width: 40px;
    height: 40px;
  }

  .app-download {
    display: none;
  }

  .sp-app-download {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    margin: 24px 0px 24px 0px;
    gap: 1.5rem;
    width: 358px;
    height: auto;
    background: transparent;
}

  .sp-app-download-text {
    padding-left: 2rem;
    font-weight: 600;
    font-size: 24px;
    color: #fff;
  }
}

/* MOVIE */
.video-section {
  background-color: white;
  border-radius: 24px;
  padding: 24px 24px 0 24px;
  width: 640px;
  /* max-height: 728px; */
  height: fit-content;
  display: flex;
  flex-direction: column;
}

.video-header {
  display: inline-flex;
  font-size: 24px;
  font-weight: 600;
  color: #f02c54;
  padding-bottom: 0.75rem;
}

.video-inline {
  display: inline-flex;
  border-top: 2px solid #f02c54;
  padding-bottom: 24px;
}

.video-list {
  display: inline-flex;
  flex-direction: column;
  max-height: 520px;
  overflow-y: auto;
  overflow-x: hidden;
}

.video-item {
  display: inline-flex;
  padding-bottom: 24px;
  gap: 16px;
  cursor: pointer;
  transition: transform 0.2s ease;
  width: 100%;
}

.video-thumbnail {
  width: 80px;
  border-radius: 5px;
  object-fit: cover;
  position: relative;
  overflow: hidden;
  flex-shrink: 0
}

.video-thumbnail img {
  width: 80px;
  height: 80px;
  border-radius: 5px;
}

.video-info-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.video-info {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.video-title {
  font-weight: 600;
  font-size: 16px;
  color: #f02c54;
}

.video-subtitle {
  font-weight: 600;
  font-size: 12px;
  color: #f02c54;
}

.video-stats {
  display: flex;
  align-items: center;
  gap: 12px;
}

.video-stats-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.video-stats-item span {
  font-weight: 300;
  font-size: 12px;
  color: #333333;
}

.video-date {
  display: flex;
  align-items: center;
}

@media screen and (max-width: 1200px) {
  .video-date {
    margin-top: 12px;
  }
}

.video-date-text {
  font-weight: 300;
  font-size: 12px;
  color: #333333;
  background-color: #e9e9e9;
  border-radius: 50px;
  white-space: nowrap;
  padding: 6px 12px;
}

.app-view-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 0;
}

.app-view {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  color: white;
  border: none;
  padding: 16px 0;
  cursor: pointer;
}

.app-view img { 
  height: 56px;
}

.app-view-text {
  font-weight: 600;
  font-size: 18px;
  padding-left: 24px;
}

.app-view-icon {
  width: 40px;
  height: 40px;
  padding-right: 8px;
}

/* Media Queries for Mobile */
@media screen and (max-width: 1200px) {
  .video-section {
    width: 358px;
    padding: 15px 15px 0 15px;
  }

  .video-header {
    font-size: 20px;
  }

  .video-inline {
    padding-bottom: 16px;
  }

  .video-title {
    font-size: 14px;
  }

  .video-date-text {
    font-size: 10px;
    padding: 0.25rem 0.5rem;
  }

  .app-view-text {
    font-size: 16px;
  }

  .video-info-container {
    display: flex;
    flex-direction: column;
  }

  .video-stats {
    gap: 8px;
} 

  .video-stats-item span {
    font-size: 10px;
  }

  .video-stats-item img {
    width: 16px;
    height: 16px;
  }

  .app-view-container {
    padding: 16px 0;
  }

  .video-list {
    max-height: 593px;
  }

  .video-item {
    gap: 12px;
}

  .app-view {
    padding: 12px 0;
  }

  .app-view img { 
    height: 48px;
  }
}

/* Video Popup Modal */
.video-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
  opacity: 1;
  transition: opacity 0.3s ease;
  overflow-y: auto;
  padding: 20px 0;
}

.video-popup-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  overflow: hidden;
  margin: auto;
}

.video-popup-header {
  display: flex;
  align-items: center;
  height: 100px;
  margin-bottom: 40px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.video-popup-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.video-popup-profile img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
}

.video-popup-profile-info {
  display: flex;
  flex-direction: column;
}

.video-popup-profile-name {
  font-weight: 600;
  font-size: 24px;
  padding-bottom: 4px;
  color: #f02c54;
}

.video-popup-profile-meta {
  font-weight: 600;
  font-size: 14px;
  color: #f02c54;
  padding-bottom: 4px;
}

.video-popup-close {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: fixed;
  right: 13%;
  top: 5%;
}

.video-popup-close img {
  width: 100px;
  height: 100px;
}

.video-popup-content {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 26px;
}

.video-popup-player {
  position: relative;
  width: 100%;
  background-color: #000;
  z-index: 10;
}

.video-popup-player img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-popup-player video {
  display: block;
  width: 100%;
  max-height: 78vh;
  margin: auto;
}

.video-popup-stats {
  display: flex;
  align-items: center;
  gap: 16px;
}

.video-popup-stats-item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-direction: row;
}

.video-popup-stats-item img {
  width: 24px;
  height: 24px;
}

.video-popup-stats-item span {
  font-weight: 300;
  font-size: 12px;
  color: #333;
}

.music-img {
  position: fixed;
  top: 50%;
  left: 11%;
  width: 220px;
  height: 220px;
  z-index: 10;
}

.music-background {
  width: 69%;
  height: 44%;
  background-color: #bf79fb;
  z-index: 1;
  position: fixed;
  top: 56%;
  left: 16%;
  border-radius: 24px 24px 0px 0px;
}

@media screen and (max-width: 1500px) {
  .music-img {
      display: none;
  }
}

/* Mobile styles */
@media screen and (max-width: 768px) {
  .video-popup-overlay {
    padding: 0;
  }

  .video-popup-container {
    max-width: 90%;
    /* max-height: 75vh; */
    height: auto;
    border-radius: 0;
    margin: 0;
  }

  .video-popup-stats-count {
    font-size: 16px;
  }

  .video-popup-stats-label {
    font-size: 10px;
  }

  .music-img {
    display: none;
  }

  .video-popup-close {
    right: 3%;
    top: 3%;
  }

  .video-popup-close img {
    width: 48px;
    height: 48px;
  }

  .video-popup-profile {
    gap: 12px;
  }

  .video-popup-profile > img {
    width: 80px;
    height: 80px;
  }

  .video-popup-profile-name {
    font-size: 18px;
  }

  .video-popup-profile-meta {
    font-size: 12px;
  }

  .video-popup-stats-item span {
    font-size: 10px;
  }

  .video-popup-stats-item img {
    width: 16px;
    height: 16px;
  }

  .video-popup-header {
    margin-bottom: 32px;
  }

  .music-background {
    width: 100%;
    left: 0;
    right: 0;
  }

  .video-popup-player video {
    max-height: 60vh;
  }
}

/* CUSTOM */
.karaoke-scene {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 1348px;
  background-image: url("/static/images/lp_20250409/profile/profile_bg.png");
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
}
@media screen and (max-width: 1200px) {
  .karaoke-scene {
    height: 1646px;
    background-image: url("/static/images/lp_20250409/profile/profile_bg_sp.png");
  }
}
