/* ==================== RESET & BASE ==================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --pink: #ff2d7b;
  --cyan: #00f0ff;
  --dark: #0a0a0f;
  --dark2: #12121a;
  --dark3: #1a1a2e;
  --gold: #ffd700;
  --green: #00ff88;
  --text: #ffffff;
  --text-dim: #888899;
}

html, body {
  width: 100%;
  min-height: 100%;
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--dark);
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

/* ==================== APP CONTAINER ==================== */
.app-container {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-bottom: 32px;
}

/* ==================== HEADER ==================== */
.header {
  text-align: center;
  padding: 8px 0;
}

.brand {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 4px;
  text-shadow: 0 0 10px rgba(255, 45, 123, 0.5);
  margin-bottom: 4px;
}

.app-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.title-jp {
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-en {
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ==================== DATE NAVIGATION ==================== */
.date-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  justify-content: center;
}

.nav-btn {
  width: 44px;
  height: 44px;
  border: 2px solid var(--cyan);
  background: transparent;
  color: var(--cyan);
  font-size: 20px;
  font-weight: 900;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-btn:hover, .nav-btn:active {
  background: var(--cyan);
  color: var(--dark);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.date-display {
  text-align: center;
  flex: 1;
  min-width: 0;
}

.date-main {
  font-family: 'Orbitron', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: 1px;
}

.date-day {
  font-size: 16px;
  font-weight: 700;
  color: var(--pink);
  margin-top: 2px;
}

.btn-today {
  background: transparent;
  border: 1px solid var(--text-dim);
  color: var(--text-dim);
  font-size: 12px;
  font-family: 'Noto Sans JP', sans-serif;
  padding: 4px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-today:hover, .btn-today:active {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ==================== MAIN CARD ==================== */
.card {
  width: 100%;
  background: var(--dark2);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 45, 123, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 45, 123, 0.1);
}

/* ==================== IMAGE ==================== */
.image-container {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  background: var(--dark3);
}

.daily-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.daily-image.loading {
  opacity: 0;
}

/* ==================== TARGET MUSCLE ==================== */
.target-muscle {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.target-value {
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==================== WORKOUT MENU ==================== */
.workout-section {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.workout-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.workout-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--dark3);
  border-radius: 10px;
  border-left: 3px solid var(--pink);
}

.workout-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--pink);
  min-width: 20px;
}

.workout-text-jp {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.workout-text-en {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 1px;
}

/* ==================== QUOTE ==================== */
.quote-section {
  padding: 20px 20px;
  text-align: center;
}

.daily-quote {
  position: relative;
  padding: 0 8px;
}

.daily-quote .quote-jp {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.6;
}

.daily-quote .quote-en {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
  font-style: italic;
}

/* ==================== SHARE BUTTON ==================== */
.btn-share {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 12px;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-share:hover, .btn-share:active {
  border-color: var(--cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.share-icon {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 18px;
}

/* ==================== PATREON CTA ==================== */
.patreon-cta {
  display: block;
  width: 100%;
  padding: 20px;
  background: linear-gradient(135deg, rgba(255, 45, 123, 0.15), rgba(255, 45, 123, 0.05));
  border: 1px solid rgba(255, 45, 123, 0.3);
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
}

.patreon-cta:hover, .patreon-cta:active {
  border-color: var(--pink);
  box-shadow: 0 0 20px rgba(255, 45, 123, 0.3);
  transform: translateY(-1px);
}

.patreon-text-jp {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.patreon-text-en {
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.patreon-btn {
  display: inline-block;
  padding: 8px 32px;
  background: var(--pink);
  color: white;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 14px;
  border-radius: 24px;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 0 15px rgba(255, 45, 123, 0.4);
}

/* ==================== FOOTER ==================== */
.footer {
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
  padding: 8px 0;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.card {
  animation: fadeIn 0.4s ease;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 360px) {
  .date-main {
    font-size: 18px;
  }
  .title-jp {
    font-size: 20px;
  }
  .workout-text-jp {
    font-size: 13px;
  }
}

@media (min-width: 481px) {
  .app-container {
    padding: 24px;
  }
  .title-jp {
    font-size: 28px;
  }
  .date-main {
    font-size: 26px;
  }
}
