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

:root {
  --zine-bg: #e6e6e6; /* dirty off-white */
  --zine-black: #111111;
  --zine-red: #cc0000;
  --zine-blue: #2a5bd6;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Space Grotesk', sans-serif;
  --font-brutal: 'Unbounded', cursive; /* New brutal font for vertical text */
}

body {
  background-color: var(--zine-black);
  color: var(--zine-black);
  font-family: var(--font-sans);
  overflow-x: hidden;
  position: relative;
}

/* Background Images from local folder */
.zine-bg-layer {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -2;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
/* Use the red/black "Slavyansky Bulvar" image for header */
.zine-bg-1 {
  height: 100vh;
  background-image: url('2026-04-12 18.01.45.jpg');
}

/* Use the blue "deer/tundra" sketch image for store background */
.zine-bg-2 {
  background-image: url('2026-04-12 18.03.10.jpg');
}

/* Noise overlay for a grainy printed look */
.noise-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
  opacity: 0.15;
  pointer-events: none;
  z-index: 999;
}

/* Zine Glass Box: covers the underlying text to act as "nanoeraser" while keeping the texture */
.zine-glass-box {
  background: rgba(230, 230, 230, 0.85); /* Off-white milky glass */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 4px solid var(--zine-black);
  padding: 2rem;
  box-shadow: 10px 10px 0 var(--zine-red);
}

/* Header & Typography */
header {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.logo-container {
  text-align: center;
  z-index: 5;
  position: relative;
  transform: rotate(-2deg);
}

.main-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--zine-black);
}

.highlight {
  display: inline-block;
  background-color: var(--zine-black);
  color: #fff;
  padding: 0 1rem;
  letter-spacing: -2px;
  transform: skew(-10deg);
}

.drop-subtitle {
  font-family: var(--font-brutal);
  font-size: clamp(0.7rem, 2vw, 1rem);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 1.5rem;
  background-color: var(--zine-black);
  color: var(--zine-bg);
  border: 2px solid var(--zine-red);
  padding: 0.5rem 1rem;
  display: inline-block;
  letter-spacing: 2px;
  transform: rotate(1deg);
  box-shadow: 4px 4px 0 var(--zine-red);
}

.red-number {
  position: absolute;
  top: -30%;
  left: -15%;
  font-size: 18rem;
  color: var(--zine-red);
  font-family: 'Courier New', monospace;
  opacity: 0.9;
  mix-blend-mode: multiply;
  transform: rotate(-15deg);
  z-index: -1;
}

/* Updated Vertical Text Font to be more brutal/interesting */
.vertical-text {
  position: absolute;
  writing-mode: vertical-rl;
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 2px;
  font-weight: 900;
  font-family: var(--font-brutal); /* New font here! */
  color: var(--zine-blue);
  -webkit-text-stroke: 1px #fff;
  z-index: 5;
}

.bg-blocker {
  position: absolute;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(5px);
  z-index: 4;
}

/* Blockers behind the vertical text to erase the background magazine text */
.side-left-blocker {
  left: 1rem; top: 10%; bottom: 10%; width: 5rem;
}
.side-right-blocker {
  right: 1rem; top: 10%; bottom: 10%; width: 5rem;
}

.side-left {
  left: 2rem;
  transform: rotate(180deg);
  text-shadow: 2px 2px 0 var(--zine-red);
}

.side-right {
  right: 2rem;
  text-shadow: -2px 2px 0 var(--zine-red);
}

/* Assortment / Grid */
.assortment-section {
  padding: 5rem 2rem;
  position: relative;
}

.section-header-box {
  display: inline-block;
  margin-bottom: 3rem;
  transform: rotate(1deg);
  padding: 1rem 2rem;
}

.section-title {
  font-family: var(--font-brutal);
  font-size: 3rem;
  color: var(--zine-black);
}

.zine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 5rem 2rem; /* Increased row gap to prevent vertical collision */
  align-items: start;
}

/* Cards are basically mini "erased" blocks with solid background to hide the messy magazine behind */
.zine-card {
  background: var(--zine-bg);
  color: var(--zine-black);
  padding: 1.5rem;
  border: 4px solid var(--zine-black);
  position: relative;
  transition: transform 0.2s;
  z-index: 5;
  box-shadow: 10px 10px 0 rgba(0,0,0,0.5); /* Heavy pop art shadow */
}

.zine-card:hover {
  transform: scale(1.03) !important;
  z-index: 10;
  box-shadow: 15px 15px 0 var(--zine-red);
}

.offset-down { margin-top: 2rem; }
.offset-up { margin-top: -1.5rem; }

.card-image {
  height: 250px;
  background: #fff;
  border: 2px solid var(--zine-black);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
  overflow: hidden;
}

.emoji-art {
  font-size: 6rem;
}

/* Image Filters to replicate styles */
.grayscale-high-contrast { filter: grayscale(100%) contrast(400%); }
.grayscale-invert { filter: grayscale(100%) invert(100%); background: black; }
.sketch-mode {
  filter: grayscale(100%) contrast(120%);
  border: 2px dashed var(--zine-blue);
  background: transparent;
}
.sketch-mode .emoji-art { color: var(--zine-blue); filter: drop-shadow(4px 4px 0 var(--zine-blue)); }

.blue-accent {
  background: var(--zine-blue);
  color: white;
  border-color: white;
}
.blue-accent .card-image { border-color: white; }

.card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.card-price {
  display: block;
  font-family: var(--font-brutal);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--zine-red);
}

.blue-accent .card-price { color: #ffe600; }

.zine-btn {
  width: 100%;
  padding: 1rem;
  background: var(--zine-black);
  color: #fff;
  border: none;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.2s;
}

.zine-btn:hover {
  background: var(--zine-red);
  transform: translateY(-5px);
}

.outline-btn {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.outline-btn:hover {
  background: #fff;
  color: var(--zine-blue);
}

footer {
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
  position: relative;
}

footer .zine-glass-box {
  background: rgba(255, 0, 0, 0.9);
  color: #fff;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2rem;
  letter-spacing: 3px;
  border-color: #fff;
  box-shadow: 10px 10px 0 var(--zine-black);
}

@media (max-width: 768px) {
  .vertical-text, .bg-blocker { display: none; }
  
  .zine-grid { 
    grid-template-columns: 1fr; 
    gap: 2.5rem; /* Reduced gap since there are no vertical offsets on mobile */
  }
  .offset-down, .offset-up { margin-top: 0; }
  
  .zine-glass-box {
    padding: 1.5rem 1rem; /* Smaller padding inside boxes */
  }
  .logo-container {
    width: 90vw; /* Keep it contained */
  }
  
  .main-title { font-size: 2rem; }
  .red-number { font-size: 7rem; top: -10%; left: -5%; }
  
  .drop-subtitle {
    font-size: 0.75rem; /* Maintain legibility on mobile */
    letter-spacing: 1px;
    padding: 0.5rem;
  }
  
  .section-title { font-size: 2rem; }
  
  .assortment-section {
    padding: 3rem 1rem; /* Less horizontal padding */
  }
  
  .card-image {
    height: 200px; /* Slightly shorter images on mobile */
  }
}
