@import url('couleurs.css');
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

/* --- RESET --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* --- BODY --- */
body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: 'Share Tech Mono', monospace;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(57,255,20,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57,255,20,0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  z-index: 0;
}

/* --- CONTAINER --- */
.container {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 110px 32px 80px;
  flex: 1;
}

/* --- TOPBAR --- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeIn 0.5s 0.1s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.topbar-left h1 {
  font-size: 1.4rem;
  letter-spacing: 6px;
  color: var(--color-neon);
  text-shadow: 0 0 14px var(--color-neon);
  text-transform: uppercase;
}

.topbar-left p {
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.topbar-right {
  display: flex;
  gap: 16px;
}

/* Petits blocs de statut */
.stat-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(57,255,20,0.2);
  border-radius: 3px;
  padding: 8px 16px;
  min-width: 80px;
}

.stat-chip .val {
  font-size: 1rem;
  color: var(--color-neon);
  text-shadow: 0 0 8px var(--color-neon);
}

.stat-chip .lbl {
  font-size: 0.55rem;
  letter-spacing: 2px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-top: 2px;
}

/* --- LAYOUT --- */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

/* Formulaire prend toute la hauteur à gauche */
.grid-form  { grid-column: 1; grid-row: 1 / 3; }
.grid-info  { grid-column: 2; grid-row: 1; }
.grid-links { grid-column: 2; grid-row: 2; }

/* --- PANEL GÉNÉRIQUE --- */
.panel {
  background: var(--color-card);
  border: 1px solid rgba(57,255,20,0.2);
  border-radius: 3px;
  overflow: hidden;
  opacity: 0;
  animation: panelIn 0.6s cubic-bezier(0.16,1,0.3,1) forwards;
}

.panel:nth-child(1) { animation-delay: 0.2s; }
.panel:nth-child(2) { animation-delay: 0.35s; }
.panel:nth-child(3) { animation-delay: 0.5s; }

@keyframes panelIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.panel:hover {
  border-color: rgba(57,255,20,0.4);
  box-shadow: 0 0 20px rgba(57,255,20,0.07);
}

/* En-tête panel */
.panel-head {
  background: rgba(57,255,20,0.05);
  border-bottom: 1px solid rgba(57,255,20,0.15);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-head-title {
  font-size: 0.65rem;
  letter-spacing: 4px;
  color: var(--color-neon);
  text-transform: uppercase;
  text-shadow: 0 0 6px var(--color-neon);
}

.panel-head-badge {
  font-size: 0.55rem;
  letter-spacing: 2px;
  color: var(--color-text-muted);
  border: 1px solid rgba(57,255,20,0.15);
  padding: 2px 8px;
  border-radius: 2px;
}

/* Corps panel */
.panel-body { padding: 22px 20px; }

/* --- FORMULAIRE --- */
form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field label {
  font-size: 0.58rem;
  letter-spacing: 3px;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

input, textarea {
  background: rgba(57,255,20,0.02);
  border: 1px solid rgba(57,255,20,0.15);
  border-radius: 2px;
  color: var(--color-text);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.88rem;
  padding: 10px 13px;
  outline: none;
  width: 100%;
  letter-spacing: 1px;
  caret-color: var(--color-neon);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

input::placeholder, textarea::placeholder {
  color: rgba(128,204,128,0.2);
}

input:focus, textarea:focus {
  border-color: var(--color-neon);
  background: rgba(57,255,20,0.04);
  box-shadow: 0 0 14px rgba(57,255,20,0.08);
}

textarea { resize: none; min-height: 130px; line-height: 1.7; }

button[type="submit"] {
  margin-top: 4px;
  padding: 12px;
  background: var(--color-neon);
  border: none;
  border-radius: 2px;
  color: var(--color-bg);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.2s;
  box-shadow: 0 0 16px rgba(57,255,20,0.3);
}

button[type="submit"]::before {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 40%;
  height: 200%;
  background: rgba(255,255,255,0.15);
  transform: skewX(-20deg);
  transition: left 0.4s ease;
}

button[type="submit"]:hover::before { left: 130%; }
button[type="submit"]:hover {
  box-shadow: 0 0 28px rgba(57,255,20,0.5);
  transform: translateY(-1px);
}

/* --- INFOS --- */
.info-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(57,255,20,0.08);
  gap: 12px;
}

.info-row:last-child { border-bottom: none; padding-bottom: 0; }

.info-key {
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.info-val {
  font-size: 0.82rem;
  color: var(--color-text);
  text-align: right;
  word-break: break-all;
}

/* --- LIENS --- */
.link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(57,255,20,0.08);
  text-decoration: none;
  transition: padding-left 0.2s, background 0.2s;
  border-radius: 2px;
}

.link-row:last-child { border-bottom: none; }

.link-row:hover {
  padding-left: 8px;
  background: rgba(57,255,20,0.03);
}

.link-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.link-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-neon);
  box-shadow: 0 0 6px var(--color-neon);
  flex-shrink: 0;
}

