/* Dashboard Styles - Euphoria Theme */

.dashboard-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  z-index: 1500;
  overflow-y: auto;
  padding: 2rem;
}

.dashboard-section.hidden {
  display: none;
}

.dashboard-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

/* Loading & Error States */
.loading {
  text-align: center;
  padding: 4rem;
  font-size: 1.2rem;
  color: var(--muted);
}

.loading i {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
  color: var(--purple);
}

.error-state {
  text-align: center;
  padding: 4rem 2rem;
}

.error-state i {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.btn-retry {
  margin-top: 1rem;
  padding: 0.8rem 2rem;
  background: var(--purple);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

/* Dashboard Navigation */
.dash-nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: rgba(7, 5, 15, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  margin: -2rem -2rem 2rem -2rem;
}

.dash-nav-logo {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.dash-nav-logo span:first-child {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--purple2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-logo-sub {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

.dash-nav-actions {
  display: flex;
  gap: 1rem;
}

.dash-nav-btn {
  padding: 0.7rem 1.5rem;
  background: rgba(124, 92, 191, 0.1);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'DM Sans', sans-serif;
}

.dash-nav-btn:hover {
  border-color: var(--purple2);
  background: rgba(124, 92, 191, 0.2);
  transform: translateY(-2px);
}

.dash-nav-btn.logout {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
}

.dash-nav-btn.logout:hover {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.2);
}

/* Hero Section */
.dash-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.dash-hero-content h1 {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.dash-hero-content h1 span {
  background: linear-gradient(135deg, var(--accent), var(--purple2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dash-hero-content p {
  color: var(--muted);
  font-size: 1.1rem;
}

.dash-hero-stats {
  display: flex;
  gap: 2rem;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(124, 92, 191, 0.1);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.hero-stat i {
  font-size: 1.8rem;
  color: var(--purple2);
}

.hero-stat.clickable {
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.hero-stat.clickable:hover {
  transform: translateY(-5px);
  border-color: var(--purple);
  background: rgba(124, 92, 191, 0.15);
  box-shadow: 0 10px 30px rgba(124, 92, 191, 0.3);
}

.stat-icon-wrapper {
  position: relative;
  display: inline-block;
}

.plus-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #4a9eff, #3b7dd6);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(74, 158, 255, 0.4);
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.9;
  }
}

.hero-stat.clickable .stat-label {
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-stat.clickable:hover .plus-badge {
  animation: none;
  transform: scale(1.2);
  box-shadow: 0 4px 12px rgba(74, 158, 255, 0.6);
}

.hero-stat .stat-value {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.hero-stat .stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Tabs */
.dash-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.5rem;
  border-radius: 12px;
}

.dash-tab {
  flex: 1;
  padding: 1rem;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.dash-tab:hover {
  color: var(--text);
  background: rgba(124, 92, 191, 0.1);
}

.dash-tab.active {
  background: linear-gradient(135deg, var(--purple), var(--purple2));
  color: white;
}

.dash-tab i {
  font-size: 1.1rem;
}

/* Tab Content */
.dash-tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.dash-tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Glass Cards */
.glass {
  background: rgba(13, 10, 26, 0.6);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.dash-card {
  padding: 2rem;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.dash-card:hover {
  border-color: var(--purple);
  transform: translateY(-2px);
}

.dash-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dash-card h3 i {
  color: var(--purple2);
}

/* Profile Grid */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* Quick Actions */
.quick-actions .action-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.action-btn {
  padding: 1rem;
  background: rgba(124, 92, 191, 0.08);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'DM Sans', sans-serif;
}

.action-btn:hover {
  background: rgba(124, 92, 191, 0.15);
  border-color: var(--purple2);
  transform: translateX(4px);
}

.action-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.action-btn.disabled:hover {
  background: rgba(124, 92, 191, 0.08);
  border-color: var(--border);
  transform: none;
}

.action-btn i {
  font-size: 1.2rem;
  color: var(--purple2);
}

/* Subscription Status */
.subscription-status {
  text-align: center;
}

.sub-active {
  padding: 1rem 0;
}

.sub-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(135deg, var(--purple), var(--purple2));
  border-radius: 20px;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.sub-time {
  margin-bottom: 1rem;
}

.days-left {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.days-label {
  font-size: 0.9rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sub-expires {
  color: var(--muted);
  font-size: 0.9rem;
}

.sub-inactive {
  padding: 2rem 1rem;
}

.sub-inactive i {
  font-size: 3rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.btn-buy {
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, var(--purple), var(--purple2));
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'DM Sans', sans-serif;
}

.btn-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 92, 191, 0.4);
}

/* Version Info */
.version-info {
  text-align: center;
  padding: 1rem 0;
}

.version-value {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--purple2);
  margin-bottom: 0.5rem;
}

.version-label {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* HWID Display */
.hwid-display {
  text-align: center;
  padding: 1rem 0;
}

.hwid-value {
  display: block;
  font-family: 'Courier New', monospace;
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.hwid-status {
  font-size: 0.85rem;
  color: var(--muted);
}

.hwid-empty {
  display: block;
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.hwid-hint {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Products Layout */
.products-layout {
  display: grid;
  gap: 2rem;
}

.products-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.products-section h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.active-product {
  padding: 2rem;
  border-radius: 16px;
}

.product-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.product-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--purple), var(--purple2));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
}

.product-info h4 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.product-status {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-status.active {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.product-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.detail-row strong {
  color: var(--text);
}

.btn-download-full {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--purple), var(--purple2));
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'DM Sans', sans-serif;
}

.btn-download-full:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 92, 191, 0.4);
}

.btn-freeze {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #4a9eff, #3b7dd6);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  margin-top: 0.75rem;
  box-shadow: 0 4px 15px rgba(74, 158, 255, 0.3);
}

.btn-freeze:hover {
  background: linear-gradient(135deg, #3b7dd6, #2a5db8);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 158, 255, 0.4);
}

.btn-freeze.frozen {
  background: linear-gradient(135deg, #64b5f6, #42a5f5);
  cursor: not-allowed;
  opacity: 0.7;
}

.btn-freeze i {
  font-size: 1.2rem;
  animation: snowflake-pulse 2s ease-in-out infinite;
}

@keyframes snowflake-pulse {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
}

/* Freeze Modal */
.freeze-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: default !important;
}

.freeze-modal * {
  cursor: default !important;
}

.freeze-modal.active {
  opacity: 1;
}

.freeze-modal-content {
  background: linear-gradient(135deg, rgba(13, 10, 26, 0.95), rgba(20, 15, 35, 0.95));
  border: 2px solid rgba(74, 158, 255, 0.3);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(74, 158, 255, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.freeze-modal.active .freeze-modal-content {
  transform: scale(1);
}

.freeze-icon-container {
  text-align: center;
  margin-bottom: 1.5rem;
}

.freeze-icon {
  font-size: 4rem;
  color: #4a9eff;
  animation: freeze-spin 3s linear infinite;
}

@keyframes freeze-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.freeze-modal-content h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #fff;
}

.freeze-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.freeze-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(74, 158, 255, 0.1);
  border: 1px solid rgba(74, 158, 255, 0.2);
  border-radius: 12px;
}

.freeze-info-item i {
  color: #4a9eff;
  font-size: 1.2rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.freeze-info-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.freeze-info-item strong {
  color: #fff;
}

.freeze-buttons {
  display: flex;
  gap: 1rem;
}

.btn-cancel, .btn-confirm-freeze {
  flex: 1;
  padding: 1rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer !important;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-cancel {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-cancel:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-confirm-freeze {
  background: linear-gradient(135deg, #4a9eff, #3b7dd6);
  color: white;
  box-shadow: 0 4px 15px rgba(74, 158, 255, 0.3);
}

.btn-confirm-freeze:hover {
  background: linear-gradient(135deg, #3b7dd6, #2a5db8);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 158, 255, 0.4);
}

.btn-confirm-freeze:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-confirm-freeze i.freezing {
  animation: intense-freeze 0.5s ease-in-out infinite;
}

@keyframes intense-freeze {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-15deg) scale(1.2); }
  75% { transform: rotate(15deg) scale(1.2); }
}

/* Freeze Effect */
.freeze-effect {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.freeze-effect * {
  pointer-events: none;
}

.freeze-effect.active {
  opacity: 1;
}

.freeze-particles {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.snowflake {
  position: absolute;
  top: -10%;
  color: #4a9eff;
  font-size: 1.5rem;
  animation: snowfall linear infinite;
  text-shadow: 0 0 10px rgba(74, 158, 255, 0.8);
}

@keyframes snowfall {
  0% {
    top: -10%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 110%;
    opacity: 0;
  }
}

.no-products {
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 16px;
}

.no-products i {
  font-size: 3rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* Activate Key Section */
.activate-section {
  padding: 2rem;
  border-radius: 16px;
}

.activate-section h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.activate-section p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.key-input-group {
  display: flex;
  gap: 0.5rem;
}

.key-input-group input {
  flex: 1;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.key-input-group input:focus {
  outline: none;
  border-color: var(--purple2);
}

.btn-activate-key {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--purple), var(--purple2));
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.btn-activate-key:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(124, 92, 191, 0.4);
}

/* Settings Layout */
.settings-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 1.5rem;
  max-width: 1400px;
}

.settings-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.settings-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-self: flex-start;
}

@media (max-width: 1024px) {
  .settings-layout {
    grid-template-columns: 1fr;
  }
}

.settings-section {
  padding: 2rem;
  border-radius: 16px;
}

/* HWID Section */
.hwid-section { padding: 1.25rem !important; align-self: flex-start; width: 100%; }
.hwid-section h3 { margin-bottom: 0.85rem !important; font-size: 1rem !important; }
.hwid-status-box { background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08); border-radius:10px; padding:10px 14px; margin-bottom:10px; }
.hwid-status-label { font-size:11px; color:rgba(255,255,255,.4); margin-bottom:3px; }
.hwid-status-value { font-size:13px; font-weight:600; color:#fff; font-family:monospace; word-break:break-all; }

/* Avatar Upload */
.avatar-upload-wrap { display:flex; align-items:center; gap:20px; margin-top:12px; }
.avatar-preview { position:relative; width:90px; height:90px; border-radius:50%; overflow:hidden; flex-shrink:0; background:rgba(124,92,191,.15); border:2px solid rgba(124,92,191,.3); }
.avatar-preview img { width:100%; height:100%; object-fit:cover; display:block; }
.avatar-placeholder { width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:32px; color:rgba(160,124,224,.5); }
.avatar-edit-btn { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; background:rgba(0,0,0,.5); opacity:0; transition:opacity .2s; cursor:pointer; font-size:18px; color:#fff; }
.avatar-preview:hover .avatar-edit-btn { opacity:1; }
.avatar-info { flex:1; }
.avatar-info p { margin:0 0 4px; font-size:14px; font-weight:600; color:#fff; }
.avatar-info span { font-size:12px; color:rgba(255,255,255,.4); }
.avatar-btns { display:flex; gap:8px; margin-top:12px; flex-wrap:wrap; align-items:center; }
.btn-danger-sm { padding:7px 14px; border-radius:8px; background:rgba(239,68,68,.12); border:1px solid rgba(239,68,68,.3); color:#ef4444; font-size:12px; font-weight:600; cursor:pointer; display:flex; align-items:center; gap:6px; transition:all .2s; }
.btn-danger-sm:hover { background:rgba(239,68,68,.22); }

.settings-section h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.settings-section h3 i {
  color: var(--purple2);
}

.section-desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Promo Code Section */
.promo-input-group {
  display: flex;
  gap: 1rem;
}

.promo-input-group input {
  flex: 1;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
  text-transform: uppercase;
}

.promo-input-group input:focus {
  outline: none;
  border-color: var(--purple);
  background: rgba(255, 255, 255, 0.08);
}

.btn-activate-promo {
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--purple), var(--purple2));
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-activate-promo:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(124, 92, 191, 0.4);
}

/* Referral Section */
.referral-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.ref-stat {
  padding: 1.5rem;
  background: rgba(124, 92, 191, 0.1);
  border: 1px solid rgba(124, 92, 191, 0.2);
  border-radius: 12px;
  text-align: center;
}

.ref-stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.ref-stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.referral-link-container label {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.link-copy-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.link-copy-group input {
  flex: 1;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 0.9rem;
  font-family: 'DM Sans', sans-serif;
}

.link-copy-group input:focus {
  outline: none;
  border-color: var(--purple);
}

.btn-copy {
  padding: 1rem 1.5rem;
  background: rgba(124, 92, 191, 0.2);
  border: 1px solid var(--purple);
  border-radius: 12px;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-copy:hover {
  background: rgba(124, 92, 191, 0.3);
  transform: translateY(-2px);
}

.referral-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(74, 158, 255, 0.1);
  border: 1px solid rgba(74, 158, 255, 0.2);
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.referral-info i {
  color: #4a9eff;
  font-size: 1.1rem;
}

/* HWID Reset Section */
.hwid-section {
  border-color: rgba(74, 158, 255, 0.3);
  min-height: 522px;
}

.hwid-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hwid-status {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.hwid-label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hwid-value {
  font-family: 'DM Sans', monospace;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 600;
}

.hwid-cooldown {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(74, 158, 255, 0.1);
  border: 1px solid rgba(74, 158, 255, 0.2);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

.hwid-cooldown i {
  color: #4a9eff;
}

.btn-reset-hwid {
  width: 100%;
  padding: 0.7rem 1rem;
  background: linear-gradient(135deg, #4a9eff, #3b7dd6);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.btn-reset-hwid:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 158, 255, 0.4);
}

.btn-reset-hwid:disabled,
.btn-reset-hwid.disabled {
  background: rgba(100, 100, 100, 0.3);
  cursor: not-allowed;
  opacity: 0.6;
}

.hwid-warning {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 152, 0, 0.1);
  border: 1px solid rgba(255, 152, 0, 0.2);
  border-radius: 10px;
}

.hwid-warning i {
  color: #ff9800;
  margin-top: 0.2rem;
  font-size: 1.1rem;
}

.hwid-warning p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.setting-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.setting-left .setting-title {
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.setting-left .setting-desc {
  font-size: 0.85rem;
  color: var(--muted);
}

.btn-setting {
  padding: 0.6rem 1.5rem;
  background: rgba(124, 92, 191, 0.1);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: 'DM Sans', sans-serif;
}

.btn-setting:hover {
  border-color: var(--purple2);
  background: rgba(124, 92, 191, 0.2);
}

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.info-item {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.info-label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-value {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

/* Danger Zone */
.danger-zone {
  border-color: rgba(239, 68, 68, 0.3) !important;
}

.danger-zone h3 i {
  color: #ef4444;
}

.btn-danger-full {
  width: 100%;
  padding: 1rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 10px;
  color: #fca5a5;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'DM Sans', sans-serif;
}

.btn-danger-full:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
}

/* Cloud Storage */
.cloud-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
}

.cloud-section {
  padding: 2rem;
  border-radius: 16px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-title i {
  font-size: 1.5rem;
  color: #4a9eff;
}

.section-title h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}

.file-count {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(74, 158, 255, 0.1);
  border: 1px solid rgba(74, 158, 255, 0.2);
  border-radius: 10px;
}

.file-count .count {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #4a9eff;
}

.file-count .label {
  font-size: 0.9rem;
  color: var(--muted);
}

.files-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.file-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--purple);
}

.cloud-header {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 16px;
}

.cloud-header-left h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cloud-header-left h3 i {
  color: #4a9eff;
}

.cloud-header-left p {
  color: var(--muted);
  margin: 0;
}

.btn-upload {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #4a9eff, #3b7dd6);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 15px rgba(74, 158, 255, 0.3);
}

.btn-upload:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 158, 255, 0.4);
}

.cloud-stats {
  padding: 2rem;
  border-radius: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat-cloud {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-cloud i {
  font-size: 2rem;
  color: #4a9eff;
}

.stat-cloud .stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  display: block;
}

.stat-cloud .stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cloud-files {
  padding: 2rem;
  border-radius: 16px;
}

.files-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.files-header h4 {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}

.files-filter {
  display: flex;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: rgba(124, 92, 191, 0.2);
  border-color: var(--purple);
  color: var(--text);
}

.files-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.file-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.file-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--purple);
  transform: translateY(-2px);
}

.file-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.file-icon.config {
  background: rgba(124, 92, 191, 0.2);
  color: var(--purple);
}

.file-icon.script {
  background: rgba(74, 158, 255, 0.2);
  color: #4a9eff;
}

.file-info {
  flex: 1;
}

.file-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.file-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.file-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-file-action {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-file-action:hover {
  background: rgba(124, 92, 191, 0.2);
  border-color: var(--purple);
  transform: scale(1.1);
}

.btn-file-action.danger:hover {
  background: rgba(244, 67, 54, 0.2);
  border-color: #f44336;
  color: #f44336;
}

.empty-cloud {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-cloud i {
  font-size: 4rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.empty-cloud h4 {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.empty-cloud p {
  color: var(--muted);
  margin-bottom: 2rem;
}

.btn-upload-empty {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #4a9eff, #3b7dd6);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-upload-empty:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 158, 255, 0.4);
}

.upload-area {
  padding: 3rem;
  border: 2px dashed var(--border);
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

.upload-area:hover {
  border-color: var(--purple);
  background: rgba(124, 92, 191, 0.05);
}

.upload-area i {
  font-size: 3rem;
  color: #4a9eff;
  margin-bottom: 1rem;
}

.upload-area p {
  margin: 0 0 0.5rem 0;
  font-weight: 600;
}

.upload-formats {
  font-size: 0.85rem;
  color: var(--muted);
}

.share-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(74, 158, 255, 0.1);
  border: 1px solid rgba(74, 158, 255, 0.2);
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 1rem;
}

.share-info i {
  color: #4a9eff;
}

/* Responsive */
@media (max-width: 968px) {
  .cloud-layout {
    grid-template-columns: 1fr;
  }
  
  .file-item {
    flex-wrap: wrap;
  }
  
  .file-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 768px) {
  .dashboard-section {
    padding: 1rem;
  }

  .dash-hero {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .dash-hero-stats {
    width: 100%;
    flex-direction: column;
  }

  .hero-stat {
    width: 100%;
  }

  .dash-tabs {
    flex-direction: column;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  .key-input-group {
    flex-direction: column;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== SUPPORT TAB ===== */
.support-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 1400px;
}

.support-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-radius: 16px;
  gap: 1rem;
}

.support-header-left h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.support-header-left h3 i { color: var(--purple2); }

.support-header-left p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.btn-create-ticket, .btn-create-ticket-empty {
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, var(--purple), var(--purple2));
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
}

.btn-create-ticket:hover, .btn-create-ticket-empty:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 92, 191, 0.4);
}

.support-body {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1.5rem;
  min-height: 520px;
}

@media (max-width: 900px) {
  .support-body { grid-template-columns: 1fr; }
}

/* Tickets Panel */
.tickets-panel {
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tickets-panel-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
}

.tickets-panel-header i { color: var(--purple2); }

#tickets-list-inner {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem;
}

.ticket-item {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  margin-bottom: 0.5rem;
}

.ticket-item:hover {
  background: rgba(124, 92, 191, 0.1);
  border-color: rgba(124, 92, 191, 0.3);
}

.ticket-item.active {
  background: rgba(124, 92, 191, 0.15);
  border-color: var(--purple);
}

.ticket-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.ticket-subject {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.ticket-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.ticket-date {
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.ticket-preview {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

/* Ticket Badge */
.ticket-badge {
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticket-badge.open {
  background: rgba(74, 158, 255, 0.2);
  color: #4a9eff;
}

.ticket-badge.progress {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

.ticket-badge.closed {
  background: rgba(100, 100, 120, 0.2);
  color: #9ca3af;
}

/* Empty / Loading */
.support-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 3rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.support-loading i { font-size: 1.5rem; color: var(--purple2); }

.tickets-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 3rem 1rem;
  text-align: center;
  color: var(--muted);
}

.tickets-empty i { font-size: 2.5rem; color: var(--muted); margin-bottom: 0.5rem; }
.tickets-empty p { font-size: 0.9rem; }

/* Conversation Panel */
.conversation-panel {
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.conversation-empty {
  align-items: center;
  justify-content: center;
}

.empty-support {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  padding: 2rem;
}

.empty-support i {
  font-size: 3rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.empty-support h4 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.empty-support p { color: var(--muted); font-size: 0.9rem; }

.conversation-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.conversation-header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.conversation-header-left h4 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.btn-back-tickets {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-back-tickets:hover {
  background: rgba(124, 92, 191, 0.2);
  border-color: var(--purple);
}

.conversation-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 0;
  max-height: 340px;
}

.msg { display: flex; }
.msg-user { justify-content: flex-start; }
.msg-staff { justify-content: flex-end; }

.msg-bubble {
  max-width: 75%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
}

.msg-user .msg-bubble {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

.msg-staff .msg-bubble {
  background: linear-gradient(135deg, rgba(124,92,191,0.25), rgba(159,122,234,0.2));
  border: 1px solid rgba(124,92,191,0.4);
  border-bottom-right-radius: 4px;
}

.msg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.msg-author { font-weight: 700; font-size: 0.8rem; color: var(--purple2); }
.msg-time { font-size: 0.72rem; color: var(--muted); }
.msg-text { line-height: 1.5; color: var(--text); word-break: break-word; }

.conversation-reply {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  align-items: flex-end;
  flex-shrink: 0;
}

.conversation-reply textarea {
  flex: 1;
  padding: 0.75rem 1rem;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  resize: none;
  transition: border-color 0.2s;
}

.conversation-reply textarea:focus {
  outline: none;
  border-color: var(--purple);
}

.btn-send-reply {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--purple), var(--purple2));
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-send-reply:hover:not(:disabled) {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(124,92,191,0.5);
}

.btn-send-reply:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===== TICKET CREATE MODAL ===== */
.ticket-modal-content {
  background: linear-gradient(135deg, rgba(13,10,26,0.98), rgba(20,15,35,0.98));
  border: 1px solid rgba(124,92,191,0.3);
  border-radius: 20px;
  width: 90%;
  max-width: 560px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(124,92,191,0.1);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
  overflow: hidden;
}

.ticket-create-modal.active .ticket-modal-content {
  transform: scale(1) translateY(0);
}

.ticket-modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.75rem 2rem;
  border-bottom: 1px solid rgba(124,92,191,0.15);
  background: rgba(124,92,191,0.05);
}

.ticket-modal-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--purple), var(--purple2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(124,92,191,0.4);
}

.ticket-modal-header > div:nth-child(2) { flex: 1; }

.ticket-modal-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.2rem 0;
}

.ticket-modal-header p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

.ticket-modal-body {
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ticket-field { display: flex; flex-direction: column; gap: 0.5rem; }

.ticket-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.ticket-label i { color: var(--purple2); }

.ticket-char-count {
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}

.ticket-input {
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(124,92,191,0.2);
  border-radius: 10px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}

.ticket-input:focus {
  outline: none;
  border-color: var(--purple);
  background: rgba(124,92,191,0.06);
}

.ticket-textarea {
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(124,92,191,0.2);
  border-radius: 10px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  resize: none;
  line-height: 1.6;
  transition: border-color 0.2s, background 0.2s;
}

.ticket-textarea:focus {
  outline: none;
  border-color: var(--purple);
  background: rgba(124,92,191,0.06);
}

.priority-selector {
  display: flex;
  gap: 0.6rem;
}

.priority-option {
  flex: 1;
  cursor: pointer;
}

.priority-option input { display: none; }

.priority-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 0.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.2s ease;
  user-select: none;
}

.priority-option.priority-normal input:checked ~ span {
  background: rgba(74,158,255,0.15);
  border-color: #4a9eff;
  color: #4a9eff;
}

.priority-option.priority-high input:checked ~ span {
  background: rgba(245,158,11,0.15);
  border-color: #f59e0b;
  color: #f59e0b;
}

.priority-option.priority-urgent input:checked ~ span {
  background: rgba(239,68,68,0.15);
  border-color: #ef4444;
  color: #ef4444;
}

.priority-option.priority-normal span i { color: #4a9eff; }
.priority-option.priority-high span i { color: #f59e0b; }
.priority-option.priority-urgent span i { color: #ef4444; }

.priority-option span:hover {
  background: rgba(124,92,191,0.1);
  border-color: rgba(124,92,191,0.4);
  color: var(--text);
}

.ticket-modal-footer {
  display: flex;
  gap: 0.75rem;
  padding: 1.25rem 2rem;
  border-top: 1px solid rgba(124,92,191,0.1);
  background: rgba(0,0,0,0.15);
}

.ticket-btn-cancel {
  flex: 1;
  padding: 0.9rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ticket-btn-cancel:hover { background: rgba(255,255,255,0.08); color: var(--text); }

.ticket-btn-submit {
  flex: 2;
  padding: 0.9rem;
  background: linear-gradient(135deg, var(--purple), var(--purple2));
  border: none;
  border-radius: 10px;
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 16px rgba(124,92,191,0.3);
}

.ticket-btn-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(124,92,191,0.5);
}

.ticket-btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* Top Up Modal */
.topup-modal {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.topup-modal.active {
  opacity: 1;
}

.topup-modal-content {
  max-width: 600px;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.topup-modal.active .topup-modal-content {
  transform: scale(1);
}

.topup-header {
  text-align: center;
  margin-bottom: 2rem;
}

.topup-header i {
  font-size: 3rem;
  color: #4a9eff;
  margin-bottom: 1rem;
}

.topup-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.topup-header p {
  color: var(--muted);
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-method:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--purple);
  transform: translateY(-2px);
}

.payment-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.payment-icon.crypto {
  background: rgba(247, 147, 26, 0.2);
  color: #f7931a;
}

.payment-icon.telegram {
  background: rgba(36, 161, 222, 0.2);
  color: #24a1de;
}

.payment-icon.card {
  background: rgba(74, 158, 255, 0.2);
  color: #4a9eff;
}

.payment-icon.lolz {
  background: rgba(124, 92, 191, 0.2);
  color: var(--purple);
}

.payment-info {
  flex: 1;
}

.payment-info h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.payment-info p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.payment-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(74, 158, 255, 0.2);
  color: #4a9eff;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.payment-badge.warning {
  background: rgba(255, 152, 0, 0.2);
  color: #ff9800;
}

.payment-method > i {
  color: var(--muted);
  font-size: 1.2rem;
}

.topup-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(74, 158, 255, 0.1);
  border: 1px solid rgba(74, 158, 255, 0.2);
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.topup-footer i {
  color: #4a9eff;
}

.payment-info-header {
  text-align: center;
  margin-bottom: 2rem;
}

.payment-info-header i {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.payment-info-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.payment-instruction {
  padding: 1.5rem;
  background: rgba(74, 158, 255, 0.1);
  border: 1px solid rgba(74, 158, 255, 0.2);
  border-radius: 12px;
  margin-bottom: 2rem;
  text-align: center;
}

.payment-instruction p {
  margin: 0;
  line-height: 1.6;
}

.payment-actions {
  display: flex;
  gap: 1rem;
}

.btn-secondary, .btn-primary {
  flex: 1;
  padding: 1rem;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #4a9eff, #3b7dd6);
  color: white;
  box-shadow: 0 4px 15px rgba(74, 158, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 158, 255, 0.4);
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: default !important;
}

.modal-overlay * {
  cursor: default !important;
}

.modal-overlay button {
  cursor: pointer !important;
}

.modal-overlay.active {
  opacity: 1;
}

.modal-content {
  background: linear-gradient(135deg, rgba(13, 10, 26, 0.95), rgba(20, 15, 35, 0.95));
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.close-btn:hover {
  background: rgba(244, 67, 54, 0.2);
  border-color: #f44336;
  color: #f44336;
  transform: rotate(90deg);
}
