@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700;800&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  /* Punk Rock Brand Colors - electric and bold */
  --hot-pink: 318 100% 43%;
  --hot-pink-hex: #db009a;
  --electric-yellow: 50 100% 50%;
  --electric-yellow-hex: #ffcc00;
  --cyan-punch: 185 100% 45%;
  --acid-green: 120 100% 40%;
  --deep-purple: 270 80% 35%;
  --jet-black: 0 0% 5%;
  --jet-black-hex: #0d0d0d;
  
  /* Semantic Colors - punk defaults */
  --background: 318 100% 43%;
  --foreground: 0 0% 5%;
  --card: 0 0% 100%;
  --card-foreground: 0 0% 5%;
  --popover: 0 0% 100%;
  --popover-foreground: 0 0% 5%;
  --primary: 318 100% 43%;
  --primary-foreground: 0 0% 100%;
  --secondary: 50 100% 50%;
  --secondary-foreground: 0 0% 5%;
  --muted: 50 30% 95%;
  --muted-foreground: 0 0% 30%;
  --accent: 185 100% 45%;
  --accent-foreground: 0 0% 5%;
  --border: 0 0% 10%;
  --radius: 0;

  /* Typography */
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --letter-spacing-heading: 0.02em;

  /* Shadows - harsh, punk */
  --shadow-card: 6px 6px 0px hsl(0 0% 0%);
}

* {
  border-color: hsl(var(--border));
}

