.sp {
  width: min(1400px, 95%);
  margin: 0 auto;
  padding: 0 clamp(1rem, 2vw, 2rem) 4rem;
  position: relative;
  z-index: 2;
}

.sp-hero {
  position: relative;
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 3rem) clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2rem);
  margin-top: clamp(1rem, 2vw, 1.5rem);
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(124, 58, 237, 0.08);
  background: linear-gradient(170deg, rgba(124, 58, 237, 0.05) 0%, rgba(8, 9, 15, 0.97) 40%, rgba(124, 58, 237, 0.03) 100%);
}

.sp-hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.sp-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.2;
  will-change: transform;
}

.sp-orb--1 {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, #7c3aed, transparent 70%);
  top: -80px;
  right: -50px;
  animation: spFloat1 16s ease-in-out infinite;
}

.sp-orb--2 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, #8b5cf6, transparent 70%);
  bottom: -50px;
  left: -30px;
  animation: spFloat2 20s ease-in-out infinite;
}

@keyframes spFloat1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-15px, 12px); }
}

@keyframes spFloat2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(12px, -15px); }
}

.sp-hero__content {
  position: relative;
  z-index: 1;
}

.sp-badge {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.14);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(167, 139, 250, 0.7);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.sp-hero__title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.15;
  margin: 0 0 0.7rem;
  text-align: center;
  font-family: 'Inter', system-ui, sans-serif;
}

.sp-t__thin {
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
}

.sp-t__glow {
  position: relative;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #c4b5fd 0%, #a78bfa 40%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sp-t__glow::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: blur(32px);
  opacity: 0.25;
  pointer-events: none;
  z-index: -1;
}

.sp-hero__sub {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.38);
  margin: 0 auto;
  max-width: 400px;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.sp-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem auto 0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 0.8rem 1.8rem;
  max-width: 460px;
  position: relative;
  z-index: 1;
}

.sp-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.sp-stat__val {
  font-size: 1.3rem;
  font-weight: 700;
  color: rgba(167, 139, 250, 0.85);
}

.sp-stat__lbl {
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sp-stat__sep {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  margin: 0 0.8rem;
}

.sp-tabs {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin: 1.25rem auto 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 4px;
  max-width: 380px;
}

.sp-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 18px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.sp-tab:hover {
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.02);
}

.sp-tab.active {
  background: rgba(124, 58, 237, 0.12);
  color: rgba(167, 139, 250, 0.9);
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.08);
}

.sp-tab svg { flex-shrink: 0; }

.sp .support-section {
  display: none;
  animation: spFadeIn 0.4s ease;
}

.sp .support-section.active {
  display: block;
}

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

.sp-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.sp-type {
  position: relative;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 22px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.sp-type::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(160deg, rgba(124, 58, 237, 0.35), transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.sp-type:hover {
  transform: translateY(-4px);
  background: rgba(124, 58, 237, 0.04);
  border-color: rgba(124, 58, 237, 0.15);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25), 0 0 30px rgba(124, 58, 237, 0.06);
}

.sp-type:hover::before { opacity: 1; }

.sp-type__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.35s ease;
}

.sp-type:hover .sp-type__icon { transform: translateY(-2px); }

.sp-type__icon--general {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(124, 58, 237, 0.05));
  border: 1px solid rgba(124, 58, 237, 0.2);
  color: #a78bfa;
}

.sp-type__icon--replacement {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.sp-type__icon--discovery {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.sp-type__body h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.sp-type__body p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

.sp-type__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sp-type__time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

.sp-type__time svg { color: rgba(167, 139, 250, 0.6); }

.sp-type__arrow {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.sp-type:hover .sp-type__arrow {
  color: #a78bfa;
  transform: translateX(4px);
}

.sp .form-container {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 28px;
  display: none;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.sp .form-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.15), transparent);
  pointer-events: none;
}

.sp .form-container.active {
  display: block;
  animation: spFadeIn 0.4s ease;
}

.sp .form-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sp .form-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.sp .form-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.sp-form-sub {
  color: rgba(255, 255, 255, 0.4);
  margin: 4px 0 0;
  font-size: 0.88rem;
}

.sp .back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 20px;
  font-family: inherit;
}

.sp .back-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
}

.sp .form-group { margin-bottom: 20px; }

.sp .form-label {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.sp .form-label.required::after {
  content: ' *';
  color: #f87171;
}

.sp .form-input,
.sp .form-textarea,
.sp .form-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 11px 14px;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.25s ease;
  font-family: inherit;
}

