@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800;900&family=Space+Grotesk:wght@400;500;700&display=swap');

:root {
  /* Neo-Brutalist Color Palette */
  --bg-yellow: #FFDE59;
  --bg-black: #000000;
  --bg-white: #FFFFFF;
  --accent-pink: #FF90E8;
  --accent-cyan: #00FFFF;
  --accent-blue: #3B82F6;
  
  --border-thick: 6px solid #000;
  --border-thin: 3px solid #000;
  --shadow-solid: 8px 8px 0px #000;
  --shadow-solid-sm: 4px 4px 0px #000;
  --shadow-solid-hover: 12px 12px 0px #000;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-white);
  color: var(--bg-black);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Layout */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Typography Enhancements */
.highlight-pink {
  display: inline-block;
  position: relative;
  z-index: 1;
}

.highlight-pink::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: -4px;
  right: -4px;
  height: 12px;
  background-color: var(--accent-pink);
  z-index: -1;
  border-radius: 20px;
  transform: rotate(-1deg);
}

.highlight-yellow {
  background-color: var(--bg-yellow);
  padding: 0 8px;
  border: var(--border-thin);
  box-shadow: var(--shadow-solid-sm);
  display: inline-block;
  transform: rotate(1deg);
}

.circle-highlight {
  position: relative;
  display: inline-block;
}

.circle-highlight::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -15px;
  right: -15px;
  bottom: -10px;
  border: 4px solid var(--accent-pink);
  border-radius: 50% 40% 50% 40% / 60% 50% 40% 50%;
  z-index: -1;
}

/* Buttons */
.brutal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  text-transform: uppercase;
  background: var(--accent-blue);
  color: var(--bg-black);
  border: var(--border-thick);
  border-radius: 8px;
  box-shadow: var(--shadow-solid);
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.brutal-btn:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-solid-hover);
}

.brutal-btn:active {
  transform: translate(4px, 4px);
  box-shadow: 4px 4px 0px #000;
}

.brutal-btn-pink {
  background: var(--accent-pink);
}

.brutal-btn-yellow {
  background: var(--bg-yellow);
}

/* Utility Animations */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100vw;
  border-top: var(--border-thick);
  border-bottom: var(--border-thick);
  background: var(--bg-black);
  color: var(--bg-white);
  padding: 16px 0;
}

.marquee-content {
  display: inline-block;
  animation: marquee 20s linear infinite;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
}

.marquee-content:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-block;
  padding: 0 40px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  
  h1, .hero-title {
    font-size: 3.5rem !important;
  }
  
  h2, .section-title {
    font-size: 2.5rem !important;
  }

  .responsive-hero-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 30px !important;
  }

  .responsive-hero-grid > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .responsive-hero-card {
    height: 400px !important;
    margin-top: -20px;
  }
  
  .responsive-hero-card > div {
    transform: rotateY(-15deg) rotateZ(5deg) scale(0.4) !important;
  }
  
  .responsive-2col-grid {
    grid-template-columns: 1fr !important;
  }

  .blog-hero-text {
    font-size: 3rem !important;
  }

  .blog-content-padding {
    padding: 15px !important;
  }
  
  .brutal-btn {
    padding: 12px 24px !important;
    font-size: 1rem !important;
  }
}

.responsive-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.responsive-2col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* --- BLOG PAGE RESPONSIVE CLASSES --- */

/* Typography */
.blog-title-huge {
  font-size: 96px;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 20px 0;
  line-height: 0.9;
  letter-spacing: -3px;
}

.blog-subtitle-angled {
  font-size: 36px;
  font-weight: 700;
  margin: 0;
  background: #fff;
  display: inline-block;
  padding: 10px 20px;
  border: 6px solid #000;
  transform: rotate(-2deg);
}

.blog-heading-large {
  font-size: 64px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -2px;
}

.blog-heading-medium {
  font-size: 48px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -2px;
}

.blog-heading-small {
  font-size: 36px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
}

.blog-paragraph-large {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -1px;
}

.blog-paragraph-medium {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
}

.blog-paragraph-small {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
}

/* Containers */
.blog-hero-header {
  background: #FF90E8;
  border: 8px solid #000;
  padding: 80px 40px;
  box-shadow: 16px 16px 0px #000;
  margin-bottom: 20px;
  position: relative;
}

