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

:root {
  --bg: #000;
  --surface: #1a1a1a;
  --accent: #2563EB;
  --danger: #2563EB;
  --text: #fff;
  --text-muted: #aaa;
  --accent-secondary: #F59E0B;
  --radius: 14px;
  --shadow-offset: 5px;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
}

main {
  width: 100%;
  max-width: 620px;
  padding: 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* === Hero === */
.hero {
  padding: 3rem 0 1rem;
  text-align: center;
}

h1 {
  font-size: clamp(3rem, 12vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

h1 .accent {
  color: var(--danger);
}

.subtitle {
  margin-top: 1.25rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* === Content === */
.content {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: 0 0 0 var(--shadow-offset) var(--accent);
}

.description {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 2rem;
  text-align: center;
}

/* === Buttons === */
.actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: none !important;
}

.btn-email {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 #1d4ed8;
}

.btn-email:hover {
  background: #3b82f6;
}

.btn-insta {
  background: var(--accent-secondary);
  color: #000;
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 #d97706;
}

.btn-insta:hover {
  background: #fbbf24;
}

.btn-icon {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
}

/* === Info === */
.info {
  text-align: center;
  padding: 1rem;
}

.info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === Toast notification === */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  background: var(--surface);
  color: var(--text);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 100;
  text-align: center;
  max-width: 90vw;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* === Modal === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1rem;
}

.modal {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  max-width: 420px;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal-step p {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.step-number {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
}

.modal-caption-row {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}

.modal-caption {
  background: var(--bg);
  border: 2px solid var(--accent);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
  user-select: all;
  flex: 1;
}

.btn-copy-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-copy-icon:hover {
  background: #3b82f6;
}

.btn-copy-icon.copied {
  background: #1d4ed8;
}

.btn-open-insta {
  background: var(--accent-secondary);
  color: #000;
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 #d97706;
}

.btn-open-insta:hover {
  background: #fbbf24;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text);
}
