@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

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

body {
  font-family: 'Quicksand', sans-serif;
  background: #000;
  position: relative;
  min-height: 100vh;
}

.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  overflow: hidden;
  z-index: 0;
}

.bg-animation::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(#000, #0f0, #000);
  animation: animate 5s linear infinite;
}

@keyframes animate {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

.bg-animation span {
  position: relative;
  display: block;
  width: calc(6.25vw - 2px);
  height: calc(6.25vw - 2px);
  background: #181818;
  z-index: 2;
  transition: 1.5s;
}

.bg-animation span:hover {
  background: #0f0;
  transition: 0s;
}

.content-wrapper {
  position: relative;
  z-index: 1000;
}

header {
  background: rgba(34, 34, 34, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 255, 0, 0.2);
}

.profile-card {
  background: rgba(34, 34, 34, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 0, 0.1);
}

.profile-card h3 {
  color: #0f0;
}

.profile-card p {
  color: #aaa;
}

.btn-primary {
  background: #0f0;
  color: #000;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #0f0;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .bg-animation span {
    width: calc(10vw - 2px);
    height: calc(10vw - 2px);
  }
}

@media (max-width: 600px) {
  .bg-animation span {
    width: calc(20vw - 2px);
    height: calc(20vw - 2px);
  }
}


#page-loader {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top, #111827 0, #020617 45%, #000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}


.loader-card {
    background: rgba(15, 23, 42, 0.96);
    border-radius: 1rem;
    padding: 1.75rem 2.25rem;
    box-shadow:
        0 25px 50px -25px rgba(15, 23, 42, 0.9),
        0 0 0 1px rgba(148, 163, 184, 0.15);
    max-width: 320px;
    width: 90%;
    text-align: center;
    color: #e5e7eb;
    position: relative;
    overflow: hidden;
}

.loader-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: conic-gradient(
        from 180deg,
        rgba(56, 189, 248, 0.12),
        rgba(129, 140, 248, 0.2),
        rgba(56, 189, 248, 0.12)
    );
    opacity: 0.6;
    filter: blur(32px);
    z-index: -1;
}

.loader-logo-circle {
    width: 64px;
    height: 64px;
    border-radius: 9999px;
    margin: 0 auto 0.85rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #1e293b 0, #020617 70%);
    box-shadow:
        0 0 0 1px rgba(148, 163, 184, 0.25),
        0 0 25px rgba(129, 140, 248, 0.6);
    animation: loaderPulse 1.6s ease-in-out infinite;
}

.loader-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.loader-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #e5e7eb;
}

.loader-subtitle {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

.loader-bar {
    margin-top: 1.2rem;
    width: 100%;
    height: 0.3rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.1);
}

.loader-bar-inner {
    height: 100%;
    width: 40%;
    border-radius: inherit;
    background: linear-gradient(to right, #38bdf8, #4f46e5, #a855f7);
    animation: loaderBar 1.3s ease-in-out infinite;
}

.loader-caption {
    margin-top: 0.6rem;
    font-size: 0.75rem;
    color: #9ca3af;
}

@keyframes loaderPulse {
    0%, 100% { transform: scale(1); box-shadow:
            0 0 0 1px rgba(148, 163, 184, 0.25),
            0 0 18px rgba(129, 140, 248, 0.35); }
    50% { transform: scale(1.04); box-shadow:
            0 0 0 1px rgba(129, 140, 248, 0.5),
            0 0 32px rgba(129, 140, 248, 0.85); }
}

@keyframes loaderBar {
    0%   { transform: translateX(-60%); }
    50%  { transform: translateX(15%); }
    100% { transform: translateX(120%); }
}


#progressBar {
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.7),
                0 0 20px rgba(79, 70, 229, 0.5);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
}

.content-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  color: white;
  padding: 1.25rem 0;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-logo {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.header-title {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.back-button {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: white;
  transition: background-color 0.15s;
}

.back-button:hover {
  background: rgba(255, 255, 255, 0.3);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 1rem;
}

.page-title {
  font-size: 1.875rem;
  font-weight: bold;
  color: #0f0;
  margin-bottom: 2.5rem;
  border-bottom: 4px solid #22c55e;
  padding-bottom: 0.5rem;
}

.profile-card {
  max-width: 768px;
  width: 100%;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-radius: 0.75rem;
  padding: 2rem;
  margin-bottom: 3rem;
  text-align: center;
}

.profile-image {
  width: 8rem;
  height: 8rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 2px solid #22c55e;
}

.profile-name {
  font-size: 1.5rem;
  font-weight: 600;
}

.profile-role {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.profile-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-github {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #1f2937;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.15s;
  border: 1px solid #22c55e;
}

.btn-github:hover {
  background: #374151;
}

.btn-linkedin {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #1f2937;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.15s;
  border: 1px solid #22c55e;
}

.btn-linkedin:hover {
  background: #374151;
}

.btn-primary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
}

svg {
  display: block;
}