:root {
  --bg-color: #050505;
  --accent-color: #ffffff;
  --text-main: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.72);
  --border-color: rgba(255, 255, 255, 0.14);
  --transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  --font-main: "Inter", sans-serif;
  --font-heading: "Outfit", sans-serif;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background: #050505;
  width: 100vw;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

#canvas-3d {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  gap: 16px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

nav a {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

nav a.active,
nav a:hover {
  color: rgba(255, 255, 255, 1);
}

main {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: 1.5rem;
}

.hero-section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.glass-card {
  width: min(980px, 94vw);
  padding: clamp(1.4rem, 4vw, 3rem);
  border-radius: 42px;
  border: 1px solid var(--border-color);
  background: rgba(8, 8, 11, 0.48);
  backdrop-filter: blur(26px) saturate(130%);
  -webkit-backdrop-filter: blur(26px) saturate(130%);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
  animation: floatEffect 8s ease-in-out infinite;
}

@keyframes floatEffect {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

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

.hero-row {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.4rem);
}

.hero-pfp {
  width: clamp(160px, 30vw, 260px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5);
  animation: entrance 0.9s ease forwards;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}

.hero-text {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.56) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: entrance 1s ease forwards;
}

.sub-text {
  font-size: 1.02rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
  padding: 0;
  border: 0;
  background: transparent;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  animation: entrance 1.05s ease forwards;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  animation: entrance 1.1s ease forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.09rem;
  font-size: 0.76rem;
  font-weight: 700;
  transition: var(--transition);
}

.btn-icon {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
}

.btn-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.btn-primary {
  background: #ffffff;
  color: #050505;
}

