/* =============================================
   MARK — TACTICAL PORTFOLIO
   3-color palette: Olive · Black · Brown
   ============================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --olive:       #556125;
  --olive-dark:  #3a4218;
  --olive-light: #7a8c40;
  --black:       #0d0d00;
  --black-soft:  #1a1c00;
  --brown:       #5a3e2a;
  --brown-light: #7a5a3a;
  --text:        #c8d870;
  --text-dim:    #7a8840;
  --text-faint:  #4a5220;
  --war-red:     #8b1a0a;
  --font-main:   'Rajdhani', sans-serif;
  --font-mono:   'Share Tech Mono', monospace;
}

/* ── PAGE ── */
html, body {
  height: 100%;
  background-color: var(--olive);
  color: var(--text);
  font-family: var(--font-main);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── CORNER BRACKETS ── */
.corner {
  position: fixed;
  width: 26px;
  height: 26px;
  z-index: 50;
}
.corner-tl { top: 14px; left: 14px;   border-top: 2px solid var(--black); border-left:  2px solid var(--black); }
.corner-tr { top: 14px; right: 14px;  border-top: 2px solid var(--black); border-right: 2px solid var(--black); }
.corner-bl { bottom: 14px; left: 14px;  border-bottom: 2px solid var(--black); border-left:  2px solid var(--black); }
.corner-br { bottom: 14px; right: 14px; border-bottom: 2px solid var(--black); border-right: 2px solid var(--black); }

/* ── HUD BAR ── */
.hud-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 50px;
  background: rgba(13,13,0,0.55);
  border-bottom: 1px solid rgba(13,13,0,0.4);
  z-index: 80;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}

.hud-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hud-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--olive-light);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

/* ── AT WAR BADGE ── */
.at-war-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--black);
  border: 1px solid var(--war-red);
  color: #cc2200;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  padding: 5px 14px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.war-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cc2200;
  animation: blink 1s step-start infinite;
  flex-shrink: 0;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── SNIPER RETICLE BACKGROUND ── */
.reticle-bg {
  position: fixed;
  /* positioned lower-right so it overlaps the card area nicely */
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 560px;
  height: 560px;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  animation: reticle-slow 40s linear infinite;
}

@keyframes reticle-slow {
  from { transform: translateY(-50%) rotate(0deg); }
  to   { transform: translateY(-50%) rotate(360deg); }
}

.reticle-bg svg {
  width: 100%;
  height: 100%;
}

/* ── MAIN LAYOUT ── */
.main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 90px 24px 80px;
  position: relative;
  z-index: 1;
}

/* ── PROFILE CARD ── */
.profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── HELMET IMAGE ── */
.helmet-wrap {
  margin-bottom: 10px;
}

.helmet-img {
  width: 90px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(13,13,0,0.55));
}

/* ── PROFILE RING ── */
.profile-ring {
  position: relative;
  width: 210px;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin-ring 22s linear infinite;
}

@keyframes spin-ring {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.ring-outer {
  width: 172px;
  height: 172px;
  border-radius: 50%;
  border: 2px solid var(--olive-dark);
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 4px rgba(13,13,0,0.3),
    0 6px 30px rgba(13,13,0,0.5);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.profile-pic {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.soldier-svg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

/* ── NAME BLOCK ── */
.name-block {
  margin-top: 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.name {
  font-family: var(--font-main);
  font-size: 54px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.verify-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.verify-badge svg {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 2px 6px rgba(13,13,0,0.4));
}

.tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--black-soft);
  letter-spacing: 0.24em;
  opacity: 0.75;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 7px;
}

.blink-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--olive-light);
  animation: pulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}

.status-text {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--black-soft);
  letter-spacing: 0.22em;
  opacity: 0.8;
}

/* ── SECTION DIVIDER ── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 340px;
  margin: 32px 0 24px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: var(--olive-dark);
  opacity: 0.6;
}

.divider-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--black);
  opacity: 0.65;
  padding: 2px 10px;
  border: 1px solid rgba(13,13,0,0.3);
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  white-space: nowrap;
}

/* ── SOCIAL LINKS ── */
.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.social-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  color: var(--black);
  border: 1.5px solid rgba(13,13,0,0.35);
  background: rgba(13,13,0,0.12);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  text-decoration: none;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.18s;
}

.social-btn svg {
  width: 21px;
  height: 21px;
}

.social-btn::after {
  content: attr(data-label);
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%) scale(0.85);
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--black);
  letter-spacing: 0.15em;
  opacity: 0;
  transition: opacity 0.18s, transform 0.18s;
  white-space: nowrap;
}

.social-btn:hover {
  color: var(--black);
  background: rgba(13,13,0,0.22);
  box-shadow: 0 4px 16px rgba(13,13,0,0.3);
  transform: translateY(-3px);
  border-color: rgba(13,13,0,0.6);
}

.social-btn:hover::after {
  opacity: 0.7;
  transform: translateX(-50%) scale(1);
}

/* ── FOOTER HUD ── */
.hud-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 10px 50px;
  background: rgba(13,13,0,0.45);
  border-top: 1px solid rgba(13,13,0,0.3);
  z-index: 80;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-faint);
}

/* ── RESPONSIVE ── */
@media (max-width: 500px) {
  .hud-bar { padding: 10px 22px; }
  .name { font-size: 40px; }
  .profile-ring { width: 185px; height: 185px; }
  .ring-outer { width: 150px; height: 150px; }
  .reticle-bg { width: 380px; height: 380px; right: -100px; }
  .social-btn { width: 44px; height: 44px; }
  .social-btn svg { width: 18px; height: 18px; }
}
