/* ============================================================
   IVAN DJUKIC :: WordPress Portfolio
   90s / Windows 98 / Y2K shareware theme
   ============================================================ */

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

body {
  background: #008080;
  background-image: radial-gradient(rgba(0, 0, 0, 0.12) 1px, transparent 1px);
  background-size: 4px 4px;
  font-family: "Tahoma", "Geneva", "MS Sans Serif", sans-serif;
  font-size: 12px;
  color: #000;
  min-height: 100vh;
  padding: 14px;
}

.desktop { max-width: 1100px; margin: 0 auto; }

a         { color: #0000EE; }
a:visited { color: #551A8B; }
a:hover   { text-decoration: underline; }

h1, h2, h3, h4 { margin: 0; }

/* ---------- WINDOW CHROME ---------- */

.window {
  background: #C0C0C0;
  border-top: 2px solid #FFFFFF;
  border-left: 2px solid #FFFFFF;
  border-right: 2px solid #404040;
  border-bottom: 2px solid #404040;
  box-shadow: 1px 1px 0 #000;
  padding: 2px;
  margin-bottom: 14px;
}
.window.maximized {
  position: fixed;
  inset: 0;
  margin: 0;
  border: 0;
  box-shadow: none;
  padding: 0;
  z-index: 100;
  overflow-y: auto;
}
body.has-maximized { overflow: hidden; }
body.has-maximized .kitsch-footer { display: none; }

.title-bar {
  background: linear-gradient(90deg, #000080 0%, #1084D0 100%);
  color: #FFFFFF;
  padding: 3px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 12px;
}
.title-bar-text  { display: flex; align-items: center; gap: 6px; min-width: 0; }
.title-bar-text span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.title-bar-icon  { font-size: 14px; flex: 0 0 auto; }
.title-bar-controls { display: flex; gap: 2px; flex: 0 0 auto; }
.title-bar-controls button {
  width: 18px; height: 16px; min-width: 0;
  background: #C0C0C0;
  border-top: 1px solid #FFFFFF;
  border-left: 1px solid #FFFFFF;
  border-right: 1px solid #404040;
  border-bottom: 1px solid #404040;
  box-shadow: none;
  padding: 0;
  font-size: 10px;
  line-height: 1;
  color: #000;
  font-family: "Tahoma", sans-serif;
  font-weight: bold;
  cursor: pointer;
}
.title-bar-controls button:active {
  border-top: 1px solid #404040;
  border-left: 1px solid #404040;
  border-right: 1px solid #FFFFFF;
  border-bottom: 1px solid #FFFFFF;
}

/* ---------- MENU BAR ---------- */

.menu-bar {
  background: #C0C0C0;
  padding: 2px 4px;
  border-bottom: 1px solid #808080;
  display: flex;
  gap: 2px;
}
.menu-item {
  position: relative;
  padding: 2px 8px;
  cursor: default;
  user-select: none;
  font-size: 12px;
}
.menu-item:hover, .menu-item.open { background: #000080; color: #FFF; }
.menu-bar u { text-decoration: underline; }
.menu-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #C0C0C0;
  color: #000;
  border-top: 1px solid #FFFFFF;
  border-left: 1px solid #FFFFFF;
  border-right: 1px solid #404040;
  border-bottom: 1px solid #404040;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.5);
  padding: 2px;
  z-index: 1000;
}
.menu-item.open .menu-dropdown { display: block; }
.menu-dropdown button.menu-entry {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  box-shadow: none;
  padding: 3px 16px 3px 22px;
  color: #000;
  font: inherit;
  font-size: 12px;
  white-space: nowrap;
  cursor: default;
  min-width: 0;
}
.menu-dropdown button.menu-entry:hover:not(:disabled) { background: #000080; color: #FFF; }
.menu-dropdown button.menu-entry:disabled { color: #808080; text-shadow: 1px 1px 0 #FFF; }
.menu-dropdown hr {
  border: 0;
  border-top: 1px solid #808080;
  border-bottom: 1px solid #FFFFFF;
  margin: 2px 2px;
}
.menu-accel { float: right; margin-left: 28px; opacity: 0.75; }
.menu-entry.checked::before { content: "\2713 "; margin-left: -12px; }

/* ---------- NEWS TICKER ---------- */

.news-ticker {
  background: #000080;
  color: #FFFF00;
  padding: 4px 0;
  border-top: 1px solid #404040;
  border-bottom: 1px solid #FFFFFF;
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
  overflow: hidden;
}
.news-ticker marquee { display: block; }

/* ---------- WINDOW BODY ---------- */

.window-body { padding: 10px; background: #C0C0C0; }

/* ---------- HERO ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 14px;
  align-items: stretch;
}
.hero-left {
  background: linear-gradient(160deg, #000080 0%, #1084D0 100%);
  color: #fff;
  padding: 18px 20px 20px;
  border-top: 2px solid #4aa8e0;
  border-left: 2px solid #4aa8e0;
  border-right: 2px solid #001040;
  border-bottom: 2px solid #001040;
}
.hero-eyebrow {
  font-family: "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: #33FF33;
  text-shadow: 0 0 4px #33FF33;
  margin-bottom: 8px;
}
.hero h1 {
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: 34px;
  line-height: 1.02;
  letter-spacing: 1px;
  text-shadow: 2px 2px 0 #000, 3px 3px 0 rgba(0,0,0,0.35);
}
.hero h1 .wp { color: #FFDD00; }
.hero-tagline { font-size: 14px; margin: 12px 0 14px; line-height: 1.45; }
.hero-tagline b { color: #FFDD00; }
.hero-bullets { list-style: none; margin: 0 0 8px; padding: 0; font-size: 12px; line-height: 1.7; }
.hero-bullets li::before { content: "\25BA "; color: #FFDD00; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }

/* WordPress logo, 90s treatment */
.wp-logo {
  width: 84px; height: 84px;
  image-rendering: pixelated;
  filter: drop-shadow(2px 2px 0 #000);
  flex: 0 0 auto;
}
.hero-brandrow { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }

/* ---------- CONTACT FORM (hero right + footer) ---------- */

.contact-panel {
  background: #C0C0C0;
  border-top: 2px solid #FFFFFF;
  border-left: 2px solid #FFFFFF;
  border-right: 2px solid #404040;
  border-bottom: 2px solid #404040;
  padding: 2px;
  display: flex;
  flex-direction: column;
}
.contact-panel .title-bar { font-size: 11px; }
.contact-inner { padding: 12px; background: #C0C0C0; flex: 1; }
.contact-blurb {
  font-size: 11px;
  background: #FFFFC0;
  border: 1px solid #808080;
  padding: 6px 8px;
  margin-bottom: 10px;
  line-height: 1.4;
}
.form-row { display: flex; flex-direction: column; gap: 3px; margin-bottom: 8px; }
.form-row label { font-size: 11px; font-weight: bold; }
.form-row .req { color: #A00; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
  background: #FFFFFF;
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-right: 2px solid #FFFFFF;
  border-bottom: 2px solid #FFFFFF;
  padding: 4px 5px;
  font-family: "Tahoma", sans-serif;
  font-size: 12px;
  color: #000;
  outline: none;
  width: 100%;
}
textarea { resize: vertical; min-height: 68px; }
/* honeypot */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- BUTTONS ---------- */

button {
  background: #C0C0C0;
  border-top: 2px solid #FFFFFF;
  border-left: 2px solid #FFFFFF;
  border-right: 2px solid #404040;
  border-bottom: 2px solid #404040;
  box-shadow: inset 1px 1px 0 #DFDFDF, inset -1px -1px 0 #808080;
  padding: 4px 16px;
  font-family: "Tahoma", sans-serif;
  font-size: 12px;
  cursor: pointer;
  color: #000;
  min-width: 64px;
}
button:focus { outline: 1px dotted #000; outline-offset: -4px; }
button:active:not(:disabled) {
  border-top: 2px solid #404040;
  border-left: 2px solid #404040;
  border-right: 2px solid #FFFFFF;
  border-bottom: 2px solid #FFFFFF;
  box-shadow: inset 1px 1px 0 #808080, inset -1px -1px 0 #DFDFDF;
}
button:disabled { color: #808080; text-shadow: 1px 1px 0 #FFF; cursor: not-allowed; }
.btn-primary { font-weight: bold; }
.btn-cta {
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: 15px;
  letter-spacing: 1px;
  padding: 8px 18px;
  color: #000080;
}

/* ---------- SECTIONS / CARDS ---------- */

.section { margin-bottom: 14px; }
.section-heading {
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
  color: #000080;
  text-align: center;
  margin-bottom: 4px;
}
.section-heading .rainbow { -webkit-text-fill-color: transparent; }
.section-sub { text-align: center; font-size: 11px; color: #303030; margin-bottom: 12px; }

fieldset.card {
  border: 2px groove #FFFFFF;
  padding: 12px 14px 14px;
  margin: 0 0 12px;
  background: #C0C0C0;
}
fieldset.card > legend {
  padding: 0 6px;
  font-weight: bold;
  font-size: 12px;
}

/* ---------- SKILLS GRID ---------- */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.skill {
  background: #FFFFFF;
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-right: 2px solid #FFFFFF;
  border-bottom: 2px solid #FFFFFF;
  padding: 10px 12px;
}
.skill h3 {
  font-size: 13px;
  color: #000080;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.skill .ico { font-size: 18px; }
.skill p { font-size: 11px; line-height: 1.5; margin: 0; }
.skill .lvl { margin-top: 8px; }
.lvl-bar {
  height: 14px;
  background: #FFF;
  border-top: 1px solid #404040;
  border-left: 1px solid #404040;
  border-right: 1px solid #FFF;
  border-bottom: 1px solid #FFF;
  overflow: hidden;
}
.lvl-bar .fill {
  height: 100%;
  background: repeating-linear-gradient(90deg, #000080 0, #000080 8px, #C0C0C0 8px, #C0C0C0 10px);
}
.lvl-label { font-family: "Courier New", monospace; font-size: 10px; color: #404040; margin-top: 2px; }

/* ---------- TECH STACK (icon grid) ---------- */

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 6px;
}
.tech-item {
  background: #FFFFFF;
  border: 1px solid #808080;
  border-top-color: #FFF; border-left-color: #FFF;
  padding: 7px 9px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.tech-item .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #00E000; box-shadow: 0 0 4px #00E000;
  flex: 0 0 auto; border: 1px solid rgba(0,0,0,0.4);
}
.tech-item b { display: block; }
.tech-item small { color: #606060; font-size: 10px; }

/* ---------- SITE TYPES ---------- */

.types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}
.type-card {
  background: #FFFFFF;
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-right: 2px solid #FFFFFF;
  border-bottom: 2px solid #FFFFFF;
  padding: 12px;
  text-align: center;
}
.type-card .big { font-size: 30px; line-height: 1; }
.type-card h4 { font-size: 13px; color: #000080; margin: 8px 0 4px; }
.type-card p { font-size: 11px; margin: 0; line-height: 1.45; }

/* ---------- TESTIMONIALS ---------- */

.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.testimonial {
  background: #FFFFF0;
  border-top: 2px solid #FFFFFF;
  border-left: 2px solid #FFFFFF;
  border-right: 2px solid #808080;
  border-bottom: 2px solid #808080;
  padding: 12px;
}
.testimonial .stars { color: #E0A000; letter-spacing: 2px; font-size: 14px; }
.testimonial blockquote { margin: 6px 0 8px; font-size: 12px; line-height: 1.5; font-style: italic; }
.testimonial .who { font-size: 11px; font-weight: bold; color: #000080; }
.testimonial .who small { display: block; font-weight: normal; color: #505050; }

/* ---------- AWARD BADGES ---------- */

.awards { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; padding: 6px 0; }
.badge98 {
  width: 92px; height: 92px;
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  font-family: "Arial Black", "Impact", sans-serif;
  font-size: 11px;
  line-height: 1.05;
  color: #fff;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #000, 2px 2px 4px rgba(0,0,0,0.5);
  text-shadow: 1px 1px 0 rgba(0,0,0,0.5);
  padding: 4px;
}
.badge98 .b-top { font-size: 9px; letter-spacing: 0.5px; }
.badge98 .b-mid { font-size: 15px; }
.badge98 .b-bot { font-size: 9px; }
.badge98.gold   { background: radial-gradient(circle at 35% 30%, #FFE680, #C79200); color:#3a2600; text-shadow:none; }
.badge98.blue   { background: radial-gradient(circle at 35% 30%, #4aa8e0, #000080); }
.badge98.red    { background: radial-gradient(circle at 35% 30%, #ff6a6a, #a00000); }
.badge98.green  { background: radial-gradient(circle at 35% 30%, #7ee87e, #007a00); }
.badge98.purple { background: radial-gradient(circle at 35% 30%, #b98be0, #4B0082); }

/* ---------- MISC KITSCH ---------- */

.chip {
  display: inline-block;
  background: #FFFFC0;
  border: 1px solid #808080;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #303000;
}
.chip.led { background:#000; color:#33FF33; border-color:#004000; text-shadow:0 0 4px #33FF33; }

.blink { animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.rainbow {
  background: linear-gradient(90deg, #F00, #F80, #FF0, #0F0, #0FF, #00F, #80F);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  font-weight: bold;
}

.msg { font-size: 12px; padding: 6px 8px; margin-bottom: 8px; }
.msg.ok    { color: #060; background:#d6ffd6; border:1px solid #060; font-weight: bold; }
.msg.error { color: #A00; background:#ffe0e0; border:1px solid #A00; font-weight: bold; }

/* ---------- STATUS BAR ---------- */

.status-bar { display: flex; background: #C0C0C0; padding: 2px; gap: 2px; border-top: 1px solid #808080; }
.status-bar-field {
  border-top: 1px solid #808080;
  border-left: 1px solid #808080;
  border-right: 1px solid #FFFFFF;
  border-bottom: 1px solid #FFFFFF;
  padding: 2px 8px;
  font-size: 11px;
  min-height: 20px;
}
.status-bar-field:nth-child(1) { flex: 2; }
.status-bar-field:nth-child(2) { flex: 1; text-align: center; }
.status-bar-field:nth-child(3) { flex: 1; text-align: right; }

/* ---------- KITSCH FOOTER ---------- */

.kitsch-footer { text-align: center; padding: 14px 8px 6px; color: #FFFFFF; font-size: 11px; }
.kitsch-footer > * { margin: 0 10px 8px; vertical-align: middle; }
.visitor-counter { display: inline-block; }
.vc-label { font-family:"Courier New",monospace; font-weight:bold; font-size:10px; color:#FFFF00; text-shadow:1px 1px 0 #000; margin-bottom:3px; }
.vc-digits {
  background:#000; color:#33FF33; font-family:"Courier New",monospace;
  font-size:22px; font-weight:bold; padding:4px 10px; letter-spacing:4px;
  border-top:2px solid #404040; border-left:2px solid #404040;
  border-right:2px solid #808080; border-bottom:2px solid #808080;
  text-shadow:0 0 5px #33FF33; display:inline-block;
}
.under-construction { display:inline-block; max-width:220px; }
.uc-stripes { height:10px; background: repeating-linear-gradient(-45deg,#FFDD00 0,#FFDD00 10px,#000 10px,#000 20px); }
.uc-label { background:#FFDD00; color:#000; font-family:"Impact","Arial Black",sans-serif; font-size:13px; letter-spacing:1px; padding:5px 10px; font-weight:900; }
.webring { display:block; margin:10px auto 0; font-family:"Times New Roman",serif; font-size:12px; color:#FFF; }
.webring a { color:#FFFF00; text-decoration:underline; }
.foot-copy { display:block; margin-top:8px; opacity:0.85; }

/* ---------- TASKBAR (shared minimize) ---------- */

body.is-minimized .desktop > .window { display:none; }
body.is-minimized .kitsch-footer { display:none; }
.contact-panel.form-hidden { display:none; }

#taskbar {
  position: fixed;
  left: 8px;
  bottom: 8px;
  z-index: 490;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: calc(100vw - 16px);
}
#taskbar:empty { display: none; }
.taskbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #C0C0C0;
  color: #000;
  font-family: "Tahoma", "MS Sans Serif", sans-serif;
  font-size: 12px;
  padding: 4px 12px;
  border-top: 2px solid #FFFFFF;
  border-left: 2px solid #FFFFFF;
  border-right: 2px solid #404040;
  border-bottom: 2px solid #404040;
  box-shadow: 1px 1px 0 #000;
  cursor: pointer;
  min-width: 0;
}
.taskbar-btn:active { border-color: #404040 #FFFFFF #FFFFFF #404040; }
.taskbar-btn img { width: 16px; height: 16px; image-rendering: pixelated; }
.taskbar-hint {
  font-family: "Comic Sans MS", "Segoe Script", cursive;
  font-size: 12px;
  font-weight: bold;
  color: #FF00FF;
  text-shadow: 1px 1px 0 #FFFF00;
  white-space: nowrap;
  pointer-events: none;
  animation: hint-wiggle .7s ease-in-out infinite alternate;
}
@keyframes hint-wiggle { from { transform: translateX(0); } to { transform: translateX(-6px); } }

/* ---------- RETRO MODAL ---------- */

.retro-modal-backdrop { position:fixed; inset:0; background:rgba(0,0,64,0.35); z-index:500; display:flex; align-items:center; justify-content:center; }
.retro-modal-backdrop[hidden] { display:none; }
.retro-modal {
  background:#C0C0C0;
  border-top:2px solid #FFFFFF; border-left:2px solid #FFFFFF;
  border-right:2px solid #404040; border-bottom:2px solid #404040;
  box-shadow:3px 3px 0 #000; min-width:340px; max-width:min(92vw,460px); padding:2px;
}
.retro-modal .title-bar { font-size:12px; }
.retro-modal-body { padding:16px; font-size:12px; line-height:1.5; }
.retro-modal-body h4 { margin:0 0 8px; font-size:13px; }
.retro-modal-body .modal-icon { font-size:32px; float:left; margin:0 12px 8px 0; }
.retro-modal-actions { display:flex; gap:8px; justify-content:flex-end; margin-top:14px; }

/* ---------- THEMES (title bars + hero) ---------- */
body.theme-desert  .title-bar,
body.theme-desert  .hero-left { background: linear-gradient(90deg,#4B3621 0%,#BC9A6D 100%); }
body.theme-hotdog  .title-bar { background: linear-gradient(90deg,#FF0000 0%,#FFFF00 100%); color:#000; }
body.theme-hotdog  .hero-left { background: linear-gradient(160deg,#FF0000 0%,#FFAA00 100%); }
body.theme-eggplant .title-bar,
body.theme-eggplant .hero-left { background: linear-gradient(90deg,#4B0082 0%,#800080 100%); }

/* ---------- CRT SCANLINE EFFECT ---------- */
body.crt::after {
  content:""; position:fixed; inset:0; pointer-events:none; z-index:9999;
  background:repeating-linear-gradient(0deg, rgba(0,0,0,0.12) 0, rgba(0,0,0,0.12) 1px, transparent 1px, transparent 3px);
  mix-blend-mode:multiply;
}

/* ---------- LOGIN PAGE ---------- */
.login-desktop { max-width:420px; margin:0 auto; padding-top:8vh; }
.login-body { padding:16px 18px; }
.login-prompt { font-size:11px; background:#FFFFC0; border:1px solid #808080; padding:8px 10px; margin-bottom:14px; line-height:1.5; }
.login-body .form-row { margin-bottom:12px; }
.lock-note { font-size:10px; color:#404040; margin-top:10px; text-align:center; }

/* ---------- ADMIN CONTENT EDITING (only when body.admin-mode) ---------- */
.admin-banner {
  position: fixed;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 600;
  background: #FFFFC0;
  border-top: 2px solid #FFFFFF;
  border-left: 2px solid #FFFFFF;
  border-right: 2px solid #404040;
  border-bottom: 2px solid #404040;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.4);
  padding: 4px 12px;
  font-size: 11px;
  font-family: "Tahoma", sans-serif;
  white-space: nowrap;
}
.admin-banner a { color: #0000a0; font-weight: bold; }

body.admin-mode [data-ck],
body.admin-mode [data-form] {
  outline: 1px dashed rgba(0, 0, 128, 0.35);
  outline-offset: 3px;
}
body.admin-mode [data-form] { outline-color: rgba(128, 0, 128, 0.45); }

.edit-pen {
  position: absolute;
  top: -11px;
  right: -8px;
  z-index: 60;
  min-width: 0;
  width: 24px;
  height: 20px;
  padding: 0;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
}
.edit-pen.form-pen {
  width: auto;
  padding: 1px 8px;
  font-weight: bold;
  color: #4B0082;
}
.edit-pen:hover { background: #fff0a0; }

/* CMS modal fields */
.cms-field { display: block; margin-bottom: 10px; font-size: 12px; }
.cms-field-label { display: block; font-weight: bold; margin-bottom: 3px; }
.cms-textarea { width: 100%; font-family: "Courier New", monospace; font-size: 12px; }
.retro-modal-wide { min-width: min(560px, 92vw); max-width: 92vw; }
.cms-note {
  font-size: 11px;
  background: #FFFFC0;
  border: 1px solid #808080;
  padding: 6px 8px;
  margin: 4px 0 0;
  line-height: 1.4;
}

/* Collection cards (add/delete/edit) */
.col-card { position: relative; }
.col-del {
  position: absolute;
  top: -11px;
  left: -8px;
  z-index: 60;
  min-width: 0;
  width: 22px;
  height: 20px;
  padding: 0;
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
  color: #900;
  cursor: pointer;
}
.col-del:hover { background: #ffd0d0; }
.col-add {
  min-width: 120px;
  align-self: center;
  border-style: dashed !important;
  background: #d8f0d8;
  font-weight: bold;
  color: #060;
  cursor: pointer;
}

/* Menu-bar edit pen */
.edit-pen.menu-pen {
  position: absolute;
  top: 1px;
  right: 2px;
  width: auto;
  height: auto;
  padding: 1px 8px;
  font-weight: bold;
  color: #4B0082;
}

/* Menu editor */
.menu-editor { max-height: 60vh; overflow-y: auto; padding-right: 4px; }
.me-menu {
  border: 1px solid #808080;
  border-top-color: #fff; border-left-color: #fff;
  padding: 8px;
  margin-bottom: 10px;
  background: #cfcfcf;
}
.me-menu-head { display: flex; gap: 6px; margin-bottom: 6px; align-items: center; }
.me-title { flex: 1; font-weight: bold; }
.me-item { display: flex; gap: 4px; margin-bottom: 4px; align-items: center; }
.me-label { flex: 1 1 120px; min-width: 0; }
.me-item select { flex: 0 0 auto; max-width: 150px; }
.me-param { flex: 1 1 120px; min-width: 0; }
.me-del { min-width: 0; width: 22px; padding: 0; color: #900; font-weight: bold; }
.me-sep { flex: 1; color: #606060; font-style: italic; text-align: center; }
.me-tools { display: flex; gap: 6px; margin-top: 4px; }
.me-tools button, .me-menu-head .danger { min-width: 0; padding: 2px 8px; font-size: 11px; }

/* Admin dashboard leads table */
.dash-head { margin-bottom: 10px; font-size: 12px; }
.dash-head .dash-hint { font-size: 11px; color: #404040; margin-top: 3px; }
.leads-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 11px;
}
.leads-table thead th {
  background: #C0C0C0;
  border: 1px solid #808080;
  border-top-color: #fff; border-left-color: #fff;
  padding: 3px 6px;
  text-align: left;
  white-space: nowrap;
  position: sticky; top: 0;
}
.leads-table td { padding: 3px 6px; border-bottom: 1px dotted #C0C0C0; vertical-align: top; }
.leads-table tbody tr:nth-child(even) { background: #EFEFEF; }
.leads-table .msg-cell { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leads-table .src { text-transform: uppercase; font-size: 9px; background: #FFFFC0; border: 1px solid #808080; padding: 0 4px; }
.leads-table td.empty { text-align: center; color: #808080; font-style: italic; padding: 20px; }
.leads-table .del-form { margin: 0; }
.leads-table .del-form button { min-width: 0; padding: 1px 8px; font-size: 11px; }
button.danger { color: #900; }

/* ---------- BEYOND WORDPRESS :: vaporwave banner ---------- */
.synth-ad {
  position: relative;
  min-height: 340px;
  background: #140a2e url("/assets/synthwave.jpg") center right / cover no-repeat;
  border-top: 2px solid #ff6ec7;
  border-left: 2px solid #ff6ec7;
  border-right: 2px solid #2a0a40;
  border-bottom: 2px solid #2a0a40;
  overflow: hidden;
}
.synth-scrim {
  max-width: 60%;
  min-height: 340px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 11px;
  color: #fff;
  background: linear-gradient(90deg, rgba(15,6,36,0.95) 0%, rgba(15,6,36,0.88) 55%, rgba(15,6,36,0) 100%);
}
.synth-title {
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: 23px;
  letter-spacing: 1px;
  line-height: 1.05;
  margin: 0;
  color: #ff6ec7;
  text-shadow: 2px 2px 0 #00e5ff, 3px 3px 0 rgba(0, 0, 0, 0.4);
}
.synth-scrim p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  max-width: 520px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.85);
}
.synth-features { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.synth-features li {
  font-size: 11px;
  font-weight: bold;
  padding: 2px 9px;
  color: #00e5ff;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid #00e5ff;
  box-shadow: 0 0 6px rgba(0, 229, 255, 0.4);
}
.synth-features li::before { content: "\25B8 "; color: #ff6ec7; }
.synth-tag {
  align-self: flex-start;
  background: #000;
  color: #33FF33;
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 10px;
  border: 1px solid #33FF33;
  text-shadow: 0 0 4px #33FF33;
}
.synth-burst {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e8002d;
  color: #fff;
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(11deg);
  box-shadow: 0 0 0 3px #fff, 0 0 12px rgba(232, 0, 45, 0.6);
}
@media (max-width: 700px) {
  .synth-scrim {
    max-width: 100%;
    background: linear-gradient(180deg, rgba(15,6,36,0.92) 0%, rgba(15,6,36,0.78) 100%);
  }
}

/* ---------- FORM WINDOWS (functional _ [] x) ---------- */
.contact-panel.form-min > .contact-inner { display: none; }
.contact-panel.form-max {
  position: fixed;
  inset: 20px;
  z-index: 400;
  margin: 0 !important;
  overflow: auto;
  box-shadow: 4px 4px 0 #000;
}
.contact-panel .form-reopen { display: none; }
.contact-panel.closed {
  border: 0;
  box-shadow: none;
  padding: 0;
  background: transparent;
}
.contact-panel.closed > .title-bar,
.contact-panel.closed > .contact-inner { display: none; }
.contact-panel.closed .form-reopen {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  padding: 4px 12px;
}

/* ---------- DOOM.EXE easter egg ---------- */
.doom-icon {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 150;
  width: 78px;
  padding: 4px 2px;
  text-align: center;
  cursor: pointer;
  user-select: none;
  border: 1px dotted transparent;
  font-family: "Tahoma", "MS Sans Serif", sans-serif;
}
.doom-icon .di-img { width: 46px; height: 46px; margin: 0 auto 3px; display: block; image-rendering: pixelated; filter: drop-shadow(1px 1px 0 #000); }
.doom-icon .di-img svg,
.doom-icon .di-img img { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.doom-icon .di-label {
  display: inline-block;
  padding: 1px 4px;
  font-size: 11px;
  color: #fff;
  text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}
.doom-icon:hover .di-label,
.doom-icon.selected .di-label { background: #000080; text-shadow: none; outline: 1px dotted #FFFF00; }
.doom-icon.selected .di-img { background: rgba(0, 0, 128, 0.45); }
.doom-icon.selected { border-color: #fff; background: rgba(0, 0, 128, 0.12); }
.doom-icon.just-unlocked { animation: doom-pop 0.4s ease-out 3; }
@keyframes doom-pop { 50% { transform: scale(1.25); } }

.doom-window {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 680px;
  max-width: calc(100vw - 24px);
  z-index: 460;
  background: #C0C0C0;
  border-top: 2px solid #FFFFFF;
  border-left: 2px solid #FFFFFF;
  border-right: 2px solid #404040;
  border-bottom: 2px solid #404040;
  box-shadow: 4px 4px 0 #000;
  padding: 2px;
}
.doom-window[hidden] { display: none; }
.doom-window.max { top: 0; left: 0; transform: none; width: 100vw; max-width: 100vw; height: 100vh; }
.doom-window .di-mini { display: inline-flex; width: 14px; height: 14px; }
.doom-window .di-mini svg,
.doom-window .di-mini img { width: 100%; height: 100%; image-rendering: pixelated; }
.doom-window-hint {
  font-size: 11px;
  padding: 5px 8px;
  background: #C0C0C0;
  border-top: 1px solid #FFFFFF;
  border-bottom: 1px solid #404040;
  color: #000;
}
.doom-window-body { padding: 0; background: #000; height: 500px; max-height: calc(100vh - 130px); }
.doom-window.max .doom-window-body { height: calc(100vh - 62px); max-height: none; }
.doom-window-body iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 720px) {
  body { font-size: 13px; }
  .hero { grid-template-columns: 1fr; }
  .hero h1 { font-size: 27px; }
  .form-two { grid-template-columns: 1fr; }
  .menu-accel { display:none; }
}
