
* {
  line-height: normal;
}

body {
  margin: 0;
}

*, html {
  scroll-behavior: smooth !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   SCROLLBAR
   ───────────────────────────────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 4px;
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: var(--color-primary);
}

/* ─────────────────────────────────────────────────────────────────────────────
   BACKGROUND IMAGE
   ───────────────────────────────────────────────────────────────────────────── */
.bg-image {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.05;
  z-index: -1;
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 30%;
  overflow: scroll;
}

/* ─────────────────────────────────────────────────────────────────────────────
   SOCIAL ICONS - Liquid Glass
   ───────────────────────────────────────────────────────────────────────────── */
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icons a i {
  transition: fill 0.2s, color 0.2s;
  fill: rgba(255, 255, 255, 0.1);
}

.social-icons a:hover,
.social-icons a:focus {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px) scale(1.02);
}

.social-icons a:hover i,
.social-icons a:focus i {
  fill: var(--color-primary);
  color: var(--color-primary);
}

/* ─────────────────────────────────────────────────────────────────────────────
   UTILITY CLASSES
   ───────────────────────────────────────────────────────────────────────────── */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.absolute-center {
  position: absolute;
  top: calc(1/2 * 100%);
  left: calc(1/2 * 100%);
  --tw-translate-x: calc(calc(1/2 * 100%) * -1);
  --tw-translate-y: calc(calc(1/2 * 100%) * -1);
  translate: var(--tw-translate-x) var(--tw-translate-y);
}

/* ─────────────────────────────────────────────────────────────────────────────
   GRADIENT BUTTON - Extreme Liquid Glass
   ───────────────────────────────────────────────────────────────────────────── */
.gradient-btn {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(50px) saturate(200%);
  -webkit-backdrop-filter: blur(50px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gradient-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transform: rotate(60deg);
  transition: transform 1s;
  transform: translate(-100%, -100%);
}

.gradient-btn:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.06);
}

.gradient-btn:hover::before {
  transform: translate(100%, 100%);
}

/* ─────────────────────────────────────────────────────────────────────────────
   INPUT FIELDS
   ───────────────────────────────────────────────────────────────────────────── */
input:focus {
  outline: none;
  border: none;
}

input:focus-visible {
  outline: none;
  border: none;
}

input {
  outline: none;
  border: none;
}

/* ─────────────────────────────────────────────────────────────────────────────
   SWIPER SLIDER - Liquid Glass Panels
   ───────────────────────────────────────────────────────────────────────────── */
.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
}

.packageMainSwiper .swiper-slide {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.packageMainSwiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
}

.packageThumbsSwiper .swiper-slide {
  opacity: 0.2;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.packageThumbsSwiper .swiper-slide-thumb-active {
  opacity: 1 !important;
  border-color: var(--color-primary) !important;
}

.packageThumbsSwiper .swiper-slide:hover {
  opacity: 0.8;
}

/* Swiper Navigation - Glass Orbs */
.swiper-button-next,
.swiper-button-prev {
  background: rgba(255, 255, 255, 0.02) !important;
  backdrop-filter: blur(40px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(40px) saturate(200%) !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.04) !important;
  transition: all 0.3s ease !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 16px !important;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  .swiper-button-next,
  .swiper-button-prev {
    width: 30px !important;
    height: 30px !important;
  }

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 12px !important;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   SCROLLBAR HIDE
   ───────────────────────────────────────────────────────────────────────────── */
.scrollbar-hide {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* ─────────────────────────────────────────────────────────────────────────────
   LOADING SPINNERS
   ───────────────────────────────────────────────────────────────────────────── */
.loading-data {
  width: 50px;
  padding: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-primary);
  --_m: conic-gradient(#0000 10%, #000), linear-gradient(#000 0 0) content-box;
  -webkit-mask: var(--_m);
  mask: var(--_m);
  -webkit-mask-composite: source-out;
  mask-composite: subtract;
  animation: l3 1s infinite linear;
}

@keyframes l3 {
  to {
    transform: rotate(1turn);
  }
}

.btn-loading {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  position: relative;
  animation: rotate1 1s linear infinite;
}

.btn-loading::before {
  content: '';
  box-sizing: border-box;
  position: absolute;
  inset: 0px;
  border-radius: 50%;
  border: 3px solid #16161A;
  animation: prixClipFix 2s linear infinite;
}

@keyframes rotate1 {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes prixClipFix {
  0% {
    clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);
  }
  25% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);
  }
  50% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%);
  }
  75% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%);
  }
  100% {
    clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0);
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   BACKGROUND COLORS
   ───────────────────────────────────────────────────────────────────────────── */
