/* ===== 灣島皇后 官網共用樣式 ===== */
:root {
  --pink-dusty: #D99CB2;
  --pink-light: #F2D5E0;
  --pink-hot:   #F294D1;
  --purple:     #7660A6;
  --gold:       #F2DE79;

  --ink:        #2E2233;
  --ink-soft:   #5C4D63;
  --paper:      #FFFBFB;

  --radius: 20px;
  --shadow: 0 10px 30px rgba(118, 96, 166, 0.18);
  --font-display: "Noto Serif TC", "Songti TC", serif;
  --font-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--purple), #8d78bf);
  box-shadow: 0 4px 18px rgba(46, 34, 51, 0.15);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #fff;
}

.brand .crown {
  color: var(--gold);
  font-size: 20px;
}

.brand .logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.site-footer .brand .logo-img {
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 1px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--gold);
  color: var(--purple);
  font-weight: 700;
}

@media (max-width: 760px) {
  .nav {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 14px 16px;
  }

  .nav-links {
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .nav-links a {
    padding: 6px 12px;
    font-size: 13px;
  }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 20% 20%, rgba(242, 222, 121, 0.35), transparent 45%),
    linear-gradient(135deg, var(--purple) 0%, #9b7fc9 55%, var(--pink-hot) 100%);
  color: #fff;
  padding: 96px 24px 110px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 60px;
  background: var(--paper);
  border-radius: 60% 60% 0 0 / 100% 100% 0 0;
}

/* ---------- Team photo banner ---------- */
.team-banner {
  background: var(--purple);
  width: 100%;
  aspect-ratio: 3 / 1;
  overflow: hidden;
}

.team-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  display: block;
}

@media (max-width: 640px) {
  .team-banner { aspect-ratio: 4 / 3; }
  .team-banner img { object-position: center 62%; }
}

.hero-eyebrow {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 3px;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: 10px;
  margin: 0 0 20px;
}

.hero p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 17px;
  color: rgba(255,255,255,0.92);
}

.hero-cta {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 2px solid transparent;
}

.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: var(--gold);
  color: var(--purple);
  box-shadow: 0 8px 20px rgba(242, 222, 121, 0.45);
}

.btn-outline {
  border-color: rgba(255,255,255,0.8);
  color: #fff;
}

.btn-hot {
  background: var(--pink-hot);
  color: #fff;
  box-shadow: 0 8px 20px rgba(242, 148, 209, 0.45);
}

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-alt { background: var(--pink-light); }

.section-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 36px);
  color: var(--purple);
  letter-spacing: 4px;
  margin-bottom: 8px;
}

.section-sub {
  text-align: center;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 15px;
}

/* ---------- Cards grid (四大發展項目) ---------- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.pillar-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--pink-hot);
  transition: transform 0.2s ease;
}

.pillar-card:nth-child(2) { border-top-color: var(--purple); }
.pillar-card:nth-child(3) { border-top-color: var(--gold); }
.pillar-card:nth-child(4) { border-top-color: var(--pink-dusty); }

.pillar-card:hover { transform: translateY(-6px); }

.pillar-card .num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--pink-hot);
  letter-spacing: 2px;
}

.pillar-card h3 {
  font-family: var(--font-display);
  color: var(--purple);
  margin: 10px 0 12px;
  font-size: 19px;
}

.pillar-card p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Video / 演出參考 ---------- */
.video-card {
  background: var(--purple);
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.video-placeholder {
  background: linear-gradient(135deg, #5f4d8a, var(--pink-hot));
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  position: relative;
}

.video-placeholder .play {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.video-info h3 {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 2px;
  margin: 0;
}

.video-info p { color: rgba(255,255,255,0.85); font-size: 14px; margin: 0; }

@media (max-width: 720px) {
  .video-card { grid-template-columns: 1fr; }
}

/* ---------- Press / 媒體報導 ---------- */
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.press-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 26px 24px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--gold);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.press-card .press-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--pink-hot);
  letter-spacing: 1px;
  font-weight: 700;
}

.press-card .press-meta .date {
  color: var(--ink-soft);
  font-weight: 400;
}

.press-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
}

.press-card h3 a:hover { color: var(--pink-hot); }

.press-card a.read-more {
  align-self: flex-start;
  font-size: 12px;
  color: var(--purple);
  font-weight: 700;
  border-bottom: 1px solid var(--pink-dusty);
}

.press-card a.read-more:hover { color: var(--pink-hot); border-color: var(--pink-hot); }

/* ---------- Roster ---------- */
.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.queen-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.queen-avatar {
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 52px;
  color: #fff;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
}

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

.queen-avatar span.tag {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-size: 11px;
  background: rgba(0,0,0,0.25);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 1px;
  font-family: var(--font-body);
}

