/* =========================
   Trinity System — Discontinued
   index.css (single file)
   Professional + Trinity themed
   Sticky footer included
   ========================= */

@font-face {
  font-family: 'DsWhitney';
  src: local("Whitney"), url('./fonts/whitney-300.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DsWhitney';
  src: local("Whitney"), url('./fonts/whitney-400.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DsWhitney';
  src: local("Whitney"), url('./fonts/whitney-500.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DsWhitney';
  src: local("Whitney"), url('./fonts/whitney-600.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DsWhitney';
  src: local("Whitney"), url('./fonts/whitney-700.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Optional (remove if you want 0 external calls) */
@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');

:root{
  --accent: #107dac;
  --accent2: #19c2ff;
  --danger: #f44336;

  --bg: #0c0f14;
  --bg2: #121722;

  --panel: rgba(22, 26, 34, 0.72);
  --panel2: rgba(22, 26, 34, 0.88);

  --text: #ffffff;
  --muted: #b9bbbe;

  --stroke: rgba(25,194,255,0.22);
  --strokeStrong: rgba(25,194,255,0.40);

  --shadow: 0 12px 34px rgba(0,0,0,0.55);
  --shadowSoft: 0 6px 18px rgba(0,0,0,0.40);

  --radius: 14px;
}

/* ===== Base / Reset ===== */
*{
  box-sizing: border-box;
  outline: none;

  /* no selection */
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;

  /* no drag */
  -webkit-user-drag: none;
  user-drag: none;

  /* mobile */
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

html, body { height: 100%; }
body{ margin:0; padding:0; }

a{ color: inherit; text-decoration: none; }
a:hover{ color: inherit; text-decoration: none; }

input, textarea, .form-control{
  user-select: text !important;
  -webkit-user-select: text !important;
  -ms-user-select: text !important;
}

/* small helper for button row */
.gap-10{ gap: 10px; }

/* ===== Sticky footer layout ===== */
body{
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  overflow-x: hidden;
  overflow-y: auto;

  font-family: DsWhitney, "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);

  background-color: var(--bg);

  background-image:
    radial-gradient(900px 520px at 20% 0%, rgba(16,125,172,0.22), transparent 58%),
    radial-gradient(760px 520px at 90% 18%, rgba(25,194,255,0.13), transparent 58%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='320' viewBox='0 0 520 320'%3E%3Crect width='520' height='320' fill='none'/%3E%3Cg opacity='0.65'%3E%3Cg stroke='%2319c2ff' stroke-opacity='0.55' stroke-width='2'%3E%3Cpath d='M40 36 L16 60'/%3E%3Cpath d='M120 92 L92 120'/%3E%3Cpath d='M220 46 L196 70'/%3E%3Cpath d='M318 110 L290 138'/%3E%3Cpath d='M450 54 L422 82'/%3E%3Cpath d='M500 220 L472 248'/%3E%3C/g%3E%3Cg fill='none' stroke='%23107dac' stroke-opacity='0.55'%3E%3Ccircle cx='70' cy='210' r='10'/%3E%3Ccircle cx='160' cy='260' r='6'/%3E%3Ccircle cx='360' cy='60' r='8'/%3E%3Ccircle cx='460' cy='160' r='12'/%3E%3C/g%3E%3Cg fill='none' stroke='%2319c2ff' stroke-opacity='0.35'%3E%3Cpath d='M0 310 H520'/%3E%3Cpath d='M0 10 H520'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(180deg, var(--bg2), var(--bg));

  background-repeat: no-repeat, no-repeat, repeat, no-repeat;
  background-position: 20% 0%, 90% 18%, center, center;
  background-size: auto, auto, 760px 460px, cover;
}

/* subtle vignette */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(1200px 700px at 50% 18%, transparent 28%, rgba(0,0,0,0.52) 100%);
  z-index: -1;
}

/* prevent drag ghosting */
img, svg{
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

/* ===== Bootstrap container sizing ===== */
.container{ max-width: 1120px; }

/* ===== Navbar ===== */
.navbar,
.navbar-min{
  padding: 16px 22px;
  border-radius: var(--radius);
  margin: 22px;

  background: rgba(28, 32, 40, 0.70);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadowSoft);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar-brand{
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 14px;
  letter-spacing: 0.2px;
}

.navbar-brand img{
  border-radius: 999px !important;
  box-shadow:
    0 0 0 3px rgba(25,194,255,0.10),
    0 0 22px rgba(25,194,255,0.18);
}

/* ===== Main content area ===== */
.container-1{
  flex: 1 0 auto;
  margin-bottom: 24px;
  padding-left: 15px;
  padding-right: 15px;
}

/* ===== Cards ===== */
.card{
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  color: var(--text);
  margin-bottom: 20px;

  background: var(--panel);
  box-shadow: var(--shadow);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.card-body{ text-align: left; }

/* ===== Hero panel ===== */
.hero-discontinued{
  border: 1px solid var(--strokeStrong);
  background: linear-gradient(180deg, rgba(22,26,34,0.78), rgba(22,26,34,0.60));
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.hero-discontinued::before{
  content:'';
  position:absolute;
  left:0; top:0;
  width:100%; height:2px;
  background: linear-gradient(90deg, transparent, var(--accent2), transparent);
  opacity: 0.55;
}

.hr-soft{
  border-top: 1px solid rgba(255,255,255,0.08);
  opacity: 1;
}

h1,h2,h3,h4,h5,h6{
  color: #fff;
  margin: 0;
  line-height: 1.25;
}
p{ margin:0; line-height: 1.7; }
.muted{ color: var(--muted); }

/* ===== Link underline ===== */
.link{
  font-weight: 800;
  color: #fff;
  position: relative;
}
.link::before{
  content:'';
  position:absolute;
  left:0; bottom:-2px;
  width:0; height:2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width .25s ease;
}
.link:hover::before{ width:100%; }

/* ===== OLD Badge kept (unused now, but harmless) ===== */
.badge-discontinued{
  background: rgba(244, 67, 54, 0.10);
  border: 1px solid rgba(244, 67, 54, 0.35);
  color: #ffb4b4;
  padding: 6px 10px;
  border-radius: 10px;
  font-weight: 900;
  font-size: 0.86rem;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

/* ✅ NEW: clean Trinity status pill */
.status-pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 8px 12px;
  border-radius: 999px;

  font-weight: 900;
  letter-spacing: .35px;
  text-transform: uppercase;
  font-size: 12px;

  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);

  box-shadow: 0 10px 18px rgba(0,0,0,0.28);
  white-space: nowrap;
}

.status-pill i{
  pointer-events: none;
  opacity: .95;
}

.status-pill--offline{
  border-color: rgba(244,67,54,0.38);
  background: linear-gradient(180deg, rgba(244,67,54,0.14), rgba(0,0,0,0.18));
  color: #ffd2d2;
  box-shadow:
    0 10px 18px rgba(0,0,0,0.28),
    0 0 0 3px rgba(244,67,54,0.06);
}

/* right-side info card */
.bg-grey{
  background: var(--panel2);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06);
}
.bg-grey .card-body{ text-align: left; }

.info-line{
  display: flex;
  align-items: center;
  gap: 10px;
}
.info-line i{
  width: 18px;
  opacity: .9;
}

/* ===== Buttons ===== */
.btn{
  pointer-events: auto; /* still clickable even with global pointer adjustments */
}

.btn-discord{
  color:#fff !important;
  border: none !important;
  background: linear-gradient(90deg, var(--accent), rgba(25,194,255,0.85)) !important;
  font-weight: 800;
  letter-spacing: 0.2px;
  box-shadow: 0 10px 22px rgba(16,125,172,0.22);
}
.btn-discord:hover{
  filter: brightness(1.05);
  box-shadow: 0 12px 26px rgba(25,194,255,0.22);
}

.btn-outline-light{
  border-color: rgba(255,255,255,0.55) !important;
}
.btn-outline-light:hover{
  background: rgba(255,255,255,0.08) !important;
}

/* ===== Footer ===== */
.footer{
  margin-top: auto;
  margin-left: 22px;
  margin-right: 22px;
  margin-bottom: 22px;

  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadowSoft);

  background: linear-gradient(90deg,
    rgba(16,125,172,0.40),
    rgba(22,26,34,0.88),
    rgba(16,125,172,0.40)
  );

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.footer p{
  line-height: 1.45;
  color: rgba(255,255,255,0.92);
}

/* ===== Mobile adjustments ===== */
@media (max-width: 768px){
  .navbar, .navbar-min{
    margin: 14px;
    padding: 14px 16px;
  }
  .navbar-brand{ font-size: 22px; }

  .footer{
    margin-left: 14px;
    margin-right: 14px;
    margin-bottom: 14px;
  }

  .status-pill{
    margin-top: 10px;
  }
}

/* icon alignment */
i.fa-solid, i.fas{
  transform: translateY(-1px);
  pointer-events: none;
}