body {
  background-color: #0d0d0d;
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.font-heading {
  font-family: var(--font-heading);
  letter-spacing: var(--letter-spacing-heading);
}

.font-body {
  font-family: var(--font-body);
}

/* Punk rock effects */
.punk-shadow {
  box-shadow: 6px 6px 0px hsl(0 0% 0%);
}

.punk-border {
  border: 4px solid hsl(0 0% 0%);
}

.skew-punk {
  transform: rotate(-2deg);
}

/* Sticker effect - yellow highlight on text */
.sticker {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  font-family: var(--font-heading);
  font-size: inherit;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: #ffcc00;
  color: #0d0d0d;
  transform: rotate(-2deg);
  box-shadow: 4px 4px 0px #0d0d0d;
  border: 3px solid #0d0d0d;
  line-height: 1.2;
}

/* Inline highlight sticker for text */
.highlight-sticker {
  display: inline;
  background: #ffcc00;
  padding: 0.1em 0.3em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Photo frame with punk style */
.punk-frame {
  border: 6px solid #0d0d0d;
  outline: 4px solid #ffcc00;
  outline-offset: -10px;
  transform: rotate(3deg);
  box-shadow: 8px 8px 0px #0d0d0d;
}

/* Yellow tape label */
.tape-label {
  background: #ffcc00;
  color: #0d0d0d;
  padding: 0.5rem 1rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 3px solid #0d0d0d;
  display: inline-block;
}

.hover-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
  transform: translateY(-6px) rotate(1deg);
  box-shadow: 8px 8px 0px hsl(0 0% 0%);
}

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

.animate-marquee {
  animation: marquee 20s linear infinite;
}

/* Color utility classes */
.bg-hot-pink { background-color: hsl(var(--hot-pink)); }
.bg-electric-yellow { background-color: hsl(var(--electric-yellow)); }
.bg-cyan-punch { background-color: hsl(var(--cyan-punch)); }
.bg-acid-green { background-color: hsl(var(--acid-green)); }
.bg-deep-purple { background-color: hsl(var(--deep-purple)); }
.bg-jet-black { background-color: hsl(var(--jet-black)); }

.text-hot-pink { color: hsl(var(--hot-pink)); }
.text-electric-yellow { color: hsl(var(--electric-yellow)); }
.text-cyan-punch { color: hsl(var(--cyan-punch)); }
.text-acid-green { color: hsl(var(--acid-green)); }
.text-deep-purple { color: hsl(var(--deep-purple)); }
.text-jet-black { color: hsl(var(--jet-black)); }

.bg-primary { background-color: hsl(var(--primary)); }
.bg-secondary { background-color: hsl(var(--secondary)); }
.bg-accent { background-color: hsl(var(--accent)); }
.bg-muted { background-color: hsl(var(--muted)); }

.text-primary { color: hsl(var(--primary)); }
.text-secondary { color: hsl(var(--secondary)); }
.text-accent { color: hsl(var(--accent)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }

/* ============================================
   LEAKED INTEL AESTHETIC SYSTEM
   ============================================ */

/* Confidential Stamp */
.stamp-confidential {
  display: inline-block;
  padding: 6px 16px;
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #c41e3a;
  border: 3px solid #c41e3a;
  transform: rotate(-5deg);
  opacity: 0.9;
}

.stamp-leaked {
  display: inline-block;
  padding: 8px 20px;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #fff;
  background: #c41e3a;
  border: 3px solid #0d0d0d;
  transform: rotate(-3deg);
  box-shadow: 3px 3px 0px #0d0d0d;
}

.stamp-classified {
  display: inline-block;
  padding: 4px 12px;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #0d0d0d;
  background: #ffcc00;
  border: 2px dashed #0d0d0d;
}

/* Memo Header */
.memo-header {
  background: #f5f5f5;
  border: 2px solid #0d0d0d;
  padding: 16px 20px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  margin-bottom: 20px;
  position: relative;
}

.memo-header::before {
  content: 'INTERNAL MEMO';
  position: absolute;
  top: -10px;
  left: 20px;
  background: #0d0d0d;
  color: #ffcc00;
  padding: 2px 10px;
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
}

.memo-field {
  margin-bottom: 4px;
}

.memo-label {
  font-weight: 700;
  color: #666;
  min-width: 60px;
  display: inline-block;
}

.memo-value {
  color: #0d0d0d;
}

/* Redaction Effect */
.redacted {
  background: #0d0d0d;
  color: #0d0d0d;
  padding: 0 4px;
  user-select: none;
  cursor: pointer;
  transition: all 0.3s;
}

.redacted:hover,
.redacted.revealed {
  background: #ffcc00;
  color: #0d0d0d;
}

.redaction-bar {
  display: inline-block;
  background: #0d0d0d;
  height: 1em;
  width: 80px;
  vertical-align: middle;
}

/* Xerox/Noise Texture Overlay */
.xerox-overlay {
  position: relative;
}

.xerox-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* Security Camera / Surveillance Aesthetic */
.surveillance-frame {
  position: relative;
  border: 4px solid #0d0d0d;
  background: #1a1a1a;
}

.surveillance-frame::before {
  content: 'REC ●';
  position: absolute;
  top: 12px;
  right: 16px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: #ff0000;
  animation: blink 1s infinite;
}

.surveillance-frame::after {
  content: attr(data-timestamp);
  position: absolute;
  bottom: 12px;
  left: 16px;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: #00ff00;
  opacity: 0.8;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Post-it Note */
.postit-note {
  background: #ffcc00;
  padding: 16px;
  transform: rotate(2deg);
  box-shadow: 3px 3px 8px rgba(0,0,0,0.2);
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: #333;
  position: relative;
}

.postit-note::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  width: 60%;
  height: 8px;
  background: rgba(0,0,0,0.1);
}

/* Sharpie Annotation */
.sharpie-note {
  font-family: 'Permanent Marker', cursive, sans-serif;
  color: #c41e3a;
  transform: rotate(-2deg);
  display: inline-block;
}

.sharpie-circle {
  border: 4px solid #c41e3a;
  border-radius: 50%;
  padding: 4px 12px;
}

.sharpie-underline {
  border-bottom: 4px solid #c41e3a;
  padding-bottom: 2px;
}

/* File Folder Tab */
.file-tab {
  display: inline-block;
  background: #d4a574;
  color: #0d0d0d;
  padding: 8px 24px;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 8px 8px 0 0;
  border: 2px solid #0d0d0d;
  border-bottom: none;
  position: relative;
  top: 2px;
}

/* Case File Header */
.case-file-header {
  background: #d4a574;
  border: 3px solid #0d0d0d;
  padding: 20px;
  position: relative;
}

.case-file-header::before {
  content: 'CASE FILE';
  position: absolute;
  top: -12px;
  left: 20px;
  background: #0d0d0d;
  color: #ffcc00;
  padding: 4px 16px;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
}

/* Access Level Badge */
.clearance-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0d0d0d;
  color: #00ff00;
  padding: 8px 16px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  border: 2px solid #00ff00;
}

.clearance-badge::before {
  content: '▶';
  color: #00ff00;
}

/* Evidence Tag */
.evidence-tag {
  display: inline-block;
  background: #fff;
  border: 2px solid #0d0d0d;
  padding: 4px 12px;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.evidence-tag::before {
  content: 'EVIDENCE #';
  color: #666;
}

/* Typewriter Text */
.typewriter-text {
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
}

/* Coffee Stain Effect */
.coffee-stain {
  position: relative;
}

.coffee-stain::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(139, 90, 43, 0.15) 0%, rgba(139, 90, 43, 0.05) 50%, transparent 70%);
  top: -10px;
  right: -10px;
  pointer-events: none;
}