.queen-body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }

.queen-body h3 {
  font-family: var(--font-display);
  color: var(--purple);
  margin: 0 0 4px;
  font-size: 20px;
  letter-spacing: 1px;
}

.queen-body .en-name {
  font-size: 12px;
  color: var(--pink-hot);
  letter-spacing: 2px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.queen-body p {
  font-size: 13.5px;
  color: var(--ink-soft);
  flex: 1;
}

.queen-links {
  margin-top: 14px;
  display: flex;
  gap: 10px;
}

.queen-links a {
  font-size: 12px;
  border: 1px solid var(--pink-dusty);
  color: var(--purple);
  padding: 5px 14px;
  border-radius: 999px;
}

.queen-links a:hover { background: var(--pink-light); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  border-left: 6px solid var(--pink-hot);
}

.info-card h3 {
  font-family: var(--font-display);
  color: var(--purple);
  margin-top: 0;
}

.info-card a.big-link {
  font-size: 18px;
  font-weight: 700;
  color: var(--pink-hot);
}

.social-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.social-pill {
  border: 1px solid var(--pink-dusty);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  color: var(--purple);
}
.social-pill:hover { background: var(--pink-light); }

form.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form label {
  font-size: 13px;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1.5px solid var(--pink-light);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: #FFFDFD;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--pink-hot);
}

.contact-form button {
  align-self: flex-start;
  cursor: pointer;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--purple);
  color: rgba(255,255,255,0.85);
  padding: 48px 24px 28px;
  text-align: center;
  font-size: 13px;
}

.site-footer .brand {
  justify-content: center;
  margin-bottom: 14px;
  font-size: 18px;
}

.site-footer .foot-links {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin: 14px 0;
  flex-wrap: wrap;
}

.site-footer .foot-links a { color: #fff; }
.site-footer .foot-links a:hover { color: var(--gold); }

.site-footer .copyright {
  margin-top: 18px;
  color: rgba(255,255,255,0.55);
  font-size: 12px;
}

/* Avatar color rotation */
.c1 { background: linear-gradient(135deg, var(--pink-hot), var(--purple)); }
.c2 { background: linear-gradient(135deg, var(--purple), var(--pink-dusty)); }
.c3 { background: linear-gradient(135deg, var(--gold), var(--pink-hot)); }
.c4 { background: linear-gradient(135deg, var(--pink-dusty), var(--purple)); }

/* ---------- 最新資訊 News / Events ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.news-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.news-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--pink-light), var(--pink-dusty));
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-date-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--purple);
  color: #fff;
  padding: 8px 16px;
  border-radius: 12px;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 6px 14px rgba(46,34,51,0.25);
}

.news-date-badge .month { display: block; font-size: 11px; letter-spacing: 1px; opacity: 0.85; }
.news-date-badge .day { display: block; font-size: 20px; font-weight: 700; font-family: var(--font-display); }

.news-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.news-body h3 {
  font-family: var(--font-display);
  color: var(--purple);
  font-size: 20px;
  margin: 0;
}

.news-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--ink-soft);
}

.news-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-body p.news-desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  flex: 1;
  margin: 4px 0 0;
}

.news-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.news-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--pink-light);
  color: var(--purple);
  font-size: 11px;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
}

.news-tag.tag-soldout { background: #e5e5e5; color: #888; }
.news-tag.tag-new { background: var(--gold); color: var(--purple); }

/* ---------- 活動花絮 Gallery ---------- */
.album { margin-bottom: 64px; }
.album:last-child { margin-bottom: 0; }

.album-header {
  margin-bottom: 24px;
}

.album-header h2 {
  font-family: var(--font-display);
  color: var(--purple);
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: 2px;
  margin: 0 0 6px;
}

.album-header p {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

.gallery-thumb {
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--pink-light);
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}

.gallery-thumb:hover { transform: scale(1.03); }

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 24, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
}

.lightbox.open { display: flex; }

.lightbox-img {
  max-width: 90vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255,255,255,0.28); }

.lightbox-close {
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  font-size: 18px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 30px;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-count {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  letter-spacing: 1px;
}

@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
  .lightbox-nav { width: 40px; height: 40px; font-size: 22px; }
}

/* Empty state */
.news-empty {
  text-align: center;
  padding: 70px 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.news-empty .icon {
  font-size: 42px;
  margin-bottom: 16px;
}

.news-empty h3 {
  font-family: var(--font-display);
  color: var(--purple);
  font-size: 22px;
  margin: 0 0 10px;
}

.news-empty p {
  color: var(--ink-soft);
  font-size: 14px;
  max-width: 420px;
  margin: 0 auto 24px;
}
