/* ==================================================================
   NOMINOOM PORTFOLIO — STRICT MONOCHROME B&W DESIGN SYSTEM
   ================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');

:root {
  /* Strict Deep Black & Sleek Highlight Palette */
  --bg-dark: #000000;
  --bg-dark-surface: #070707;
  --bg-card: rgba(8, 8, 8, 0.85);
  --bg-card-hover: rgba(16, 16, 16, 0.95);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.3);

  --text-white: #ffffff;
  --text-silver: #a1a1aa;
  --text-muted: #71717a;

  --glow-silver: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(0, 0, 0, 0) 70%);

  /* Typography */
  --font-display: 'Source Code Pro', monospace;
  --font-body: 'Source Code Pro', monospace;

  /* Spacing & Radii */
  --container-max: 1140px;
  --radius-pill: 9999px;
  --radius-card: 12px;
  --glass-blur: blur(16px);
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET & BASE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Source Code Pro', monospace;
  font-optical-sizing: auto;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-white);
}

body {
  font-family: var(--font-body);
  font-optical-sizing: auto;
  background: var(--bg-dark);
  color: var(--text-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
}

/* Ambient Canvas Container */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: transparent;
  pointer-events: auto;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* BUTTONS & PILLS */
.btn-pill-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: #ffffff;
  color: #000000;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-smooth);
  border: 1px solid #ffffff;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-pill-white:hover {
  background: #e6e6e6;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.35);
}

.btn-pill-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: #ffffff;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
  border: 1px solid var(--border-subtle);
  backdrop-filter: var(--glass-blur);
}

.btn-pill-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

/* SOCIAL ICON BUTTONS */
.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-silver);
  transition: var(--transition-smooth);
  text-decoration: none;
}

.social-btn:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ==================================================================
   2-COLUMN HERO SECTION
   ================================================================== */
.hero-bleed {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 8rem 1.5rem 4rem 1.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.hero-sublabel {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-silver);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.hero-title-main {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.hero-role-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-silver);
  line-height: 1.65;
  max-width: 58ch;
  margin-bottom: 2rem;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* HERO RIGHT QUICK CONNECT CARD WITH GLOW */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-backglow-ring {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: var(--glow-silver);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 80px rgba(255, 255, 255, 0.1);
  animation: float-glow 6s ease-in-out infinite;
}

@keyframes float-glow {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.03); }
}

.hero-connect-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 380px;
  border-radius: 20px;
  background: rgba(8, 8, 8, 0.88);
  border: 1px solid var(--border-subtle);
  backdrop-filter: var(--glass-blur);
  padding: 1.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95);
  transition: var(--transition-smooth);
}

.hero-connect-card:hover {
  border-color: var(--border-strong);
  background: rgba(12, 12, 12, 0.95);
}

.connect-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.status-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px #ffffff;
  display: inline-block;
}

.connect-status-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-silver);
}

.connect-channels-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.connect-channel-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  text-decoration: none;
  color: #ffffff;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.connect-channel-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-strong);
  transform: translateX(3px);
}

.channel-icon-wrap {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.channel-icon-wrap svg {
  width: 16px;
  height: 16px;
  fill: #ffffff;
}

.channel-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.channel-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.channel-handle {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.copy-badge {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  color: var(--text-silver);
}

.link-arrow {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.connect-card-action-btn {
  display: block;
  text-align: center;
  padding: 0.65rem 1rem;
  background: #ffffff;
  color: #000000;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.connect-card-action-btn:hover {
  background: #e6e6e6;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* ==================================================================
   ABOUT ME SECTION (2-COLUMN FOCUSED LAYOUT)
   ================================================================== */
.about-section {
  padding: 6rem 1.5rem;
  position: relative;
  z-index: 10;
}

.section-header-center {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag-sub {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-silver);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title-main {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.about-2col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 2.25rem;
  backdrop-filter: var(--glass-blur);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.about-card p {
  color: var(--text-silver);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* STATS GRID (4 BLOCKS) */
.stats-2x2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
}

.stat-block {
  background: rgba(8, 8, 8, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1rem;
  text-align: left;
  transition: var(--transition-smooth);
}

.stat-block:hover {
  border-color: var(--border-strong);
  background: rgba(14, 14, 14, 0.95);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}

/* ==================================================================
   EDUCATION & TIMELINE SECTION
   ================================================================== */
.education-container-box {
  max-width: 860px;
  margin: 0 auto;
}

.edu-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.edu-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  backdrop-filter: var(--glass-blur);
  transition: var(--transition-smooth);
}

.edu-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.edu-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.edu-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.edu-year {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
}

.edu-inst {
  font-size: 0.875rem;
  color: var(--text-silver);
  margin-bottom: 0.5rem;
}

.edu-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==================================================================
   DEDICATED CONTACT & DIRECT MESSAGE SECTION
   ================================================================== */
.contact-section {
  padding: 6rem 1.5rem 4rem 1.5rem;
  position: relative;
  z-index: 10;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  backdrop-filter: var(--glass-blur);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: #ffffff;
  cursor: pointer;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8);
}

.contact-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon-box svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

.contact-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-silver);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-handle {
  font-size: 0.9rem;
  color: var(--text-silver);
  margin-bottom: 1.5rem;
}

.contact-action-btn {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
  width: 100%;
}

/* FLOATING TOAST NOTIFICATION */
.contact-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #ffffff;
  color: #000000;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100000;
}

.contact-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==================================================================
   FOOTER
   ================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 1.5rem;
  text-align: center;
  position: relative;
  z-index: 10;
  background: #000000;
}

.footer-content p {
  color: var(--text-silver);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.footer-secondary-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.footer-secondary-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-secondary-links a:hover {
  color: #ffffff;
}

.footer-separator {
  color: var(--border-subtle);
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin: 0 auto 2rem auto;
  }
  .hero-cta-row {
    justify-content: center;
  }
  .hero-visual-wrapper {
    margin-top: 1.5rem;
  }
  .about-2col-grid {
    grid-template-columns: 1fr;
  }
}