/* =========================================================
   HOT SAUNAS .IE - stylesheet
   Deliberately awful. Every rule here is a crime. Parody only.
   ========================================================= */

:root {
  --hot: #ff0090;
  --hotter: #ff6600;
  --toxic: #00ff00;
  --deep: #1a0033;
  --gold: #ffd700;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Comic Sans MS", "Chalkboard SE", cursive, sans-serif;
  color: var(--toxic);
  background-color: var(--deep);
  background-image:
    repeating-linear-gradient(45deg,  rgba(255,0,144,.22) 0 22px, transparent 22px 44px),
    repeating-linear-gradient(-45deg, rgba(255,102,0,.22) 0 22px, transparent 22px 44px),
    radial-gradient(circle at 50% 0%, #4b0082 0%, #1a0033 60%, #000 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* ---------- animations of regret ---------- */
@keyframes blinkity { 0%,49% {opacity:1} 50%,100% {opacity:0} }
@keyframes huerave  { from {filter:hue-rotate(0deg)} to {filter:hue-rotate(360deg)} }
@keyframes wobble   { 0%,100%{transform:rotate(-2.5deg)} 50%{transform:rotate(2.5deg)} }
@keyframes throb    { 0%,100%{transform:scale(1)} 50%{transform:scale(1.09)} }
@keyframes shake    { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-6px)} 75%{transform:translateX(6px)} }
@keyframes creep    { from {background-position:0 0} to {background-position:120px 0} }
@keyframes popin    { from {transform:scale(.4) rotate(-9deg); opacity:0} to {transform:scale(1) rotate(0); opacity:1} }

.blink { animation: blinkity 0.7s steps(1) infinite; }
.fire  { display:inline-block; animation: throb .6s ease-in-out infinite; font-size:1.6em; }

/* ---------- top bar farm ---------- */
#topbar {
  background: repeating-linear-gradient(90deg, #ff0000 0 30px, #ffff00 30px 60px);
  animation: creep 1.4s linear infinite;
  color: #000;
  font-weight: bold;
  font-size: 18px;
  padding: 6px 0;
  border-bottom: 5px ridge var(--toxic);
  text-shadow: 1px 1px 0 #fff;
}

#stickyDeal {
  position: sticky;
  top: 0;
  z-index: 500;
  background: linear-gradient(90deg, #ff0090, #ff6600, #ffd700, #ff0090);
  background-size: 400% 100%;
  animation: huerave 4s linear infinite;
  color: #000;
  font-weight: bold;
  text-align: center;
  padding: 10px 6px;
  border-top: 4px outset #fff;
  border-bottom: 4px outset #fff;
  font-size: 17px;
}
#countdown {
  background: #000;
  color: #ff2b2b;
  font-family: "Courier New", monospace;
  padding: 2px 8px;
  border: 2px inset #888;
  letter-spacing: 2px;
}

.btn-tiny {
  background: var(--toxic);
  border: 3px outset #fff;
  color: #000;
  font-weight: bold;
  font-family: inherit;
  padding: 4px 12px;
  cursor: pointer;
  animation: throb 1s infinite;
}

/* ---------- hero ---------- */
#hero {
  text-align: center;
  padding: 34px 14px 44px;
  border-bottom: 8px groove var(--gold);
}

