/* Simple CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global Styles */
body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #0a0a0a;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(40, 40, 40, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(50, 50, 50, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(30, 30, 30, 0.4) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Navigation */
.back-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #333;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  margin-bottom: 20px;
  transition: background-color 0.3s;
}

.back-link:hover {
  background-color: #555;
}

/* Landing Page Styles */
.landing-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 20px;
}

.landing-page h1 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-style: italic;
}

.node-options {
  display: flex;
  gap: 30px;
  margin: 40px 0;
}

.node-card {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 10px;
  width: 300px;
  text-decoration: none;
  color: #333;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.node-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.node-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 15px;
}

.node-card h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #667eea;
}

.node-card p {
  font-size: 1rem;
  line-height: 1.5;
}

.landing-page .footer-text {
  margin-top: 40px;
  font-size: 1.2rem;
  font-style: italic;
}

/* North Node Page - Nautical Nonsense & Celestial Prose */
@keyframes wave-flow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes starlight-twinkle {
  0%, 100% {
    text-shadow:
      0 0 10px rgba(255, 255, 255, 0.8),
      0 0 20px rgba(135, 206, 235, 0.6),
      0 0 30px rgba(64, 224, 208, 0.4);
  }
  50% {
    text-shadow:
      0 0 20px rgba(255, 255, 255, 1),
      0 0 30px rgba(135, 206, 235, 0.8),
      0 0 40px rgba(64, 224, 208, 0.6);
  }
}

@keyframes tide-pulse {
  0%, 100% {
    box-shadow:
      0 0 30px rgba(64, 224, 208, 0.3),
      0 0 60px rgba(25, 25, 112, 0.2),
      inset 0 0 40px rgba(135, 206, 235, 0.1);
  }
  50% {
    box-shadow:
      0 0 50px rgba(64, 224, 208, 0.5),
      0 0 80px rgba(25, 25, 112, 0.4),
      inset 0 0 60px rgba(135, 206, 235, 0.2);
  }
}

.north-page {
  background: linear-gradient(135deg, #0a1128 0%, #001f54 30%, #034078 60%, #1282a2 100%);
  background-size: 400% 400%;
  animation: wave-flow 15s ease-in-out infinite;
  position: relative;
  min-height: 100vh;
  padding: 40px 20px;
  overflow-x: hidden;
}

.north-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, white, transparent),
    radial-gradient(2px 2px at 60% 70%, rgba(135, 206, 235, 0.8), transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(64, 224, 208, 0.6), transparent),
    radial-gradient(1px 1px at 80% 10%, white, transparent),
    radial-gradient(2px 2px at 90% 60%, rgba(135, 206, 235, 0.7), transparent),
    radial-gradient(1px 1px at 33% 85%, white, transparent),
    radial-gradient(2px 2px at 15% 90%, rgba(64, 224, 208, 0.6), transparent);
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.6;
  pointer-events: none;
}

.north-page .container {
  background: linear-gradient(145deg, rgba(240, 248, 255, 0.95) 0%, rgba(230, 245, 255, 0.92) 100%);
  border-radius: 20px;
  padding: 40px;
  box-shadow:
    0 15px 50px rgba(25, 25, 112, 0.4),
    0 0 100px rgba(64, 224, 208, 0.2),
    inset 0 2px 0 rgba(255, 255, 255, 0.8),
    inset 0 0 60px rgba(135, 206, 235, 0.1);
  border: 3px solid rgba(64, 224, 208, 0.3);
  position: relative;
  animation: tide-pulse 8s ease-in-out infinite;
}

.north-page .container::before {
  content: '⚓';
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  opacity: 0.1;
  color: #1282a2;
}

