* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f7f8ff;
  background:
    radial-gradient(circle at top, rgba(255, 47, 79, 0.18), transparent 34%),
    radial-gradient(circle at 20% 20%, rgba(255, 47, 79, 0.08), transparent 30%),
    linear-gradient(160deg, #050508 0%, #090a12 45%, #0b0b13 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
  position: relative;
  z-index: 1;
}

.bg-glow span {
  position: fixed;
  border-radius: 999px;
  filter: blur(50px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  animation: float 14s ease-in-out infinite;
}

.bg-glow span:nth-child(1) {
  width: 260px;
  height: 260px;
  background: rgba(255, 47, 79, 0.28);
  top: 5%;
  left: -60px;
}

.bg-glow span:nth-child(2) {
  width: 180px;
  height: 180px;
  background: rgba(255, 0, 80, 0.22);
  top: 25%;
  right: 2%;
  animation-delay: -5s;
}

.bg-glow span:nth-child(3) {
  width: 320px;
  height: 320px;
  background: rgba(255, 74, 104, 0.12);
  bottom: -70px;
  left: 30%;
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) translateX(0px) scale(1); }
  50% { transform: translateY(-18px) translateX(8px) scale(1.04); }
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(7, 8, 16, 0.68);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  min-width: 56px;
  height: 42px;
  padding: 0 10px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff2f4f, #8a0f1d);
  box-shadow: 0 0 24px rgba(255, 47, 79, 0.35);
  letter-spacing: 0.02em;
  font-size: 0.95rem;
}

.brand-text {
  letter-spacing: 0.3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  opacity: 0.85;
  transition: 0.25s ease;
}

.nav a:hover {
  opacity: 1;
  color: #ff5971;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  margin: 5px 0;
  border-radius: 99px;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 28px;
  min-height: calc(100vh - 120px);
  padding-top: 34px;
}

.hero-copy h1,
.section-title h2,
.panel h2 {
  margin: 0;
  line-height: 1.05;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  letter-spacing: -0.04em;
  max-width: 10ch;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: #ff8094;
}

.lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(247, 248, 255, 0.84);
  max-width: 62ch;
  margin: 22px 0 28px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn {
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: 0.25s ease;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #ff2f4f, #7f0f1d);
  box-shadow: 0 12px 30px rgba(255, 47, 79, 0.22);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.stat strong {
  display: block;
  font-size: 0.9rem;
  color: #ff7489;
  margin-bottom: 7px;
}

.stat span {
  display: block;
  color: rgba(247, 248, 255, 0.9);
}

.hero-card,
.panel,
.project-card,
.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.hero-card {
  position: relative;
  border-radius: 28px;
  padding: 18px;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, rgba(255, 47, 79, 0.12), transparent 50%);
  pointer-events: none;
}

.photo-frame {
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 47, 79, 0.18), transparent 26%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  margin-bottom: 16px;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.profile-card {
  padding: 6px 6px 0;
}

.profile-card h2 {
  margin-bottom: 10px;
}

.profile-card p {
  margin: 10px 0;
  color: rgba(247, 248, 255, 0.84);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.panel {
  border-radius: 26px;
  padding: 28px;
}

.glow-panel {
  position: relative;
}

.glow-panel::after {
  content: "";
  position: absolute;
  inset: auto -30px -30px auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 47, 79, 0.22), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}

.panel p,
.project-card p,
.meta {
  color: rgba(247, 248, 255, 0.8);
  line-height: 1.75;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  margin: 14px 0;
}

.checklist li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: #ff4d67;
}

.section-title {
  margin-bottom: 18px;
}

.section-title h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.timeline {
  position: relative;
  padding-left: 22px;
  margin-top: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 47, 79, 0.9), rgba(255, 47, 79, 0.1));
}

.timeline-item {
  position: relative;
  padding: 0 0 28px 22px;
}

.timeline-item .dot {
  position: absolute;
  left: -3px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ff2f4f;
  box-shadow: 0 0 18px rgba(255, 47, 79, 0.55);
}

.timeline-item h3,
.project-card h3,
.edu-item h3,
.contact-card h3 {
  margin: 0 0 8px;
}

.meta {
  margin: 0 0 10px;
  font-size: 0.95rem;
}

.projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.project-card {
  position: relative;
  border-radius: 26px;
  padding: 26px;
  overflow: hidden;
}

.project-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -30px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 47, 79, 0.16), transparent 68%);
}

.project-badge {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(255, 47, 79, 0.95), rgba(92, 10, 20, 0.95));
  box-shadow: 0 0 28px rgba(255, 47, 79, 0.2);
  font-weight: 700;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tags span {
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  color: rgba(247, 248, 255, 0.9);
}

