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

:root {
  --bg-main: #0B0D12;
  --bg-card: #121522;
  --bg-soft: #181C2E;
  
  --red-main: #e11d48;
  --red-soft: #FB7185;
  --red-dark: #9F1239;
  
  --text-main: #E5E7EB;
  --text-muted: #9CA3AF;
  
  --border-soft: #23283B;
  
  --border-radius: 12px;
  --transition: all 0.3s ease;
  --shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --layout-max: 1280px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --glow-red: 0 0 32px rgba(225, 29, 72, 0.15);
  --glow-soft: 0 0 24px rgba(0, 0, 0, 0.2);
}
[data-theme="light"] {
  --bg-main: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-soft: #F1F5F9;
  
  --red-main: #E11D48;
  --red-soft: #FB7185;
  --red-dark: #9F1239;
  
  --text-main: #1E293B;
  --text-muted: #64748B;
  
  --border-soft: #E2E8F0;
  
  --border-radius: 12px;
  --transition: all 0.3s ease;
  --shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scrollbar-width: thin;
  scrollbar-color: var(--red-main) var(--border-soft);
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-soft);
  border-radius: 10px;
  margin: 4px;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--red-main) 0%, var(--red-soft) 100%);
  border-radius: 10px;
  border: 2px solid var(--bg-soft);
  min-height: 40px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--red-dark) 0%, var(--red-main) 100%);
  border-color: var(--border-soft);
}
::-webkit-scrollbar-corner {
  background: var(--bg-soft);
  border-radius: 0 0 10px 0;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: radial-gradient(circle at top, var(--bg-soft), var(--bg-main) 60%);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  transition: var(--transition);
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  padding-top: 80px;
}
.tool-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
  padding: 1rem 0;
}
.custom-nav {
  position: fixed;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  background: var(--bg-card);
  padding: 0.6rem 1.5rem;
  border-radius: 0 0 20px 20px;
  border: 1px solid var(--border-soft);
  z-index: 1000;
  gap: 0.1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  visibility: visible;
}
.custom-nav.hidden {
  transform: translateX(-50%) translateY(-100%);
  opacity: 0;
  visibility: hidden;
}
.nav-trigger {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 999;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-trigger:hover {
  background: transparent;
}
.nav-hover-indicator {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 8px;
  background: linear-gradient(135deg, var(--red-main), var(--red-soft));
  border-radius: 4px;
  z-index: 998;
  opacity: 0;
  transition: all 0.3s ease;
}

.nav-hover-indicator.show {
  opacity: 0.7;
  animation: navIndicatorPulse 2s ease-in-out infinite;
}
@keyframes navIndicatorPulse {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translateX(-50%) scale(1.1);
    opacity: 1;
  }
}
.custom-nav .nav-item {
  color: var(--red-main);
  text-decoration: none;
  margin: 0 0.1rem;
  display: flex;
  align-items: center;
  padding: 0.5rem 0.8rem;
  border-radius: 20px;
  position: relative;
  transition: all 0.3s ease;
  animation: navItemSlideIn 0.4s ease-out;
}
@keyframes navItemSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.custom-nav .nav-item svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
  transition: transform 0.2s ease-out;
}

.custom-nav .nav-item.active {
  background: rgba(225, 29, 72, 0.12);
  color: var(--red-main);
}

.custom-nav .nav-item.active svg {
  transform: scale(1.1);
}

.custom-nav .nav-item:hover {
  background: rgba(225, 29, 72, 0.08);
  color: var(--red-main);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 1.25rem;
  transition: var(--transition);
}

.nav-logo:hover {
  color: var(--red-main);
}

.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  padding: 0.5rem 1rem;
  border-radius: 8px;
}
.nav-link:hover {
  color: var(--text-main);
  background: rgba(225, 29, 72, 0.08);
}

.nav-link.active {
  color: var(--red-main);
  background: rgba(225, 29, 72, 0.12);
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 1rem;
  }
  
  .nav-links {
    gap: 1rem;
  }
  
  .nav-link {
    padding: 0.5rem;
    font-size: 0.9rem;
  }
}
.hero-grid {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(220, 38, 38, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 38, 38, 0.052) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.5;
  z-index: -2;
}

[data-theme="dark"] .hero-grid {
  background-image: none;
  opacity: 0;
}

.hero-bg-accent {
  position: fixed;
  top: -40%;
  right: -20%;
  width: 80%;
  height: 90%;
  background: radial-gradient(ellipse at 70% 30%, var(--bg-soft) 0%, transparent 55%);
  pointer-events: none;
  z-index: -1;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-12) var(--space-20);
  border-radius: 10px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red-main), var(--red-soft));
  color: white;
  border-color: transparent;
}

.btn-primary:hover {
  box-shadow: var(--glow-red);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border-soft);
}

.btn-secondary:hover {
  border-color: var(--red-main);
  color: var(--red-soft);
}

.btn-lg {
  padding: var(--space-16) var(--space-24);
  font-size: 1rem;
}
.hero {
  text-align: center;
  padding: var(--space-48) var(--space-24) var(--space-32);
  max-width: 720px;
  margin: 0 auto;
}

.hero-callout {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-8) var(--space-16);
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  margin-bottom: var(--space-24);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-callout-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-main);
  flex-shrink: 0;
}

.hero-headline-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: var(--space-24);
}

.hero-particles {
  position: absolute;
  top: -12px;
  left: -18px;
  right: -18px;
  bottom: -12px;
  pointer-events: none;
  z-index: -1;
}

.hero-particle {
  position: absolute;
  width: 28px;
  height: 28px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.85;
  animation: hero-particle-float 4s ease-in-out infinite;
  filter: brightness(0) saturate(100%) invert(27%) sepia(91%) saturate(2913%) hue-rotate(330deg) brightness(95%) contrast(92%);
  z-index: -1;
}


.hero-particle-0 { top: 2%; left: 12%; animation-delay: 0s; }
.hero-particle-1 { top: 0%; right: 15%; left: auto; animation-delay: 0.5s; }
.hero-particle-2 { top: 35%; left: 2%; animation-delay: 1s; }
.hero-particle-3 { top: 35%; right: 2%; left: auto; animation-delay: 1.5s; }
.hero-particle-4 { top: 58%; left: 8%; animation-delay: 2s; }
.hero-particle-5 { top: 58%; right: 10%; left: auto; animation-delay: 2.5s; }
.hero-particle-6 { bottom: 2%; left: 22%; top: auto; animation-delay: 3s; }
.hero-particle-7 { bottom: 2%; right: 25%; left: auto; top: auto; animation-delay: 3.5s; }

.hero-particle-0 { background-image: url('../images/effects/effect_0.png'); }
.hero-particle-1 { background-image: url('../images/effects/effect_1.png'); }
.hero-particle-2 { background-image: url('../images/effects/effect_2.png'); }
.hero-particle-3 { background-image: url('../images/effects/effect_3.png'); }
.hero-particle-4 { background-image: url('../images/effects/effect_4.png'); }
.hero-particle-5 { background-image: url('../images/effects/effect_5.png'); }
.hero-particle-6 { background-image: url('../images/effects/effect_6.png'); }
.hero-particle-7 { background-image: url('../images/effects/effect_7.png'); }

@keyframes hero-particle-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4px, -6px) scale(1.05); }
}

