:root {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --accent-primary: #38bdf8;
  --accent-secondary: #2dd4bf;
  --accent-glow: rgba(56, 189, 248, 0.5);
  --glass-bg: rgba(30, 41, 59, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --font-main: "Inter", sans-serif;
  --font-display: "Montserrat", sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background: radial-gradient(circle at top center, #1e3a5f 0%, #0f172a 70%, #020617 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.container {
  width: 100%;
  max-width: 800px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Glass Panel Card */
.glass-panel {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border-radius: 1rem;
  padding: 2.5rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.glass-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}

/* Typography */
h1 {
  font-family: var(--font-display);
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 3rem;
  letter-spacing: -0.025em;
}

h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

/* Text Gradient Effect */
.text-gradient {
  background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Profile Image (Optional but looks good) */
.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-primary);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px var(--accent-glow);
}

/* Links / Buttons */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.link-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 0.5rem;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.link-btn:hover {
  background: var(--accent-primary);
  color: #0f172a;
  /* Dark text on bright hover */
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px var(--accent-glow);
}

/* Footer */
footer {
  margin-top: auto;
  padding: 2rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  text-align: center;
}

footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

footer a:hover {
  color: var(--accent-primary);
}

@media (max-width: 600px) {
  h1 {
    font-size: 2.5rem;
  }

  .container {
    padding: 1rem;
  }

  .glass-panel {
    padding: 1.5rem;
  }
}

/* --- Resume / Profile Additions --- */

.profile-img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent-primary);
  box-shadow: 0 0 25px var(--accent-glow);
  margin-bottom: 2rem;
  animation: fadeIn 1s ease-out;
}

.resume-container {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  padding-bottom: 4rem;
}

.resume-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  padding-top: 1rem;
}

.resume-nav {
  position: absolute;
  top: 0;
  left: 0;
}

.resume-header h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
}

.resume-role {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-weight: 500;
}

.resume-contact {
  color: var(--accent-secondary);
  font-size: 0.95rem;
  display: inline-block;
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  border: 1px solid transparent;
}

.back-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--glass-border);
}

@media (max-width: 768px) {
  .resume-nav {
    position: static;
    margin-bottom: 2rem;
    text-align: left;
  }

  .resume-header h1 {
    font-size: 2.5rem;
  }
}


.resume-section h2 {
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.job-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: background 0.2s;
}

.job-card:hover {
  background: rgba(255, 255, 255, 0.06);
}

.job-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
}

.job-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.job-company {
  color: var(--accent-primary);
  font-weight: 500;
}

.job-date {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-family: var(--font-display);
}

.job-details {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.job-details li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.job-details li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--accent-secondary);
}

.skills-category {
  margin-bottom: 2rem;
}

.skills-category h3 {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.skill-tag {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 0.6rem 1.2rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.skill-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(56, 189, 248, 0.1), transparent);
  transform: translateX(-100%);
  transition: 0.5s;
}

.skill-tag:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
  transform: translateY(-2px);
  color: white;
  background: rgba(56, 189, 248, 0.1);
}

.skill-tag:hover::before {
  transform: translateX(100%);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 320px;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-content p {
  margin: 0;
  color: var(--text-primary);
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 400;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-start;
}

.btn-accept,
.btn-decline {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.85rem;
  flex: 1;
  text-align: center;
}

.btn-accept {
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  border: none;
}

.btn-accept:hover {
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-decline {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-decline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}