/* Highlighter Effect */
.highlighter-yellow {
  background: linear-gradient(180deg, transparent 60%, #ffcc00 60%);
}

.highlighter-pink {
  background: linear-gradient(180deg, transparent 60%, #ff69b4 60%);
}

/* Access Granted/Denied States */
.access-granted {
  background: #0d0d0d;
  color: #00ff00;
  padding: 12px 24px;
  font-family: 'Courier New', monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 2px solid #00ff00;
  text-align: center;
}

.access-denied {
  background: #0d0d0d;
  color: #ff0000;
  padding: 12px 24px;
  font-family: 'Courier New', monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 2px solid #ff0000;
  text-align: center;
}

/* Dossier Page Numbers */
.dossier-page {
  font-family: 'Courier New', monospace;
  font-size: 10px;
  color: #999;
  text-align: center;
  padding: 8px;
  border-top: 1px dashed #ccc;
}

/* ============================================
   PUNK ZINE AESTHETIC - BOOTLEG XEROX STYLE
   ============================================ */

/* CORE ZINE PAPER - Grayscale base with heavy noise */
.zine-paper {
  background: #e8e6e1 !important;
  position: relative;
}

.zine-paper::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.15;
  pointer-events: none;
  mix-blend-mode: multiply;
  z-index: 1;
}

.zine-paper > * {
  position: relative;
  z-index: 2;
}

/* Heavy xerox texture overlay */
.xerox-heavy::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0,0,0,0.03) 2px,
      rgba(0,0,0,0.03) 4px
    );
  pointer-events: none;
  z-index: 3;
}

/* Neon Highlighter SWIPE effect - like real highlighter */
.zine-highlight-pink {
  position: relative;
  display: inline;
  background: linear-gradient(180deg, transparent 40%, rgba(219, 0, 154, 0.5) 40%, rgba(219, 0, 154, 0.5) 90%, transparent 90%);
  padding: 2px 4px;
}

.zine-highlight-yellow {
  position: relative;
  display: inline;
  background: linear-gradient(180deg, transparent 40%, rgba(255, 235, 0, 0.7) 40%, rgba(255, 235, 0, 0.7) 90%, transparent 90%);
  padding: 2px 4px;
}

.zine-highlight-cyan {
  position: relative;
  display: inline;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 171, 196, 0.5) 40%, rgba(5, 171, 196, 0.5) 90%, transparent 90%);
  padding: 2px 4px;
}

/* Ransom note typography */
.ransom-word {
  display: inline-block;
  padding: 2px 6px;
  margin: 1px 2px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
}

.ransom-word:nth-child(odd) {
  background: #0d0d0d;
  color: #fff;
  transform: rotate(-1deg);
}

.ransom-word:nth-child(even) {
  background: #ffcc00;
  color: #0d0d0d;
  transform: rotate(1deg);
}

.ransom-word:nth-child(3n) {
  background: #db009a;
  color: #fff;
  transform: rotate(-2deg);
}

/* Sharpie handwritten scrawl */
.sharpie-scrawl {
  font-family: 'Oswald', sans-serif;
  font-weight: 900;
  color: #c41e3a;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.3);
  transform: rotate(-3deg);
  display: inline-block;
}

