html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  background: #050505;
  overflow: hidden; /* Prevent scrolling during the intro animation */
}

.rings {
  position: fixed;
  inset: 50%;
  width: min(96vw, 96vh);
  height: min(96vw, 96vh);
  transform: translate(-50%, -50%);
}

text {
  fill: #00ff66;
  font-family: "Courier New", Courier, monospace;
  font-size: 21px;
  letter-spacing: 4px;
  text-shadow: 0 0 8px rgba(0,255,102,0.9);
}

.ring {
  transform-origin: 500px 500px;
}

.ring-1 {
  animation: spin-cw 7s linear infinite;
}

.ring-2 {
  animation: spin-ccw 10s linear infinite;
}

.ring-3 {
  animation: spin-cw 13s linear infinite;
}

.ring-4 {
  animation: spin-ccw 16s linear infinite;
}

.ring-5 {
  animation: spin-cw 19s linear infinite;
}

.ring-6 {
  animation: spin-ccw 22s linear infinite;
}

.ring-7 {
  animation: spin-cw 25s linear infinite;
}

.ring-8 {
  animation: spin-ccw 28s linear infinite;
}

.ring-9 {
  animation: spin-cw 31s linear infinite;
}

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

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

/* ==========================================================================
   NEW STYLES: Centered profile image overlay (Increased by 50%)
   ========================================================================== */
#image-overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  pointer-events: none;
  width: min(90vw, 900px); /* 50% larger container (previously 600px) */
  display: flex;
  justify-content: center;
  align-items: center;
}

#profile-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 3px solid #00ff66;
  box-shadow: 0 0 35px rgba(0, 255, 102, 0.8);
  object-fit: contain;
  transform: scale(0);
  opacity: 0;
  transition: transform 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 1s ease;
}

#profile-img.zoom-in {
  transform: scale(1);
  opacity: 1;
}

/* Dissolve animation for the entire intro container */
#intro-container {
  transition: opacity 1.5s ease-in-out;
  opacity: 1;
}

#intro-container.dissolve {
  opacity: 0;
}

/* ==========================================================================
   NEW STYLES: Revealed Content Grid (Resume + Video)
   ========================================================================== */
#content-grid {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.5s ease-in-out;
  display: flex;
  flex-direction: row;
  gap: 30px;
  width: 100%;
  max-width: 1400px; /* Increased from 1300px to prevent layout cramp */
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  background: #050505;
}

#content-grid.reveal {
  opacity: 1;
  visibility: visible;
}

/* Left Column: Resume styling */
#resume-container {
  flex: 1;
  font-family: "Courier New", Courier, monospace;
  color: #00ff66;
  text-shadow: 0 0 6px rgba(0, 255, 102, 0.5);
}

.resume-wrapper {
  border: 1px solid #00ff66;
  padding: 30px;
  border-radius: 8px;
  background: rgba(0, 10, 0, 0.3);
  box-shadow: inset 0 0 15px rgba(0, 255, 102, 0.1), 0 0 15px rgba(0, 255, 102, 0.1);
}

.resume-header {
  border-bottom: 2px dashed #00ff66;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.resume-header h1 {
  font-size: 28px;
  margin: 0 0 10px 0;
  letter-spacing: 2px;
}

.contact-info {
  font-size: 14px;
  margin: 5px 0 15px 0;
}

.contact-info a {
  color: #00ff66;
  text-decoration: underline;
}

section {
  margin-bottom: 30px;
}

section h2 {
  font-size: 20px;
  border-bottom: 1px solid rgba(0, 255, 102, 0.3);
  padding-bottom: 5px;
  margin-bottom: 15px;
}

ul {
  list-style-type: square;
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
  line-height: 1.5;
}

p {
  line-height: 1.6;
}

.job {
  margin-bottom: 30px;
}

.job h3 {
  margin: 0 0 5px 0;
  font-size: 18px;
}

.location-context {
  display: inline-block;
  font-style: italic;
  opacity: 0.9;
  margin-bottom: 5px;
}

.location-context::before {
  content: "| ";
  color: #00ff66;
  font-style: normal;
}

.date {
  font-size: 14px;
  opacity: 0.8;
  display: block;
  margin-bottom: 10px;
}

/* Blinking terminal cursor */
.blink-cursor::after {
  content: '_';
  animation: blink 1s step-start infinite;
}

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

/* ==========================================================================
   NEW STYLES: Right Column (Video & Links)
   ========================================================================== */
