/* Hood Mythology - Style Sheet */

:root {
  --bg-color: #edeae1;
  --paper-color: #f7f5ee;
  --text-primary: #121212;
  --text-secondary: #333333;
  --accent-red: #c02626;
  --border-dark: #1a1a1a;
  --font-handwriting: 'Patrick Hand', 'Caveat', cursive, sans-serif;
  --font-credit: 'Cinzel', serif, Georgia;
}

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

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-handwriting);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Paper Texture Background Effect */
body {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.25)),
    url('paper-bg.webp');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Container simulating crumpled paper canvas */
.paper-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  padding: 3.5rem 1.75rem 2.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

/* Media Queries for responsive spacing on smaller and taller screens */
@media (min-height: 700px) {
  .paper-card {
    min-height: 90vh;
    margin: 2rem 0;
  }
}

/* Logo Section */
.logo-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.logo-img {
  width: 100%;
  max-width: 360px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
}

/* Main Story / Tagline Section */
.story-section {
  margin: 1.5rem 0 2.5rem 0;
  width: 100%;
}

.tagline {
  font-family: var(--font-handwriting);
  font-size: 1.65rem;
  line-height: 1.5;
  color: var(--text-primary);
  font-weight: 500;
  letter-spacing: 0.015em;
  word-spacing: 0.05em;
  text-shadow: 0.5px 0.5px 0px rgba(0, 0, 0, 0.15);
}

/* Button & Links Section */
.links-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  margin-bottom: 2.5rem;
}

.btn-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 320px;
}

/* Hand-Drawn Sketchy Style Button */
.hand-drawn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-handwriting);
  font-size: 1.6rem;
  font-weight: 600;
  
  /* Organic hand-drawn border effect */
  border: 2.5px solid var(--border-dark);
  border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
  box-shadow: 2px 3px 0px rgba(0, 0, 0, 0.85);
  
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.4);
}

.hand-drawn-btn:hover {
  transform: translateY(-2px) rotate(-0.5deg);
  box-shadow: 4px 6px 0px rgba(0, 0, 0, 0.9);
  background-color: rgba(255, 255, 255, 0.75);
}

.hand-drawn-btn:active {
  transform: translateY(1px) rotate(0deg);
  box-shadow: 1px 2px 0px rgba(0, 0, 0, 0.9);
}

.btn-icon {
  width: 1.6rem;
  height: 1.6rem;
  stroke: var(--border-dark);
  flex-shrink: 0;
}

/* Red Hand-drawn Underline effect for Instagram Button */
.red-underline {
  margin-top: 6px;
  width: 60%;
  height: 3px;
  background-color: var(--accent-red);
  border-radius: 50% 20% 40% 60% / 40% 60% 30% 70%;
  box-shadow: 0 1px 2px rgba(192, 38, 38, 0.3);
  transform: rotate(-1deg);
}

/* Email Copy Chip */
.email-wrapper {
  gap: 0.6rem;
}

.email-copy-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.5);
  border: 1px dashed rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  padding: 0.35rem 0.85rem;
  font-family: var(--font-handwriting);
  font-size: 1.1rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.email-copy-chip:hover {
  background-color: rgba(255, 255, 255, 0.85);
  border-color: var(--border-dark);
  color: var(--text-primary);
}

.copy-badge {
  font-size: 0.85rem;
  background-color: #222;
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  font-family: sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background-color 0.2s ease;
}

.copy-badge.copied {
  background-color: #16a34a;
}

/* Footer Section */
.footer {
  margin-top: auto;
  padding-top: 2rem;
  width: 100%;
}

.creator-credit {
  font-family: var(--font-credit);
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  color: #2a2a2a;
  text-transform: none;
  font-weight: 500;
  opacity: 0.9;
}

/* Small screen tweaks */
@media (max-width: 400px) {
  .paper-card {
    padding: 2.5rem 1.25rem 1.75rem 1.25rem;
  }
  
  .tagline {
    font-size: 1.45rem;
  }
  
  .hand-drawn-btn {
    font-size: 1.4rem;
    padding: 0.65rem 1.2rem;
  }
  
  .creator-credit {
    font-size: 0.82rem;
    letter-spacing: 0.1em;
  }
}