.edu-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.edu-item {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.skill-bars {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.skill span {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.bar {
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff2f4f, #ff7a90);
  box-shadow: 0 0 18px rgba(255, 47, 79, 0.4);
}

.contact-section {
  padding-bottom: 58px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-card {
  border-radius: 22px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 89, 113, 0.55);
}

.icon {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 47, 79, 0.96), rgba(110, 16, 27, 0.96));
  box-shadow: 0 0 28px rgba(255, 47, 79, 0.18);
}

.icon svg {
  width: 26px;
  height: 26px;
  fill: white;
}

.social-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.social-strip a {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: 0.25s ease;
}

.social-strip a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 89, 113, 0.65);
  color: #ff8094;
}

.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 24px;
  padding: 18px 6px 4px;
  color: rgba(247, 248, 255, 0.62);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero,
  .grid-2,
  .projects,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

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

  .menu-toggle {
    display: inline-block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: 0;
    display: grid;
    gap: 8px;
    padding: 14px;
    margin: 0;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 8, 16, 0.96);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 10px 8px;
  }
}

@media (max-width: 540px) {
  .section,
  .header,
  .footer {
    width: min(100% - 20px, 1120px);
  }

  .header {
    padding: 12px 14px;
  }

  .brand-text {
    display: none;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .panel,
  .project-card,
  .contact-card {
    padding: 22px;
  }

  .contact-card {
    align-items: flex-start;
  }
}


.brand-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 24px rgba(255, 47, 79, 0.22);
  flex: 0 0 auto;
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-subtext {
  margin-top: 4px;
  font-size: 0.78rem;
  color: rgba(247, 248, 255, 0.7);
  font-weight: 500;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 47, 79, 0.08);
  border: 1px solid rgba(255, 89, 113, 0.22);
}

.pill-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #ff95a5;
}

.pill-value {
  font-weight: 700;
  color: #fff;
}

.community-spotlight {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.community-logo {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #050508;
}

.community-logo img,
.community-panel-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.community-copy h3,
.community-panel-copy h3 {
  margin: 4px 0 10px;
  font-size: 1.1rem;
}

.community-copy p,
.community-panel-copy p {
  margin: 0;
  color: rgba(247, 248, 255, 0.8);
  line-height: 1.7;
}

.small {
  margin-bottom: 6px;
  font-size: 0.7rem;
}

.community-section .community-panel {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 22px;
  align-items: center;
  border-radius: 28px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.community-panel-logo {
  width: 170px;
  aspect-ratio: 1 / 1;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 30px rgba(255, 47, 79, 0.16);
}

.social-strip {
  justify-content: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px 0 10px;
  min-width: 126px;
  height: 52px;
  border-radius: 18px;
}

.social-link span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 47, 79, 0.96), rgba(110, 16, 27, 0.96));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}



.social-link .social-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 47, 79, 0.96), rgba(110, 16, 27, 0.96));
  color: #fff;
}

.social-link .social-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: block;
}

.social-icon-discord {
  color: #fff;
}

.social-icon-github {
  color: #fff;
}

.social-icon-tiktok {
  color: #fff;
}

.social-link strong {
  font-size: 0.92rem;
  font-weight: 600;
}


/* === Social icons visual fix (only this section) === */
.social-strip {
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 18px !important;
  flex-wrap: wrap !important;
  margin-top: 22px !important;
}

.social-link {
  display: grid !important;
  place-items: center !important;
  grid-template-rows: 54px auto !important;
  align-content: center !important;
  justify-items: center !important;
  gap: 8px !important;
  width: 180px !important;
  height: 122px !important;
  padding: 16px 12px !important;
  text-align: center !important;
  border-radius: 22px !important;
}

.social-link .social-icon {
  width: 54px !important;
  height: 54px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25) !important;
}

.social-link .social-icon svg {
  width: 26px !important;
  height: 26px !important;
  display: block !important;
  fill: currentColor !important;
}

.social-icon-discord {
  background: linear-gradient(135deg, #5865F2, #404EED) !important;
  color: #fff !important;
}

.social-icon-github {
  background: linear-gradient(135deg, #2f2f2f, #111111) !important;
  color: #fff !important;
}

.social-icon-tiktok {
  background: linear-gradient(135deg, #25F4EE, #FE2C55) !important;
  color: #fff !important;
}

.social-link strong {
  display: block !important;
  margin: 0 !important;
  font-size: 1.02rem !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
}

@media (max-width: 640px) {
  .social-strip {
    gap: 12px !important;
  }

  .social-link {
    width: 150px !important;
    height: 108px !important;
    grid-template-rows: 50px auto !important;
  }

  .social-link .social-icon {
    width: 50px !important;
    height: 50px !important;
  }
}
/* === end social icons fix === */