.sp .form-input:focus,
.sp .form-textarea:focus {
  border-color: rgba(124, 58, 237, 0.3);
  background: rgba(124, 58, 237, 0.03);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.06);
}

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

.sp .custom-select { position: relative; width: 100%; }

.sp .select-trigger {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 11px 14px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.25s ease;
}

.sp .select-trigger::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(255, 255, 255, 0.3);
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.sp .custom-select.open .select-trigger {
  border-color: rgba(124, 58, 237, 0.3);
  background: rgba(124, 58, 237, 0.03);
}

.sp .custom-select.open .select-trigger::after {
  transform: rotate(-135deg);
  margin-top: 3px;
  border-color: #a78bfa;
}

.sp .select-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  background: #0e0f16;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  z-index: 100;
  display: none;
  max-height: 280px;
  overflow-y: auto;
}

.sp .custom-select.open .select-options { display: block; }

.sp .select-option {
  padding: 10px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.sp .select-option:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.sp .select-option.selected {
  background: rgba(124, 58, 237, 0.12);
  color: #a78bfa;
  font-weight: 600;
}

.sp .file-upload {
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.015);
}

.sp .file-upload:hover,
.sp .file-upload.dragover {
  border-color: rgba(124, 58, 237, 0.3);
  background: rgba(124, 58, 237, 0.03);
}

.sp .upload-icon {
  font-size: 32px;
  color: #a78bfa;
  margin-bottom: 10px;
}

.sp .upload-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}

.sp .upload-hint {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

.sp .files-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.sp .file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  animation: spFadeIn 0.3s ease;
}

.sp .file-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.12);
  color: #a78bfa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.sp .file-item-preview {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.sp .file-item-info {
  flex: 1;
  overflow: hidden;
}

.sp .file-item-name {
  font-size: 0.88rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.sp .file-item-meta {
  display: flex;
  gap: 10px;
  font-size: 0.75rem;
}

.sp .file-size { color: rgba(255, 255, 255, 0.4); }
.sp .file-status { font-weight: 500; color: rgba(255, 255, 255, 0.4); }

.sp .file-item-remove {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.sp .file-item-remove:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.sp .submit-btn {
  background: linear-gradient(135deg, #7c3aed, #a78bfa) !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 14px 28px !important;
  color: white !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px !important;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.25) !important;
  font-family: inherit;
}

.sp .submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.35) !important;
}

.sp .submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.sp-warning {
  padding: 1rem;
  background: rgba(251, 191, 36, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.18);
  border-radius: 14px;
  margin-bottom: 1.5rem;
  display: none;
}

.sp-warning__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sp-warning__icon {
  color: #fbbf24;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.sp-warning__title {
  font-weight: 600;
  color: #fbbf24;
  margin-bottom: 2px;
  font-size: 0.9rem;
}

.sp-warning__text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.sp-conditions {
  margin-top: 24px;
  padding: 18px;
  background: rgba(251, 191, 36, 0.05);
  border-left: 3px solid rgba(251, 191, 36, 0.35);
  border-radius: 12px;
}

.sp-conditions__title {
  margin: 0 0 12px;
  color: #fbbf24;
  font-size: 0.95rem;
  font-weight: 600;
}

.sp-conditions__list {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  line-height: 2;
}

.sp-conditions__list p { margin: 0; }

.sp .error-message {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #f87171;
  font-size: 0.82rem;
  margin-top: 6px;
}

.sp .form-group.error .form-input,
.sp .form-group.error .form-textarea {
  border-color: rgba(239, 68, 68, 0.4);
}