.hero-headline-wrap .hero-headline {
  position: relative;
  z-index: 0;
  isolation: isolate;
}

.hero-headline {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 0;
  color: var(--text-main);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-32);
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-16);
}

.hero-actions .btn {
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  padding: var(--space-16) var(--space-24);
  border-radius: 12px;
  border-width: 1px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  box-shadow: none;
}

.hero-actions .cssbuttons-io-button {
  background: linear-gradient(135deg, var(--red-main), var(--red-soft));
  color: white;
  font-family: inherit;
  padding: 0.35em 3.3em 0.35em 1.2em;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.9em;
  border: none;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  box-shadow: inset 0 0 1.6em -0.6em var(--red-dark);
  overflow: hidden;
  position: relative;
  height: 2.8em;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hero-actions .cssbuttons-io-button:hover {
  box-shadow: inset 0 0 1.6em -0.6em var(--red-dark), 0 4px 20px rgba(225, 29, 72, 0.4);
  transform: translateY(-2px);
}

.hero-actions .cssbuttons-io-button .icon {
  background: white;
  margin-left: 1em;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.2em;
  width: 2.2em;
  border-radius: 0.7em;
  box-shadow: 0.1em 0.1em 0.6em 0.2em rgba(159, 18, 57, 0.4);
  right: 0.3em;
  transition: all 0.3s;
}

.hero-actions .cssbuttons-io-button:hover .icon {
  width: calc(100% - 0.6em);
}

.hero-actions .cssbuttons-io-button .icon svg {
  width: 1.1em;
  transition: transform 0.3s;
  color: var(--red-main);
}

.hero-actions .cssbuttons-io-button:hover .icon svg {
  transform: translateX(0.1em);
}

.hero-actions .cssbuttons-io-button:active .icon {
  transform: scale(0.95);
}

.hero-actions .btn-secondary {
  background: var(--bg-soft);
  color: var(--text-main);
  border-color: var(--border-soft);
}

.hero-actions .btn-secondary:hover {
  border-color: var(--red-main);
  color: var(--red-soft);
  background: var(--bg-soft);
  box-shadow: 0 2px 12px rgba(225, 29, 72, 0.15);
  transform: translateY(-2px);
}

.hero-preview {
  padding: 0 var(--space-24) var(--space-48);
  perspective: 1000px;
}

.hero-preview-inner {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(24, 28, 46, 0.6);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  min-height: 280px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s ease, border-color 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-preview:hover .hero-preview-inner {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 59, 92, 0.2);
}

.hero-preview-sidebar {
  width: 56px;
  padding: var(--space-16) var(--space-12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-12);
  background: rgba(0, 0, 0, 0.2);
  border-right: 1px solid var(--border-soft);
}

.hero-preview-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--red-main);
  opacity: 0.9;
  flex-shrink: 0;
  transition: box-shadow 0.35s ease, opacity 0.3s ease;
}

.hero-preview:hover .hero-preview-icon {
  box-shadow: 0 0 20px rgba(255, 59, 92, 0.5);
  opacity: 1;
}

.hero-preview-bar {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--border-soft);
  transition: background 0.3s ease, opacity 0.3s ease;
}

.hero-preview:hover .hero-preview-bar {
  background: rgba(255, 255, 255, 0.12);
  opacity: 0.9;
}

.hero-preview-main {
  flex: 1;
  padding: var(--space-24);
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  justify-content: center;
}

.hero-preview-line {
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--border-soft) 0%, var(--border-soft) 100%);
  background-size: 100% 100%;
  width: 100%;
  max-width: 100%;
  opacity: 0.7;
}

.hero-preview-line.short {
  max-width: 45%;
}

.hero-preview-line.medium {
  max-width: 70%;
}

.anchor-offset {
  display: block;
  position: relative;
  top: -80px;
}

@media (max-width: 768px) {
  .hero {
    padding: var(--space-32) var(--space-16) var(--space-24);
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }
  .hero-preview-inner {
    min-height: 220px;
    flex-direction: column;
  }
  .hero-preview-sidebar {
    width: 100%;
    flex-direction: row;
    padding: var(--space-12);
    border-right: none;
    border-bottom: 1px solid var(--border-soft);
  }
  .hero-preview-main {
    padding: var(--space-16);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-20px) translateX(10px);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-40px) translateX(-5px);
    opacity: 0.3;
  }
  75% {
    transform: translateY(-20px) translateX(-10px);
    opacity: 0.5;
  }
}
.mouse-particle {
  position: fixed;
  pointer-events: none;
  z-index: 1000;
  will-change: transform, opacity;
  transition: all 0.1s ease-out;
}
.mouse-particle::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 50%;
  background: inherit;
  opacity: 0.1;
  filter: blur(2px);
  z-index: -1;
}
.container {
  max-width: var(--layout-max);
  width: 100%;
  margin: 0 auto;
  padding: var(--space-32) var(--space-48);
  min-height: calc(100vh - 80px);
  position: relative;
  overflow: visible;
}

.tools-below-preview {
  margin-top: var(--space-32);
  padding: 0 var(--space-24);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

.minecraft-tools {
  display: grid;
  grid-template-columns: repeat(5, minmax(250px, 1fr));
  gap: var(--space-12);
  max-width: 1400px;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
  z-index: 0;
}

@media (max-width: 1024px) {
  .minecraft-tools {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }
}
@keyframes toolCardEnter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.tool-card {
  --card-height: 72px;
  display: flex;
  align-items: center;
  gap: var(--space-12);
  min-height: var(--card-height);
  padding: 0 var(--space-12) 0 0;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  color: var(--text-main);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: toolCardEnter 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.tool-card:nth-child(1) { animation-delay: 0.05s; }
.tool-card:nth-child(2) { animation-delay: 0.12s; }
.tool-card:nth-child(3) { animation-delay: 0.19s; }
.tool-card:nth-child(4) { animation-delay: 0.26s; }
.tool-card:nth-child(5) { animation-delay: 0.33s; }

@media (prefers-reduced-motion: reduce) {
  .tool-card {
    animation: none;
    opacity: 1;
  }
  .tool-card::before {
    transition: opacity 0.15s ease;
  }
  .tool-card:hover::before {
    transform: none;
  }
}

.tool-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--red-main);
  opacity: 0;
  transform: scaleY(0);
  transform-origin: center center;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--red-main);
}

.tool-card:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

.tool-card:active {
  transform: translateY(-1px);
  transition-duration: 0.1s;
}

.tool-card:active::before {
  transform: scaleY(1);
}

.tool-card__icon {
  flex-shrink: 0;
  width: var(--card-height);
  height: var(--card-height);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  border-radius: 16px 0 0 16px;
  color: var(--text-main);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.tool-card__icon svg {
  width: 26px;
  height: 26px;
  display: block;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.tool-card:hover .tool-card__icon {
  background: rgba(225, 29, 72, 0.15);
  color: var(--red-soft);
  transform: scale(1.02);
}

.tool-card:hover .tool-card__icon svg {
  transform: scale(1.08);
}

.tool-card__label {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tool-card__arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), color 0.25s ease;
}

.tool-card:hover .tool-card__arrow {
  color: var(--red-main);
  transform: translateX(6px);
}

.tool-card__arrow svg {
  width: 20px;
  height: 20px;
  display: block;
}

[data-theme="light"] .tool-card {
  background: var(--bg-card);
  border-color: var(--border-soft);
}

[data-theme="light"] .tool-card__icon {
  background: var(--bg-soft);
}

[data-theme="light"] .tool-card:hover .tool-card__icon {
  background: rgba(225, 29, 72, 0.1);
  color: var(--red-main);
}

.main-content {
  width: 100%;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 0;
  position: relative;
}

.profile {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-32);
  padding: var(--space-32) 0;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 0;
}

