*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

a:focus {
  outline: none;
}

a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

:root {
  --red: #0ea5e9;
  --red-light: #e0f2fe;
  --black: #0f0e0e;
  --muted: #6b6b6b;
  --border: #e8e5e1;
  --bg: #ffffff;
  --surface: #fafaf9;
  --font: 'Outfit', sans-serif;

  --nav-bg: rgba(255, 255, 255, 0.92);
  --card-bg: #ffffff;
  --code-bg: #f4f4f4;
  --cta-bg: #0f0e0e;
  --cta-fg: #ffffff;
  --project-overlay-bg: rgba(255, 255, 255, 0.88);
  --project-overlay-border: rgba(255, 255, 255, 0.8);
  --project-tag-muted-bg: #f0eeeb;
  --project-tag-muted-fg: #5a5a5a;
}

html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
  transition: background-color 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease, fill 0.3s ease, stroke 0.3s ease !important;
  transition-delay: 0s !important;
}

html.dark-mode {
  --black: #f3f4f6;
  --muted: #9ca3af;
  --border: #27272a;
  --bg: #09090b;
  --surface: #121214;
  --red-light: rgba(14, 165, 233, 0.15);

  --nav-bg: rgba(9, 9, 11, 0.92);
  --card-bg: #18181b;
  --code-bg: #1e1e24;
  --cta-bg: #f3f4f6;
  --cta-fg: #09090b;
  --project-overlay-bg: rgba(9, 9, 11, 0.88);
  --project-overlay-border: rgba(255, 255, 255, 0.08);
  --project-tag-muted-bg: rgba(255, 255, 255, 0.08);
  --project-tag-muted-fg: #d4d4d8;
}

html {
  scroll-behavior: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--black) var(--surface);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--black);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  animation: pageFadeIn 0.35s ease forwards;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

body.page-exit {
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

/* Custom Scrollbar for WebKit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--surface);
}

::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 10px;
}

.text-center {
  text-align: center;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, border-color 0.3s ease;
}

nav.nav-hidden {
  transform: translateY(-100%);
}

.theme-toggle-btn {
  background: none;
  border: none;
  font-size: 1.35rem;
  color: var(--black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
  background: var(--surface);
  color: var(--red);
}

.nav-logo {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2s infinite;
}

.mobile-nav {
  display: none;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(0.85);
  }
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--black);
}

.nav-links a.active {
  color: var(--red);
  font-weight: 600;
}

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  background: var(--cta-bg);
  color: var(--cta-fg);
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.nav-cta:hover {
  background: var(--red);
}

/* Hero New Styles */
.hero-new {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 2rem;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-socials {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-socials a {
  font-size: 22px;
  color: var(--black);
  transition: transform 0.3s, color 0.3s;
  text-decoration: none;
}

.hero-socials a:hover {
  color: var(--red);
  transform: translateX(5px);
}

.hero-content {
  padding-left: 20px;
}

.hero-text h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.hero-subtitle-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 1.5rem;
}

.hero-subtitle-wrap .line {
  width: 80px;
  height: 1px;
  background: var(--muted);
  opacity: 0.5;
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--muted);
}

.hero-description {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 440px;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.btn-say-hello {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #333333;
  color: #fff;
  padding: 16px 32px;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.btn-say-hello:hover {
  background: var(--red);
  transform: translateY(-2px);
}

.btn-say-hello i {
  font-size: 20px;
}

.hero-image-box {
  display: flex;
  justify-content: center;
  position: relative;
}

.blob-mask {
  width: 100%;
  max-width: 390px;
  aspect-ratio: 1;
  background: var(--surface);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  overflow: hidden;
  position: relative;
  box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.05);
  animation: blobAnimate 8s infinite alternate ease-in-out;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: border-radius;
}

@keyframes blobAnimate {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }

  100% {
    border-radius: 40% 60% 70% 30% / 30% 70% 40% 60%;
  }
}

.blob-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.5s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.blob-mask:hover img {
  filter: grayscale(0);
}


/* Scroll Down Indicator */
.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.mouse {
  width: 25px;
  height: 40px;
  border: 2px solid var(--muted);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--muted);
  border-radius: 2px;
  animation: scrollWheel 2s infinite ease-in-out;
}

@keyframes scrollWheel {
  0% {
    transform: translateY(0);
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  100% {
    transform: translateY(14px);
    opacity: 0;
  }
}

.scroll-down i {
  font-size: 18px;
  animation: bounceDown 2s infinite ease-in-out;
}

@keyframes bounceDown {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(5px);
  }
}

section {
  padding: 100px 2rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}

.section-tag::before {
  content: '';
  display: block;
  width: 16px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.75;
}


#about {
  background: var(--surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-avatar-wrap {
  width: 100%;
  aspect-ratio: 1;
  max-width: 380px;
  border-radius: 20px;
  overflow: hidden;
  background: #f0ede8;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.about-avatar-wrap:hover .about-avatar-img {
  transform: scale(1.05) rotate(-1.5deg);
}

.about-chip {
  margin-top: 15px;
  /* position: absolute; */
  bottom: -16px;
  right: -16px;
  background: var(--red);
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(245, 48, 3, 0.3);
  width: 150px;
  text-align: center;
}



.about-visual {
  position: relative;
}

.about-text p {
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1.2rem;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1.5rem;
}

.tag {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  transition: all 0.2s;
  cursor: default;
}

.tag:hover {
  border-color: var(--red);
  color: var(--red);
}

#skills {
  background: var(--bg);
}

.skills-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--border);
}

.skill-card {
  background: var(--card-bg);
  padding: 2rem;
  transition: background 0.2s;
}