/* Correction tape / whiteout */
.correction-tape-effect {
  background: linear-gradient(90deg, #f5f5f0 0%, #fff 50%, #f5f5f0 100%);
  padding: 2px 8px;
  display: inline-block;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Post-it notes */
.postit-note-yellow {
  background: #ffcc00;
  padding: 12px 16px;
  transform: rotate(2deg);
  box-shadow: 3px 3px 6px rgba(0,0,0,0.2);
  font-size: 14px;
  position: relative;
  border-left: 4px solid rgba(0,0,0,0.1);
}

.postit-note-pink {
  background: #ff69b4;
  padding: 12px 16px;
  transform: rotate(-1deg);
  box-shadow: 3px 3px 6px rgba(0,0,0,0.2);
  font-size: 14px;
  position: relative;
}

/* CONFIDENTIAL stamp */
.stamp-confidential-red {
  display: inline-block;
  padding: 8px 20px;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #c41e3a;
  border: 4px solid #c41e3a;
  transform: rotate(-12deg);
  opacity: 0.8;
}

/* Coffee ring stain - prominent */
.coffee-ring-stain {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 5px solid rgba(101, 67, 33, 0.25);
  border-radius: 50%;
  pointer-events: none;
}

/* Torn paper edge effect */
.torn-top {
  position: relative;
}
.torn-top::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0; right: 0;
  height: 16px;
  background: linear-gradient(135deg, #e8e6e1 33.33%, transparent 33.33%),
              linear-gradient(225deg, #e8e6e1 33.33%, transparent 33.33%);
  background-size: 20px 16px;
  z-index: 10;
}

.torn-bottom {
  position: relative;
}
.torn-bottom::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0; right: 0;
  height: 16px;
  background: linear-gradient(45deg, #e8e6e1 33.33%, transparent 33.33%),
              linear-gradient(315deg, #e8e6e1 33.33%, transparent 33.33%);
  background-size: 20px 16px;
  z-index: 10;
}

/* Neon Highlighter over Grayscale Docs */
.highlighter-neon-pink {
  background: linear-gradient(180deg, transparent 50%, rgba(219, 0, 154, 0.4) 50%);
  padding: 0 2px;
}

.highlighter-neon-yellow {
  background: linear-gradient(180deg, transparent 50%, rgba(255, 235, 59, 0.6) 50%);
  padding: 0 2px;
}

.highlighter-neon-cyan {
  background: linear-gradient(180deg, transparent 50%, rgba(5, 171, 196, 0.4) 50%);
  padding: 0 2px;
}

.highlighter-neon-purple {
  background: linear-gradient(180deg, transparent 50%, rgba(93, 33, 245, 0.4) 50%);
  padding: 0 2px;
}

/* Correction Tape / Whiteout Effect */
.correction-tape {
  background: #fff;
  padding: 2px 6px;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  display: inline;
}

.whiteout {
  background: #f5f5f0;
  padding: 1px 4px;
  color: #0d0d0d;
  text-decoration: line-through;
  text-decoration-color: #ccc;
}

/* Torn Paper Edge */
.torn-edge-top {
  position: relative;
}

.torn-edge-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(135deg, transparent 33.33%, #fff 33.33%, #fff 66.66%, transparent 66.66%),
              linear-gradient(225deg, transparent 33.33%, #fff 33.33%, #fff 66.66%, transparent 66.66%);
  background-size: 16px 8px;
}

.torn-edge-bottom {
  position: relative;
}

.torn-edge-bottom::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(45deg, transparent 33.33%, #fff 33.33%, #fff 66.66%, transparent 66.66%),
              linear-gradient(315deg, transparent 33.33%, #fff 33.33%, #fff 66.66%, transparent 66.66%);
  background-size: 16px 8px;
}

/* Grayscale Document Base */
.grayscale-doc {
  background: #f9f9f9;
  filter: contrast(1.05);
}

/* Ransom Note Typography - Magazine Cutout Style */
.ransom-text {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.05em;
}

.ransom-text span {
  display: inline-block;
  padding: 2px 6px;
  margin: 1px;
  transform: rotate(var(--rotate, 0deg));
}

.ransom-text span:nth-child(odd) {
  background: #0d0d0d;
  color: #fff;
  --rotate: -1deg;
}

.ransom-text span:nth-child(even) {
  background: #ffcc00;
  color: #0d0d0d;
  --rotate: 1deg;
}

/* Sharpie Handwritten Look */
.sharpie-text {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  color: #c41e3a;
  letter-spacing: -0.5px;
  text-shadow: 0.5px 0.5px 0 rgba(0,0,0,0.3);
}

.sharpie-arrow {
  font-size: 24px;
  color: #c41e3a;
  display: inline-block;
  transform: rotate(-10deg);
}

/* Manila Folder Background */
.manila-folder {
  background: #d4a574;
  border: 2px solid #8b6914;
  position: relative;
}

.manila-folder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  width: 30%;
  height: 24px;
  background: #c49a64;
  border: 2px solid #8b6914;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  transform: translateY(-100%);
}

/* Photocopy Noise Texture - Enhanced */
.photocopy-texture {
  position: relative;
}

.photocopy-texture::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* Coffee Ring Stain - Large */
.coffee-ring {
  position: relative;
}

.coffee-ring::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  border: 3px solid rgba(139, 90, 43, 0.2);
  border-radius: 50%;
  top: -20px;
  right: 20px;
  pointer-events: none;
}

/* Post-it Note - Enhanced */
.postit {
  background: #ffcc00;
  padding: 16px 20px;
  transform: rotate(var(--rotate, 2deg));
  box-shadow: 2px 4px 8px rgba(0,0,0,0.15);
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
  position: relative;
  border-left: 3px solid rgba(0,0,0,0.1);
}

.postit-pink {
  background: #ff69b4;
  color: #0d0d0d;
}

.postit-cyan {
  background: #00bcd4;
  color: #0d0d0d;
}

/* Tape Strip */
.tape-strip {
  background: rgba(255, 255, 200, 0.7);
  padding: 4px 16px;
  transform: rotate(-1deg);
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Paperclip Decoration */
.paperclip::before {
  content: '📎';
  position: absolute;
  top: -8px;
  right: 16px;
  font-size: 24px;
  transform: rotate(15deg);
}

/* Stamp Effect - CONFIDENTIAL style */
.stamp-red {
  display: inline-block;
  padding: 8px 20px;
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #c41e3a;
  border: 4px solid #c41e3a;
  transform: rotate(-8deg);
  opacity: 0.85;
}

/* ============================================
   PUNK GAME ANIMATIONS
   ============================================ */

/* Card Hover Wobble - like peeling a sticker */
@keyframes wobble {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-2deg) scale(1.02); }
  75% { transform: rotate(2deg) scale(1.02); }
}
.hover-wobble {
  transition: all 0.2s ease;
}
.hover-wobble:hover {
  animation: wobble 0.4s ease;
  transform: translateY(-4px);
  box-shadow: 8px 8px 0px #0d0d0d;
}

/* Badge Unlock Shake */
@keyframes badge-shake {
  0%, 100% { transform: translateX(0) rotate(0); }
  10% { transform: translateX(-5px) rotate(-5deg); }
  20% { transform: translateX(5px) rotate(5deg); }
  30% { transform: translateX(-5px) rotate(-5deg); }
  40% { transform: translateX(5px) rotate(5deg); }
  50% { transform: translateX(-3px) rotate(-3deg); }
  60% { transform: translateX(3px) rotate(3deg); }
  70% { transform: translateX(-2px) rotate(-2deg); }
  80% { transform: translateX(2px) rotate(2deg); }
  90% { transform: translateX(-1px) rotate(-1deg); }
}
.badge-shake {
  animation: badge-shake 0.6s ease-out;
}

/* Glitch Text Effect */
@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: translate(0); }
}
@keyframes glitch-skew {
  0% { transform: skew(0deg); }
  20% { transform: skew(2deg); }
  40% { transform: skew(-2deg); }
  60% { transform: skew(1deg); }
  80% { transform: skew(-1deg); }
  100% { transform: skew(0deg); }
}
.glitch-text {
  position: relative;
  animation: glitch-skew 0.5s infinite linear alternate-reverse;
}
.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.glitch-text::before {
  left: 2px;
  text-shadow: -2px 0 #00ff00;
  clip-path: inset(40% 0 50% 0);
  animation: glitch 0.3s infinite linear alternate-reverse;
}
.glitch-text::after {
  left: -2px;
  text-shadow: 2px 0 #db009a;
  clip-path: inset(50% 0 30% 0);
  animation: glitch 0.4s infinite linear alternate-reverse;
}

/* Typewriter Effect */
@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}
@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: #00ff00; }
}
.typewriter {
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid #00ff00;
  animation: typewriter 2s steps(40, end), blink-caret 0.75s step-end infinite;
}

