:root {
    --primary: #8b5cf6; 
    --secondary: #ec4899;
    --dark: #030712; 
    --light: #f9fafb;
    --gradient: linear-gradient(45deg, var(--primary), var(--secondary));
}

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

body {
    background-color: var(--dark);
    color: var(--light);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        radial-gradient(ellipse 80% 80% at 20% -15%, rgba(139, 92, 246, 0.3), transparent),
        radial-gradient(ellipse 80% 80% at 80% 115%, rgba(236, 72, 153, 0.3), transparent);
    z-index: -1;
    animation: aurora 15s infinite alternate ease-in-out;
}

@keyframes aurora {
    from {
        transform: translate(-5vw, -5vh) scale(1.2);
    }
    to {
        transform: translate(5vw, 5vh) scale(1.5);
    }
}

/* --- Navbar --- */
.glass-navbar {
    background: rgba(3, 7, 18, 0.6) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.nav-link {
    color: #e5e7eb !important;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-link:hover {
    color: white !important;
}

.nav-link:hover::before {
    width: 100%;
}

.hex {
    color: var(--primary);
    margin-right: 0.5rem;
    transition: color 0.3s ease;
}
.nav-link:hover .hex {
    color: var(--secondary);
}

/* --- Interaktiver Hero --- */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    perspective: 1000px;
}

.hero-content {
    text-align: center;
    transform-style: preserve-3d;
    transition: transform 0.1s linear;
}

.profile-image-container {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 0 5px rgba(3, 7, 18, 0.5);
    transform: translateZ(50px);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: saturate(1.1);
}

/* KORRIGIERT: 3D-Transform vom Text entfernt für Stabilität */
.profile-name {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    margin: 1.5rem 0 0.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-backface-visibility: hidden; /* Hilft bei Rendering-Fehlern */
    backface-visibility: hidden;
}

/* KORRIGIERT: 3D-Transform vom Text entfernt für Stabilität */
.profile-title {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: #d1d5db;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.hero .tech-badge {
    transform: translateZ(10px);
}

.discover-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #d1d5db;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.5rem;
    letter-spacing: 0.02em;
    opacity: 0.7;
    padding: 0.35rem 0.65rem;
    border-radius: 12px;
    transition: color 0.2s ease, transform 0.2s ease;
    transform: translateZ(20px);
}