.profile-picture {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--red-main);
  flex-shrink: 0;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--glow-red);
}

.profile-picture::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-main), var(--red-soft));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.profile-picture:hover::before {
  opacity: 0.25;
}

.profile-picture:hover {
  transform: scale(1.03);
  box-shadow: 0 0 48px rgba(225, 29, 72, 0.25);
}

.profile-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: var(--space-8);
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--red-main), var(--red-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.location {
  color: var(--text-muted);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.nav-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-12);
  padding: var(--space-20) 0;
  margin-bottom: 0;
}

.nav-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  background-color: var(--bg-soft);
  border: none;
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  transition-duration: 0.3s;
  overflow: hidden;
  position: relative;
  font-weight: 600;
  font-family: inherit;
  box-shadow: 0 0 0 4px rgba(255, 59, 92, 0.25);
}

.nav-tab-icon {
  display: block;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  transition-duration: 0.3s;
}

.nav-tab-icon--pixel {
  shape-rendering: crispEdges;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
}

.nav-tab-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 0;
  opacity: 0;
  white-space: nowrap;
  color: white;
  transition-duration: 0.3s;
  pointer-events: none;
}

.nav-tab:hover {
  width: 120px;
  border-radius: 50px;
  background-color: var(--red-main);
  color: white;
}

.nav-tab:hover .nav-tab-icon {
  transform: translateY(-200%);
}

.nav-tab:hover .nav-tab-label {
  font-size: 13px;
  opacity: 1;
}

.nav-tab.active {
  background: var(--red-main);
  box-shadow: 0 0 0 4px rgba(255, 59, 92, 0.4);
  color: white;
}

.nav-tab.active:hover {
  background: var(--red-soft);
  color: white;
}

.nav-tab.active:hover .nav-tab-label {
  color: white;
}

.content {
  min-height: 0;
  padding-top: var(--space-32);
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  gap: var(--space-32);
  align-content: start;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.intro {
  margin-bottom: 0;
  max-width: 56ch;
}

.intro p {
  font-size: 1.15rem;
  line-height: 1.75;
  margin: 0;
}

.highlight {
  color: var(--red-main);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.highlight:hover {
  color: var(--red-soft);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-24);
  padding: var(--space-24);
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  margin-bottom: 0;
  box-shadow: var(--glow-soft);
}

.stat {
  text-align: center;
  padding: var(--space-24) var(--space-16);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: transparent;
  transition: left 0.5s ease;
}

.stat:hover::before {
  left: 100%;
}

.stat:hover {
  transform: translateY(-2px);
  border-color: var(--red-main);
  box-shadow: var(--glow-red);
}

.stat-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--red-main), var(--red-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: var(--space-8);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.sections-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-32);
  align-items: start;
}

.section {
  margin-bottom: 0;
}

.section:last-child {
  margin-bottom: 0;
}

.section h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: var(--space-16);
  padding-bottom: var(--space-8);
  color: var(--text-main);
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--border-soft);
}

.section h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: var(--space-8);
  color: var(--red-main);
}

.section p {
  color: var(--text-muted);
  margin-bottom: var(--space-16);
  line-height: 1.65;
}

.section p:last-child {
  margin-bottom: 0;
}

.tags {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: var(--space-8);
  margin-bottom: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.tag.project {
  background: rgba(225, 29, 72, 0.12);
  border-color: var(--red-main);
  color: var(--red-soft);
}

.tag.project::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--red-main), var(--red-soft));
  transition: left 0.4s ease;
  z-index: -1;
}

.tag.project:hover::before {
  left: 0;
}

.tag.project:hover {
  color: white;
  transform: translateY(-3px);
}

.tag.skill {
  background: rgba(16, 185, 129, 0.1);
  border-color: #10b981;
  color: #10b981;
}

.tag.skill::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #10b981, #059669);
  transition: left 0.4s ease;
  z-index: -1;
}

.tag.skill:hover::before {
  left: 0;
}

.tag.skill:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}
.project-highlight {
  margin-bottom: 24px;
  padding: 24px;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.project-highlight:last-child {
  margin-bottom: 0;
}

.project-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--red-main), var(--red-soft));
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.project-highlight:hover::before {
  opacity: 1;
}

.project-highlight:hover {
  transform: translateX(4px);
}

.project-highlight h3 {
  margin-bottom: 10px;
}

.project-highlight p {
  margin-bottom: 0;
  line-height: 1.65;
}
[data-name="BMC-Widget"],
.bmc-btn,
#bmc-wbtn {
  position: fixed !important;
  bottom: 140px !important;
  right: 13px !important;
  z-index: 1001 !important;
}
.bmc-btn,
#bmc-wbtn,
a[href*="buymeacoffee"],
div[data-name="BMC-Widget"] {
  position: fixed !important;
  bottom: 140px !important;
  right: 20px !important;
  width: 50px !important;
  height: 50px !important;
  border: none !important;
  border-radius: 12px !important;
  background: var(--bg-card) !important;
  border: 1px solid var(--border-soft) !important;
  color: var(--text-main) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: var(--transition) !important;
  box-shadow: var(--shadow) !important;
  backdrop-filter: blur(10px) !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0 !important;
  text-decoration: none !important;
  z-index: 1001 !important;
}
div[data-name="BMC-Widget"] {
  bottom: 140px !important;
  right: 20px !important;
  background: transparent !important;
}
div[data-name="BMC-Widget"] > div:not(.bmc-btn):not(#bmc-wbtn) {
  display: none !important;
}

