@charset "utf-8";

:root {
  --primary: #e91e63;
  --primary-dark: #c2185b;
  --primary-light: #f8bbd9;
  --gold: #ffc107;
  --gold-dark: #ff9800;
  --dark: #1a1d24;
  --dark-card: #22262f;
  --dark-card-hover: #2a2f3a;
  --dark-border: #353b48;
  --text: #ffffff;
  --text-secondary: #d0d5df;
  --text-muted: #9ba3b5;
  --gradient: linear-gradient(135deg, #e91e63 0%, #9c27b0 100%);
  --gradient2: linear-gradient(135deg, #f7b733 0%, #fc4a1a 100%);
  --gradient-gold: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
  --gradient-bg: linear-gradient(180deg, #1a1d24 0%, #252a35 100%);
}

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

body {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.9;
  overflow-x: hidden;
}

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

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 29, 36, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dark-border);
}

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

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-header {
  background: var(--gradient);
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(233, 30, 99, 0.4);
}

/* Hero */
.hero {
  padding: 130px 0 60px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #1a1d24 0%, #1e2229 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(233, 30, 99, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, var(--dark-card), transparent);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(233, 30, 99, 0.15);
  border: 1px solid rgba(233, 30, 99, 0.3);
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 20px;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.9;
}

/* Point Section */
.point-section {
  padding: 50px 0;
  background: var(--dark-card);
}

.point-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.point-card {
  background: linear-gradient(145deg, #282d38, #1e2229);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.point-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.point-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.point-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--text);
}

.point-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Section Title */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.5;
}

.section-title p {
  color: var(--text-muted);
  font-size: 14px;
}

/* ========================= */
/* Ad Detail Section */
/* ========================= */
.ad-detail-section {
  padding: 60px 0;
}

.ad-detail-section.user-section {
  background: linear-gradient(180deg, var(--dark-card) 0%, #1f232b 100%);
}

.ad-detail-section.cast-section {
  background: linear-gradient(180deg, #1f232b 0%, var(--dark) 100%);
}

.ad-detail-header {
  text-align: center;
  margin-bottom: 40px;
}

.ad-detail-badge {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}

.ad-detail-badge.user {
  background: var(--gradient);
  color: #fff;
}

.ad-detail-badge.cast {
  background: var(--gradient-gold);
  color: #1a1d24;
}

.ad-detail-header h2 {
  font-size: 24px;
  margin-bottom: 16px;
}

.ad-detail-target {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.target-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--dark-border);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

.target-item i {
  font-style: normal;
}

.target-plus {
  color: var(--text-muted);
  font-size: 14px;
}

/* Ad Format Block */
.ad-format-block {
  margin-bottom: 36px;
}

.ad-format-block:last-child {
  margin-bottom: 0;
}

.ad-format-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--dark-border);
}

.format-icon {
  font-size: 24px;
}

.ad-format-title h3 {
  font-size: 18px;
  color: var(--text);
}

.format-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: auto;
}

/* Placement Cards */
.placement-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.placement-card {
  background: linear-gradient(145deg, #282d38, #22262f);
  border: 1px solid var(--dark-border);
  border-radius: 14px;
  padding: 22px 20px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.placement-card:hover {
  transform: translateY(-3px);
  border-color: rgba(233, 30, 99, 0.4);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.cast-section .placement-card:hover {
  border-color: rgba(255, 193, 7, 0.4);
}

.placement-card-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.placement-card h4 {
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--text);
}

.placement-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Flow Section */
.flow-section {
  padding: 70px 0;
  background: var(--dark-card);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.flow-step {
  text-align: center;
  position: relative;
  padding: 0 10px;
}

.flow-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -12px;
  top: 22px;
  color: var(--text-muted);
  font-size: 18px;
}

.flow-number {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin: 0 auto 14px;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.flow-step h4 {
  font-size: 14px;
  margin-bottom: 6px;
}

.flow-step p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* CTA Section */
.cta-section {
  padding: 70px 0;
  text-align: center;
}

.cta-box {
  background: linear-gradient(145deg, rgba(233, 30, 99, 0.12) 0%, rgba(156, 39, 176, 0.12) 100%);
  border: 1px solid rgba(233, 30, 99, 0.25);
  border-radius: 24px;
  padding: 50px 40px;
}

.cta-box h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 14px;
}

.cta-box p {
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-size: 15px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn.primary {
  background: var(--gradient);
  color: #fff;
}

.cta-btn.secondary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary-light);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(233, 30, 99, 0.3);
}

.cta-btn svg {
  width: 20px;
  height: 20px;
}

/* Footer */
footer {
  padding: 36px 0;
  border-top: 1px solid var(--dark-border);
  text-align: center;
  background: var(--dark);
}

footer p {
  color: var(--text-muted);
  font-size: 13px;
}

/* Ad Visual Demo */
.ad-visual-demo {
  background: linear-gradient(135deg, #1e2229 0%, #282d38 100%);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  position: relative;
}

/* Banner Visual */
.banner-demo {
  width: 90%;
  max-width: 400px;
  height: 70px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 30px rgba(233, 30, 99, 0.3);
}

.banner-demo2 {
  width: 90%;
  max-width: 400px;
  height: 70px;
  background: var(--gradient2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 30px rgba(233, 30, 99, 0.3);
}


.banner-dots {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
}

.banner-dot.active {
  background: var(--primary);
}

/* Timeline Visual */
.timeline-demo {
  width: 100%;
  max-width: 320px;
}

.timeline-post {
  background: #2a2f3a;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.timeline-post:last-child {
  margin-bottom: 0;
}

.timeline-post.ad {
  background: linear-gradient(135deg, rgba(233, 30, 99, 0.15) 0%, rgba(156, 39, 176, 0.15) 100%);
  border: 1px solid rgba(233, 30, 99, 0.3);
}

.timeline-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #3a3f4a;
  flex-shrink: 0;
}

.timeline-content {
  flex: 1;
  min-width: 0;
}

.timeline-name {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.timeline-text {
  font-size: 11px;
  color: var(--text-muted);
}

.timeline-ad-label {
  font-size: 9px;
  background: var(--primary);
  padding: 2px 6px;
  border-radius: 4px;
  color: #fff;
  font-weight: 700;
}

/* ========================= */
/* Responsive */
/* ========================= */
@media (max-width: 768px) {
  .point-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .point-card {
    padding: 22px 18px;
  }

  .ad-detail-header h2 {
    font-size: 20px;
  }

  .ad-detail-target {
    flex-direction: column;
    gap: 8px;
  }

  .ad-format-title {
    flex-wrap: wrap;
  }

  .format-desc {
    width: 100%;
    margin-left: 36px;
    margin-top: 4px;
  }

  .placement-cards {
    grid-template-columns: 1fr;
  }

  .flow-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .flow-step:not(:last-child)::after {
    display: none;
  }

  .cta-box {
    padding: 36px 24px;
  }

  .cta-box h2 {
    font-size: 20px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}