.skill-card:hover {
  background: var(--red-light);
}

.skill-card:hover .skill-icon {
  color: var(--red);
}

.skill-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color 0.2s;
  margin-bottom: 1rem;
}

.skill-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.skill-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}

#projects {
  background: var(--surface);
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.project-card {
  position: relative;
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  border: 1px solid var(--border);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.project-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.project-card:hover .project-thumb {
  -webkit-mask-image: linear-gradient(to top, transparent 0px, transparent 18px, black 36px);
  mask-image: linear-gradient(to top, transparent 0px, transparent 18px, black 36px);
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.project-card:hover .project-img {
  transform: scale(1.08);
  /* Zoom effect */
}

.project-body {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: var(--project-overlay-bg);
  /* Glass Background */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--project-overlay-border);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.2), opacity 0.5s ease;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.project-card:hover .project-body {
  transform: translateY(0);
  opacity: 1;
}

.project-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.project-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
}

.project-tag.red {
  background: var(--red-light);
  color: var(--red);
}

.project-tag.gray {
  background: var(--project-tag-muted-bg);
  color: var(--project-tag-muted-fg);
}

.project-body h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.project-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  transition: gap 0.2s;
}

.project-link:hover {
  gap: 10px;
}

#contact {
  background: var(--bg);
}

#contact .section-tag::before {
  background: var(--red);
}

#contact h2 {
  color: var(--black);
}

#contact .section-desc {
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 4rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--black);
  transition: border-color 0.2s, background 0.2s;
}

.contact-link:hover {
  border-color: var(--red);
  background: var(--red-light);
}

.contact-link-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-link-icon svg {
  fill: var(--muted) !important;
  stroke: var(--muted);
  transition: fill 0.2s, stroke 0.2s;
}

.contact-link-icon svg[fill="none"] {
  fill: none !important;
}

.contact-link-icon svg[stroke] {
  stroke: var(--muted);
}

.contact-link:hover .contact-link-icon svg {
  fill: var(--red) !important;
}

.contact-link:hover .contact-link-icon svg[fill="none"] {
  fill: none !important;
}

.contact-link:hover .contact-link-icon svg[stroke] {
  stroke: var(--red);
}

.contact-link-text {
  flex: 1;
}

.contact-link-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-link-value {
  font-size: 14px;
  font-weight: 500;
  word-break: break-all;
}

.contact-link-arrow {
  color: var(--border);
  font-size: 16px;
  transition: color 0.2s;
}

.contact-link:hover .contact-link-arrow {
  color: var(--red);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--black);
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--red);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #aaa;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}

.form-submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

.footer-copy span {
  color: var(--red);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--black);
}

.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Qualification Styles */
#qualification {
  background: var(--bg);
}

.qualification-tabs {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 4rem 0;
}

.qualification-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.3s;
  padding: 10px 20px;
  border-radius: 12px;
}

.qualification-btn i {
  font-size: 1.4rem;
}

.qualification-btn.active {
  color: var(--red);
  background: var(--red-light);
}

.qualification-btn:hover:not(.active) {
  color: var(--black);
}

.qualification-sections {
  max-width: 800px;
  margin: 0 auto;
}

.qualification-content {
  display: none;
}

.qualification-content.active {
  display: block;
}

.qualification-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 0;
}

.qualification-card {
  display: flex;
  gap: 2.5rem;
  position: relative;
}

.qualification-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: max-content;
}

.qualification-rounder {
  width: 13px;
  height: 13px;
  background-color: var(--red);
  border-radius: 50%;
  z-index: 1;
  margin-top: 1.5rem;
}

.qualification-line {
  width: 2px;
  height: 100%;
  background-color: var(--border);
  transform: translateY(-5px);
}

.qualification-info {
  flex: 1;
  background: var(--card-bg);
  padding: 1.5rem 2rem;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  margin-bottom: 2rem;
  transition: all 0.3s;
}

.qualification-card:hover .qualification-info {
  border-color: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.qualification-card:hover .qualification-rounder {
  transform: scale(1.3);
  box-shadow: 0 0 0 4px var(--red-light);
}

.qualification-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--black);
}

.qualification-subtitle {
  display: block;
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.qualification-calendar {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.qualification-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  border: 1px solid var(--red-light);
  background: var(--red-light);
  padding: 4px 10px;
  border-radius: 6px;
  transition: background 0.2s, border-color 0.2s;
}

.qualification-link:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* Shortcuts Section Styles */
#shortcuts {
  background: var(--surface);
}

.shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.shortcut-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.shortcut-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
  border-color: var(--red);
}

.shortcut-icon-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.shortcut-icon {
  font-size: 1.75rem;
  color: var(--red);
}

.shortcut-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--black);
}

.shortcut-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.shortcut-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--cta-bg);
  color: var(--cta-fg);
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
  width: 100%;
}

.shortcut-action-btn:hover {
  background: var(--red);
  color: #ffffff;
}

.shortcut-terminal {
  background: #111113;
  /* Dark CLI theme always */
  border-radius: 8px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-text {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
  color: #a3e635;
  /* Monokai green terminal color */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  user-select: all;
  flex-grow: 1;
  min-width: 0;
  /* Allow the text container to shrink below its content width */
}

.shortcut-copy-btn {
  background: transparent;
  border: none;
  color: #9ca3af;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, transform 0.1s;
  padding: 4px;
  flex-shrink: 0;
  /* Ensure button does not squeeze on narrow screens */
}

.shortcut-copy-btn:hover {
  color: #ffffff;
}

.shortcut-copy-btn:active {
  transform: scale(0.9);
}

.shortcut-copy-btn.copied {
  color: #a3e635;
}