.sp-tickets {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sp-ticket {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.sp-ticket::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
}

.sp-ticket--open::before { background: #4ade80; }
.sp-ticket--in_progress::before { background: #fbbf24; }
.sp-ticket--closed::before { background: rgba(255, 255, 255, 0.2); }
.sp-ticket--rejected::before { background: #f87171; }

.sp-ticket:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(124, 58, 237, 0.15);
  transform: translateX(4px);
}

.sp-ticket__body {
  flex: 1;
  min-width: 0;
}

.sp-ticket__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.sp-ticket__title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp-ticket__type {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.sp-ticket__type--general { background: rgba(124, 58, 237, 0.1); color: #a78bfa; }
.sp-ticket__type--replacement { background: rgba(245, 158, 11, 0.1); color: #fbbf24; }
.sp-ticket__type--discovery { background: rgba(16, 185, 129, 0.1); color: #34d399; }

.sp-ticket__desc {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 6px;
}

.sp-ticket__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}

.sp-ticket__reward { color: #4ade80; font-weight: 600; }

.sp-ticket__status {
  flex-shrink: 0;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.sp-ticket__status--open { background: rgba(34, 197, 94, 0.12); color: #4ade80; }
.sp-ticket__status--in_progress { background: rgba(251, 191, 36, 0.12); color: #fbbf24; }
.sp-ticket__status--closed { background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.4); }
.sp-ticket__status--rejected { background: rgba(239, 68, 68, 0.12); color: #f87171; }

.sp-ticket__arrow {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  display: flex;
}

.sp-ticket:hover .sp-ticket__arrow {
  color: #a78bfa;
  transform: translateX(3px);
}

.sp-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: rgba(255, 255, 255, 0.35);
}

.sp-empty__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.35;
}

.sp-empty h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.55);
}

.sp-empty p {
  margin: 0;
  font-size: 0.9rem;
}

.sp-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
}

.sp-modal.show { display: flex; }

.sp-modal__panel {
  background: #0d0e14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  width: 90%;
  max-width: 720px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  animation: spModalIn 0.3s ease;
}

@keyframes spModalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.sp-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.sp-modal__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.sp-modal__close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 16px;
}

.sp-modal__close:hover {
  background: rgba(124, 58, 237, 0.12);
  color: #a78bfa;
  border-color: rgba(124, 58, 237, 0.2);
}

.sp-modal__body {
  flex: 1;
  overflow-y: auto;
}

.sp-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.015);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sp-info-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sp-info-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 600;
}

.sp-info-val {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sp-desc {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

.sp-desc strong {
  color: #fff;
  display: block;
  margin-bottom: 6px;
}

.sp-attachments {
  padding: 0 24px 16px;
}

.sp-attachments__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 8px;
  display: block;
}

.sp-attachments__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sp-attachments__grid a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.2s;
}

.sp-attachments__grid a:hover { transform: scale(1.02); }

.sp-attachments__grid img {
  max-width: 100%;
  max-height: 260px;
  object-fit: contain;
  display: block;
}

.sp-attachments__grid video {
  max-width: 100%;
  border-radius: 10px;
}

.sp-messages {
  padding: 20px 24px;
  max-height: 360px;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sp-msg {
  display: flex;
  gap: 10px;
  max-width: 85%;
}

.sp-msg--admin {
  flex-direction: row-reverse;
  align-self: flex-end;
}

.sp-msg__avatar {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: white;
  flex-shrink: 0;
}

.sp-msg--user .sp-msg__avatar { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.sp-msg--admin .sp-msg__avatar { background: linear-gradient(135deg, #3b82f6, #60a5fa); }

.sp-msg__content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sp-msg--admin .sp-msg__content { align-items: flex-end; }

.sp-msg__bubble {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  word-break: break-word;
  color: #fff;
}

.sp-msg--admin .sp-msg__bubble {
  background: rgba(124, 58, 237, 0.06);
  border-color: rgba(124, 58, 237, 0.12);
}

.sp-msg__time {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.25);
  padding: 0 4px;
}

.sp-msg__files {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.sp-msg__files a {
  display: block;
  max-width: 180px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.2s;
}

.sp-msg__files a:hover { transform: scale(1.02); }
.sp-msg__files img { width: 100%; display: block; }

.sp-msg__files .sp-file-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  color: #a78bfa;
  text-decoration: none;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.sp-reply {
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.015);
}

.sp-reply .files-list {
  margin-bottom: 10px;
}

.sp-reply__input {
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  min-height: 70px;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s ease;
}

.sp-reply__input:focus {
  border-color: rgba(124, 58, 237, 0.3);
}

.sp-reply__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.sp-reply__attach {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  font-family: inherit;
}

.sp-reply__attach:hover {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
}

.sp-reply__send {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  border: none;
  color: white;
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
  font-family: inherit;
}

.sp-reply__send:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.3);
}

.sp-reply__send:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.sp-section {
  margin-bottom: 24px;
}

.sp-section__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.sp-section__head svg {
  width: 15px;
  height: 15px;
  color: rgba(167, 139, 250, 0.6);
  flex-shrink: 0;
}

.sp-section__head span {
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sp-field {
  margin-bottom: 14px;
  position: relative;
}

.sp-field__wrap {
  position: relative;
}

.sp-field__ico {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.2);
  transition: color 0.3s ease;
  z-index: 2;
  pointer-events: none;
  font-size: 13px;
  width: 16px;
  text-align: center;
}

.sp-field--area .sp-field__ico {
  top: 24px;
  transform: none;
}

.sp-field__wrap:focus-within .sp-field__ico {
  color: #a78bfa;
}

.sp-field__input {
  width: 100%;
  padding: 22px 14px 8px 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  color: #fff;
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

textarea.sp-field__input {
  min-height: 120px;
  resize: vertical;
  padding-top: 28px;
}

.sp-field__input:focus {
  border-color: rgba(124, 58, 237, 0.35);
  background: rgba(124, 58, 237, 0.025);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.06), 0 4px 16px rgba(0, 0, 0, 0.08);
}

.sp-field__label {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;
  font-weight: 500;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 56px);
}

.sp-field__input:focus + .sp-field__label,
.sp-field__input:not(:placeholder-shown) + .sp-field__label {
  top: 11px;
  transform: translateY(0);
  font-size: 0.66rem;
  color: #a78bfa;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.sp-field--area .sp-field__label {
  top: 20px;
  transform: none;
}

.sp-field--area .sp-field__input:focus + .sp-field__label,
.sp-field--area .sp-field__input:not(:placeholder-shown) + .sp-field__label {
  top: 8px;
  font-size: 0.66rem;
  color: #a78bfa;
  font-weight: 600;
}

.sp-req { color: #f87171; }

.sp-field--select .sp-field__wrap {
  position: relative;
}

.sp-field--select .custom-select {
  width: 100%;
}

.sp-field--select .select-trigger {
  padding: 14px 14px 14px 40px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.sp-field--select .custom-select.open .select-trigger {
  border-color: rgba(124, 58, 237, 0.35);
  background: rgba(124, 58, 237, 0.025);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.06);
  color: #fff;
}

.sp-field--select .select-option.selected ~ .select-trigger,
.sp-field--select .custom-select .select-trigger:not(:empty) {
  color: #fff;
}

.sp-field--select .select-options {
  border-radius: 14px;
}

.sp-upload {
  border: 2px dashed rgba(124, 58, 237, 0.12);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(124, 58, 237, 0.015);
}

.sp-upload:hover,
.sp-upload.dragover {
  border-color: rgba(124, 58, 237, 0.3);
  background: rgba(124, 58, 237, 0.04);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.sp-upload__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: #a78bfa;
  font-size: 20px;
  transition: transform 0.3s ease;
}

.sp-upload:hover .sp-upload__icon {
  transform: translateY(-3px) scale(1.05);
}

.sp-upload__text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
}

.sp-upload__hint {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.28);
}

.sp-submit {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 15px 28px;
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  border: none;
  border-radius: 14px;
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.25);
  transition: all 0.3s ease;
  font-family: inherit;
}

