:root {
  --bg: #020812;
  --surface: rgba(255,255,255,0.03);
  --border: rgba(0,200,255,0.15);
  --accent: #00c8ff;
  --accent2: #ff2d78;
  --accent3: #a259ff;
  --gold: #D4AF37;
  --text: #e0f4ff;
  --muted: #4a7a9b;
  --glow: 0 0 20px rgba(0,200,255,0.4);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ── SCANLINES ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent, transparent 2px,
    rgba(0,0,0,0.15) 2px, rgba(0,0,0,0.15) 4px
  );
  pointer-events: none;
  z-index: 100;
}

/* ── GRID BG ── */
.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,200,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridMove 20s linear infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes gridMove {
  0%   { transform: translateY(0); }
  100% { transform: translateY(40px); }
}

/* ── GLOWS ── */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.glow-orb.o1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,200,255,0.1) 0%, transparent 70%);
  top: -150px; left: -150px;
  animation: orbFloat1 12s ease-in-out infinite;
}
.glow-orb.o2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(162,89,255,0.08) 0%, transparent 70%);
  bottom: 100px; right: -100px;
  animation: orbFloat2 15s ease-in-out infinite;
}
.glow-orb.o3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(255,45,120,0.06) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: orbFloat3 18s ease-in-out infinite;
}
@keyframes orbFloat1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(60px,80px); } }
@keyframes orbFloat2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-50px,-60px); } }
@keyframes orbFloat3 { 0%,100% { transform: translate(-50%,-50%) scale(1); } 50% { transform: translate(-50%,-50%) scale(1.3); } }

/* ── NOISE ── */
.noise {
  position: fixed;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 99;
}

/* ── CORNERS ── */
.corner-deco {
  position: fixed;
  width: 60px; height: 60px;
  pointer-events: none;
  z-index: 4;
}
.corner-deco.tl { top:16px; left:16px;   border-top:1px solid rgba(0,200,255,0.3); border-left:1px solid rgba(0,200,255,0.3); }
.corner-deco.tr { top:16px; right:16px;  border-top:1px solid rgba(0,200,255,0.3); border-right:1px solid rgba(0,200,255,0.3); }
.corner-deco.bl { bottom:16px; left:16px;  border-bottom:1px solid rgba(0,200,255,0.3); border-left:1px solid rgba(0,200,255,0.3); }
.corner-deco.br { bottom:16px; right:16px; border-bottom:1px solid rgba(0,200,255,0.3); border-right:1px solid rgba(0,200,255,0.3); }

/* ── CURSOR ── */
#cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  box-shadow: 0 0 16px var(--accent);
  mix-blend-mode: screen;
}
#cursorRing {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(0,200,255,0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
}
@media (pointer: fine) {
  body { cursor: none; }
  a, button, input, textarea { cursor: none; }
}

/* ── LAYOUT ── */
.wrapper {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 70px 28px 100px;
}

/* ── PAGE HEADER ── */
.page-header {
  text-align: center;
  margin-bottom: 56px;
  animation: fadeDown 0.7s ease both;
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.page-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}
.page-logo {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(0,200,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent);
  background: rgba(0,200,255,0.05);
  overflow: hidden;
}
.page-logo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.page-site-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  background: linear-gradient(135deg, #fff 30%, var(--accent) 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 10vw, 4.5rem);
  letter-spacing: 0.1em;
  line-height: 1;
  background: linear-gradient(135deg, #fff 20%, var(--accent) 55%, var(--accent3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 24px rgba(0,200,255,0.4));
  margin-bottom: 10px;
}

.page-sub {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.page-sub::before { content: '[ '; color: var(--accent); opacity: 0.6; }
.page-sub::after  { content: ' ]'; color: var(--accent); opacity: 0.6; }

/* ── MAIN EMAIL CARD ── */
.contact-email-card {
  position: relative;
  background: linear-gradient(135deg,
    rgba(0,200,255,0.05) 0%,
    rgba(0,200,255,0.02) 40%,
    rgba(162,89,255,0.04) 100%
  );
  border: 1px solid rgba(0,200,255,0.22);
  padding: 40px 48px;
  margin-bottom: 40px;
  overflow: hidden;
  animation: fadeUp 0.6s ease 0.1s both;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* top accent line */
.contact-email-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}

/* corner brackets */
.contact-email-card::after {
  content: '';
  position: absolute;
  bottom: -1px; right: -1px;
  width: 18px; height: 18px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  opacity: 0.7;
  transition: all 0.3s ease;
}
.card-corner-tl {
  position: absolute;
  top: -1px; left: -1px;
  width: 18px; height: 18px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.contact-email-card:hover {
  border-color: rgba(0,200,255,0.42);
  box-shadow: 0 0 40px rgba(0,200,255,0.08), inset 0 0 40px rgba(0,200,255,0.02);
}
.contact-email-card:hover::after,
.contact-email-card:hover .card-corner-tl {
  width: 26px; height: 26px;
}

/* scan sweep on the card */
.card-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0,200,255,0.05) 50%,
    transparent 100%
  );
  transform: translateX(-100%);
  animation: cardScan 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes cardScan {
  0%   { transform: translateX(-100%); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}

.card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.card-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.45em;
  color: var(--muted);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}
.card-label::before,
.card-label::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--muted);
  opacity: 0.3;
}