div[data-name="BMC-Widget"] > *:not(.bmc-btn):not(#bmc-wbtn):not(a) {
  display: none !important;
}
div[data-name="BMC-Widget"] {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
div[data-name="BMC-Widget"] div {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
div[data-name="BMC-Widget"] .bmc-btn,
div[data-name="BMC-Widget"] #bmc-wbtn,
div[data-name="BMC-Widget"] a {
  display: flex !important;
}
div[data-name="BMC-Widget"] *:not(.bmc-btn):not(#bmc-wbtn):not(a) {
  display: none !important;
}

[data-name="BMC-Widget"] {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

[data-name="BMC-Widget"] > div {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  display: none !important;
}

[data-name="BMC-Widget"] .bmc-btn,
[data-name="BMC-Widget"] #bmc-wbtn,
[data-name="BMC-Widget"] a[href*="buymeacoffee"] {
  display: flex !important;
  background: var(--bg-card) !important;
  border: 1px solid var(--border-soft) !important;
  box-shadow: var(--shadow) !important;
}

[data-name="BMC-Widget"] div:not(.bmc-btn):not(#bmc-wbtn) {
  display: none !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.bmc-btn img,
.bmc-btn svg {
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.bmc-btn:hover {
  background: linear-gradient(135deg, var(--red-main), var(--red-soft)) !important;
  color: white !important;
  transform: translateY(-2px) !important;
}

.bmc-btn * {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}
.theme-toggle {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 1000;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.theme-toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--red-main), var(--red-soft));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.theme-toggle:hover::before {
  opacity: 1;
}

.theme-toggle:hover {
  color: white;
  transform: translateY(-2px);
}

.theme-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.theme-toggle:hover .theme-icon {
  transform: rotate(180deg);
}
@media (max-width: 768px) {
  .container {
    padding: var(--space-24) var(--space-16);
    min-height: calc(100vh - 80px);
  }
  
  .main-content {
    padding: 0;
  }
  
  .content {
    padding-top: var(--space-24);
  }
  
  .tab-content.active {
    gap: var(--space-24);
  }
  
  .sections-row {
    grid-template-columns: 1fr;
    gap: var(--space-24);
  }
  
  .profile {
    flex-direction: column;
    gap: var(--space-16);
    padding: var(--space-24) 0;
    text-align: center;
  }
  
  .profile-picture {
    width: 96px;
    height: 96px;
  }
  
  .profile-info h1 {
    font-size: 2.5rem;
  }
  
  .nav-tabs {
    padding: var(--space-16) 0;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .nav-tab {
    flex: none;
    width: 48px;
    height: 48px;
  }
  
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-16);
    padding: var(--space-16);
  }
  
  .section h2 {
    font-size: 1.1rem;
  }
  
  .tools-below-preview {
    margin-top: var(--space-24);
    padding: 0 var(--space-16);
  }

  .minecraft-tools {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    width: 100%;
  }
  
  .tool-card {
    --card-height: 64px;
    padding-right: var(--space-12);
  }
  
  .tool-card__icon {
    width: 64px;
    height: 64px;
  }
  
  .tool-card__icon svg {
    width: 22px;
    height: 22px;
  }
  
  .tool-card__label {
    font-size: 0.9rem;
  }
  
  .tool-card__arrow svg {
    width: 18px;
    height: 18px;
  }
  
  .theme-toggle {
    bottom: 70px;
    right: 15px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .stats {
    grid-template-columns: 1fr;
  }
  
  .tags {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
  
  .profile-info h1 {
    font-size: 2rem;
  }
}
.discord-launcher {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 1000;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.discord-launcher::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--red-main), var(--red-soft));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.discord-launcher:hover::before {
  opacity: 1;
}

.discord-launcher:hover {
  color: white;
  transform: translateY(-2px);
}

.discord-launcher svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}



.discord-container {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 420px;
  height: 720px;
  background: var(--bg-card);
  border: 3px solid var(--red-main);
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(225, 29, 72, 0.1), 0 0 0 1px rgba(225, 29, 72, 0.05);
  display: none;
  flex-direction: column;
  z-index: 999;
  backdrop-filter: blur(20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.discord-container.active {
  display: flex;
  opacity: 1;
}
.tab-banner {
  position: relative;
  height: 120px;
  overflow: hidden;
  border-radius: 20px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.tab-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9) saturate(1.4) contrast(1.1);
  transition: all 0.3s ease;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.tab-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
  display: flex;
  align-items: center;
  padding: 16px;
  gap: 12px;
  backdrop-filter: blur(2px);
}

.tab-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.4);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.tab-logo:hover {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.tab-logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.1) contrast(1.2);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.tab-banner-info {
  flex: 1;
}

.tab-banner-info h4 {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 8px 0;
  color: white;
  letter-spacing: -0.03em;
  font-family: inherit;
}

.tab-banner-info p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 500;
  line-height: 1.4;
  font-family: inherit;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9) saturate(1.4) contrast(1.1);
  transition: all 0.3s ease;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.rules-description,
.info-description {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
  display: flex;
  align-items: center;
  padding: 24px;
  gap: 20px;
  backdrop-filter: blur(2px);
}

.discord-logo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.discord-logo:hover {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.1) contrast(1.2);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.discord-info {
  flex: 1;
}

.discord-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: white;
  letter-spacing: -0.02em;
}

.discord-subtitle {
  display: flex;
  align-items: center;
  gap: 8px;
}

.member-count {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.online-indicator {
  color: #10b981;
  font-size: 0.9rem;
}

.discord-toggle {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.discord-toggle:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.1);
}

.discord-toggle svg {
  width: 18px;
  height: 18px;
}

.discord-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.discord-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-soft);
  padding: 8px;
  gap: 4px;
}

.discord-tab {
  flex: 1;
  padding: 12px 16px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.discord-tab .tab-icon {
  width: 16px;
  height: 16px;
  transition: all 0.2s ease;
}

.discord-tab.active {
  color: white;
  background: linear-gradient(135deg, var(--red-main), var(--red-soft));
  transform: translateY(-1px);
}

.discord-tab.active .tab-icon {
  color: white;
}

.discord-tab:hover:not(.active) {
  color: var(--text-main);
  background: var(--bg-card);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.discord-tab:hover:not(.active) .tab-icon {
  color: var(--text-main);
}

.discord-tab-content {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.discord-tab-content.active {
  display: block;
  opacity: 1;
}

.discord-tab-content::-webkit-scrollbar {
  width: 4px;
}

.discord-tab-content::-webkit-scrollbar-track {
  background: transparent;
}

.discord-tab-content::-webkit-scrollbar-thumb {
  background: var(--red-main);
  border-radius: 2px;
}

.rules-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 16px 0;
}
.rules-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rule-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  transition: var(--transition);
}

.rule-item:hover {
  border-color: var(--red-main);
  transform: translateY(-1px);
}

.rule-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-main), var(--red-soft));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
}

.rule-text {
  color: var(--text-main);
  font-size: 0.9rem;
  line-height: 1.4;
}
.widget-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 16px 0;
}
.discord-widget {
  margin-bottom: 20px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  min-height: 400px;
  background: var(--bg-soft);
}

.discord-widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.widget-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 400px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border-soft);
  border-top: 3px solid var(--red-main);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.discord-widget iframe {
  border: none;
  border-radius: 12px;
}

.join-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.join-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--red-main), var(--red-soft));
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  width: fit-content;
}

.join-btn:hover {
  transform: translateY(-2px);
}

.join-btn svg {
  width: 16px;
  height: 16px;
}
.info-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 16px 0;
}

.info-content p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.info-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  transition: var(--transition);
}

.feature-item:hover {
  border-color: var(--red-main);
  transform: translateY(-1px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--red-main), var(--red-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  color: white;
}

.feature-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.feature-content strong {
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
}

.feature-content span {
  color: var(--text-muted);
  font-size: 0.8rem;
}
.server-stats {
  display: flex;
  gap: 16px;
  justify-content: space-around;
  padding: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--red-main);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}
