/* ================================
   Base Reset
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  background: #0b0b0c;
  color: #f5f5f5;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont;
  overflow-x: hidden;
}

/* ================================
   Theme Variables
================================ */
:root {
  --accent: #ff8a00;
  --glass-border: rgba(255, 255, 255, 0.14);
  --text-muted: rgba(255, 255, 255, 0.65);
}

/* ================================
   Background Atmosphere
================================ */
.background {
  position: fixed;
  inset: 0;
  z-index: -2;
}

.background::before,
.background::after {
  content: "";
  position: absolute;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  filter: blur(160px);
}

.background::before {
  top: -25%;
  left: -20%;
  background: rgba(255, 138, 0, 0.15);
}

.background::after {
  bottom: -30%;
  right: -20%;
  background: rgba(255, 170, 80, 0.08);
}

/* ================================
   Layout
================================ */
main {
  min-height: 100vh;
  padding: 6rem 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  max-width: 1100px;
}

/* ================================
   Glass Card
================================ */
.glass {
  max-width: 760px;
  padding: 3.5rem;

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.02)
  );

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  border: 1px solid var(--glass-border);
  border-radius: 24px;

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);

  animation: fadeUp 0.9s ease forwards;
}

/* ================================
   Typography
================================ */
h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.subtitle {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.description {
  margin-top: 1.8rem;
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

/* ================================
   Actions
================================ */
.actions {
  margin-top: 2.2rem;
  display: flex;
  gap: 2rem;
}

.actions a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  position: relative;
  transition: transform 0.25s ease;
}

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

.actions a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.actions a:hover::after {
  width: 100%;
}

.actions a.secondary {
  color: var(--text-muted);
}

.actions a.secondary:hover {
  color: #ffffff;
}

/* ================================
   Divider
================================ */
.divider {
  margin: 3rem 0;
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

/* ================================
   Sections
================================ */
.about h2,
.projects h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.about p {
  max-width: 640px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

.about p + p {
  margin-top: 1rem;
}

/* ================================
   Projects
================================ */
.project {
  margin-bottom: 1.5rem;
}

.project h3 {
  font-size: 1.05rem;
  font-weight: 500;
}

.project p {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  max-width: 640px;
}

/* ================================
   Animations
================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================
   Responsive
================================ */
@media (max-width: 768px) {
  main {
    padding: 4rem 2rem;
  }

  .glass {
    padding: 2.5rem 2rem;
  }
}