.link-name {
  font-size: 0.82rem;
  color: var(--color-text);
  transition: color 0.2s, text-shadow 0.2s;
}

.link-row:hover .link-name {
  color: var(--color-neon);
  text-shadow: 0 0 8px var(--color-neon);
}

.link-arrow {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  transition: color 0.2s, transform 0.2s;
}

.link-row:hover .link-arrow {
  color: var(--color-neon);
  transform: translateX(4px);
}

/* --- POPUP --- */
.popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5,10,5,0.95);
  z-index: 200;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.popup-content {
  background: var(--color-card);
  border: 1px solid var(--color-neon);
  padding: 40px 48px;
  max-width: 420px;
  width: 90%;
  position: relative;
  box-shadow: 0 0 60px rgba(57,255,20,0.2);
  animation: popupIn 0.4s cubic-bezier(0.16,1,0.3,1);
  text-align: center;
}

.popup-content::before {
  content: '✓ MESSAGE ENVOYÉ';
  display: block;
  font-size: 0.62rem;
  letter-spacing: 5px;
  color: var(--color-neon);
  text-shadow: 0 0 10px var(--color-neon);
  margin-bottom: 16px;
}

@keyframes popupIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

#popupMessage {
  color: var(--color-text);
  font-size: 0.88rem;
  letter-spacing: 1px;
  line-height: 1.75;
}

.close {
  position: absolute;
  top: 12px; right: 14px;
  color: var(--color-glitch);
  font-size: 1.1rem;
  cursor: pointer;
  border: 1px solid var(--color-glitch);
  width: 26px; height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.close:hover {
  background: var(--color-glitch);
  color: var(--color-bg);
  box-shadow: 0 0 12px var(--color-glitch);
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-neon); border-radius: 2px; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .grid-form, .grid-info, .grid-links {
    grid-column: 1;
    grid-row: auto;
  }
  .topbar { flex-direction: column; align-items: flex-start; gap: 16px; }
  .topbar-right { width: 100%; justify-content: space-between; }
}

@media (max-width: 480px) {
  .container { padding: 90px 14px 60px; }
  .topbar-right { flex-wrap: wrap; gap: 10px; }
  .stat-chip { min-width: 70px; }
  .popup-content { padding: 28px 18px; }
}@import url('colors.css');
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

/* --- RESET --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* --- BODY --- */
body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: 'Share Tech Mono', monospace;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Fond hexagonal animé */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(57,255,20,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
  animation: bgDrift 20s linear infinite;
}

@keyframes bgDrift {
  from { background-position: 0 0; }
  to   { background-position: 28px 28px; }
}

/* Lumière centrale */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(57,255,20,0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.1); }
}

/* --- CONTAINER --- */
.container {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 110px 32px 80px;
  flex: 1;
}

/* --- TITRE --- */
h1 {
  font-size: 3rem;
  letter-spacing: 12px;
  text-transform: uppercase;
  color: var(--color-neon);
  text-align: center;
  margin-bottom: 10px;
  text-shadow:
    0 0 10px var(--color-neon),
    0 0 30px var(--color-neon),
    0 0 60px rgba(57,255,20,0.4);
  animation: titleFlicker 6s infinite, titleIn 0.8s ease forwards;
  opacity: 0;
}

@keyframes titleIn {
  from { opacity: 0; transform: translateY(-20px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes titleFlicker {
  0%, 89%, 100% { text-shadow: 0 0 10px var(--color-neon), 0 0 30px var(--color-neon), 0 0 60px rgba(57,255,20,0.4); }
  90%  { text-shadow: none; opacity: 0.8; }
  91%  { text-shadow: 0 0 10px var(--color-neon); opacity: 1; }
  92%  { text-shadow: none; opacity: 0.7; }
  93%  { text-shadow: 0 0 30px var(--color-neon), 0 0 60px rgba(57,255,20,0.4); }
}

.subtitle {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 5px;
  color: var(--color-text-muted);
  margin-bottom: 50px;
  opacity: 0;
  animation: fadeUp 0.6s 0.4s ease forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Ligne décorative */
.deco-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 50px;
  opacity: 0;
  animation: fadeUp 0.6s 0.5s ease forwards;
}

.deco-line::before,
.deco-line::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-neon));
  box-shadow: 0 0 6px var(--color-neon);
}

