/* Reset & base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
  color: #e7ecf3;
  background: radial-gradient(1200px 700px at 10% -10%, #ff6b5f22, transparent 60%),
              linear-gradient(180deg, #0b0d10 0%, #1a1f29 100%);
  line-height: 1.5;
}
.container { max-width: 1100px; margin: 0 auto; padding: 24px; }

.site-header { border-bottom: 1px solid #ffffff1a; position: sticky; top: 0; backdrop-filter: blur(6px);
  background: linear-gradient(180deg, #0b0d10aa 0, #0b0d10aa 60%, transparent); z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.branding { display: flex; align-items: center; gap: 12px; }
.brand { font-size: 28px; letter-spacing: .5px; }
.tag { opacity: .75; font-size: 14px; }
.favicon { width: 28px; height: 28px; }

.nav a { color: #dfe7f5; text-decoration: none; margin-left: 16px; padding: 8px 12px; border-radius: 12px; }
.nav a:hover { background: #ffffff14; }
.nav .cta { background: #ff4b3e33; border: 1px solid #ff4b3e77; }
.nav .cta:hover { background: #ff4b3e55; }

.hero { padding: 56px 0 12px; }
.hero h2 { font-size: 34px; margin-bottom: 10px; }
.hero p { opacity: .85; max-width: 700px; }
.quick-links { margin-top: 16px; display: flex; gap: 12px; }
.btn { display: inline-block; background: #ff4b3e; color: #111; padding: 10px 16px; border-radius: 14px; text-decoration: none; font-weight: 700; border: none; cursor: pointer; }
.btn.ghost { background: transparent; color: #eaeef7; border: 1px solid #ffffff33; }
.btn.small { padding: 8px 12px; border-radius: 12px; font-size: 14px; }

.section { padding: 36px 0; }
.section.alt { background: #0f141c; }
.section-head h3 { font-size: 24px; margin-bottom: 6px; }
.section-head p { opacity: .8; }

.grid { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.card { display: block; padding: 16px; border-radius: 16px; background: #121722; text-decoration: none; color: inherit; border: 1px solid #ffffff14; position: relative; overflow: hidden; }
.card:hover { border-color: #ff4b3e66; transform: translateY(-2px); transition: .2s ease; }
.card h4 { font-size: 18px; margin-bottom: 6px; }
.card p { opacity: .8; }
.card .row { display: flex; align-items: center; gap: 12px; }
.card img.icon { width: 40px; height: 40px; border-radius: 9px; background: #222; object-fit: cover; }
.status { position: absolute; top: 12px; right: 12px; background: #19d27e; color: #07110a; font-size: 12px; padding: 4px 8px; border-radius: 999px; }
.status.soon { background: #f5c141; color: #111; }

.about p { margin: 8px 0; opacity: .95; }

.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 12px; }
.contact-card { display: block; padding: 16px; border-radius: 14px; background: #121722; border: 1px solid #ffffff1a; color: inherit; text-decoration: none; }
.contact-card:hover { border-color: #ff4b3e; }

.site-footer { border-top: 1px solid #ffffff1a; margin-top: 24px; }
.foot { display: flex; justify-content: space-between; gap: 12px; padding: 18px 24px; font-size: 14px; opacity: .85; }
.foot a { color: #e7ecf3; text-decoration: none; opacity: .85; }
.foot a:hover { opacity: 1; color: #ff4b3e; }

/* Modal */
.modal.hidden { display: none; }
.modal { position: fixed; inset: 0; z-index: 100; }
.modal-backdrop { position: absolute; inset: 0; background: #0008; }
.modal-body { position: relative; margin: 4vh auto; width: min(960px, 92%); background: #0f141c; border: 1px solid #ffffff22; border-radius: 16px; overflow: hidden; }
.modal-head { display:flex; align-items:center; justify-content:space-between; padding: 12px 16px; border-bottom: 1px solid #ffffff1a; }
.close { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 10px; border: 1px solid #ffffff22; background: #121722; color: #fff; cursor:pointer; }
iframe#demoFrame { width: 100%; height: 70vh; border: 0; }

/* Splash */
.splash { position: fixed; inset: 0; display: grid; place-items: center;
  background: radial-gradient(800px 400px at 20% -10%, #ff6b5f33, transparent 60%), linear-gradient(180deg, #0b0d10 0%, #1a1f29 100%);
  z-index: 200; opacity: 1; transition: opacity 1.2s ease; }
.splash.hide { opacity: 0; pointer-events: none; }
.splash-text.cursive { font-family: "Brush Script MT", "Lucida Handwriting", "Comic Sans MS", cursive;
  font-size: 64px; color: #fff; text-shadow: 0 8px 24px rgba(0,0,0,.45), 0 2px 0 rgba(0,0,0,.6); letter-spacing: 1px; }


/* --- Splash (wooden doors) --- */
#splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  overflow: hidden;
}
.splash-doors {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.door {
  background:
    linear-gradient(90deg, rgba(0,0,0,0.25), rgba(255,255,255,0.06) 20%, rgba(0,0,0,0.2) 40%),
    repeating-linear-gradient(90deg, #5a3e1b 0 10px, #6b4a21 10px 20px, #7a5425 20px 30px, #6b4a21 30px 40px);
  box-shadow: inset 0 0 60px rgba(0,0,0,0.5);
}
.door.left { transform-origin: left center; }
.door.right { transform-origin: right center; }
.splash-brand {
  position: relative;
  text-align: center;
  color: #fff;
}
.splash-brand .logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 12px auto;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.6));
}
.splash-brand .title {
  font-family: ui-serif, Georgia, 'Times New Roman', serif;
  font-size: clamp(28px, 6vw, 56px);
  letter-spacing: 0.5px;
  background: linear-gradient(90deg,#fff,#ddd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.95;
}
.splash-brand .tagline {
  margin-top: 6px;
  opacity: 0.72;
  font-size: clamp(12px, 2.8vw, 16px);
}
.splash-open .door.left { animation: doorOpenLeft 1.1s ease forwards; }
.splash-open .door.right { animation: doorOpenRight 1.1s ease forwards; }
@keyframes doorOpenLeft { to { transform: perspective(800px) rotateY(-92deg) translateX(-2%); } }
@keyframes doorOpenRight { to { transform: perspective(800px) rotateY(92deg) translateX(2%); } }

/* --- Header with icon --- */
.site-header .brand {
  display: inline-flex; align-items: center; gap: 10px;
}
.site-header .brand img.logo {
  width: 28px; height: 28px; display: inline-block;
}

/* --- Listings --- */
.listings {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px;
}
.card {
  border: 1px solid rgba(255,0,0,0.65); /* thin red outline */
  border-radius: 12px;
  padding: 12px;
  background: #101214;
  color: #e5e7eb;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.card .top {
  display:flex; align-items:center; gap:10px; margin-bottom:8px;
}
.card .icon {
  width: 48px; height: 48px; border-radius: 10px; background:#222;
  object-fit: cover;
}
.status-dot {
  width:10px; height:10px; border-radius:999px; display:inline-block; margin-left:auto;
  background:#2ecc71; /* green for live */
}
/* Less colorful palette overall */
body { background:#0b0c0e; color:#e8e8e8; }
a, .btn { color:#fff; }
.btn {
  border:1px solid #444; border-radius:10px; padding:8px 12px; background:#17191c;
}
.footer { opacity:0.7; font-size:12px; margin-top: 30px; }
.footer a { text-decoration: none; color: #a8b3ff; }


/* ========= Wooden Door Splash ========= */
#splash{position:fixed;inset:0;background:#0a0a0a;z-index:9999;display:flex;align-items:center;justify-content:center;overflow:hidden}
.splash-doors{position:absolute;inset:0;display:grid;grid-template-columns:1fr 1fr}
.door{background:
 linear-gradient(90deg, rgba(0,0,0,.28), rgba(255,255,255,.06) 20%, rgba(0,0,0,.22) 40%),
 repeating-linear-gradient(90deg, #5a3e1b 0 10px, #6b4a21 10px 20px, #7a5425 20px 30px, #6b4a21 30px 40px);
 box-shadow: inset 0 0 60px rgba(0,0,0,.5);}
.door.left{transform-origin:left center}
.door.right{transform-origin:right center}
.splash-brand{position:relative;text-align:center;color:#fff}
.splash-brand img{width:min(28vw,180px);height:auto;filter:drop-shadow(0 10px 30px rgba(0,0,0,.6));border-radius:6px}
.splash-brand .title{margin-top:10px;font-family: ui-serif, Georgia, 'Times New Roman', serif;font-size:clamp(26px,6vw,52px);letter-spacing:.4px;opacity:.95}
.splash-open .door.left{animation:doorOpenLeft 1.1s ease forwards}
.splash-open .door.right{animation:doorOpenRight 1.1s ease forwards}
@keyframes doorOpenLeft{to{transform:perspective(900px) rotateY(-92deg) translateX(-2%)}}
@keyframes doorOpenRight{to{transform:perspective(900px) rotateY(92deg) translateX(2%)}}

/* ========= Desaturated Theme + Header ========= */
body{background:#0b0c0e;color:#e8e8e8}
.site-header .brand{display:inline-flex;align-items:center;gap:10px}
.site-header .brand img.logo{width:28px;height:28px;display:inline-block}

/* ========= Listings ========= */
.listings{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;margin:16px 0}
.card{border:1px solid rgba(255,0,0,.7);border-radius:12px;padding:12px;background:#101214;color:#e5e7eb;box-shadow:0 2px 10px rgba(0,0,0,.15)}
.card .top{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.card .icon{width:48px;height:48px;border-radius:10px;background:#222;object-fit:cover}
.status-dot{width:10px;height:10px;border-radius:999px;background:#2ecc71;margin-left:auto}
.btn{display:inline-block;border:1px solid #444;border-radius:10px;padding:8px 12px;background:#17191c;color:#fff;text-decoration:none}
.footer{opacity:.7;font-size:12px;margin:30px 0}
.footer a{text-decoration:none;color:#a8b3ff}


/* Tipitylabs hero title sizing */
.tl-title{font-size: clamp(28px, 6vw, 56px); line-height:1.05; margin:0 0 8px 0; font-weight:900;}
.tagline{opacity:.8; margin:0 0 16px 0;}
