/*
Theme Name: MESI Theme
Theme URI: https://mesi.asia/
Author: OpenAI
Author URI: https://openai.com/
Description: A cinematic WordPress theme for MESI — Music for Planet & People.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: mesi-theme
*/

:root {
  --bg: #07110d;
  --bg-soft: #0d1713;
  --bg-card: rgba(13, 23, 19, 0.9);
  --line: rgba(163, 255, 18, 0.18);
  --text: #ecf5ef;
  --muted: #b9c5be;
  --primary: #b9ff2c;
  --primary-2: #89cc15;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(150,255,80,0.15), transparent 28%),
    radial-gradient(circle at top right, rgba(0,160,255,0.08), transparent 20%),
    linear-gradient(180deg, #08120e 0%, #050a08 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--container), calc(100% - 2rem)); margin: 0 auto; }
.narrow { width: min(900px, calc(100% - 2rem)); margin: 0 auto; }
.section { padding: 4.5rem 0; }
.section-tight { padding: 1rem 0 2rem; }
.section-dark { background: rgba(255,255,255,0.02); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.site-header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(4, 10, 8, 0.78);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.85rem; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.65rem; }
.brand-mark {
  width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at center, var(--primary), #5c9409);
  box-shadow: 0 0 24px rgba(185,255,44,0.8);
}
.site-nav { display: flex; align-items: center; gap: 1.35rem; }
.site-nav a { color: var(--muted); font-size: 0.98rem; }
.site-nav a.active, .site-nav a:hover { color: var(--primary); }
.nav-toggle { display: none; background: transparent; border: 0; color: white; font-size: 1.6rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.95rem 1.35rem; border-radius: 14px; border: 1px solid transparent;
  background: linear-gradient(135deg, var(--primary) 0%, #d8ff8e 100%);
  color: #061006; font-weight: 700; box-shadow: var(--shadow);
}
.btn:hover { transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--text); box-shadow: none; }
.btn-ghost { background: rgba(255,255,255,0.03); color: var(--text); border-color: rgba(255,255,255,0.08); }
.btn-sm { padding: 0.75rem 1rem; font-size: 0.94rem; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background-color: #0b0f0e;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,8,6,0.82) 0%, rgba(3,8,6,0.48) 38%, rgba(3,8,6,0.20) 100%),
    radial-gradient(circle at 20% 20%, rgba(255,194,69,0.18), transparent 22%),
    linear-gradient(180deg, rgba(255,160,56,0.10), rgba(0,0,0,0) 24%);
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: auto 0 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, rgba(4, 10, 8, 0.92));
  z-index: 1;

}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: end; padding: 5rem 0 4rem; }
.hero-copy h1, .page-hero h1 {
  font-family: 'Montserrat', sans-serif; line-height: 0.94; margin: 0.4rem 0 1rem;
  font-size: clamp(3rem, 7vw, 6.4rem); letter-spacing: -0.04em;
}
.hero-copy h1 span { color: var(--primary); }
.eyebrow { color: var(--primary); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.8rem; }
.lead { max-width: 640px; font-size: 1.15rem; line-height: 1.8; color: var(--muted); }
.lead.small { font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.card, .content-panel, .feature-card, .stat-card, .embed-box {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.now-playing {
  padding: 1.5rem;
  background: rgba(10, 16, 14, 0.62);
  border: 1px solid rgba(185,255,44,0.18);
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.22);
}
.glass { backdrop-filter: blur(16px); }
.now-playing { padding: 1.5rem; }
.wave {
  height: 58px; border-radius: 12px; margin: 1rem 0 1.2rem;
  background:
    linear-gradient(90deg, rgba(185,255,44,0.15), rgba(185,255,44,0.6), rgba(185,255,44,0.15)),
    repeating-linear-gradient(90deg, transparent 0 10px, rgba(255,255,255,0.06) 10px 12px);
}
.inline-link { color: var(--primary); font-weight: 600; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat-card { padding: 1.3rem 1.25rem; text-align: center; }
.stat-card strong { display: block; font-size: 2rem; color: var(--primary); font-family: 'Montserrat', sans-serif; }
.stat-card span { color: var(--muted); }

.section-heading { margin-bottom: 1.5rem; }
.section-heading h2, .content-panel h2, .embed-box h2, .card h3, .feature-card h3 { font-family: 'Montserrat', sans-serif; margin: 0.3rem 0 0.75rem; }
.card-grid { display: grid; gap: 1rem; }
.card-grid-5 { grid-template-columns: repeat(5, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.feature-card { display: block; padding: 1.4rem; min-height: 230px; transition: 0.2s ease; }
.feature-card:hover { transform: translateY(-3px); border-color: rgba(185,255,44,0.4); }
.feature-kicker { display: inline-block; color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; }
.feature-card p { color: var(--muted); line-height: 1.75; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.content-panel, .embed-box { padding: 2rem; }
.accent-panel {
  background: linear-gradient(135deg, rgba(185,255,44,0.12), rgba(255,255,255,0.03));
}
.platform-list, .pillars { display: flex; flex-wrap: wrap; gap: 0.75rem; padding: 0; list-style: none; }
.platform-list span, .pillars li {
  padding: 0.75rem 1rem; border-radius: 999px; border: 1px solid var(--line);
  color: var(--text); background: rgba(255,255,255,0.03);
}

.page-main { min-height: 100vh; }
.page-hero { padding: 7rem 0 2.5rem; }
.small-hero { min-height: 36vh; display: grid; align-items: end; }
.clean-list { list-style: none; padding: 0; margin: 0; }
.clean-list li { padding: 0.85rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); color: var(--muted); }
.clean-list li:last-child { border-bottom: 0; }
.radio-layout { align-items: start; }
.badge-live {
  display: inline-block; padding: 0.4rem 0.7rem; border-radius: 999px;
  background: #ff3f3f; color: white; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em;
}
.stream-box {
  margin-top: 1rem; border: 1px dashed rgba(185,255,44,0.35); border-radius: 16px;
  padding: 2rem; color: var(--muted);
}
.schedule-list li { display: flex; justify-content: space-between; gap: 1rem; }
.form-panel { display: grid; gap: 1rem; }
.form-panel label { display: grid; gap: 0.5rem; color: var(--muted); }
.form-panel input, .form-panel textarea {
  width: 100%; padding: 0.95rem 1rem; border-radius: 14px; border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03); color: white; font: inherit;
}

.site-footer { border-top: 1px solid var(--line); padding: 2rem 0; background: rgba(255,255,255,0.02); }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; color: var(--muted); }

@media (max-width: 1100px) {
  .card-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .two-col, .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .site-nav {
    display: none; position: absolute; top: 78px; left: 1rem; right: 1rem;
    background: #09120f; border: 1px solid var(--line); border-radius: 18px; padding: 1rem; flex-direction: column; align-items: stretch;
  }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .hero-copy h1, .page-hero h1 { font-size: clamp(2.4rem, 10vw, 4rem); }
  .stats-grid, .card-grid-3, .card-grid-5 { grid-template-columns: 1fr; }
}


/* WordPress helpers */
.screen-reader-text {position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;}
.site-main { min-height: 60vh; }
.site-nav .menu { display:flex; align-items:center; gap:1.35rem; list-style:none; margin:0; padding:0; }
.site-nav .menu li { list-style:none; }
.site-nav .menu a { color: var(--muted); font-size: 0.98rem; }
.site-nav .menu .current-menu-item > a,
.site-nav .menu .current_page_item > a,
.site-nav .menu a:hover { color: var(--primary); }
.site-nav .menu .menu-join a {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1rem; border-radius: 14px; border: 1px solid transparent;
  background: linear-gradient(135deg, var(--primary) 0%, #d8ff8e 100%);
  color: #061006; font-weight: 700; box-shadow: var(--shadow);
}
.custom-logo { max-height: 48px; width: auto; }
.entry-content p { color: var(--muted); line-height: 1.8; }
@media (max-width: 820px) {
  .site-nav .menu { flex-direction: column; align-items: stretch; }
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background-color: #0b0f0e;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,8,6,0.82) 0%, rgba(3,8,6,0.48) 38%, rgba(3,8,6,0.20) 100%),
    radial-gradient(circle at 20% 20%, rgba(255,194,69,0.18), transparent 22%),
    linear-gradient(180deg, rgba(255,160,56,0.10), rgba(0,0,0,0) 24%);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, rgba(4, 10, 8, 0.92));
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: 6rem 0 4rem;
}

.hero .btn-outline {
  background: rgba(255,255,255,0.04);
  border-color: rgba(185,255,44,0.45);
  color: #fff;
}

.hero .btn-ghost {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}

.now-playing {
  padding: 1.5rem;
  background: rgba(10, 16, 14, 0.62);
  border: 1px solid rgba(185,255,44,0.18);
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.22);
}

.join-layout {
  align-items: start;
}

.join-card {
  min-height: 250px;
}

.join-contact-box {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}

.form-panel select {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: white;
  font: inherit;
}

.wpforms-form {
  background: rgba(255,255,255,0.03);
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.wpforms-field input,
.wpforms-field textarea,
.wpforms-field select {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  color: white !important;
  border-radius: 12px !important;
}

.wpforms-submit {
  background: linear-gradient(135deg, var(--primary) 0%, #d8ff8e 100%) !important;
  color: #061006 !important;
  border: 0 !important;
  border-radius: 14px !important;
  font-weight: 700 !important;
  padding: 0.95rem 1.35rem !important;
}

.wpforms-field-label,
.wpforms-field-sublabel,
.wpforms-description {
  color: var(--text) !important;
}

.wpforms-confirmation-container-full {
  background: rgba(185,255,44,0.08) !important;
  border: 1px solid rgba(185,255,44,0.25) !important;
  color: var(--text) !important;
  border-radius: 16px !important;
}

@media (max-width: 820px) {
  .join-card {
    min-height: auto;
  }
}