@media (max-width: 768px) {
  .discord-container {
    width: calc(100vw - 40px);
    height: 700px;
    bottom: 20px;
    right: 20px;
    left: 20px;
    border-radius: 16px;
  }
  
  .discord-launcher {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
  }
  
  .tab-banner {
    height: 80px;
    border-radius: 12px;
    margin-bottom: 16px;
  }
  
  .tab-logo {
    width: 40px;
    height: 40px;
  }
  
  .tab-banner-info h4 {
    font-size: 1.1rem;
  }
  
  .tab-banner-info p {
    font-size: 0.8rem;
  }
  
  .discord-tab {
    padding: 10px 12px;
    font-size: 0.8rem;
  }
  
  .discord-tab-content {
    padding: 16px;
  }
  
  .discord-widget {
    min-height: 400px;
  }
  
  .widget-loading {
    height: 400px;
  }
  
  .discord-banner {
    height: 100px;
  }
  
  .discord-logo {
    width: 50px;
    height: 50px;
  }
  
  .discord-info h3 {
    font-size: 1.1rem;
  }
  
  .discord-tab {
    padding: 10px 12px;
    font-size: 0.8rem;
  }
  
  .discord-tab .tab-icon {
    width: 14px;
    height: 14px;
  }

  .discord-launcher,
  .theme-toggle,
  [data-name="BMC-Widget"],
  .bmc-btn,
  #bmc-wbtn,
  a[href*="buymeacoffee"] {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .discord-container {
    width: calc(100vw - 32px);
    height: 650px;
    bottom: 16px;
    right: 16px;
    left: 16px;
    border-radius: 12px;
  }
  
  .discord-launcher {
    width: 45px;
    height: 45px;
    bottom: 16px;
    right: 16px;
  }
  
  .tab-banner {
    height: 70px;
    border-radius: 8px;
    margin-bottom: 12px;
  }
  
  .tab-logo {
    width: 35px;
    height: 35px;
  }
  
  .tab-banner-info h4 {
    font-size: 1rem;
  }
  
  .tab-banner-info p {
    font-size: 0.75rem;
  }
  
  .discord-tab {
    padding: 8px 10px;
    font-size: 0.75rem;
  }
  
  .discord-tab-content {
    padding: 12px;
  }
  
  .discord-widget {
    min-height: 350px;
  }
  
  .widget-loading {
    height: 350px;
  }
  
  .discord-banner {
    height: 90px;
  }
  
  .banner-overlay {
    padding: 16px;
    gap: 12px;
  }
  
  .discord-logo {
    width: 45px;
    height: 45px;
  }
  
  .discord-info h3 {
    font-size: 1rem;
  }
  
  .discord-tab {
    padding: 8px 10px;
    font-size: 0.75rem;
  }
  
  .discord-tab .tab-icon {
    width: 12px;
    height: 12px;
  }
  
  .discord-tab-content {
    padding: 16px;
  }
}
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  margin-bottom: 15px;
}

.typing-dots {
  display: flex;
  gap: 4px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: var(--red-main);
  border-radius: 50%;
  animation: typingDot 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }
@keyframes typingDot {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}
@media (max-width: 480px) {
  .visitor-counter-widget {
    bottom: 15px;
    left: 15px;
    width: auto;
    min-width: 50px;
  }
  
  .visitor-counter-content {
    padding: 8px 10px;
  }
  
  .visitor-counter-icon {
    width: 16px;
    height: 16px;
  }
  
  .visitor-counter-label {
    display: none;
  }
  
  .visitor-counter-number {
    font-size: 14px;
    color: #f49230;
  }
}
.cat-container {
  position: fixed !important;
  bottom: -15px !important;
  left: -5px !important;
  z-index: 1001 !important;
  pointer-events: none;
  top: auto !important;
  right: auto !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.cat-gif {
  position: relative;
  transition: var(--transition);
  cursor: pointer;
  pointer-events: auto;
}

.cat-gif:hover {
  transform: translateY(-2px);
}

.cat-animation {
  width: 170px;
  height: 170px;
  border-radius: 12px;
  object-fit: cover;
  transition: var(--transition);
  display: block;
  pointer-events: auto;
}

.cat-animation:hover {
  transform: scale(1.05);
}
.server-status-widget {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  z-index: 999;
  min-width: 140px;
}

.server-status-widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.server-status-widget.online {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.1);
}

.server-status-widget.offline {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.status-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: var(--transition);
}

.server-status-widget.online .status-icon {
  color: #10b981;
}

.server-status-widget.offline .status-icon {
  color: #ef4444;
}

.status-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.status-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-text {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.server-status-widget.online .status-text {
  color: #10b981;
}

.server-status-widget.offline .status-text {
  color: #ef4444;
}
@media (max-width: 768px) {
  .server-status-widget {
    top: 15px;
    right: 15px;
    padding: 10px 12px;
    min-width: 120px;
    z-index: 999;
  }
  
  .status-name {
    font-size: 0.8rem;
  }
  
  .status-text {
    font-size: 0.7rem;
  }
}
.discord-widget-presence {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.discord-widget-presence:empty::before {
  content: '';
}

.feature-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(225, 29, 72, 0.1), transparent);
  transition: left 0.6s ease;
}

.feature-item:hover::before {
  left: 100%;
}

.feature-item:hover {
  background: rgba(225, 29, 72, 0.1);
  border-color: rgba(225, 29, 72, 0.3);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.1);
}

.feature-item:hover::before {
  left: 100%;
}

.feature-item:hover {
  border-color: var(--red-main);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--red-main), var(--red-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.feature-icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  border-radius: 12px;
}

.feature-item:hover .feature-icon {
  transform: scale(1.05) rotate(3deg);
}