.hero-visual-wrapper {
  width: 100%;
  aspect-ratio: 21 / 9;
  border: 8px solid #000;
  box-shadow: 16px 16px 0px #000;
  margin-bottom: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.hero-visual-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.blog-definition-box {
  background: #fff;
  border: 6px solid #000;
  padding: 40px;
  border-left: 20px solid #000;
}

.blog-trap-test-container {
  background: #fff;
  border: 8px solid #000;
  box-shadow: 16px 16px 0px #000;
  margin-bottom: 80px;
  overflow: hidden;
}

.blog-trap-test-header {
  background: #000;
  color: #fff;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-trap-test-body {
  padding: 40px;
}

.trap-option-btn {
  text-align: left;
  border: 6px solid #000;
  padding: 24px;
  font-size: 24px;
  font-weight: 800;
  transition: all 0.1s;
  width: 100%;
}

.blog-card-blue {
  background: #A6FAFF;
  border: 8px solid #000;
  padding: 40px;
  box-shadow: 12px 12px 0px #000;
  display: flex;
  flex-direction: column;
}

.blog-card-yellow {
  background: #FFC900;
  border: 8px solid #000;
  padding: 40px;
  box-shadow: 12px 12px 0px #000;
  display: flex;
  flex-direction: column;
}

.blog-defense-section {
  background: #000;
  color: #fff;
  padding: 60px 40px;
  box-shadow: 16px 16px 0px #FF90E8;
  margin-bottom: 80px;
  border: 8px solid #000;
}

.blog-defense-step {
  background: #fff;
  color: #000;
  border: 6px solid #000;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.blog-defense-step-num {
  background: #FF90E8;
  border: 6px solid #000;
  font-size: 48px;
  font-weight: 900;
  flex: 0 0 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

/* Buttons */
.blog-nav-btn {
  display: inline-block;
  font-size: 24px;
  font-weight: 900;
  text-decoration: none;
  color: #000;
  background: #FFC900;
  border: 4px solid #000;
  padding: 12px 24px;
  box-shadow: 6px 6px 0px #000;
  text-transform: uppercase;
  transition: transform 0.1s, box-shadow 0.1s;
  cursor: pointer;
}
.blog-nav-btn:active {
  transform: translate(6px, 6px);
  box-shadow: none;
}

.blog-next-btn {
  background: #000;
  color: #fff;
  border: 4px solid #fff;
  padding: 16px 32px;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  align-self: flex-end;
  box-shadow: 6px 6px 0px rgba(0,0,0,0.5);
}

/* MOBILE MEDIA QUERY FOR BLOG */
@media (max-width: 768px) {
  /* Typography Scaling */
  .blog-title-huge { font-size: 48px; letter-spacing: -1px; }
  .blog-subtitle-angled { font-size: 20px; padding: 6px 12px; border-width: 4px; }
  .blog-heading-large { font-size: 32px; }
  .blog-heading-medium { font-size: 28px; }
  .blog-heading-small { font-size: 24px; }
  .blog-paragraph-large { font-size: 20px; }
  .blog-paragraph-medium { font-size: 18px; }
  .blog-paragraph-small { font-size: 16px; }

  /* Spacing and Padding reductions */
  .blog-hero-header { padding: 40px 20px; box-shadow: 6px 6px 0px #000; margin-bottom: 30px; border-width: 6px; }
  .blog-definition-box { padding: 20px; border-width: 4px; border-left-width: 10px; margin-bottom: 40px; }
  
  .blog-trap-test-container { box-shadow: 6px 6px 0px #000; margin-bottom: 40px; border-width: 6px; }
  .blog-trap-test-header { padding: 15px 20px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .blog-trap-test-body { padding: 20px; }
  
  .blog-card-blue, .blog-card-yellow { padding: 20px; box-shadow: 6px 6px 0px #000; border-width: 6px; margin-bottom: 20px; }
  
  .blog-defense-section { padding: 30px 20px; box-shadow: 6px 6px 0px #FF90E8; border-width: 6px; margin-bottom: 40px; }
  .blog-defense-step { padding: 20px; flex-direction: column; text-align: center; gap: 20px; border-width: 4px; }
  .blog-defense-step-num { flex: 0 0 60px; height: 60px; font-size: 28px; border-width: 4px; margin: 0 auto; }

  /* Interactive Elements */
  .trap-option-btn { font-size: 16px; padding: 16px; border-width: 4px; }
  .blog-nav-btn { font-size: 16px; padding: 10px 16px; box-shadow: 4px 4px 0px #000; border-width: 3px; margin-bottom: 20px; }
  .blog-next-btn { font-size: 16px; padding: 12px 20px; width: 100%; text-align: center; border-width: 3px; }

  /* Hero Visual & CSS Graphic Overrides */
  .hero-visual-wrapper {
    aspect-ratio: 4 / 3;
    margin-bottom: 40px;
    box-shadow: 6px 6px 0px #000;
    border-width: 6px;
  }
  
  .hero-visual-inner > div:not(:has(img)) {
    /* Scale down the 600px hardcoded CSS visuals so they fit horizontally */
    transform: scale(0.5) !important;
  }
}