.deco-line::after {
  background: linear-gradient(90deg, var(--color-neon), transparent);
}

.deco-line span {
  font-size: 0.6rem;
  letter-spacing: 4px;
  color: var(--color-neon);
  text-shadow: 0 0 8px var(--color-neon);
  white-space: nowrap;
}

/* --- LAYOUT --- */
.row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  align-items: start;
}

/* --- FORMULAIRE --- */
.form-wrap {
  position: relative;
  background: rgba(0,15,0,0.6);
  border: 1px solid rgba(57,255,20,0.3);
  border-radius: 4px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  opacity: 0;
  animation: slideLeft 0.7s 0.3s cubic-bezier(0.16,1,0.3,1) forwards;
}

@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Scan interne */
.form-wrap::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(57,255,20,0.5), transparent);
  animation: innerScan 4s linear infinite;
  z-index: 0;
}

@keyframes innerScan {
  from { top: 0; opacity: 1; }
  to   { top: 100%; opacity: 0.2; }
}

/* Coins lumineux */
.form-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background:
    radial-gradient(circle at 0% 0%, rgba(57,255,20,0.08) 0%, transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(57,255,20,0.06) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

.form-header {
  position: relative;
  z-index: 1;
  background: rgba(57,255,20,0.07);
  border-bottom: 1px solid rgba(57,255,20,0.2);
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-header-title {
  font-size: 0.65rem;
  letter-spacing: 4px;
  color: var(--color-neon);
  text-shadow: 0 0 8px var(--color-neon);
  text-transform: uppercase;
}

.form-header-dots {
  display: flex;
  gap: 6px;
}

.form-header-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
}

.form-header-dots span:nth-child(1) { background: var(--color-glitch); box-shadow: 0 0 6px var(--color-glitch); }
.form-header-dots span:nth-child(2) { background: #ffbd2e; box-shadow: 0 0 6px #ffbd2e; }
.form-header-dots span:nth-child(3) { background: var(--color-neon); box-shadow: 0 0 6px var(--color-neon); animation: dotPulse 2s infinite; }

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

form {
  position: relative;
  z-index: 1;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 0.6rem;
  letter-spacing: 4px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  transition: color 0.3s;
}

.field:focus-within label { color: var(--color-neon); text-shadow: 0 0 6px var(--color-neon); }

input, textarea {
  background: rgba(57,255,20,0.02);
  border: 1px solid rgba(57,255,20,0.15);
  border-radius: 2px;
  color: var(--color-text);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.92rem;
  padding: 11px 14px;
  outline: none;
  width: 100%;
  letter-spacing: 1px;
  caret-color: var(--color-neon);
  transition: all 0.3s ease;
}

input::placeholder, textarea::placeholder { color: rgba(128,204,128,0.2); }

input:focus, textarea:focus {
  border-color: var(--color-neon);
  background: rgba(57,255,20,0.05);
  box-shadow:
    0 0 20px rgba(57,255,20,0.1),
    inset 0 0 12px rgba(57,255,20,0.04);
  transform: translateX(2px);
}

textarea { resize: none; min-height: 130px; line-height: 1.7; }

/* Indicateur focus */
.field::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 1px;
  width: 0;
  background: var(--color-neon);
  box-shadow: 0 0 8px var(--color-neon);
  transition: width 0.4s ease;
  border-radius: 0 0 2px 2px;
}

.field:focus-within::after { width: 100%; }

button[type="submit"] {
  padding: 13px;
  background: transparent;
  border: 1px solid var(--color-neon);
  border-radius: 2px;
  color: var(--color-neon);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.85rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.3s, box-shadow 0.3s, transform 0.2s;
  text-shadow: 0 0 8px var(--color-neon);
}

button[type="submit"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-neon);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
  z-index: 0;
}

button[type="submit"] { position: relative; z-index: 1; }

button[type="submit"]:hover::before { transform: scaleX(1); }
button[type="submit"]:hover {
  color: var(--color-bg);
  text-shadow: none;
  box-shadow: 0 0 30px rgba(57,255,20,0.5);
  transform: translateY(-2px);
}

/* --- SIDEBAR --- */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  animation: slideRight 0.7s 0.5s cubic-bezier(0.16,1,0.3,1) forwards;
}

@keyframes slideRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Bloc info */
.info-block {
  background: rgba(0,15,0,0.6);
  border: 1px solid rgba(57,255,20,0.2);
  border-radius: 4px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.info-block:hover {
  border-color: rgba(57,255,20,0.5);
  box-shadow: 0 0 20px rgba(57,255,20,0.1);
}

.info-block-head {
  background: rgba(57,255,20,0.05);
  border-bottom: 1px solid rgba(57,255,20,0.12);
  padding: 9px 16px;
  font-size: 0.6rem;
  letter-spacing: 4px;
  color: var(--color-neon);
  text-shadow: 0 0 6px var(--color-neon);
  text-transform: uppercase;
}

.info-block-body { padding: 18px 16px; }

.info-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(57,255,20,0.07);
  gap: 10px;
}