h1.rainbow {
  margin: 0 0 6px;
  font-size: clamp(38px, 9vw, 96px);
  background: linear-gradient(90deg, #ff0000, #ff9900, #ffff00, #00ff00, #00ffff, #ff00ff, #ff0000);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 2px #000;
  text-shadow: 5px 5px 0 rgba(0,0,0,.6);
  animation: creep 3s linear infinite, wobble 2.2s ease-in-out infinite;
}

#hero h2 { color: var(--gold); font-size: clamp(15px, 3vw, 26px); margin: 4px 0 14px; }
.tagline { color: #fff; font-size: clamp(16px, 3.4vw, 24px); margin: 10px 0 18px; }

.badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 14px 0 6px; }
.badge {
  background: #c0c0c0;
  color: #000;
  border: 3px outset #fff;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: bold;
  transform: rotate(-2deg);
}
.badge:nth-child(even) { transform: rotate(2deg); background: var(--gold); }

.mega-cta {
  display: inline-block;
  margin-top: 20px;
  font-family: inherit;
  font-size: clamp(18px, 4vw, 30px);
  font-weight: bold;
  color: #fff;
  background: linear-gradient(180deg, #ff0090 0%, #a3005c 100%);
  border: 6px outset #ffd700;
  border-radius: 4px;
  padding: 14px 26px;
  cursor: pointer;
  text-shadow: 2px 2px 0 #000;
  animation: throb 1.2s ease-in-out infinite;
  box-shadow: 0 0 26px 6px rgba(255,255,0,.8);
}
.mega-cta:hover { animation: shake .25s infinite; }

/* ---------- live ticker ---------- */
#liveticker {
  background: #000;
  color: var(--toxic);
  font-family: "Courier New", monospace;
  font-size: 15px;
  padding: 9px 12px;
  border-bottom: 3px dashed var(--hotter);
  text-align: center;
  min-height: 38px;
}

/* ---------- panels ---------- */
main { max-width: 1000px; margin: 0 auto; padding: 0 10px; }

.panel {
  margin: 26px 0;
  padding: 18px;
  border: 7px ridge var(--hot);
  background: rgba(0,0,0,.55);
}
.panel.alt { border-color: var(--toxic); background: rgba(40,0,60,.72); }

.section-title {
  text-align: center;
  font-size: clamp(22px, 5vw, 38px);
  color: var(--gold);
  text-shadow: 3px 3px 0 var(--hot), 6px 6px 0 #000;
  margin: 0 0 6px;
  animation: wobble 3s ease-in-out infinite;
}
.sub { text-align: center; color: #fff; margin-top: 0; }

/* ---------- product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 16px; }

.card {
  border: 5px outset #c0c0c0;
  background: linear-gradient(160deg, #2b0050, #4b0082);
  padding: 14px;
  text-align: center;
  position: relative;
}
.card:hover { animation: shake .3s infinite; }
.card .emoji { font-size: 58px; display: block; animation: throb 1.5s infinite; }
.card h4 { color: var(--gold); margin: 8px 0 4px; font-size: 19px; }
.card .desc { color: #fff; font-size: 13px; min-height: 52px; }
.card .price { font-size: 25px; color: var(--toxic); font-weight: bold; }
.card .was { color: #ff5a5a; text-decoration: line-through; font-size: 15px; }
.card .stock { color: #ff2b2b; font-size: 12px; font-weight: bold; animation: blinkity 1.1s steps(1) infinite; }
.card .ribbon {
  position: absolute; top: 8px; left: -8px;
  background: #ff0000; color: #fff; font-size: 11px; font-weight: bold;
  padding: 3px 9px; transform: rotate(-12deg); border: 2px solid #fff;
}
.card button {
  margin-top: 8px; width: 100%;
  font-family: inherit; font-weight: bold; font-size: 15px;
  background: var(--hotter); color: #000;
  border: 4px outset var(--gold); padding: 8px; cursor: pointer;
}

/* ---------- testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
blockquote {
  margin: 0; padding: 12px;
  background: #000; border-left: 8px solid var(--gold);
  color: #fff; font-style: italic; font-size: 14px;
}
blockquote cite { display: block; margin-top: 8px; color: var(--toxic); font-size: 12px; font-style: normal; }

/* ---------- reasons + faq ---------- */
.reasons { list-style: none; padding: 0; font-size: 18px; color: #fff; line-height: 1.9; }
details { background: #000; border: 2px dashed var(--toxic); padding: 8px 12px; margin: 8px 0; color: #fff; }
summary { cursor: pointer; color: var(--gold); font-weight: bold; }

/* ---------- footer ---------- */
footer { text-align: center; padding: 26px 12px 90px; border-top: 8px groove var(--gold); margin-top: 30px; }
.footer-links a { color: #00ffff; font-weight: bold; }
.footer-links a:visited { color: #ff00ff; }
.webring { color: var(--gold); font-weight: bold; letter-spacing: 1px; }
.microprint { font-size: 10px; color: #9a9a9a; max-width: 680px; margin: 10px auto; line-height: 1.5; }

/* =========================================================
   POP-UPS
   ========================================================= */
#popupLayer { position: fixed; inset: 0; pointer-events: none; z-index: 900; }

.popup {
  position: absolute;
  pointer-events: auto;
  min-width: 270px;
  max-width: min(430px, 92vw);
  background: #d4d0c8;
  color: #000;
  border: 3px outset #fff;
  box-shadow: 6px 6px 0 rgba(0,0,0,.6), 0 0 40px rgba(255,0,144,.5);
  font-family: Tahoma, "MS Sans Serif", sans-serif;
  font-size: 13px;
  animation: popin .22s ease-out;
}
.popup.rave { animation: popin .22s ease-out, huerave 3s linear infinite; }

.popup .titlebar {
  display: flex; align-items: center; gap: 6px;
  background: linear-gradient(90deg, #000080, #1084d0);
  color: #fff; font-weight: bold; font-size: 12px;
  padding: 4px 6px; cursor: move; user-select: none;
}
.popup .titlebar span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.popup .titlebar button {
  width: 20px; height: 18px; line-height: 1;
  background: #d4d0c8; border: 2px outset #fff;
  font-size: 11px; font-weight: bold; cursor: pointer; font-family: inherit;
}
.popup .body { padding: 14px; text-align: center; }
.popup .body h4 { margin: 0 0 8px; font-size: 17px; color: #a00060; }
.popup .body p { margin: 6px 0; line-height: 1.45; }
.popup .body .tiny { font-size: 10px; color: #555; }

.popup input[type="text"], .popup input[type="email"] {
  width: 90%; padding: 6px; margin: 6px 0;
  border: 2px inset #808080; font-family: inherit; font-size: 13px;
}
.popup .yes {
  display: block; width: 90%; margin: 8px auto 4px;
  padding: 10px; font-family: inherit; font-size: 15px; font-weight: bold;
  background: #00b300; color: #fff; border: 4px outset #66ff66; cursor: pointer;
  animation: throb 1.3s infinite;
}
.popup .no {
  display: block; margin: 4px auto 0;
  background: none; border: none; color: #666;
  font-size: 10px; text-decoration: underline; cursor: pointer; font-family: inherit;
}
.popup .no.runaway { position: relative; transition: transform .12s ease-out; }

.popup .prize { font-size: 46px; display: block; animation: throb .8s infinite; }
.popup .progress { height: 16px; border: 2px inset #808080; background: #fff; margin: 8px 0; }
.popup .progress i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg,#000080 0 8px,#1084d0 8px 16px); }

/* fake system-scan popup */
.popup.danger { border-color: #ff0000; box-shadow: 6px 6px 0 rgba(0,0,0,.6), 0 0 40px rgba(255,0,0,.9); }
.popup.danger .titlebar { background: linear-gradient(90deg,#8b0000,#ff0000); }
.popup.danger .body h4 { color: #c00; animation: blinkity .8s steps(1) infinite; }

/* cookie consent stack */
.cookiebar {
  position: fixed; left: 0; right: 0;
  background: #111; color: #fff; border-top: 3px solid var(--toxic);
  padding: 10px 14px; font-family: Tahoma, sans-serif; font-size: 12px;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center;
  z-index: 950; pointer-events: auto;
}
.cookiebar button { font-family: inherit; font-size: 12px; padding: 6px 12px; cursor: pointer; border: 2px outset #fff; }
.cookiebar .accept { background: var(--toxic); color: #000; font-weight: bold; }
.cookiebar .manage { background: #333; color: #aaa; font-size: 9px; border-color: #444; }

/* chat widget */
#chatBubble {
  position: fixed; right: 16px; bottom: 16px; z-index: 940;
  width: 62px; height: 62px; border-radius: 50%;
  background: linear-gradient(180deg,#ff0090,#a3005c);
  border: 4px outset var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; cursor: pointer;
  animation: throb 1.4s infinite;
  box-shadow: 0 0 22px 4px rgba(255,0,144,.8);
}
#chatBadge {
  position: absolute; top: -6px; right: -6px;
  background: #ff0000; color: #fff; font-family: Tahoma, sans-serif;
  font-size: 12px; font-weight: bold;
  min-width: 22px; height: 22px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}
.chatline { text-align: left; margin: 6px 0; }
.chatline b { color: #a00060; }

/* the "you are leaving" full screen takeover */
.takeover {
  position: fixed; inset: 0; z-index: 990;
  background: rgba(0,0,0,.86);
  display: flex; align-items: center; justify-content: center;
  pointer-events: auto;
}

/* panic button */
#panicBtn {
  position: fixed; left: 12px; bottom: 12px; z-index: 960;
  font-family: Tahoma, sans-serif; font-size: 11px;
  background: #222; color: #888; border: 1px solid #444;
  padding: 6px 10px; cursor: pointer; opacity: .55;
}
#panicBtn:hover { opacity: 1; color: #fff; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
}