.north-page .back-link {
  background: linear-gradient(135deg, #034078 0%, #1282a2 100%);
  color: #fff;
  box-shadow:
    0 4px 15px rgba(64, 224, 208, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(64, 224, 208, 0.5);
  font-weight: 600;
  transition: all 0.3s ease;
}

.north-page .back-link:hover {
  background: linear-gradient(135deg, #001f54 0%, #034078 100%);
  box-shadow:
    0 6px 25px rgba(64, 224, 208, 0.6),
    0 0 30px rgba(135, 206, 235, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.page-title {
  font-size: 2.8rem;
  background: linear-gradient(135deg, #034078 0%, #1282a2 50%, #64e0d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
  text-align: center;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  animation: starlight-twinkle 6s ease-in-out infinite;
  position: relative;
}

.page-title::after {
  content: '✦';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -20px;
  font-size: 1.5rem;
  color: #64e0d0;
  opacity: 0.6;
}

.page-subtitle {
  font-size: 1.2rem;
  color: #034078;
  margin-bottom: 40px;
  text-align: center;
  font-style: italic;
  text-shadow: 0 0 10px rgba(64, 224, 208, 0.3);
  font-family: 'Georgia', serif;
}

.profile-section {
  display: flex;
  gap: 30px;
  margin: 30px 0;
  align-items: flex-start;
  justify-content: flex-start;
}

.profile-image {
  width: 300px;
  height: 350px;
  object-fit: cover;
  object-position: center top;
  border-radius: 15px;
  border: 4px solid #64e0d0;
  box-shadow:
    0 8px 30px rgba(25, 25, 112, 0.4),
    0 0 40px rgba(64, 224, 208, 0.3),
    inset 0 0 20px rgba(135, 206, 235, 0.2);
  transform: rotate(0deg);
  image-orientation: from-image;
  flex-shrink: 0;
  position: relative;
}

.profile-image::after {
  content: '～～～';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  color: #64e0d0;
  font-size: 1.5rem;
  opacity: 0.5;
}

.profile-content {
  flex: 1;
}

.highlight-badge {
  background: linear-gradient(135deg, #034078 0%, #1282a2 100%);
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-weight: bold;
  box-shadow:
    0 4px 15px rgba(64, 224, 208, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(64, 224, 208, 0.5);
  letter-spacing: 2px;
}

.highlight-badge::before {
  content: '✦ ';
}

.highlight-badge::after {
  content: ' ✦';
}

.profile-content p {
  margin-bottom: 15px;
  color: #001f54;
  line-height: 1.8;
}

.stats {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.stat-box {
  background: linear-gradient(145deg, rgba(230, 245, 255, 0.9) 0%, rgba(200, 235, 255, 0.95) 100%);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  flex: 1;
  border: 3px solid rgba(64, 224, 208, 0.4);
  box-shadow:
    0 6px 20px rgba(25, 25, 112, 0.2),
    inset 0 2px 0 rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
}

.stat-box::before {
  content: '✦';
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 1.2rem;
  color: #64e0d0;
  opacity: 0.3;
}

.stat-box strong {
  display: block;
  font-size: 2.2rem;
  background: linear-gradient(135deg, #034078 0%, #1282a2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  font-weight: 700;
}

.stat-box span {
  font-size: 0.85rem;
  color: #034078;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.section {
  margin: 40px 0;
}

.section-header{
  display: flex;
  flex-direction: row;
  border-bottom: 3px solid;
  border-image: linear-gradient(90deg, #034078 0%, #1282a2 50%, rgba(64, 224, 208, 0.6) 100%) 1;
  position: relative;
}

.section-header::after {
  content: '～';
  position: absolute;
  right: 0;
  bottom: -10px;
  color: #64e0d0;
  font-size: 1.5rem;
  opacity: 0.5;
}

.section-title {
  font-size: clamp(1.2rem, 2vw + 0.5rem, 1.8rem);
  width: clamp(200px, 30%, 100%);
  background: linear-gradient(90deg, #034078 0%, #1282a2 50%, #64e0d0 99%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  padding-bottom: 10px;
  text-shadow: 0 0 20px rgba(64, 224, 208, 0.3);
  justify-content: center;
  font-weight: 700;
  letter-spacing: 2px;
}

.section-title::before {
  content: '⚓ ';
  opacity: 0.6;
}

.section-header-content {
  margin-left: 38px;
  font-size: 1rem;
  color: #034078;
  align-self: center;
  font-style: italic;
  padding-bottom: 10px;
}



.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card {
  background: linear-gradient(145deg, rgba(230, 245, 255, 0.9) 0%, rgba(220, 240, 255, 0.95) 100%);
  padding: 25px;
  border-radius: 12px;
  border-left: 5px solid #1282a2;
  box-shadow:
    0 6px 20px rgba(25, 25, 112, 0.2),
    inset 0 2px 0 rgba(255, 255, 255, 0.3);
  border-top: 2px solid rgba(64, 224, 208, 0.3);
  position: relative;
  transition: all 0.3s ease;
}

.card::before {
  content: '✦';
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  color: #64e0d0;
  opacity: 0.2;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 10px 30px rgba(25, 25, 112, 0.3),
    inset 0 2px 0 rgba(255, 255, 255, 0.5);
}

.card h3 {
  font-size: 1.4rem;
  background: linear-gradient(135deg, #034078 0%, #1282a2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: 1px;
}

.card ul {
  list-style-position: inside;
  color: #001f54;
}

.card li {
  margin-bottom: 12px;
  line-height: 1.6;
}

.card li::marker {
  color: #64e0d0;
}

.timeline {
  margin-top: 20px;
  border-left: 4px solid;
  border-image: linear-gradient(180deg, #034078 0%, #1282a2 50%, rgba(64, 224, 208, 0.6) 100%) 1;
  padding-left: 35px;
  position: relative;
}

.timeline::before {
  content: '⚓';
  position: absolute;
  top: 0;
  left: -15px;
  font-size: 1.5rem;
  color: #1282a2;
  opacity: 0.7;
}

.timeline-item {
  margin-bottom: 35px;
  position: relative;
}

.timeline-item::before {
  content: '✦';
  position: absolute;
  left: -44px;
  top: 0;
  width: 20px;
  height: 20px;
  font-size: 1rem;
  color: #64e0d0;
  background: linear-gradient(circle, #034078 0%, #1282a2 100%);
  border-radius: 50%;
  border: 3px solid #64e0d0;
  box-shadow:
    0 0 15px rgba(64, 224, 208, 0.6),
    0 0 30px rgba(25, 25, 112, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.timeline-item h4 {
  font-size: 1.3rem;
  color: #001f54;
  margin-bottom: 5px;
  text-shadow: 0 0 10px rgba(64, 224, 208, 0.2);
  font-weight: 700;
  letter-spacing: 1px;
}

.timeline-item span {
  display: block;
  font-size: 0.85rem;
  color: #1282a2;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 2px;
}

.timeline-item p {
  color: #034078;
  line-height: 1.7;
}

.future-box {
  background: linear-gradient(145deg, rgba(230, 230, 250, 0.6) 0%, rgba(225, 225, 245, 0.8) 100%);
  padding: 30px;
  border-radius: 10px;
  border: 2px solid rgba(192, 192, 192, 0.5);
  margin: 30px 0;
  box-shadow:
    0 6px 25px rgba(100, 149, 237, 0.3),
    inset 0 1px 0 rgba(192, 192, 192, 0.3);
}

.future-box p {
  margin-bottom: 15px;
  color: #555;
}

.cta-section {
  text-align: center;
  padding: 40px;
  background: linear-gradient(145deg, rgba(230, 245, 255, 0.9) 0%, rgba(200, 235, 255, 0.95) 100%);
  border-radius: 15px;
  margin-top: 40px;
  border: 3px solid rgba(64, 224, 208, 0.4);
  box-shadow:
    0 8px 30px rgba(25, 25, 112, 0.3),
    inset 0 2px 0 rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '✦ ～～～ ✦';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: #64e0d0;
  opacity: 0.3;
  font-size: 1.2rem;
}

.cta-section p {
  color: #034078;
  font-size: 1.15rem;
  font-style: italic;
  margin-bottom: 20px;
}

.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(135deg, #8470ff 0%, #6495ED 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1rem;
  margin-top: 15px;
  transition: all 0.3s ease;
  box-shadow:
    0 4px 20px rgba(100, 149, 237, 0.4),
    inset 0 1px 0 rgba(192, 192, 192, 0.4);
  border: 1px solid rgba(192, 192, 192, 0.4);
  font-weight: 600;
}

.cta-button:hover {
  background: linear-gradient(135deg, #6a5acd 0%, #4169E1 100%);
  box-shadow:
    0 6px 30px rgba(100, 149, 237, 0.6),
    0 0 40px rgba(177, 156, 217, 0.4),
    inset 0 1px 0 rgba(192, 192, 192, 0.6);
  transform: translateY(-2px);
}

.contact-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-top: 25px;
  font-size: 1.15rem;
}

.contact-links a {
  color: #034078;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  letter-spacing: 1px;
  padding: 8px 15px;
  border-radius: 8px;
  background: rgba(64, 224, 208, 0.1);
}

.contact-links a i {
  color: #1282a2;
  margin-right: 5px;
  transition: all 0.3s ease;
}

.contact-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #034078 0%, #1282a2 50%, #64e0d0 100%);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.contact-links a:hover {
  color: #1282a2;
  background: rgba(64, 224, 208, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(64, 224, 208, 0.3);
}

.contact-links a:hover i {
  color: #64e0d0;
  transform: scale(1.2);
}

.contact-links a:hover::after {
  width: 100%;
}

.contact-links .divider {
  color: #64e0d0;
  font-size: 1.5rem;
  opacity: 0.6;
}

/* South Node Page */
@keyframes float-drift {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  33% { transform: translateY(-15px) translateX(8px); }
  66% { transform: translateY(8px) translateX(-12px); }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3), 0 0 40px rgba(0, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(138, 43, 226, 0.5), 0 0 60px rgba(0, 255, 255, 0.4);
  }
}

@keyframes chromatic-shift {
  0% { filter: hue-rotate(0deg) saturate(1); }
  50% { filter: hue-rotate(10deg) saturate(1.3); }
  100% { filter: hue-rotate(0deg) saturate(1); }
}

@keyframes text-glitch {
  0%, 100% {
    text-shadow: 2px 2px 4px rgba(138, 43, 226, 0.5), -2px -2px 4px rgba(0, 255, 255, 0.3);
  }
  50% {
    text-shadow: -2px 2px 6px rgba(0, 255, 255, 0.6), 2px -2px 6px rgba(138, 43, 226, 0.6);
  }
}

.south-page {
  background-color: #0d0d0d;
  color: #f0f0f0;
  min-height: 100vh;
  padding: 40px 20px;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(138, 43, 226, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(0, 255, 255, 0.06) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 50%, rgba(75, 0, 130, 0.04) 0%, transparent 60%);
  animation: chromatic-shift 8s ease-in-out infinite;
}

.south-page .container {
  background-color: rgba(26, 26, 26, 0.85);
  border-radius: 10px;
  padding: 40px;
  box-shadow:
    0 8px 32px rgba(138, 43, 226, 0.3),
    0 0 60px rgba(0, 255, 255, 0.15),
    inset 0 0 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(138, 43, 226, 0.2);
}

.south-page .back-link {
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.7) 0%, rgba(75, 0, 130, 0.8) 100%);
  border: 1px solid rgba(138, 43, 226, 0.6);
  box-shadow:
    0 4px 15px rgba(138, 43, 226, 0.4),
    0 0 20px rgba(0, 255, 255, 0.2),
    inset 0 1px 0 rgba(0, 255, 255, 0.3);
  transition: all 0.3s ease;
  font-weight: 500;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.south-page .back-link:hover {
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.9) 0%, rgba(75, 0, 130, 1) 100%);
  box-shadow:
    0 6px 25px rgba(138, 43, 226, 0.6),
    0 0 40px rgba(0, 255, 255, 0.4),
    inset 0 1px 0 rgba(0, 255, 255, 0.5);
  transform: translateY(-2px);
  border-color: rgba(0, 255, 255, 0.7);
}

.south-page .page-title {
  color: #f0f0f0;
  text-transform: uppercase;
  letter-spacing: 6px;
  animation: text-glitch 4s ease-in-out infinite;
  font-weight: 100;
  text-shadow:
    3px 3px 8px rgba(138, 43, 226, 0.6),
    -3px -3px 8px rgba(0, 255, 255, 0.4);
}

.south-page .page-subtitle {
  color: #c0c0c0;
  animation: float-drift 6s ease-in-out infinite;
  text-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
}

.south-page .section-title {
  color: #e0e0e0;
  border-bottom: 2px solid rgba(138, 43, 226, 0.5);
  text-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
  letter-spacing: clamp(1px, 0.3vw, 3px);
  font-weight: 200;
  width: 100%;
  font-size: clamp(1.2rem, 3vw + 0.5rem, 2rem);
}

.gallery-section {
  margin: 40px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(138, 43, 226, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.gallery-item:hover {
  transform: scale(1.05) translateY(-8px);
  animation: pulse-glow 2s ease-in-out infinite;
  border-color: rgba(0, 255, 255, 0.5);
  filter: brightness(1.1) saturate(1.2);
}

.gallery-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: all 0.6s ease;
  filter: contrast(1.1) brightness(0.9);
}

.gallery-item:hover .gallery-image {
  filter: contrast(1.3) brightness(1) hue-rotate(5deg);
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top,
    rgba(75, 0, 130, 0.9) 0%,
    rgba(138, 43, 226, 0.7) 50%,
    transparent 100%);
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(4px);
  border-top: 1px solid rgba(0, 255, 255, 0.3);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 5px;
  text-shadow:
    2px 2px 4px rgba(0, 255, 255, 0.5),
    0 0 10px rgba(138, 43, 226, 0.6);
  letter-spacing: 2px;
  font-weight: 300;
}

.gallery-overlay p {
  font-size: 0.9rem;
  color: #e0e0e0;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
  font-style: italic;
}

.south-page .cta-section {
  background: linear-gradient(135deg,
    rgba(75, 0, 130, 0.3) 0%,
    rgba(138, 43, 226, 0.2) 50%,
    rgba(0, 255, 255, 0.15) 100%);
  border: 1px solid rgba(138, 43, 226, 0.4);
  box-shadow:
    0 8px 24px rgba(138, 43, 226, 0.3),
    inset 0 0 30px rgba(0, 0, 0, 0.4);
  animation: float-drift 8s ease-in-out infinite;
}

.south-page .cta-section p {
  color: #e0e0e0;
  font-size: 1.1rem;
  text-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
  letter-spacing: 1px;
  font-style: italic;
}

.south-page .cta-button {
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.8) 0%, rgba(75, 0, 130, 0.9) 100%);
  border: 1px solid rgba(138, 43, 226, 0.7);
  box-shadow:
    0 4px 20px rgba(138, 43, 226, 0.5),
    0 0 30px rgba(0, 255, 255, 0.3),
    inset 0 1px 0 rgba(0, 255, 255, 0.4);
  transition: all 0.3s ease;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

.south-page .cta-button:hover {
  background: linear-gradient(135deg, rgba(138, 43, 226, 1) 0%, rgba(75, 0, 130, 1) 100%);
  box-shadow:
    0 6px 30px rgba(138, 43, 226, 0.7),
    0 0 50px rgba(0, 255, 255, 0.5),
    inset 0 1px 0 rgba(0, 255, 255, 0.6);
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(0, 255, 255, 0.8);
}

/* Detail View Page */
.detail-container {
  max-width: 1400px;
}

.detail-view {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
  align-items: center;
}

.detail-image-container {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  background-color: #1a1a1a;
}

.detail-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  max-height: 80vh;
}

.detail-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 20px;
}

.detail-title {
  font-size: 3rem;
  color: #f0f0f0;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
}

.detail-description {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #d0d0d0;
  margin: 0;
}

.detail-category {
  display: inline-block;
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #aaa;
  border-radius: 5px;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 2px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  align-self: flex-start;
}

.south-page .detail-category {
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.3) 0%, rgba(75, 0, 130, 0.4) 100%);
  border: 1px solid rgba(138, 43, 226, 0.6);
  color: #e0e0e0;
  box-shadow:
    0 4px 15px rgba(138, 43, 226, 0.3),
    0 0 20px rgba(0, 255, 255, 0.2),
    inset 0 1px 0 rgba(0, 255, 255, 0.2);
  font-weight: 600;
  letter-spacing: 3px;
  text-shadow: 0 0 10px rgba(138, 43, 226, 0.6);
  transition: all 0.3s ease;
}

.south-page .detail-category:hover {
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.5) 0%, rgba(75, 0, 130, 0.6) 100%);
  box-shadow:
    0 6px 20px rgba(138, 43, 226, 0.5),
    0 0 30px rgba(0, 255, 255, 0.4),
    inset 0 1px 0 rgba(0, 255, 255, 0.3);
  border-color: rgba(0, 255, 255, 0.7);
  transform: translateY(-1px);
}

/* Page Layout (Landing Page) */
.page-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4vh;
  width: min(90vw, 1000px);
  text-align: center;
  padding: 2vh 2vw;
}

.header-text {
  font-family: 'Times New Roman', Times, serif;
  font-size: clamp(1.8rem, 3vw + 1rem, 3rem);
  font-weight: 400;
  color: #e0e0e0;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.footer-text {
  font-family: 'Times New Roman', Times, serif;
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.75rem);
  color: #b0b0b0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Circle Container */
.circle-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  width: min(60vw, 65vh);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 0 40px rgba(255, 255, 255, 0.1),
    inset 0 0 60px rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.half-button {
  flex: 1 1 50%;
  position: relative;
  background-size: cover;
  background-position: center;
  transition: all 0.4s ease;
  cursor: pointer;
  overflow: hidden;
  filter: grayscale(100%) contrast(1.2);
}

.half-button:hover {
  transform: scale(1.04);
  z-index: 2;
  filter: grayscale(100%) contrast(1.4) brightness(1.1);
}

.south-node {
  background-image: url("../images/south_node.png");
  background-position: center;
  background-size: 105%;
  background-repeat: no-repeat;
  background-color: #333030;
  border-top-left-radius: 90%;
  border-bottom-left-radius: 90%;
  position: relative;
}

.south-node::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}

.north-node {
  background-image: url("../images/north_node.JPEG");
  background-position: center;
  background-size: 265%;
  border-top-right-radius: 50%;
  border-bottom-right-radius: 50%;
  background-repeat: no-repeat;
  justify-content: center;
  position: left;
}

.north-node::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}

.divider-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0.8) 100%);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  z-index: 3;
}