.feature-item:hover .feature-number {
  transform: scale(1.1);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: white;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.feature-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.feature-title {
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.feature-item:hover .feature-title {
  color: var(--red-main);
}

.feature-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  transition: color 0.3s ease;
}

.feature-item:hover .feature-desc {
  color: var(--text-main);
}

@media (max-width: 768px) {
  .admin-panel-content {
    margin: 10px;
    padding: 20px;
    max-height: calc(100vh - 20px);
  }
  
  .admin-panel-header h3 {
    font-size: 1.5rem;
  }
  
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .admin-btn {
    justify-content: center;
  }
  
  .feature-item {
    padding: 14px;
    gap: 12px;
  }
  
  .feature-icon {
    width: 40px;
    height: 40px;
  }
  
  .feature-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .feature-title {
    font-size: 0.9rem;
  }
  
  .feature-desc {
    font-size: 0.75rem;
  }
}
@media (max-width: 768px) {
  .custom-nav {
    position: fixed;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    padding: 0.5rem 0.8rem;
    border-radius: 0 0 15px 15px;
    gap: 0.05rem;
    max-width: 95%;
    overflow-x: auto;
  }

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

  .custom-nav .nav-item {
    padding: 0.4rem 0.6rem;
    margin: 0;
    min-width: fit-content;
  }

  .custom-nav .nav-item svg {
    width: 18px;
    height: 18px;
  }

  .nav-trigger {
    height: 50px;
  }

  .nav-hover-indicator {
    width: 30px;
    height: 6px;
    top: 15px;
  }
}
.custom-cursor-menu {
    position: fixed;
    background: rgba(30, 30, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 180px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.2s ease;
    font-family: inherit;
    font-size: 14px;
    color: white;
}

.custom-cursor-menu .menu-item {
    padding: 10px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.custom-cursor-menu .menu-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.custom-cursor-menu .menu-item.menu-disable {
    color: #ff6b6b;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4px;
    padding-top: 12px;
}

.custom-cursor-menu .menu-item.menu-disable:hover {
    background-color: rgba(255, 107, 107, 0.1);
}

.custom-cursor-menu .menu-sep {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 4px 0;
}

[data-theme="dark"] .custom-cursor-menu {
    background: rgba(20, 20, 20, 0.95);
    border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="light"] .custom-cursor-menu {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.1);
    color: #333;
}

[data-theme="light"] .custom-cursor-menu .menu-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .custom-cursor-menu .menu-item.menu-disable {
    color: #e74c3c;
}

[data-theme="light"] .custom-cursor-menu .menu-item.menu-disable:hover {
    background-color: rgba(231, 76, 60, 0.1);
}

[data-theme="light"] .custom-cursor-menu .menu-sep {
    background-color: rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  body {
    padding-top: 90px;
    overflow-x: hidden;
  }

  .custom-nav {
    gap: 0.05rem;
    padding: 0.5rem 1rem;
    border-radius: 0 0 16px 16px;
  }

  .custom-nav .nav-item {
    padding: 0.35rem 0.5rem;
    margin: 0;
  }

  .custom-nav .nav-item svg {
    width: 18px;
    height: 18px;
  }

  .hero-grid {
    background-size: 40px 40px;
  }

  .container {
    max-width: 100%;
    padding: var(--space-16);
  }

  .profile-picture {
    width: 80px;
    height: 80px;
  }

  .profile-info h1 {
    font-size: 2.5rem;
  }

  .nav-tab {
    padding: var(--space-8) var(--space-16);
    font-size: 0.85rem;
  }

  .intro p {
    font-size: 1rem;
  }

  .section h2 {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }

  .section h3 {
    font-size: 0.85rem;
    margin-bottom: 6px;
  }

  .section p {
    font-size: 0.8rem;
    margin-bottom: 10px;
  }

  .stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 15px;
  }

  .stat {
    padding: 10px;
    border-radius: 12px;
  }

  .stat-number {
    font-size: 1.1rem;
    margin-bottom: 3px;
  }

  .stat-label {
    font-size: 0.6rem;
  }

  .tags {
    gap: 6px;
    margin-bottom: 10px;
  }

  .tag {
    padding: 6px 10px;
    font-size: 0.65rem;
    border-radius: 18px;
  }

  .project-highlight {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 12px;
  }

  .project-highlight h3 {
    font-size: 0.85rem;
    margin-bottom: 5px;
  }

  .project-highlight p {
    font-size: 0.75rem;
  }

  [data-name="BMC-Widget"],
  .bmc-btn,
  #bmc-wbtn {
    bottom: 20px !important;
    right: 20px !important;
    width: 50px !important;
    height: 50px !important;
  }

  .theme-toggle {
    bottom: 80px;
  }
}
@media (max-width: 480px) {
  body {
    padding-top: 85px;
    overflow-x: hidden;
  }

  .custom-nav {
    border-radius: 0 0 14px 14px;
    gap: 0.05rem;
    padding: 0.35rem 0.6rem;
  }

  .custom-nav .nav-item {
    padding: 0.3rem 0.4rem;
    margin: 0;
  }

  .custom-nav .nav-item svg {
    width: 16px;
    height: 16px;
  }

  .container {
    padding: var(--space-16);
  }

  .profile-picture {
    width: 72px;
    height: 72px;
  }

  .profile-info h1 {
    font-size: 2rem;
  }

  .nav-tab {
    padding: var(--space-8) var(--space-12);
    font-size: 0.8rem;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    padding: var(--space-16);
  }

  .stat {
    padding: var(--space-16);
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .section h2 {
    font-size: 1rem;
  }

  .tags {
    gap: var(--space-8);
    margin-bottom: 8px;
  }

  .tag {
    padding: 4px 8px;
    font-size: 0.6rem;
    border-radius: 16px;
  }

  .project-highlight {
    padding: 8px;
    margin-bottom: 8px;
    border-radius: 10px;
  }

  .project-highlight h3 {
    font-size: 0.8rem;
    margin-bottom: 3px;
  }

  .project-highlight p {
    font-size: 0.7rem;
  }

  [data-name="BMC-Widget"],
  .bmc-btn,
  #bmc-wbtn {
    bottom: 15px !important;
    right: 15px !important;
    width: 45px !important;
    height: 45px !important;
  }

  .theme-toggle {
    width: 45px;
    height: 45px;
    bottom: 65px;
    right: 15px;
  }

  .theme-toggle svg {
    width: 18px;
    height: 18px;
  }
}
@media (max-width: 360px) {
  body {
    padding-top: 75px;
    overflow-x: hidden;
  }

  .custom-nav {
    padding: 0.25rem 0.3rem;
    gap: 0.04rem;
  }

  .custom-nav .nav-item {
    padding: 0.2rem 0.25rem;
  }

  .custom-nav .nav-item svg {
    width: 13px;
    height: 13px;
  }

  .container {
    padding: var(--space-8);
  }

  .profile-picture {
    width: 64px;
    height: 64px;
  }

  .profile-info h1 {
    font-size: 3.25rem;
  }

  .nav-tab {
    padding: var(--space-8);
    font-size: 0.75rem;
  }

  .stats {
    padding: var(--space-8);
    gap: var(--space-8);
  }

  .stat {
    padding: var(--space-12);
  }

  .stat-number {
    font-size: 1.25rem;
  }

  .section h2 {
    font-size: 0.95rem;
  }

  .tags {
    gap: 4px;
    margin-bottom: 6px;
  }

  .tag {
    padding: 3px 6px;
    font-size: 0.55rem;
    border-radius: 14px;
  }

  .project-highlight {
    padding: 6px;
    margin-bottom: 6px;
    border-radius: 8px;
  }

  .project-highlight h3 {
    font-size: 0.75rem;
    margin-bottom: 2px;
  }

  .project-highlight p {
    font-size: 0.65rem;
  }

  [data-name="BMC-Widget"],
  .bmc-btn,
  #bmc-wbtn {
    bottom: 12px !important;
    right: 12px !important;
    width: 40px !important;
    height: 40px !important;
  }

  .theme-toggle {
    width: 40px;
    height: 40px;
    bottom: 55px;
    right: 12px;
  }

  .theme-toggle svg {
    width: 16px;
    height: 16px;
  }
}

.contact-feedback-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 20px 80px;
  position: relative;
  align-items: stretch;
}

.contact-feedback-wrapper .contact-section {
  padding: 0;
  display: flex;
  min-height: 0;
}

.contact-feedback-wrapper .contact-wrap {
  max-width: none;
  min-height: 460px;
  flex: 1;
}
.contact-feedback-wrapper .contact-form-wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  justify-content: flex-start;
}

.contact-feedback-wrapper .contact-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 24px;
  min-height: 0;
}

.contact-feedback-wrapper .contact-form-footer {
  margin-top: auto;
  padding-top: 8px;
}

@media (max-width: 900px) {
  .contact-feedback-wrapper {
    grid-template-columns: 1fr;
    padding: 50px 20px 60px;
  }
}

@media (max-width: 600px) {
  .contact-feedback-wrapper {
    padding: 40px 16px 50px;
  }
}

.contact-section {
  padding: 70px 20px 80px;
  position: relative;
}

.contact-wrap {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 420px;
}

.contact-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--red-main), var(--red-soft));
  opacity: 0.9;
}

.contact-container {
  display: contents;
}

.contact-side {
  padding: 40px 36px 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, var(--bg-soft) 0%, var(--bg-card) 100%);
  border-right: 1px solid var(--border-soft);
}

.contact-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: rgba(225, 29, 72, 0.12);
  border: 1px solid rgba(225, 29, 72, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.contact-icon {
  color: var(--red-main);
}

.contact-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 10px;
  font-family: inherit;
  letter-spacing: -0.02em;
}