/* Stamp Slam Animation */
@keyframes stamp-slam {
  0% { transform: scale(3) rotate(-15deg); opacity: 0; }
  50% { transform: scale(1.1) rotate(-8deg); opacity: 1; }
  70% { transform: scale(0.95) rotate(-8deg); }
  100% { transform: scale(1) rotate(-8deg); opacity: 1; }
}
.stamp-slam {
  animation: stamp-slam 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Screen Flash */
@keyframes screen-flash-pink {
  0% { opacity: 0; }
  50% { opacity: 0.3; }
  100% { opacity: 0; }
}
@keyframes screen-flash-yellow {
  0% { opacity: 0; }
  50% { opacity: 0.4; }
  100% { opacity: 0; }
}
.screen-flash {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 9999;
}
.screen-flash.pink {
  background: #db009a;
  animation: screen-flash-pink 0.3s ease-out forwards;
}
.screen-flash.yellow {
  background: #ffcc00;
  animation: screen-flash-yellow 0.3s ease-out forwards;
}
.screen-flash.green {
  background: #00ff00;
  animation: screen-flash-pink 0.3s ease-out forwards;
}

/* Scanner Line Animation */
@keyframes scanner-line {
  0% { top: 0; opacity: 1; }
  100% { top: 100%; opacity: 0.5; }
}
.scanner-container {
  position: relative;
  overflow: hidden;
}
.scanner-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #00ff00, transparent);
  box-shadow: 0 0 20px #00ff00, 0 0 40px #00ff00;
  animation: scanner-line 1s ease-in-out forwards;
}