.btn-primary:hover {
  transform: translateY(-6px) scale(1.02);
  background: var(--accent-color);
  color: #050505;
  border-color: var(--accent-color);
  box-shadow: 0 20px 36px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-secondary:hover {
  transform: translateY(-6px) scale(1.02);
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 36px rgba(255, 255, 255, 0.15);
}

.btn-shame {
  background: rgba(255, 71, 87, 0.15);
  color: #ff6b81;
  border-color: rgba(255, 71, 87, 0.4);
}

.btn-shame:hover {
  transform: translateY(-6px) scale(1.02);
  background: rgba(255, 71, 87, 0.3);
  color: #ffffff;
  border-color: #ff4757;
  box-shadow: 0 20px 36px rgba(255, 71, 87, 0.3);
}


.status-card {
  margin-top: 0.35rem;
  width: min(470px, 100%);
  padding: 0.72rem 0.8rem 0.84rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: rgba(33, 36, 46, 0.84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: none !important;
}

.status-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

.status-layout {
  margin-top: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.presence-media {
  position: relative;
  width: 98px;
  height: 98px;
  flex-shrink: 0;
}

.presence-image {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none !important;
  filter: none !important;
}

.presence-mini-image {
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(33, 36, 46, 0.96);
  background: rgba(12, 13, 18, 0.95);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.status-copy {
  flex: 1;
  min-width: 0;
}

.status-line {
  font-size: 1.03rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.98);
  overflow-wrap: anywhere;
}

.status-detail {
  margin-top: 0.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
}

.presence-meta {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.presence-meta-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}

.presence-progress-wrap {
  margin-top: 0.56rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.44rem;
  align-items: center;
}

.presence-time {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.84);
  min-width: 2.2rem;
}

.presence-progress {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.presence-progress-fill {
  display: block;
  width: 0%;
  height: 100%;
  background: #ffffff;
}


.hidden {
  display: none !important;
}

.projects-section {
  position: relative;
  z-index: 2;
  padding: 2rem 0 5rem;
}

.projects-wrap {
  width: min(1080px, 94vw);
  margin: 0 auto;
  padding: clamp(1.2rem, 3.5vw, 2rem);
  border-radius: 28px;
  background: rgba(8, 8, 11, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.projects-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
}

.projects-subtitle {
  margin-top: 0.45rem;
  color: var(--text-dim);
}

.projects-grid {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.project-card {
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.project-card-featured {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.project-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: rgba(255, 255, 255, 0.06);
}

.project-card-body {
  padding: 1rem;
}

.project-card h3 {
  font-size: 1.02rem;
}

.project-card p {
  margin-top: 0.45rem;
  color: var(--text-dim);
  font-size: 0.92rem;
}

.project-link {
  margin-top: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  color: #050505;
  background: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
  transition: var(--transition);
}

.project-link:hover {
  transform: translateY(-4px);
  background: var(--accent-color);
  color: #fff;
}

@media (max-width: 768px) {
  main {
    min-height: 100vh;
    padding: 5.6rem 1rem 1rem;
  }

  .hero-section {
    min-height: auto;
    justify-content: flex-start;
  }

  .glass-card {
    border-radius: 26px;
    padding: 1.15rem;
  }

  .hero-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-copy {
    align-items: center;
  }

  .cta-group {
    justify-content: center;
  }

  .status-card {
    width: min(96vw, 470px);
  }

  .status-layout {
    flex-direction: column;
    align-items: center;
  }

  .presence-image {
    width: 100%;
    max-width: 210px;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .presence-media {
    width: min(70vw, 210px);
    height: min(70vw, 210px);
  }

  .projects-section {
    padding: 1.2rem 0 3rem;
  }

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

  .warning-banner {
    flex-direction: column;
    text-align: center;
  }
}

/* Warning Banner */
.warning-banner {
  width: 100%;
  margin-bottom: 1.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: 16px;
  background: rgba(255, 71, 87, 0.12);
  border: 1px solid rgba(255, 71, 87, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 8px 32px rgba(255, 71, 87, 0.15);
  animation: warningPulse 3s infinite ease-in-out;
}

@keyframes warningPulse {
  0%, 100% {
    border-color: rgba(255, 71, 87, 0.35);
    box-shadow: 0 8px 32px rgba(255, 71, 87, 0.15);
  }
  50% {
    border-color: rgba(255, 71, 87, 0.7);
    box-shadow: 0 8px 32px rgba(255, 71, 87, 0.35);
  }
}

.warning-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.warning-icon {
  font-size: 1.3rem;
  animation: bellBounce 2s infinite ease-in-out;
}

@keyframes bellBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.warning-text {
  font-size: 0.95rem;
  color: #ffda79;
}

.warning-text strong {
  color: #ff5252;
}

.btn-warning {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: #ff4757;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(255, 71, 87, 0.4);
}

.btn-warning:hover {
  background: #ff6b81;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 71, 87, 0.6);
}

/* Wall of Shame Styles */
.shame-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.shame-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.shame-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.shame-card {
  padding: 1.4rem;
  border-radius: 20px;
  background: rgba(255, 71, 87, 0.06);
  border: 1px solid rgba(255, 71, 87, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: var(--transition);
}

.shame-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 71, 87, 0.45);
  box-shadow: 0 12px 30px rgba(255, 71, 87, 0.15);
}

.shame-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shame-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 71, 87, 0.2);
  color: #ff6b81;
  border: 1px solid rgba(255, 71, 87, 0.3);
}

.shame-date {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.shame-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.shame-card p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.45;
}

.shame-status {
  margin-top: auto;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffda79;
}

.shame-media-card {
  padding: 0.75rem;
  overflow: hidden;
}

.shame-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  display: block;
  border-radius: 14px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease;
}

.shame-card:hover .shame-image {
  transform: scale(1.015);
}

.shame-info-card {
  margin-top: 1.5rem;
  padding: 1.4rem;
  border-radius: 20px;
  background: rgba(255, 71, 87, 0.08);
  border: 1px solid rgba(255, 71, 87, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.shame-info-card p {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.shame-info-card code {
  background: rgba(255, 255, 255, 0.12);
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  font-family: monospace;
  color: #ffda79;
  font-size: 0.95rem;
}

.shame-discord-btn {
  align-self: flex-start;
  margin-top: 0.4rem;
  background: #5865F2;
  color: #ffffff;
  border-color: #5865F2;
}

.shame-discord-btn:hover {
  background: #4752C4;
  border-color: #4752C4;
  box-shadow: 0 10px 24px rgba(88, 101, 242, 0.4);
}

/* Image Lightbox Modal */
.image-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: modalFadeIn 0.2s ease forwards;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 2.5rem;
  color: #ffffff;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
  user-select: none;
}

.modal-close:hover {
  transform: scale(1.2);
  color: #ff4757;
}

.shame-image {
  cursor: pointer;
}

.shame-credits {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}