.contact-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 24px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}

.contact-detail-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.contact-detail-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red-main);
}

.contact-form-wrap {
  padding: 40px 44px 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-field {
  position: relative;
}

.contact-field label {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: transform 0.2s ease, font-size 0.2s ease, color 0.2s ease;
  font-family: inherit;
}

.contact-field-textarea label {
  top: 22px;
  transform: none;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 16px 0 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--border-soft);
  border-radius: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
  min-height: 48px;
}

.contact-field textarea {
  min-height: 100px;
  padding-top: 22px;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: transparent;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-bottom-color: var(--red-main);
  box-shadow: 0 2px 0 0 var(--red-main);
}

.contact-field input:not(:placeholder-shown) ~ label,
.contact-field input:focus ~ label,
.contact-field textarea:not(:placeholder-shown) ~ label,
.contact-field textarea:focus ~ label {
  transform: translateY(-28px) scale(0.85);
  color: var(--red-main);
}

.contact-field-textarea input:not(:placeholder-shown) ~ label,
.contact-field-textarea textarea:not(:placeholder-shown) ~ label,
.contact-field-textarea input:focus ~ label,
.contact-field-textarea textarea:focus ~ label {
  transform: translateY(-18px) scale(0.85);
}

.contact-field input.error,
.contact-field textarea.error {
  border-bottom-color: var(--red-main);
  box-shadow: 0 2px 0 0 rgba(225, 29, 72, 0.4);
}

.custom-select-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.custom-select-wrap {
  position: relative;
}

.custom-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--border-soft);
  border-radius: 0;
  cursor: pointer;
  min-height: 48px;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-select-trigger:hover {
  border-bottom-color: var(--text-muted);
}

.custom-select-trigger[aria-expanded="true"] {
  outline: none;
  border-bottom-color: var(--red-main);
  box-shadow: 0 2px 0 0 var(--red-main);
}

.custom-select-value {
  flex: 1;
}

.custom-select-chevron {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.custom-select-trigger[aria-expanded="true"] .custom-select-chevron {
  transform: rotate(180deg);
  color: var(--red-main);
}

.custom-select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 4px;
  padding: 6px 0;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  z-index: 100;
  max-height: 240px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.custom-select-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-select-option {
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.custom-select-option:hover {
  background: var(--bg-soft);
  color: var(--red-main);
}

.custom-select-option.selected {
  background: rgba(225, 29, 72, 0.12);
  color: var(--red-main);
  font-weight: 600;
}

.custom-select-option:focus {
  outline: none;
  background: var(--bg-soft);
}

.custom-select-option:first-child {
  border-radius: 8px 8px 0 0;
}

.custom-select-option:last-child {
  border-radius: 0 0 8px 8px;
}

.contact-field .select-label {
  position: static;
  transform: none;
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted, rgba(255,255,255,0.6));
  margin-bottom: 4px;
}

.contact-form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.feedback-gotcha {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.feedback-char-count {
  font-size: 0.75rem;
  color: var(--text-muted, rgba(255, 255, 255, 0.5));
  margin-top: 4px;
  display: block;
}

.contact-form-status {
  font-size: 0.875rem;
  margin: 0;
  min-height: 1.4em;
  flex: 1 1 100%;
  order: -1;
}

.contact-form-status:focus {
  outline: none;
}

.contact-form-status.success {
  color: #22c55e;
}

.contact-form-status.error {
  color: var(--red-soft);
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--red-main);
  background: transparent;
  border: 2px solid var(--red-main);
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.contact-submit:hover {
  background: var(--red-main);
  color: white;
  box-shadow: var(--glow-red);
}

.contact-submit-arrow,
.contact-submit-text {
  transition: opacity 0.2s ease, transform 0.25s ease;
}

.contact-submit:hover .contact-submit-arrow {
  transform: translateX(4px);
}

.contact-submit-loader {
  display: none;
  position: absolute;
  align-items: center;
  justify-content: center;
}

.contact-submit.is-loading .contact-submit-text,
.contact-submit.is-loading .contact-submit-arrow {
  visibility: hidden;
}

.contact-submit.is-loading .contact-submit-loader {
  display: inline-flex;
}

.contact-spinner {
  width: 20px;
  height: 20px;
  animation: contact-spin 0.8s linear infinite;
}

@keyframes contact-spin {
  to { transform: rotate(360deg); }
}

.contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact-submit.is-loading:disabled {
  cursor: wait;
}

.contact-form-wrap {
  position: relative;
  min-height: 320px;
}

.feedback-form-view {
  display: flex;
  flex-direction: column;
  flex: 1;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.feedback-form-view.is-hidden {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.98) translateY(4px);
}

.feedback-success-view {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
  opacity: 0;
  transform: scale(0.96) translateY(8px);
  pointer-events: none;
  transition: opacity 0.4s ease 0.08s, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.08s;
}

.feedback-success-view.is-visible {
  position: relative;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.feedback-success-icon-wrap {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  color: #22c55e;
  flex-shrink: 0;
}

.feedback-success-check {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 12px rgba(34, 197, 94, 0.25));
}

.feedback-success-circle {
  stroke-dasharray: 157;
  stroke-dashoffset: 157;
  transition: stroke-dashoffset 0.5s cubic-bezier(0.65, 0, 0.35, 1) 0.2s;
}

.feedback-success-path {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  transition: stroke-dashoffset 0.35s cubic-bezier(0.65, 0, 0.35, 1) 0.45s;
}

.feedback-success-view.is-visible .feedback-success-circle {
  stroke-dashoffset: 0;
}

.feedback-success-view.is-visible .feedback-success-path {
  stroke-dashoffset: 0;
}

.feedback-success-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.feedback-success-message {
  font-size: 1rem;
  color: var(--text-soft);
  margin: 0 0 28px;
  max-width: 320px;
  line-height: 1.5;
}

.feedback-send-another {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--red-main);
  background: transparent;
  border: 2px solid var(--red-main);
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
}

.feedback-send-another:hover {
  background: var(--red-main);
  color: white;
  box-shadow: var(--glow-red);
}

.feedback-send-another svg {
  transition: transform 0.25s ease;
}

.feedback-send-another:hover svg {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .contact-wrap {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .contact-side {
    padding: 32px 24px 28px 28px;
    border-right: none;
    border-bottom: 1px solid var(--border-soft);
  }

  .contact-accent {
    width: 100%;
    height: 4px;
    bottom: auto;
  }

  .contact-icon-wrap {
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
  }

  .contact-icon {
    width: 28px;
    height: 28px;
  }

  .contact-title {
    font-size: 1.65rem;
  }

  .contact-form-wrap {
    padding: 28px 24px 32px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .contact-section {
    padding: 40px 16px 50px;
  }

  .contact-side,
  .contact-form-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.footer {
  background: transparent;
  padding: 28px 20px 0;
  margin-top: 24px;
  position: relative;
  overflow: hidden;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-soft);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.footer-brand .footer-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  font-family: inherit;
}

.footer-description {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0 auto;
}
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.social-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--red-main), var(--red-soft));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.social-link:hover {
  color: white;
  transform: translateY(-4px) scale(1.08);
  border-color: var(--red-main);
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.2);
}

.social-link:hover::before {
  opacity: 1;
}

.social-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
  margin: auto;
}