.overlay-text {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-family: 'Times New Roman', Times, serif;
  font-size: clamp(1.2rem, 1.5vw + 0.5rem, 2rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.7);
  transition: opacity 0.4s ease;
  z-index: 2;
}

.half-button:hover .overlay-text {
  opacity: 1;
}

/* Art Projects Header */
.art-header {
  width: 100%;
  height: 400px;
  background-image:
    linear-gradient(to bottom, rgba(26, 26, 26, 0) 0%, rgba(26, 26, 26, 0.3) 40%, rgba(26, 26, 26, 0.8) 70%, rgba(26, 26, 26, 1) 100%),
    url('../images/southImages/artProject/whoAmI.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 40px 20px;
  margin-bottom: 40px;
  position: relative;
}

.art-header .page-title {
  position: relative;
  z-index: 2;
  margin-bottom: 10px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.art-header .page-subtitle {
  position: relative;
  z-index: 2;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.art-header .electric-line {
  width: 80%;
  max-width: 600px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f0f0f0, transparent);
  margin-top: 20px;
  box-shadow: 0 0 10px rgba(240, 240, 240, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
  .landing-page h1 {
    font-size: 2rem;
  }

  .node-options {
    flex-direction: column;
    align-items: center;
  }

  .profile-section {
    flex-direction: column;
    text-align: center;
  }

  .profile-image {
    width: 100%;
    max-width: 300px;
  }

  .stats {
    flex-direction: column;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  /* Circle container responsive */
  .circle-container {
    width: 75vw;
    aspect-ratio: 1 / 1;
  }

  .divider-line {
    width: 3px;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .south-node,
  .north-node {
    flex: 1 1 50%;
  }

  /* Detail view responsive */
  .detail-view {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .detail-title {
    font-size: 2rem;
  }

  .detail-description {
    font-size: 1.1rem;
  }
}
