:root {
  --bg: #000000;
  --surface: #0a0a0a;
  --surface-2: #150b1a; /* Dark purple tint */
  --border: #222222;
  --text: #ffffff;
  --muted: #a0a0a0;
  --accent: #ff8c00; /* Orange */
  --secondary-accent: #8a2be2; /* Purple */
  --maxw: 1100px;
  --radius: 0;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[v-cloak] {
  display: none;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(to top right, #150b1a 0%, #000000 100%);
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--text);
  font-family: "JetBrains Mono", monospace;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background-color: var(--accent);
  color: #000;
}

.btn--primary:hover {
  background-color: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.btn--secondary {
  background-color: var(--secondary-accent);
  color: #fff;
}

.btn--secondary:hover {
  background-color: transparent;
  border-color: var(--secondary-accent);
  color: var(--secondary-accent);
}

.btn--outline {
  border: 1px solid var(--border);
  color: var(--text);
}

.btn--outline:hover {
  border-color: var(--secondary-accent);
  color: var(--secondary-accent);
}

/* ---------- Header / Hero ---------- */
.hero {
  padding-top: clamp(64px, 15vw, 120px);
  padding-bottom: clamp(40px, 10vw, 80px);
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
  background: radial-gradient(circle at 80% 20%, rgba(138, 43, 226, 0.1), transparent 60%);
}

.hero__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 12px;
  margin-bottom: 24px;
}

.hero__title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 7vw, 4.5rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--accent);
  margin-bottom: 24px;
  font-weight: 600;
}

.hero__lead {
  margin: 0 0 32px;
  max-width: 65ch;
  font-size: 1rem;
  color: var(--muted);
}

.hero__links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Sections ---------- */
.section {
  padding-block: 80px;
  border-top: 1px solid var(--border);
}

.section__title {
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 40px;
  color: #fff;
  position: relative;
}

/* ---------- Grid ---------- */
.grid {
  display: grid;
  gap: 24px;
}

.grid--achievements {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid--projects {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-tag {
  padding: 8px 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.skill-tag:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #000;
}

/* ---------- Cards ---------- */
.card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.card:hover {
  border-color: var(--secondary-accent);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px -10px rgba(138, 43, 226, 0.3);
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 0;
  background-color: var(--accent);
  transition: height 0.3s ease;
}

.card:hover::after {
  height: 100%;
}

.card__year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.card__title {
  margin: 0 0 16px;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
}

.card__desc {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.95rem;
  flex-grow: 1;
}

.card__tags {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  background-color: #1a1a1a;
  padding: 4px 10px;
  border: 1px solid var(--border);
  color: var(--secondary-accent);
}

.card__link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-top: auto;
}

.card__link:hover {
  letter-spacing: 0.1em;
}

/* ---------- Footer ---------- */
.footer {
  padding-block: 60px;
  border-top: 1px solid var(--border);
  color: #444;
  font-size: 0.75rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
  backdrop-filter: blur(5px);
}

.modal-content {
  background: var(--surface);
  border: 1px solid var(--accent);
  padding: 40px;
  max-width: 700px;
  width: 100%;
  position: relative;
  box-shadow: 0 0 50px rgba(255, 140, 0, 0.2);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--accent);
}

.modal-year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.modal-title {
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: #fff;
}

.modal-body {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
  line-height: 1.8;
}

/* Transitions */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.3s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

.fade-enter-active .modal-content {
  transition: transform 0.3s ease;
}

.fade-enter-from .modal-content {
  transform: translateY(20px);
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  .hero__links {
    flex-direction: column;
  }
  .btn {
    text-align: center;
  }
}
