:root {
  --bg: #050607;
  --bg-2: #0b0f14;
  --line: #1f2a37;
  --text: #e6f1ff;
  --muted: #9fb3c8;
  --accent: #41f5a6;
  --accent-2: #4cc9f0;
  --warn: #ffd166;
  --danger: #ff6b6b;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background:
    radial-gradient(1200px 800px at 10% -10%, rgba(19, 32, 51, 0.95) 0%, transparent 55%),
    radial-gradient(900px 600px at 90% 10%, rgba(14, 26, 43, 0.9) 0%, transparent 60%),
    linear-gradient(180deg, #0b0f14 0%, #0c111a 100%);
}

body {
  min-height: 100vh;
  margin: 0;
  position: relative;
  isolation: isolate;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  background:
    radial-gradient(1200px 800px at 10% -10%, rgba(19, 32, 51, 0.95) 0%, transparent 55%),
    radial-gradient(900px 600px at 90% 10%, rgba(14, 26, 43, 0.9) 0%, transparent 60%),
    linear-gradient(180deg, #0b0f14 0%, #0c111a 100%);
  background-repeat: no-repeat, no-repeat, no-repeat;
  overflow-x: hidden;
}

.wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px 18px 60px;
  position: relative;
  z-index: 1;
}


.topbar {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(10, 15, 22, 0.96), rgba(8, 12, 18, 0.94));
}

.title {
  font-size: 0.9rem;
  color: var(--muted);
}

.status {
  font-size: 0.85rem;
  color: var(--accent);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.brand img {
  width: 190px;
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(65,245,166,0.25));
}

.tagline {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 15, 22, 0.96), rgba(8, 12, 18, 0.94));
  padding: 7px 10px;
  border-radius: 8px;
}

.nav a.active,
.nav a:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 1px rgba(65, 245, 166, 0.2), 0 0 20px rgba(65, 245, 166, 0.08);
}

.hero {
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(10, 15, 22, 0.96), rgba(8, 12, 18, 0.94));
}

h1, h2 { color: var(--accent); margin: 0 0 10px 0; }

p { color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.card {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(9, 14, 21, 0.96), rgba(7, 11, 16, 0.94));
}

ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
li::marker { color: var(--accent-2); }

.hidden { display: none; }

.terminal {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02), 0 14px 32px rgba(0, 0, 0, 0.16);
  margin-top: 12px;
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(9, 14, 21, 0.96), rgba(7, 11, 16, 0.94));
  font-size: 0.95rem;
}

.prompt { color: var(--accent); }
.cmd { color: var(--accent-2); }

.cursor::after {
  content: "_";
  margin-left: 4px;
  animation: blink 1s step-start infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.ascii {
  font-size: 0.85rem;
  color: var(--muted);
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  margin-top: 8px;
}

.form {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

input, textarea {
  width: 100%;
  background: linear-gradient(180deg, rgba(9, 14, 21, 0.96), rgba(7, 11, 16, 0.94));
  border: 1px solid var(--line);
  color: var(--text);
  padding: 9px 10px;
  border-radius: 8px;
  font-family: inherit;
}

button {
  background: linear-gradient(90deg, rgba(65,245,166,0.2), rgba(76,201,240,0.2));
  color: var(--text);
  border: 1px solid var(--line);
  padding: 9px 12px;
  border-radius: 8px;
  cursor: pointer;
}

button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.notice {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(65, 245, 166, 0.08);
  color: var(--text);
}

.notice-error {
  background: rgba(255, 107, 107, 0.12);
  color: #ffd7d7;
}

.card.contact-tall {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-grid {
  grid-template-columns: 1fr 1.5fr;
  align-items: stretch;
}

.contact-grid > * {
  margin-top: 0;
  height: 100%;
}

.contact-grid .terminal {
  margin-top: 0;
}

.contact-grid .card {
  height: 100%;
}

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid .terminal { order: 1; }
  .contact-grid .card { order: 2; }
  .brand { flex-direction: column; align-items: flex-start; }
}

.status.warn, .status.fail {
  color: #ff6b6b;
  text-shadow: 0 0 8px rgba(255,107,107,0.8);
}

.btn-home {
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 8px;
  display: inline-block;
}
.btn-home:hover {
  border-color: var(--accent);
}


