/* ===================================
   CSS Variables & Base Styles
   =================================== */
:root {
  /* Colors */
  --rose-pink: #e91e63;
  --rose-dark: #c2185b;
  --lily-purple: #9c27b0;
  --lily-light: #ba68c8;
  --gradient-rose: linear-gradient(135deg, #e91e63 0%, #f48fb1 100%);
  --gradient-lily: linear-gradient(135deg, #9c27b0 0%, #ce93d8 100%);
  --gradient-main: linear-gradient(135deg, #e91e63 0%, #9c27b0 50%, #673ab7 100%);
  --gradient-bg: linear-gradient(180deg, #fce4ec 0%, #f3e5f5 50%, #ede7f6 100%);

  /* Glass effect */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px rgba(233, 30, 99, 0.15);

  /* Text */
  --text-primary: #2d1b4e;
  --text-secondary: #5e4a7e;

  /* Spacing */
  --bottom-bar-height: 60px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Zen Maru Gothic', sans-serif;
  background: var(--gradient-bg);
  color: var(--text-primary);
  min-height: 100vh;
  padding-bottom: calc(var(--bottom-bar-height) + 20px);
  overflow-x: hidden;
}

/* ===================================
   Container
   =================================== */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

/* ===================================
   Glass Card Effect
   =================================== */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
  position: relative;
  text-align: center;
  padding: 60px 20px 40px;
  margin-bottom: 30px;
}

.decorations {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.rose,
.lily,
.heart {
  position: absolute;
  font-size: 2rem;
  opacity: 0.6;
  animation: float 6s ease-in-out infinite;
}

.rose-1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.rose-2 {
  top: 30%;
  right: 5%;
  animation-delay: 1s;
}

.lily-1 {
  bottom: 20%;
  left: 5%;
  animation-delay: 2s;
}

.lily-2 {
  top: 15%;
  right: 15%;
  animation-delay: 3s;
}

.heart-1 {
  bottom: 30%;
  right: 10%;
  animation-delay: 4s;
  font-size: 1.5rem;
}

.heart-2 {
  top: 50%;
  left: 15%;
  animation-delay: 5s;
  font-size: 1.5rem;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(5deg);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-block;
  background: var(--gradient-main);
  color: white;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.title {
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 15px;
}

.title-rose {
  color: var(--rose-pink);
  text-shadow: 2px 2px 4px rgba(233, 30, 99, 0.2);
}

.title-lily {
  color: var(--lily-purple);
  text-shadow: 2px 2px 4px rgba(156, 39, 176, 0.2);
}

.subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* ===================================
   Introduction Section
   =================================== */
.intro {
  margin-bottom: 40px;
}

.intro-card {
  padding: 30px;
  text-align: center;
}

.intro-card h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.intro-card p {
  line-height: 1.8;
  color: var(--text-secondary);
}

.intro-card strong {
  color: var(--text-primary);
}

/* ===================================
   Features Section
   =================================== */
.features {
  margin-bottom: 40px;
}

.section-title {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: var(--text-primary);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(233, 30, 99, 0.2);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ===================================
   CTA Section
   =================================== */
.cta {
  margin-bottom: 40px;
}

.cta-card {
  background: var(--gradient-main);
  padding: 40px 30px;
  border-radius: 25px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(233, 30, 99, 0.3);
}

.cta-card h2 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: var(--rose-pink);
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

.line-icon {
  width: 24px;
  height: 24px;
  color: #06c755;
}

/* ===================================
   Notes Section
   =================================== */
.notes-card {
  padding: 25px;
}

.notes-card h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.notes-card ul {
  list-style: none;
}

.notes-card li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.notes-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--rose-pink);
  font-weight: bold;
}

/* ===================================
   Bottom Bar (Fixed Footer)
   =================================== */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: auto;
  min-height: var(--bottom-bar-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(233, 30, 99, 0.1);
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 15px;
  padding: 10px 20px;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.bottom-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  padding: 10px 25px;
  border-radius: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  flex: 1;
  max-width: 180px;
}

.bottom-link .link-label {
  font-size: 0.75rem;
  opacity: 0.9;
}

.bottom-link .link-text {
  font-size: 0.95rem;
  font-weight: 700;
}

/* 参加ボタン（LINE緑） */
.join-link {
  background: linear-gradient(135deg, #06c755 0%, #00b341 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(6, 199, 85, 0.3);
}

.join-link:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4);
}

/* キャラ紹介ボタン（ピンク〜紫） */
.character-link {
  background: var(--gradient-main);
  color: white;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.character-link:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 600px) {
  .hero {
    padding: 40px 15px 30px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .cta-card {
    padding: 30px 20px;
  }

  .cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .bottom-bar {
    padding: 0 15px;
  }
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content,
.intro-card,
.feature-card,
.cta-card,
.notes-card {
  animation: fadeInUp 0.6s ease forwards;
}

.intro-card {
  animation-delay: 0.1s;
}

.feature-card:nth-child(1) {
  animation-delay: 0.2s;
}

.feature-card:nth-child(2) {
  animation-delay: 0.3s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.4s;
}

.feature-card:nth-child(4) {
  animation-delay: 0.5s;
}

.cta-card {
  animation-delay: 0.6s;
}

.notes-card {
  animation-delay: 0.7s;
}