.card-email-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.card-email-icon {
  font-size: 1.4rem;
  color: var(--accent);
  opacity: 0.6;
  filter: drop-shadow(0 0 8px rgba(0,200,255,0.4));
  transition: opacity 0.3s ease;
}
.contact-email-card:hover .card-email-icon { opacity: 1; }

.card-email-addr {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(1rem, 3vw, 1.35rem);
  letter-spacing: 0.12em;
  color: var(--accent);
  filter: drop-shadow(0 0 10px rgba(0,200,255,0.3));
}
.card-email-addr a {
  color: inherit;
  text-decoration: none;
  transition: filter 0.2s ease;
}
.contact-email-card:hover .card-email-addr {
  animation: glitch 0.5s ease both;
}
@keyframes glitch {
  0%   { transform: none; text-shadow: none; }
  15%  { transform: translateX(-3px); text-shadow: 3px 0 rgba(255,45,120,0.8); }
  30%  { transform: translateX(3px);  text-shadow: -3px 0 rgba(0,200,255,0.8); }
  45%  { transform: translateX(-1px); text-shadow: 2px 0 rgba(162,89,255,0.7); }
  65%  { transform: translateX(1px);  text-shadow: -1px 0 rgba(0,200,255,0.5); }
  80%  { transform: translateX(0); text-shadow: none; }
  100% { transform: none; text-shadow: none; }
}

.card-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 7px 18px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}
.card-copy-btn:hover {
  color: var(--accent);
  border-color: rgba(0,200,255,0.3);
  background: rgba(0,200,255,0.06);
  box-shadow: 0 0 12px rgba(0,200,255,0.1);
}
.card-copy-btn.copied {
  color: var(--accent3);
  border-color: rgba(162,89,255,0.4);
  background: rgba(162,89,255,0.06);
}

.card-note {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  opacity: 0.5;
}
.card-note span {
  color: var(--accent);
  opacity: 0.8;
}

/* ── RESPONSE TIME INDICATOR ── */
.response-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(0,200,255,0.03);
  border: 1px solid rgba(0,200,255,0.1);
  border-radius: 2px;
  margin-bottom: 40px;
  animation: fadeUp 0.6s ease 0.2s both;
}
.response-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--accent);
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.4; transform:scale(0.7); }
}
.response-text {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}
.response-text span { color: var(--accent); }

/* ── SOCIAL LINKS ── */
.contact-section-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  color: var(--muted);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  animation: fadeUp 0.6s ease 0.3s both;
}
.contact-section-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--muted);
  opacity: 0.5;
}
.contact-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(0,200,255,0.15), transparent);
}

.contact-socials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin-bottom: 40px;
  animation: fadeUp 0.6s ease 0.4s both;
}

.contact-social-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: 4px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}
.contact-social-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.02), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.contact-social-item:hover::before { transform: translateX(100%); }
.contact-social-item:hover { transform: translateX(4px); }

.social-twitch:hover   { border-left-color:#9146ff; border-color:rgba(145,70,255,0.3); background:rgba(145,70,255,0.06); box-shadow:-4px 0 20px rgba(145,70,255,0.2); }
.social-twitter:hover  { border-left-color:#1da1f2; border-color:rgba(29,161,242,0.3); background:rgba(29,161,242,0.06); box-shadow:-4px 0 20px rgba(29,161,242,0.2); }
.social-youtube:hover  { border-left-color:#ff0000; border-color:rgba(255,0,0,0.3); background:rgba(255,0,0,0.06); box-shadow:-4px 0 20px rgba(255,0,0,0.2); }
.social-discord:hover  { border-left-color:#5865f2; border-color:rgba(88,101,242,0.3); background:rgba(88,101,242,0.06); box-shadow:-4px 0 20px rgba(88,101,242,0.2); }
.social-github:hover   { border-left-color:#fff; border-color:rgba(255,255,255,0.2); background:rgba(255,255,255,0.04); box-shadow:-4px 0 20px rgba(255,255,255,0.1); }
.social-instagram:hover { border-left-color:#e1306c; border-color:rgba(225,48,108,0.3); background:rgba(225,48,108,0.06); box-shadow:-4px 0 20px rgba(225,48,108,0.2); }

.social-icon {
  font-size: 1.3rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.contact-social-item:hover .social-icon { opacity: 1; }

.social-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.social-name {
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
}
.social-handle {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  white-space: nowrap;
}

/* ── BACK LINK ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
  animation: fadeUp 0.6s ease 0.5s both;
}
.back-link:hover { color: var(--accent); gap: 14px; }
.back-link i { font-size: 0.7rem; }

/* ── FOOTER ── */
.footer {
  text-align: center;
  margin-top: 60px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.2em;
  opacity: 0.5;
}
.footer span { color: var(--accent); }

.footer a {
    color: #00c8ff;
    text-decoration: none;
}

.footer-right a:hover {
    color: rgba(184,127,255,0.18);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── MOBILE ── */
@media (max-width: 480px) {
  .wrapper { padding: 48px 20px 80px; }
  .contact-email-card { padding: 28px 24px; }
  .corner-deco { display: none; }
  .contact-socials { grid-template-columns: 1fr; }
}