/* =======================================================
   Eyeguy Productions
   clean, classic web builds
   ======================================================= */

:root{
  --bg1:#050815;
  --bg2:#0a1026;

  --panel:rgba(255,255,255,.06);
  --line:rgba(255,255,255,.12);

  --text:#e6eaf5;
  --muted:rgba(230,234,245,.70);
  --muted2:rgba(230,234,245,.55);

  --accent:#8bd3ff;
  --accent2:#b5ffda;

  --radius:18px;
  --shadow:0 18px 60px rgba(0,0,0,.45);

  --font:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  min-height:100vh;
  display:grid;
  place-items:center;
  background:
    radial-gradient(1100px 700px at 20% 10%, rgba(139,211,255,.18), transparent 60%),
    radial-gradient(900px 600px at 90% 30%, rgba(181,255,218,.12), transparent 60%),
    radial-gradient(800px 800px at 50% 95%, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
}

/* ---- layout ---- */

.wrap{
  width:min(900px, 92vw);
  padding:28px;
}

.card{
  border:1px solid var(--line);
  background:var(--panel);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
  position:relative;
}

.card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(520px 220px at 25% 0%, rgba(139,211,255,.18), transparent 60%),
    radial-gradient(520px 220px at 80% 10%, rgba(181,255,218,.14), transparent 60%);
  pointer-events:none;
}

.inner{
  position:relative;
  padding:26px 22px;
  display:grid;
  grid-template-columns: 140px 1fr;
  gap:18px;
  align-items:center;
}

.mark{
  width:120px;
  height:120px;
  display:grid;
  place-items:center;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.22);
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:12px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:8px;
}

.dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:linear-gradient(90deg, var(--accent), var(--accent2));
  box-shadow:0 0 18px rgba(139,211,255,.4);
}

h1{
  margin:0;
  font-size:32px;
  line-height:1.1;
  letter-spacing:.02em;
}

.tag{
  margin:10px 0 0 0;
  color:var(--muted);
  font-size:14px;
  max-width:60ch;
}

.rule{
  height:1px;
  background:var(--line);
  margin:0;
}

.lower{
  position:relative;
  padding:18px 22px 22px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}

.block{
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(0,0,0,.18);
  padding:14px;
}

.block strong{
  display:block;
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--muted2);
  margin-bottom:8px;
}

.block p{
  margin:0;
  font-size:13px;
  color:var(--muted);
  line-height:1.45;
}

.footer{
  margin-top:14px;
  text-align:center;
  font-size:12px;
  color:var(--muted2);
}

/* ---- Eyeguy mark + eye-only blink ---- */

.eyeguyWrap{
  position:relative;
  display:inline-block;
  line-height:0;
}

.eyeguyMark{
  width:86px;          /* matches the original design scale */
  height:auto;
  display:block;
  opacity:.95;
  filter:drop-shadow(0 14px 30px rgba(0,0,0,.55));
}

/* The small “eye window” sitting over the eye.
   If the lids don’t line up perfectly, tweak left/top/width/height by 1–3px. */
.eyeguyBlink{
  position:absolute;

  left:30px;
  top:24px;
  width:28px;
  height:28px;

  border-radius:999px;
  overflow:hidden;
  pointer-events:none;
}

/* lids */
.eyeguyBlink::before,
.eyeguyBlink::after{
  content:"";
  position:absolute;
  left:0;
  width:100%;
  height:0%;
  background:var(--bg1);
}

/* top lid */
.eyeguyBlink::before{
  top:0;
  border-bottom-left-radius:999px;
  border-bottom-right-radius:999px;
}

/* bottom lid */
.eyeguyBlink::after{
  bottom:0;
  border-top-left-radius:999px;
  border-top-right-radius:999px;
}

/* One blink per 25s loop (feels like 10–25s depending on when you load the page) */
@keyframes eyeguyBlinkAnim{
  0%   { height:0%; }
  40%  { height:0%; }

  42%  { height:55%; }
  45%  { height:55%; }
  48%  { height:0%; }

  100% { height:0%; }
}

/* auto-run */
.eyeguyBlink::before,
.eyeguyBlink::after{
  animation: eyeguyBlinkAnim 25s ease-in-out infinite;
}

/* accessibility */
@media (prefers-reduced-motion: reduce){
  .eyeguyBlink::before,
  .eyeguyBlink::after{
    animation:none;
  }
}

@media (max-width:720px){
  .inner{ grid-template-columns:1fr; text-align:left; }
  .mark{ justify-self:start; }
  .lower{ grid-template-columns:1fr; }
}