#video-container {
  width: 525px; /* Enlarged by 25% (previously 420px) */
  flex-shrink: 0;
}

.video-wrapper {
  border: 1px solid #00ff66;
  border-radius: 8px;
  background: rgba(0, 10, 0, 0.3);
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.15);
  overflow: hidden;
}

.video-header {
  background: rgba(0, 255, 102, 0.15);
  color: #00ff66;
  padding: 8px 12px;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  font-weight: bold;
  border-bottom: 1px solid #00ff66;
  letter-spacing: 1px;
}

#gameplay-video {
  width: 100%;
  display: block;
  border: none;
}

/* ==========================================================================
   NEW STYLES: Inline Social Links (Under the Video)
   ========================================================================== */
#socials-container {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 20px;
  width: 100%;
}

.social-link {
  flex: 1;
  background: rgba(0, 10, 0, 0.8);
  border: 1px solid #00ff66;
  color: #00ff66;
  padding: 12px 10px;
  text-decoration: none;
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  font-weight: bold;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.2);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.social-link:hover {
  background: #00ff66;
  color: #050505;
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.6);
  transform: translateY(-2px);
}

.social-link .icon {
  font-size: 14px;
}

/* ==========================================================================
   NEW STYLES: Friends Section
   ========================================================================== */
.friends-wrapper {
  border: 1px solid #00ff66;
  border-radius: 8px;
  background: rgba(0, 10, 0, 0.3);
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.15);
  margin-top: 20px;
  overflow: hidden;
}

.friends-header {
  background: rgba(0, 255, 102, 0.15);
  color: #00ff66;
  padding: 8px 12px;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  font-weight: bold;
  border-bottom: 1px solid #00ff66;
  letter-spacing: 1px;
}

.friends-list {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.friends-list a {
  color: #00ff66;
  text-decoration: none;
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  display: inline-block;
  transition: all 0.2s ease;
}

.friends-list a::before {
  content: "> ";
  color: #00ff66;
}

.friends-list a:hover {
  text-shadow: 0 0 10px #00ff66;
  transform: translateX(4px);
}

/* ==========================================================================
   Responsive media queries
   ========================================================================== */
@media (max-width: 1000px) {
  #content-grid {
    flex-direction: column;
  }
  #video-container {
    width: 100%;
  }
}

/* ==========================================================================
   SOLID GREEN REDACTION BLOCKS (CYBER THEME)
   ========================================================================== */
.redacted-block {
  background-color: #00ff66;
  color: #00ff66;           /* Solid green bar matching CRT theme */
  text-shadow: 0 0 8px #00ff66;
  padding: 0 4px;
  border-radius: 2px;
  user-select: none;
  cursor: not-allowed;
  display: inline-block;
  letter-spacing: -1px;
}

.redacted-block::selection {
  background-color: #00ff66;
  color: #00ff66;
}

/* ==========================================================================
   CVE & Vulnerability Advisories Section
   ========================================================================== */
.cve-wrapper {
  border: 1px solid #00ff66;
  border-radius: 8px;
  background: rgba(0, 10, 0, 0.3);
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.15);
  margin-top: 20px;
  overflow: hidden;
  color: #00ff66;
  font-family: "Courier New", Courier, monospace;
}

.cve-header {
  background: rgba(0, 255, 102, 0.15);
  color: #00ff66;
  padding: 8px 12px;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  font-weight: bold;
  border-bottom: 1px solid #00ff66;
  letter-spacing: 1px;
}

.cve-list {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cve-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(0, 255, 102, 0.2);
}

.cve-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.cve-top-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 12px;
}

.cve-link {
  color: #00ff66;
  text-decoration: none;
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cve-link::before {
  content: "> ";
  color: #00ff66;
}

.cve-link:hover {
  text-shadow: 0 0 10px #00ff66;
  transform: translateX(4px);
}

.cve-badges {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  color: #00ff66;
}

.cve-badge {
  color: #00ff66 !important;
  border: 1px solid #00ff66 !important;
  background: rgba(0, 255, 102, 0.12) !important;
  box-shadow: 0 0 8px rgba(0, 255, 102, 0.35) !important;
  text-shadow: 0 0 6px rgba(0, 255, 102, 0.7) !important;
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.cve-score,
.cve-sev,
.sev-high {
  color: #00ff66 !important;
  border-color: #00ff66 !important;
}

.cve-status {
  color: #00ff66;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  opacity: 0.8;
  padding-left: 18px;
  font-style: italic;
}