.bg-delete {
  background-color: #D84141;
}

.bg-primary {
  background-color: var(--color-primary) !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   TOAST NOTIFICATIONS - Glass
   ───────────────────────────────────────────────────────────────────────────── */
.colored-toast {
  backdrop-filter: blur(40px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(40px) saturate(200%) !important;
}

.colored-toast.swal2-icon-success {
  background-color: #a5dc86 !important;
}

.colored-toast.swal2-icon-error {
  background-color: #f27474 !important;
}

.colored-toast.swal2-icon-warning {
  background-color: #f8bb86 !important;
}

.colored-toast.swal2-icon-info {
  background-color: #3fc3ee !important;
}

.colored-toast.swal2-icon-question {
  background-color: #87adbd !important;
}

.colored-toast .swal2-title {
  color: white;
}

.colored-toast .swal2-close {
  color: white;
}

.colored-toast .swal2-html-container {
  color: white;
}

/* ─────────────────────────────────────────────────────────────────────────────
   BTN - Maximum Liquid Glass
   ───────────────────────────────────────────────────────────────────────────── */
.Btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(50px) saturate(200%);
  -webkit-backdrop-filter: blur(50px) saturate(200%);
  border: solid 1.5px rgba(255, 255, 255, 0.03);
  font-weight: 600;
  gap: 8px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition-duration: .3s;
}

.Btn path {
  fill: rgba(255, 255, 255, 0.35);
  transition: all;
  transition-duration: 300ms;
}

.Btn:hover path {
  fill: var(--dark-color-secondary);
}

.Btn::before {
  width: 100%;
  height: 200px;
  position: absolute;
  content: "";
  background-color: var(--color-primary);
  border-radius: 50%;
  left: -100%;
  top: 0;
  z-index: 1;
  transition-duration: .3s;
}

.Btn:hover::before {
  transition-duration: .3s;
  transform: translate(100%, -50%);
  border-radius: 0;
}

.Btn:active {
  transform: translate(5px, 5px);
  transition-duration: .3s;
}

.Btn:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.06);
  color: var(--dark-color-secondary);
}

/* ─────────────────────────────────────────────────────────────────────────────
   FIRE ANIMATION (Original colors - decorative element)
   ───────────────────────────────────────────────────────────────────────────── */
@keyframes scaleUpDown {
  0%, 100% {
    transform: scaleY(1) scaleX(1);
  }
  50%, 90% {
    transform: scaleY(1.1);
  }
  75% {
    transform: scaleY(0.95);
  }
  80% {
    transform: scaleX(0.95);
  }
}

@keyframes shake {
  0%, 100% {
    transform: skewX(0) scale(1);
  }
  50% {
    transform: skewX(5deg) scale(0.9);
  }
}

@keyframes particleUp {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    top: -100%;
    transform: scale(0.5);
  }
}

@keyframes glow {
  0%, 100% {
    background-color: #ef5a00;
  }
  50% {
    background-color: #ff7800;
  }
}

.fire {
  position: absolute;
  top: calc(8% - 50px);
  left: calc(100% - 50px);
  width: 35px;
  height: 35px;
  background-color: transparent;
  margin-left: auto;
  margin-right: auto;
}