.social-link:hover svg {
  transform: rotate(10deg) scale(1.1);
}
.footer-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 4px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(135deg, var(--red-main), var(--red-soft));
  border-radius: 1px;
  transition: width 0.3s ease;
}

.footer-section:hover .footer-heading::after {
  width: 50px;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-links li {
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
  display: inline-block;
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: -16px;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--red-main);
  padding-left: 12px;
}

.footer-links a:hover::before {
  opacity: 1;
}
.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 0;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer-bottom p:hover {
  color: var(--text-main);
}

.footer-powered {
  font-weight: 500;
  color: var(--text-muted);
}

.heart {
  display: inline-block;
  animation: heartBeat 1.5s ease-in-out infinite;
  margin: 0 4px;
  vertical-align: middle;
  color: var(--red-main);
}

.heart svg {
  width: 18px;
  height: 18px;
  display: inline;
  margin: 0 2px;
  vertical-align: middle;
  stroke: var(--red-main);
  stroke-width: 1.5;
}

@keyframes heartBeat {
  0%, 100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.1);
  }
  50% {
    transform: scale(1.2);
  }
}
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding-bottom: 16px;
  }

  .footer {
    padding: 22px 20px 0;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-bottom: 18px;
  }

  .footer {
    padding: 20px 15px 0;
    margin-top: 16px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand .footer-title {
    font-size: 1.35rem;
  }

  .footer-description {
    font-size: 0.8rem;
  }

  .footer-socials {
    gap: 8px;
    flex-wrap: wrap;
  }

  .social-link {
    width: 38px;
    height: 38px;
  }

  .social-link svg {
    width: 17px;
    height: 17px;
  }

  .footer-heading {
    font-size: 0.9rem;
    letter-spacing: 0.3px;
  }

  .footer-links a {
    font-size: 0.8rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    padding: 10px 0;
  }

  .footer-bottom p {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-bottom: 14px;
  }

  .footer {
    padding: 16px 12px 0;
    margin-top: 12px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    gap: 8px;
  }

  .footer-brand .footer-title {
    font-size: 1.25rem;
  }

  .footer-description {
    font-size: 0.78rem;
  }

  .footer-socials {
    gap: 8px;
    flex-wrap: wrap;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }

  .social-link svg {
    width: 16px;
    height: 16px;
  }

  .footer-heading {
    font-size: 0.85rem;
    letter-spacing: 0.2px;
  }

  .footer-links {
    gap: 8px;
  }

  .footer-links a {
    font-size: 0.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    padding: 8px 0;
  }

  .footer-bottom p {
    font-size: 0.7rem;
  }
}

.contributors-section {
  padding: var(--space-48) var(--space-24) var(--space-48);
  position: relative;
  overflow: hidden;
}

.contributors-inner {
  max-width: var(--layout-max);
  margin: 0 auto;
}

.contributors-title {
  font-family: inherit;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  text-align: center;
}

.contributors-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 var(--space-32);
  text-align: center;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.contributors-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent 0,
    black var(--space-32),
    black calc(100% - var(--space-32)),
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    black var(--space-32),
    black calc(100% - var(--space-32)),
    transparent 100%
  );
}

.contributors-track {
  display: flex;
  width: max-content;
  animation: contributors-scroll 50s linear infinite;
  will-change: transform;
}

.contributors-carousel:hover .contributors-track {
  animation-play-state: paused;
}

@keyframes contributors-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .contributors-track {
    animation: none;
  }
}

.contributors-track-set {
  display: flex;
  gap: var(--space-24);
  flex-shrink: 0;
  padding: 0 var(--space-16);
}

.contributor-card {
  flex-shrink: 0;
  width: 280px;
  display: flex;
  align-items: center;
  gap: var(--space-16);
  padding: var(--space-20);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contributor-card:hover {
  border-color: var(--red-main);
  box-shadow: var(--shadow-md);
}

.contributor-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border-soft);
}

.contributor-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.contributor-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.3;
}

.contributor-role {
  font-size: 0.85rem;
  color: var(--red-main);
  line-height: 1.3;
}

.contributor-line {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 2px;
}

.contributor-card .contributor-info .contributor-line:empty,
.contributor-card .contributor-info .contributor-line:last-child:empty {
  display: none;
}

[data-theme="light"] .contributor-card {
  background: var(--bg-card);
  border-color: var(--border-soft);
}

[data-theme="light"] .contributor-card:hover {
  border-color: var(--red-main);
}

@media (max-width: 768px) {
  .contributors-section {
    padding: var(--space-32) var(--space-16) var(--space-32);
  }

  .contributors-title {
    font-size: 1.65rem;
  }

  .contributors-subtitle {
    font-size: 0.9rem;
    margin-bottom: var(--space-24);
  }

  .contributors-carousel {
    mask-image: linear-gradient(
      to right,
      transparent 0,
      black var(--space-16),
      black calc(100% - var(--space-16)),
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0,
      black var(--space-16),
      black calc(100% - var(--space-16)),
      transparent 100%
    );
  }

  .contributors-track-set {
    gap: var(--space-16);
    padding: 0 var(--space-8);
  }

  .contributor-card {
    width: 260px;
    padding: var(--space-16);
    gap: var(--space-12);
  }

  .contributor-avatar {
    width: 52px;
    height: 52px;
  }

  .contributor-name {
    font-size: 0.95rem;
  }

  .contributor-role {
    font-size: 0.8rem;
  }

  .contributor-line {
    font-size: 0.75rem;
  }
}

.feedback-popout {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-24);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.feedback-popout.is-visible {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.feedback-popout-inner {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--bg-card);
  color: var(--text-main);
  border-radius: 20px;
  padding: var(--space-32) var(--space-24);
  box-shadow: var(--shadow), var(--glow-soft);
  border: 1px solid var(--border-soft);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feedback-popout.is-visible .feedback-popout-inner {
  transform: scale(1) translateY(0);
}

.feedback-popout-close {
  position: absolute;
  top: var(--space-16);
  right: var(--space-16);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.feedback-popout-close:hover {
  color: var(--text-main);
  background: var(--border-soft);
}

.feedback-popout-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 var(--space-8);
  padding-right: 44px;
  line-height: 1.3;
}

.feedback-popout-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 0 var(--space-24);
  line-height: 1.5;
}

.feedback-popout-options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
  justify-content: space-between;
}

.feedback-option {
  flex: 1;
  min-width: 64px;
  max-width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-12) var(--space-8);
  background: transparent;
  border: none;
  border-radius: var(--border-radius);
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.feedback-option:hover {
  background: var(--bg-soft);
  color: var(--red-main);
}

.feedback-option:focus-visible {
  outline: 2px solid var(--red-main);
  outline-offset: 2px;
}

.feedback-option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.feedback-option-icon svg {
  width: 36px;
  height: 36px;
}

.feedback-option-label {
  font-size: 0.85rem;
  font-weight: 500;
}

.feedback-popout-cta {
  margin: var(--space-20) 0 0;
  padding-top: var(--space-16);
  border-top: 1px solid var(--border-soft);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.feedback-popout-link {
  color: var(--red-main);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.feedback-popout-link:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .feedback-popout-options {
    gap: var(--space-12);
  }
  .feedback-option {
    min-width: 56px;
    max-width: none;
  }
  .feedback-option-icon svg {
    width: 32px;
    height: 32px;
  }
}
