﻿.demo-hidden-content {
    display: none;
    margin-top: 20px;
}

.more-wrapper {
    margin-top: 15px;
}

.more-wrapper a {
    color: var(--text-color);
    font-weight: bold;
    cursor: pointer;
}

.more-wrapper a:hover {
    text-decoration: none;
}

.submit-wrapper {
    margin-top: 20px;
    text-align: center;
}

.btn-submit {
    background: #FFE600;
    border: none;
    padding: 10px 25px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
}

.btn-submit:hover {
    background: #ffd000;
}

/* ===== Overlay ===== */
.custom-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 9999;

    /* ทำให้เลื่อนทั้งหน้าได้ */
    overflow-y: auto;
    padding: 40px 15px;
}

/* ===== Modal Box ===== */
.modal-content {
    background: #f4f4f4 !important;
    max-width: 600px;
    width: 100%;
    margin: auto;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    position: relative;
}

/* ===== Close Button ===== */
.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 40px;
    height: 40px;
    background: #ddd;
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.close-modal:hover {
    background: #bbb;
}

/* ===== Title ===== */
.modal-content h2 {
    margin-bottom: 25px;
    font-weight: 700;
}

/* ===== Form Layout ===== */
#demoForm label {
    display: block;
    font-weight: 600;
    margin-bottom: 3px;
    margin-top: 8px;
}

#demoForm input,
#demoForm textarea {
    width: 100%;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: #fff !important;
    font-size: 14px;
    transition: 0.2s;
}

#demoForm input:focus,
#demoForm textarea:focus {
    border-color: #FFE600;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255,230,0,0.3);
}

/* ===== Submit Button ===== */
.modal-submit {
    text-align: center;
    margin-top: 25px;
}

.modal-submit .btn-submit {
    background: #222;
    color: #fff;
    padding: 12px 30px;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    transition: 0.2s;
}

.modal-submit .btn-submit:hover {
    background: #000;
}
/* แก้ Chrome Autofill ทำให้สีพื้นเหมือนช่องอื่น */
#demoForm input:-webkit-autofill,
#demoForm input:-webkit-autofill:hover,
#demoForm input:-webkit-autofill:focus,
#demoForm input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    box-shadow: 0 0 0 1000px #fff inset !important;
    -webkit-text-fill-color: #000 !important;
}
.artist-wrapper {
  margin-top: 64px;
  padding: 0 5%;
}

/* Title */
.artist-wrapper > h1 {
  text-transform: uppercase;
  font-size: 120px;
  margin-bottom: 48px;
  font-weight: 800;
}

/* GRID */
.artist-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}

/* CARD */
.artist-card {
  transition: all 0.3s ease;
}

.artist-card a {
  text-decoration: none;
  color: inherit;
}

/* IMAGE */
.artist-img {
  border-radius: 16px;
  overflow: hidden;
  background: #f5f5f5;
}

.artist-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  transition: transform 0.4s ease;
}

/* HOVER */
.artist-card:hover img {
  transform: scale(1.05);
}

/* NAME */
.artist-name {
  text-align: center;
  text-transform: uppercase;
  font-size: 14px;
  padding-top: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .artist-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .artist-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .artist-wrapper > h1 {
    font-size: 80px;
  }
}

@media (max-width: 768px) {
  .artist-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .artist-wrapper > h1 {
    font-size: 56px;
  }
}

@media (max-width: 480px) {
  .artist-grid {
    grid-template-columns: 1fr;
  }
}

.demo-toggle {
  font-weight: bold;
  text-transform: uppercase;
  margin: 16px 0;
  cursor: pointer;

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 16px;  
  padding-bottom: 8px;

  position: relative;
}

.demo-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%; 

  height: 2px;
  background: var(--underline-color, #000);
}

.demo-toggle .icon {
  font-size: 20px;
  transition: transform 0.3s ease;
}

/* ตอนเปิด */
.demo-toggle.active .icon {
  transform: rotate(45deg);
}

.box-your-demo h1 {
    font-size: 60px;
    font-weight: 900;
}

.box-your-demo {
    display: flex;
    gap: 64px;
    padding: 32px 56px;
    margin-bottom: 80px;
}

.box-your-demo > img {
    border-radius: 50%;
    width: 140px;
    height: 140px;
    box-shadow: 0 1px 40px rgba(0, 0, 0, 0.15);

    /* ขอบขาว */
    border: 3px solid #fff;

    /* glow ฟรุ้ง */
    box-shadow: 
        0 0 10px rgba(255,255,255,0.6),
        0 0 25px rgba(255,255,255,0.4),
        0 0 40px rgba(255,255,255,0.2);
}

.box-music-content-description {
    width: 100%;
    padding-right: 50px;
}