/* Access Granted Animation */
@keyframes access-granted {
  0% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.1); }
  70% { transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}
.access-granted {
  animation: access-granted 0.5s ease-out forwards;
}

/* Redacted Text Reveal */
.redacted-text {
  position: relative;
  display: inline-block;
}
.redacted-text::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0d0d0d;
  transition: all 0.5s ease;
}
.redacted-text.revealed::after {
  transform: scaleX(0);
  transform-origin: right;
}
.redacted-text:hover::after {
  transform: scaleX(0);
  transform-origin: right;
}

/* Progress Bar Fill Animation */
@keyframes progress-fill {
  0% { width: 0; }
}
.progress-fill-animate {
  animation: progress-fill 1s ease-out forwards;
}

/* Particle Burst - for progress completion */
@keyframes particle-burst {
  0% { transform: scale(0); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}
.particle-burst {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  animation: particle-burst 0.6s ease-out forwards;
}

/* Combo Counter Pop */
@keyframes combo-pop {
  0% { transform: scale(0) rotate(-10deg); opacity: 0; }
  50% { transform: scale(1.3) rotate(5deg); opacity: 1; }
  70% { transform: scale(0.9) rotate(-2deg); }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
.combo-pop {
  animation: combo-pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Pulse Glow for Unlocked Items */
@keyframes pulse-glow-brand {
  0%, 100% { box-shadow: 0 0 5px currentColor; }
  50% { box-shadow: 0 0 20px currentColor, 0 0 30px currentColor; }
}
.pulse-glow-brand {
  animation: pulse-glow-brand 2s infinite;
}

/* File Folder Open Animation */
@keyframes folder-open {
  0% { transform: perspective(500px) rotateX(-30deg); opacity: 0; }
  100% { transform: perspective(500px) rotateX(0deg); opacity: 1; }
}
.folder-open {
  animation: folder-open 0.5s ease-out forwards;
  transform-origin: bottom center;
}

/* Streak Fire Effect */
@keyframes streak-fire {
  0%, 100% { text-shadow: 0 0 5px #ffcc00, 0 0 10px #ff6600; }
  50% { text-shadow: 0 0 15px #ffcc00, 0 0 25px #ff6600, 0 0 35px #ff0000; }
}
.streak-fire {
  animation: streak-fire 0.5s infinite;
  color: #ffcc00;
}

/* Unlock Reveal Animation */
@keyframes unlock-reveal {
  0% { clip-path: inset(0 100% 0 0); }
  100% { clip-path: inset(0 0 0 0); }
}
.unlock-reveal {
  animation: unlock-reveal 0.8s ease-out forwards;
}

/* CC-Card List Styling - ensure bullets display with markers */
.cc-card ul {
  list-style: disc !important;
  padding-left: 1.25rem !important;
  margin: 0.75rem 0 !important;
}
.cc-card li {
  margin: 0.35rem 0;
  display: list-item !important;
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
  body {
    background: white !important;
  }
  .worksheet-section {
    page-break-inside: avoid;
  }
}

/* Ensure long text wraps properly */
.text-wrap-safe {
  overflow-wrap: break-word;
  word-break: break-word;
}

p, .text-sm, .text-xs {
  overflow-wrap: break-word;
  word-break: break-word;
}