.fire-center {
  position: absolute;
  height: 100%;
  width: 100%;
  animation: scaleUpDown 3s ease-out;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

.fire-center .main-fire {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(farthest-corner at 10px 0, #d43300 0%, #ef5a00 95%);
  transform: scaleX(0.8) rotate(45deg);
  border-radius: 0 40% 60% 40%;
}

.fire-center .particle-fire {
  position: absolute;
  top: 60%;
  left: 45%;
  width: 10px;
  height: 10px;
  background-color: #ef5a00;
  border-radius: 50%;
  animation: particleUp 2s ease-out 0;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

.fire-right {
  height: 100%;
  width: 100%;
  position: absolute;
  animation: shake 2s ease-out 0;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

.fire-right .main-fire {
  position: absolute;
  top: 15%;
  right: -25%;
  width: 80%;
  height: 80%;
  background-color: #ef5a00;
  transform: scaleX(0.8) rotate(45deg);
  border-radius: 0 40% 60% 40%;
}

.fire-right .particle-fire {
  position: absolute;
  top: 45%;
  left: 50%;
  width: 15px;
  height: 15px;
  background-color: #ef5a00;
  transform: scaleX(0.8) rotate(45deg);
  border-radius: 50%;
  animation: particleUp 2s ease-out 0;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

.fire-left {
  position: absolute;
  height: 100%;
  width: 100%;
  animation: shake 3s ease-out 0;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

.fire-left .main-fire {
  position: absolute;
  top: 15%;
  left: -20%;
  width: 80%;
  height: 80%;
  background-color: #ef5a00;
  transform: scaleX(0.8) rotate(45deg);
  border-radius: 0 40% 60% 40%;
}

.fire-left .particle-fire {
  position: absolute;
  top: 10%;
  left: 20%;
  width: 10%;
  height: 10%;
  background-color: #ef5a00;
  border-radius: 50%;
  filter: drop-shadow(0 0 10px #d43322);
  animation: particleUp 3s infinite ease-out 0;
  animation-fill-mode: both;
}

.fire-bottom .main-fire {
  position: absolute;
  top: 30%;
  left: 20%;
  width: 75%;
  height: 75%;
  background-color: #ff7800;
  transform: scaleX(0.8) rotate(45deg);
  border-radius: 0 40% 100% 40%;
  filter: blur(10px);
  animation: glow 2s ease-out 0;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

/* ─────────────────────────────────────────────────────────────────────────────
   PACKAGE DESCRIPTION
   ───────────────────────────────────────────────────────────────────────────── */
.package-description {
  --tw-text-opacity: 1;
  color: rgba(240, 236, 226, var(--tw-text-opacity));
  -webkit-text-decoration: none;
  text-decoration: none;
  text-transform: none;
  font-weight: 400;
}

.package-description :not(:last-child) {
  margin-bottom: .85rem !important;
}

.package-description h1,
.package-description h2,
.package-description h3,
.package-description h4 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  --tw-text-opacity: 1;
  color: rgba(255, 252, 245, var(--tw-text-opacity));
  font-style: normal;
  -webkit-text-decoration: none;
  text-decoration: none;
  text-transform: capitalize;
  font-weight: 700;
}

.package-description a {
  --tw-text-opacity: 1;
  color: var(--color-primary);
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  transition-duration: .15s;
}

.package-description a:hover {
  --tw-text-opacity: 1;
  text-decoration-line: underline !important;
  color: var(--color-primary);
}

.package-description b {
  --tw-text-opacity: 1;
  color: rgba(255, 252, 245, var(--tw-text-opacity));
}

.package-description ol li,
.package-description ul li {
  position: relative;
  padding-left: 2ch;
  --tw-text-opacity: 1;
  color: rgba(240, 236, 226, var(--tw-text-opacity));
}

.package-description ul li:before {
  content: "";
  position: absolute;
  left: 0;
  top: .5rem;
  height: .5rem;
  width: .5rem;
  border-radius: .5rem;
  --tw-bg-opacity: 1;
  background-color: var(--color-primary);
}

.package-description ol {
  counter-reset: ol-counter;
}

.package-description ol li {
  counter-increment: ol-counter;
}

.package-description ol li:before {
  content: counter(ol-counter) ". ";
  position: absolute;
  left: 0;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: var(--color-primary);
}

.package-description img {
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.package-description hr {
  color: white;
  opacity: 0.1;
}

.package-description img.fr-rounded {
  border-radius: calc(.5rem * .85);
}

.package-description img.fr-shadow {
  --tw-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  --tw-shadow-color: #0000004d;
  --tw-shadow: var(--tw-shadow-colored);
}

.package-description img.fr-bordered {
  border-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgba(31, 94, 255, var(--tw-border-opacity));
}

.package-description iframe {
  aspect-ratio: 16/9;
  height: 100%;
  width: 100%;
  border-radius: calc(.5rem * .85);
}

/* ─────────────────────────────────────────────────────────────────────────────
   PULSE ANIMATIONS
   ───────────────────────────────────────────────────────────────────────────── */
@keyframes pulse-subtle {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 25px -5px rgba(239, 68, 68, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 15px 30px -5px rgba(239, 68, 68, 0.5);
  }
}

@keyframes gradient {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.animate-pulse-subtle {
  animation: pulse-subtle 2s ease-in-out infinite;
}

.animate-gradient {
  background-size: 200% 200%;
  animation: gradient 3s ease infinite;
}

.liquid-glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.liquid-glass-dark {
  background: rgba(22, 22, 26, 0.85);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

#gift-modal {
  background: rgba(0, 0, 0, 0.5) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  backdrop-filter: blur(20px) !important;
}

#image-lightbox {
  background: rgba(0, 0, 0, 0.6) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  backdrop-filter: blur(20px) !important;
}

/* Basket Card */
.basket-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Basket Delete Button */
.basket-package-delete {
  position: absolute !important;
  top: 50% !important;
  right: 8px !important;
  transform: translateY(-50%) !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 10;
  width: 32px !important;
  height: 32px !important;
  cursor: pointer !important;
  background: rgba(255, 69, 69, 0.15) !important;
  border: 1px solid rgba(255, 69, 69, 0.25) !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px !important;
}

@media (min-width: 640px) {
  .basket-package-delete {
    right: 12px !important;
    width: 40px !important;
    height: 40px !important;
    padding: 10px !important;
  }
}

.basket-package-delete svg,
.basket-package-delete i {
  color: #FF4545 !important;
  fill: #FF4545 !important;
  width: 16px !important;
  height: 16px !important;
}

@media (min-width: 640px) {
  .basket-package-delete svg,
  .basket-package-delete i {
    width: 20px !important;
    height: 20px !important;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   INFINITE SCROLL ANIMATIONS
   ───────────────────────────────────────────────────────────────────────────── */

/* Payments Desktop */
.payments-scroll-wrapper {
  mask-image: linear-gradient(to right, transparent, black 1%, black 99%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 1%, black 99%, transparent);
}

.payments-scroll-track {
  display: flex;
  gap: 15px;
  width: fit-content;
  animation: scroll-left 40s linear infinite;
}


/* Payments Mobile */
.payments-scroll-wrapper-mobile {
  mask-image: linear-gradient(to right, transparent, black 1%, black 99%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 1%, black 99%, transparent);
}

.payments-scroll-track-mobile {
  display: flex;
  gap: 10px;
  width: fit-content;
  animation: scroll-left 35s linear infinite;
}

/* Payment Card Avatar - Desktop */
.payment-avatar {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  min-height: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  flex-shrink: 0 !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Payment Card Avatar - Mobile */
.payment-avatar-mobile {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  flex-shrink: 0 !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.payments-scroll-track > div {
  width: 300px;
  flex-shrink: 0;
}

/* Payments Mobile */
.payments-scroll-track-mobile > div {
  width: 240px;
  flex-shrink: 0;
}

/* Pause on Hover */
.payments-scroll-wrapper:hover .payments-scroll-track,
.payments-scroll-wrapper-mobile:hover .payments-scroll-track-mobile {
  animation-play-state: paused;
}

/* Reviews - unverändert */
.reviews-scroll-wrapper {
  mask-image: linear-gradient(to right, transparent 0%, black 1%, black 99%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 1%, black 99%, transparent 100%);
}

.reviews-scroll-track {
  display: flex;
  gap: 20px;
  width: fit-content;
  animation: scroll-right 55s linear infinite;
}

.reviews-scroll-track > div {
  min-width: 380px !important;
  max-width: 380px !important;
  flex-shrink: 0 !important;
}

.reviews-scroll-wrapper:hover .reviews-scroll-track {
  animation-play-state: paused;
}

/* Animations */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 10px));
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(calc(-50% - 10px));
  }
  100% {
    transform: translateX(0);
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   DONATOR WIDGET - Fixed Bottom Right
   ───────────────────────────────────────────────────────────────────────────── */
.donator-widget {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* COLLAPSED STATE */
.widget-collapsed {
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: float 6s ease-in-out infinite;
}

.widget-collapsed:hover {
  transform: scale(1.1);
  filter: brightness(1.1);
}

/* Gold Badge */
.gold-badge {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ffd700 0%, #ffb300 50%, #ffd700 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 215, 0, 0.7);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), 0 0 8px rgba(255, 215, 0, 0.25);
  position: relative;
  transition: all 0.3s ease;
}

.gold-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  transform: none;
  animation: none;
}

.gold-badge:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.trophy {
  font-size: 24px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
  z-index: 1;
}

.badge-text {
  position: absolute;
  bottom: -18px;
  right: 0;
  font-size: 10px;
  font-weight: 800;
  color: #ffd700;
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.5);
  letter-spacing: 1px;
  background: rgba(0, 0, 0, 0.6);
  padding: 2px 6px;
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

/* EXPANDED STATE - Desktop (GRÖSSER) */
.widget-expanded {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 320px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(22, 22, 26, 0.95);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.15);
  display: none;
  transform-origin: bottom right;
  animation: expand 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-top: 2px solid #ffd700;
}

/* Widget Header */
.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.widget-header h4 {
  margin: 0;
  color: #ffd700;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
  padding: 0;
}

.widget-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Donator Info */
.donator-info {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.donator-avatar {
  width: 65px;
  height: 65px;
  border-radius: 12px;
  border: 2px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  background: rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.donator-details {
  flex-grow: 1;
  min-width: 0;
}

.donator-details h5 {
  margin: 0 0 4px 0;
  color: white;
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.donator-month {
  margin: 0 0 8px 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 500;
}

.donator-amount {
  margin: 0;
  color: #ffd86b;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}

.donator-amount::before {
  content: '💰';
  font-size: 15px;
}

/* Widget Footer - BESSER SICHTBAR */
.widget-footer {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.widget-footer small {
  font-size: inherit;
  display: block;
}

/* No Donator State */
.no-donator {
  text-align: center;
  padding: 15px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* ANIMATIONS */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes expand {
  0% { opacity: 0; transform: scale(0.8) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* EXPANDED STATE CLASS */
.donator-widget.expanded .widget-collapsed {
  display: none;
}

.donator-widget.expanded .widget-expanded {
  display: block;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE - MOBILE FIXES
   ═══════════════════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 768px) {
  .donator-widget {
    bottom: 15px;
    right: 15px;
  }
  
  .gold-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  
  .trophy {
    font-size: 20px;
  }
  
  .badge-text {
    font-size: 9px;
    bottom: -16px;
    padding: 2px 5px;
  }
  
  .widget-expanded {
    width: 260px;
    padding: 16px;
    border-radius: 14px;
  }
  
  .widget-header {
    margin-bottom: 12px;
    padding-bottom: 10px;
  }
  
  .widget-header h4 {
    font-size: 15px;
    gap: 6px;
  }
  
  .widget-close {
    width: 26px;
    height: 26px;
    font-size: 15px;
  }
  
  .donator-info {
    gap: 12px;
    margin-bottom: 14px;
  }
  
  .donator-avatar {
    width: 55px;
    height: 55px;
    border-radius: 10px;
  }
  
  .donator-details h5 {
    font-size: 15px;
  }
  
  .donator-month {
    font-size: 12px;
    margin-bottom: 6px;
  }
  
  .donator-amount {
    font-size: 16px;
  }
  
  .donator-amount::before {
    font-size: 13px;
  }
  
  .widget-footer {
    font-size: 11px;
    padding-top: 12px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .donator-widget {
    bottom: 12px;
    right: 12px;
  }
  
  .gold-badge {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  
  .trophy {
    font-size: 18px;
  }
  
  .badge-text {
    font-size: 8px;
    bottom: -14px;
    padding: 1px 4px;
  }
  
  .widget-expanded {
    width: 230px;
    padding: 14px;
    border-radius: 12px;
  }
  
  .widget-header {
    margin-bottom: 10px;
    padding-bottom: 8px;
  }
  
  .widget-header h4 {
    font-size: 14px;
    gap: 5px;
  }
  
  .widget-close {
    width: 24px;
    height: 24px;
    font-size: 14px;
  }
  
  .donator-info {
    gap: 10px;
    margin-bottom: 12px;
  }
  
  .donator-avatar {
    width: 48px;
    height: 48px;
    border-radius: 8px;
  }
  
  .donator-details h5 {
    font-size: 13px;
    margin-bottom: 2px;
  }
  
  .donator-month {
    font-size: 10px;
    margin-bottom: 4px;
  }
  
  .donator-amount {
    font-size: 14px;
    gap: 4px;
  }
  
  .donator-amount::before {
    font-size: 12px;
  }
  
  .widget-footer {
    font-size: 10px;
    padding-top: 10px;
  }
}

/* Sehr kleine Screens */
@media (max-width: 360px) {
  .donator-widget {
    bottom: 10px;
    right: 10px;
  }
  
  .gold-badge {
    width: 36px;
    height: 36px;
  }
  
  .trophy {
    font-size: 16px;
  }
  
  .widget-expanded {
    width: 210px;
    padding: 12px;
  }
  
  .widget-header h4 {
    font-size: 13px;
  }
  
  .donator-avatar {
    width: 42px;
    height: 42px;
  }
  
  .donator-details h5 {
    font-size: 12px;
  }
  
  .donator-month {
    font-size: 9px;
  }
  
  .donator-amount {
    font-size: 13px;
  }
  
  .widget-footer {
    font-size: 9px;
    padding-top: 8px;
  }
}

/* Framework Modal - Fix z-index */
#framework-modal {
  z-index: 99999 !important;
}

#framework-modal > div:first-child {
  z-index: 99998 !important;
}

#modal-content {
  z-index: 99999 !important;
}

#framework-modal > div:first-child {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
}