.sp-submit::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  transform: rotate(25deg);
  transition: left 0.6s ease;
}

.sp-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.35);
}

.sp-submit:hover::after { left: 100%; }

.sp-submit:active { transform: translateY(0); }

.sp-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.sp-submit:disabled::after { display: none; }

.sp-field.error .sp-field__input {
  border-color: rgba(239, 68, 68, 0.4);
}

.sp-field.error .sp-field__ico { color: #f87171; }

.sp-field .error-message {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #f87171;
  font-size: 0.78rem;
  margin-top: 6px;
  padding-left: 4px;
}

.form-group:not(.sp-field) .error-message {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #f87171;
  font-size: 0.78rem;
  margin-top: 6px;
}

@media (max-width: 900px) {
  .sp-types { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .sp { padding: 0 1rem 3rem; }
  .sp-hero { padding: 1.75rem 1.25rem 1.25rem; border-radius: 20px; }
  .sp-t__glow { font-size: inherit; }
  .sp-hero__title { font-size: 1.9rem; }
  .sp-stats { flex-direction: column; gap: 10px; padding: 1rem; max-width: none; }
  .sp-stat__sep { width: 40px; height: 1px; margin: 0; }
  .sp-tabs { max-width: none; }
  .sp-ticket { flex-direction: column; align-items: stretch; }
  .sp-ticket__status { align-self: flex-start; }
  .sp-ticket__arrow { display: none; }
  .sp-modal__panel { width: 100%; max-height: 100vh; border-radius: 0; max-width: none; }
  .sp-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .sp-hero { padding: 1.5rem 1rem 1rem; }
  .sp-hero__title { font-size: 1.6rem; }
  .sp-badge { font-size: 0.7rem; }
  .sp-tab { padding: 8px 12px; font-size: 0.82rem; }
  .sp .form-container { padding: 20px; }
}