.discover-link i {
    font-size: 1.2rem;
    margin-left: 0.2rem;
    animation: bounce 2s infinite;
    opacity: 0.7;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.discover-link:hover {
    color: #f3f4f6;
    transform: translateY(-2px) translateZ(20px);
}

.discover-link:hover i {
    opacity: 1;
}

.hero-cta {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: #d1d5db;
    opacity: 1;
    z-index: 2;
    font-size: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* --- Scroll-Animation --- */
section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-header {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    font-weight: 700;
}

/* --- "Über Mich" Sektion Anpassungen --- */
#about .experience-box {
    padding: clamp(1.5rem, 4vw, 3rem);
}

.bio-subheader {
    font-size: 1.5rem;
    margin: 2rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bio-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

.bio-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.bio-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #d1d5db;
}
.bio-list i {
    color: var(--primary);
}

.profile-badge {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    max-width: 250px;
    margin: 1rem auto;
}

.bio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.bio-card {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}
.bio-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.bio-card:hover {
    transform: translateY(-5px);
    background: rgba(139, 92, 246, 0.1);
}

.bio-quote {
    font-size: 1.2rem;
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    margin: 2rem auto;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 8px;
    font-style: italic;
    max-width: 80%;
}

/* --- Projektkarten --- */
.project-card {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(56, 189, 248, 0.1);
    border-radius: 16px;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
    cursor: pointer;
    padding: 1.5rem;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(139, 92, 246, 0.5);
    border-color: rgba(139, 92, 246, 0.3);
}

.project-image {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 8px;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-image-btn {
    background: none;
    border: 0;
    padding: 0;
    display: block;
    width: 100%;
    cursor: zoom-in;
}

.project-image-btn:focus-visible {
    outline: 2px solid rgba(236, 72, 153, 0.6);
    outline-offset: 4px;
    border-radius: 12px;
}

.placeholder-image {
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 200px;
    color: #9ca3af;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.project-description {
    color: #d1d5db !important;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* --- Tech Badges --- */
.tech-badge {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #c7d2fe;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
	align-content: center;
}

.tech-badge:hover {
    background: rgba(139, 92, 246, 0.2);
    color: white;
    transform: scale(1.05);
}

/* --- Module Badges & Grades --- */
.module-group {
    width: 100%;
}

.module-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 0.85rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #e5e7eb;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.module-badge:hover {
    transform: translateY(-1px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.grade-bubble {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #f9fafb;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0 6px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.35);
}

.grade-pill {
    display: inline-block;
    min-width: 52px;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.pulled-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #e5e7eb;
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1.1;
    vertical-align: middle;
    cursor: help;
}

.grade-excellent { background: linear-gradient(120deg, rgba(16, 185, 129, 0.18), rgba(16, 185, 129, 0.08)); border-color: rgba(16, 185, 129, 0.4); }
.grade-good { background: linear-gradient(120deg, rgba(74, 222, 128, 0.15), rgba(74, 222, 128, 0.06)); border-color: rgba(74, 222, 128, 0.35); }
.grade-ok { background: linear-gradient(120deg, rgba(250, 204, 21, 0.12), rgba(250, 204, 21, 0.05)); border-color: rgba(250, 204, 21, 0.3); }
.grade-basic { background: linear-gradient(120deg, rgba(248, 113, 113, 0.12), rgba(248, 113, 113, 0.05)); border-color: rgba(248, 113, 113, 0.3); }

.transcript-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.35);
    background: rgba(15, 23, 42, 0.7);
    color: #e5e7eb;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.transcript-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(139, 92, 246, 0.55);
    box-shadow: 0 14px 30px rgba(0,0,0,0.25);
    color: #fff;
}

.transcript-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.transcript-grid table {
    border-collapse: separate;
    border-spacing: 0;
    background: transparent;
    border-radius: 14px;
    overflow: hidden;
}

.transcript-context {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.context-card {
    min-width: 140px;
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(236,72,153,0.12));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

.context-card .label {
    display: block;
    font-size: 0.8rem;
    color: #cbd5e1;
    letter-spacing: 0.02em;
}

.context-card .value {
    display: block;
    font-weight: 800;
    font-size: 1.2rem;
    color: #f8fafc;
}

.transcript-grid thead th {
    border: 0;
    color: #e5e7eb;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.9rem;
    background: transparent;
    padding: 0.95rem 1.1rem;
    box-shadow: inset -1px 0 0 rgba(255,255,255,0.08);
}
.transcript-grid thead th:first-child { border-top-left-radius: 14px; }
.transcript-grid thead th:last-child { border-top-right-radius: 14px; box-shadow: none; }

.transcript-grid thead tr {
    background: linear-gradient(135deg, rgba(99,102,241,0.45), rgba(236,72,153,0.35));
}

.transcript-grid tbody tr {
    background: rgba(10, 12, 20, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 6px 18px rgba(0,0,0,0.35) inset, 0 12px 20px rgba(0,0,0,0.2);
    backdrop-filter: blur(4px);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.transcript-grid tbody tr.semester-light {
    background: rgba(9, 11, 22, 0.96);
}

.transcript-grid tbody tr.semester-dark {
    background: rgba(6, 8, 16, 0.96);
}

/* Bootstrap setzt Zell-Backgrounds; wir ueberschreiben pro Semester ueber td */
.transcript-grid tbody tr td {
    background: transparent !important;
}

.transcript-grid tbody tr.semester-light td {
    background: rgba(12, 14, 26, 0.78) !important;
}

.transcript-grid tbody tr.semester-dark td {
    background: rgba(12, 14, 26, 0.98) !important;
}

.transcript-grid tbody tr.semester-summary td {
    background: rgba(99, 102, 241, 0.18) !important;
    color: #e5e7eb;
    font-weight: 800;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.transcript-legend {
    font-size: 0.9rem;
    color: #cbd5e1;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.transcript-legend .legend-title {
    font-weight: 800;
    color: #f8fafc;
}

.transcript-legend .legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.transcript-grid tbody td {
    border: 0;
    padding: 0.9rem 1.1rem;
    color: #e5e7eb;
    font-size: 0.98rem;
    line-height: 1.5;
}

.transcript-grid tbody tr:hover {
    transform: translateY(-2px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 12px 28px rgba(0,0,0,0.45), 0 1px 0 rgba(255,255,255,0.05) inset;
}

.transcript-grid tbody tr:last-child td:first-child { border-bottom-left-radius: 14px; }
.transcript-grid tbody tr:last-child td:last-child { border-bottom-right-radius: 14px; }

/* --- Experience & Tech Boxen --- */
.experience-box, .tech-box {
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(56, 189, 248, 0.1);
    border-radius: 16px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#experience .experience-box, #tech .tech-box {
    padding: clamp(1.5rem, 4vw, 2.5rem);
}


.experience-box:hover, .tech-box:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Hover-Glow deaktiviert */
/*
.experience-box::after, .tech-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 40%);
    transform: translate(-100%, -100%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.experience-box:hover::after, .tech-box:hover::after {
    transform: translate(0, 0);
}
*/


/* === Store Badge (modern) =============================================== */
.store-badge {
  --badge-bg: rgba(15, 23, 42, .35);          /* Glas-Body */
  --badge-brd: rgba(148,163,184,.28);
  --badge-grad: linear-gradient(90deg,#7c3aed 0%, #3b82f6 45%, #06b6d4 100%);

  display: inline-flex;
  align-items: center;
  height: 40px;
  border-radius: 999px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: var(--badge-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--badge-brd);
  box-shadow: 0 8px 24px rgba(2,6,23,.25) inset,
              0 6px 16px rgba(2,6,23,.35);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.store-badge:focus-visible {
  outline: 0;
  box-shadow:
    0 0 0 2px rgba(99,102,241,.4),
    0 0 0 5px rgba(99,102,241,.2),
    0 8px 24px rgba(2,6,23,.25) inset;
  border-color: rgba(99,102,241,.5);
}

.store-badge:hover { transform: translateY(-1px); }
.store-badge:active { transform: translateY(0); }

/* Linke Icon-Kapsel */
.store-badge__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #c7d2fe;                           /* Icon-Farbe */
  background: rgba(99,102,241,.12);         /* leichtes Tint */
  border-right: 1px solid rgba(148,163,184,.22);
}

/* Rechtes Gradient-Segment mit dem Phasentext */
.store-badge__label {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  font-weight: 700;
  letter-spacing: .2px;
  white-space: nowrap;
  background: var(--badge-grad);            /* Verlauf hinter dem Text */
  color: #fff;                              /* weiße Schrift auf Verlauf */
  height: 100%;
}

/* optional: kleinere Variante in engen Layouts */
@media (max-width: 420px) {
  .store-badge { height: 36px; }
  .store-badge__icon { width: 36px; height: 36px; }
  .store-badge__label { padding: 0 12px; font-weight: 600; }
}


/* --- Modals --- */
.modal-content {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
}

.modal-image {
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

/* --- Kontakt --- */
.contact-link {
    color: #e5e7eb;
    text-decoration: none;
    transition: all 0.3s ease;
    transform-origin: bottom;
}

.contact-link i {
    transition: transform 0.3s ease;
}

.contact-link:hover {
    color: white;
    --hover-color: var(--primary); 
    color: var(--hover-color);
}

.contact-link:hover i {
    transform: scale(1.2);
}

/* Divider */
.section-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.25rem 0 1.25rem 0;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.section-divider::before,
.section-divider::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: rgba(255,255,255,0.1);
}

.section-divider span {
    font-size: clamp(0.95rem, 1vw + 0.6rem, 1.15rem);
    line-height: 1;
    white-space: nowrap;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* === Flip Card (Checkmarks nur auf Rückseite) === */
/* Flip-Card mit automatischer Höhe (größerer Seite) */
.flip-card {
  perspective: 1200px;
  border-radius: 16px;
  cursor: pointer;
}

.flip-card-inner {
  display: grid;                 /* <— Überlappen via Grid */
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 600ms ease;
  border-radius: inherit;
  will-change: transform;
}

.flip-card.is-flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  grid-area: 1 / 1;              /* <— beide auf dieselbe Zelle legen */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: inherit;
  transition: opacity .25s ease, visibility .25s ease;
  position: relative;
}

.flip-card:not(.is-flipped) .flip-card-back {
  opacity: 0; visibility: hidden; pointer-events: none;
}
.flip-card.is-flipped .flip-card-front {
  opacity: 0; visibility: hidden; pointer-events: none;
}

.flip-card-front {
  background: rgba(15, 23, 42, 0.4);
}

.flip-card-back {
  transform: rotateY(180deg);
  background: rgba(2, 6, 23, 0.75);
}

/* Optional: Inhalte */
.flip-card-front .project-image { max-width: 100%; height: auto; display: block; }

/* Flip CTA */
.flip-cta {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  box-shadow: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
  transform: skew(-6deg);
  transform-origin: top right;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease, opacity 0.18s ease;
  z-index: 2;
  opacity: 0.85;
}

.flip-cta i { line-height: 1; }

.flip-cta:hover {
  transform: skew(-3deg) translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.55);
  opacity: 1;
}

.flip-cta:active {
  transform: skew(-2deg) translateY(0);
}

.flip-cta:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: 2px;
}

@media (max-width: 576px) {
  .flip-cta {
    top: 10px;
    right: 10px;
    padding: 0.25rem 0.7rem;
    font-size: 0.78rem;
  }
}