.info-line:last-child { border-bottom: none; padding-bottom: 0; }

.info-k {
  font-size: 0.58rem;
  letter-spacing: 2px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  flex-shrink: 0;
}

.info-v {
  font-size: 0.8rem;
  color: var(--color-text);
  text-align: right;
}

/* Liens avec effet hover */
.net-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  text-decoration: none;
  border-bottom: 1px dashed rgba(57,255,20,0.07);
  transition: padding-left 0.3s ease;
  position: relative;
  overflow: hidden;
}

.net-link:last-child { border-bottom: none; }

.net-link::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: rgba(57,255,20,0.04);
  transition: width 0.3s ease;
}

.net-link:hover::before { width: 100%; }
.net-link:hover { padding-left: 8px; }

.net-link-left {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.net-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-neon);
  box-shadow: 0 0 6px var(--color-neon);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.net-link:hover .net-dot { transform: scale(1.5); }

.net-name {
  font-size: 0.84rem;
  color: var(--color-text);
  letter-spacing: 1px;
  transition: color 0.2s, text-shadow 0.2s;
  position: relative;
  z-index: 1;
}

.net-link:hover .net-name {
  color: var(--color-neon);
  text-shadow: 0 0 8px var(--color-neon);
}

.net-arrow {
  font-size: 0.75rem;
  color: rgba(128,204,128,0.3);
  transition: color 0.2s, transform 0.3s;
  position: relative;
  z-index: 1;
}

.net-link:hover .net-arrow {
  color: var(--color-neon);
  transform: translateX(5px);
}

/* Statut avec animation ping */
.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(57,255,20,0.03);
  border-top: 1px dashed rgba(57,255,20,0.1);
  font-size: 0.62rem;
  letter-spacing: 3px;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.ping {
  position: relative;
  width: 8px; height: 8px;
  flex-shrink: 0;
}

.ping::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-neon);
  box-shadow: 0 0 6px var(--color-neon);
}

.ping::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--color-neon);
  animation: pingAnim 2s ease-out infinite;
}

@keyframes pingAnim {
  from { transform: scale(0.5); opacity: 1; }
  to   { transform: scale(2);   opacity: 0; }
}

/* --- POPUP --- */
.popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5,10,5,0.96);
  z-index: 200;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.popup-content {
  background: var(--color-card);
  border: 1px solid var(--color-neon);
  padding: 44px 52px;
  max-width: 440px;
  width: 90%;
  position: relative;
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(57,255,20,0.1),
    0 0 80px rgba(57,255,20,0.25);
  animation: popupIn 0.5s cubic-bezier(0.16,1,0.3,1);
}

.popup-content::before {
  content: '✓ MESSAGE ENVOYÉ';
  display: block;
  font-size: 0.6rem;
  letter-spacing: 6px;
  color: var(--color-neon);
  text-shadow: 0 0 12px var(--color-neon);
  margin-bottom: 18px;
}

.popup-content::after {
  content: '';
  position: absolute;
  bottom: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-neon), transparent);
  box-shadow: 0 0 10px var(--color-neon);
}

@keyframes popupIn {
  from { opacity: 0; transform: scale(0.88) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

#popupMessage {
  color: var(--color-text);
  font-size: 0.9rem;
  letter-spacing: 1px;
  line-height: 1.8;
}

.close {
  position: absolute;
  top: 12px; right: 14px;
  color: var(--color-glitch);
  font-size: 1.1rem;
  cursor: pointer;
  border: 1px solid var(--color-glitch);
  width: 26px; height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.close:hover {
  background: var(--color-glitch);
  color: var(--color-bg);
  box-shadow: 0 0 14px var(--color-glitch);
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-neon); border-radius: 2px; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  h1 { font-size: 2rem; letter-spacing: 6px; }
  .row { grid-template-columns: 1fr; gap: 20px; }
  .container { padding: 90px 18px 60px; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.5rem; letter-spacing: 4px; }
  form { padding: 20px 16px; }
  .popup-content { padding: 30px 20px; }
}

/* */
  i {
    margin-right: 8px;
    font-size: 32px;
  }

  a {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
  }

  /* LinkedIn */
  .linkedin:hover {
    color: #0077b5;
  }

  /* GitHub */
  .github:hover {
    color: #000000;
  }