/* ===== Word Tycoon User Portal ===== */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0f0f14;
  --surface: #1a1a24;
  --surface2: #22222e;
  --border: #2a2a3a;
  --text: #e0e0e0;
  --text-dim: #888;
  --accent: #a78bfa;
  --accent-hover: #7c3aed;
  --discord: #5865F2;
  --discord-hover: #4752C4;
  --success: #4fc34f;
  --warning: #ffab00;
  --danger: #f87171;
  --radius: 10px;
  --radius-lg: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* ─── Login Screen ─── */

.screen { min-height: 100vh; }

#login-screen {
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  width: 420px;
  max-width: 90vw;
  text-align: center;
}

.login-logo {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
}

.login-card h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.login-card p {
  color: var(--text-dim);
  margin-bottom: 32px;
  font-size: 14px;
  line-height: 1.5;
}

.discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--discord);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.discord-btn:hover { background: var(--discord-hover); }

.login-error {
  color: var(--danger);
  font-size: 14px;
  margin-top: 16px;
}

/* ─── Portal Header ─── */

.portal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: white;
}

.header-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border);
}

.user-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.logout-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-dim);
  padding: 6px 8px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
}

.logout-btn:hover {
  border-color: var(--danger);
  color: var(--danger);
}

/* ─── Tabs ─── */

.tabs {
  display: flex;
  gap: 4px;
  padding: 12px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab {
  padding: 8px 16px;
  background: none;
  border: none;
  border-radius: 8px;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.tab:hover {
  color: var(--text);
  background: var(--surface2);
}

.tab.active {
  color: var(--accent);
  background: rgba(167, 139, 250, 0.12);
}

/* ─── Content ─── */

.content {
  padding: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dim);
  margin: 28px 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 13px;
}

.loading-placeholder {
  text-align: center;
  color: var(--text-dim);
  padding: 40px;
  font-size: 14px;
}

/* ─── Banner ─── */

.banner {
  margin: 16px 24px 0;
  padding: 16px 20px;
  border-radius: var(--radius);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.banner-warning {
  background: rgba(255, 171, 0, 0.1);
  border: 1px solid rgba(255, 171, 0, 0.3);
  color: var(--warning);
}

.banner p {
  margin-top: 4px;
  font-size: 14px;
  color: var(--text-dim);
}

.banner code {
  background: var(--surface2);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--accent);
}

/* ─── Stats Grid ─── */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.stat-card.accent {
  border-color: rgba(167, 139, 250, 0.3);
  background: rgba(167, 139, 250, 0.06);
}

.stat-label {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

.stat-card.accent .stat-value {
  color: var(--accent);
}

/* ─── Platforms ─── */

.platforms-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: 14px;
}

.platform-icon {
  font-size: 18px;
}

.platform-name {
  font-weight: 500;
}

.platform-user {
  color: var(--text-dim);
  font-size: 13px;
}

.pfp-chooser {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.pfp-chooser label {
  font-size: 13px;
  color: var(--text-dim);
}

.pfp-chooser select {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
}

.pfp-chooser select:hover {
  border-color: var(--accent);
}

/* ─── Businesses ─── */

.businesses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}

.business-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.business-card.owned {
  border-color: rgba(79, 195, 79, 0.3);
}

.business-card.locked {
  opacity: 0.4;
}

.business-emoji {
  font-size: 32px;
  line-height: 1;
}

.business-info {
  flex: 1;
}

.business-name {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}

.business-level {
  font-size: 13px;
  color: var(--success);
  font-weight: 600;
}

.business-income {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}

.business-locked-label {
  font-size: 12px;
  color: var(--text-dim);
}

/* ─── Cosmetic Preview Panel ─── */

.cosmetic-preview-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  overflow: visible;
}

.preview-profile {
  display: flex;
  align-items: center;
  gap: 18px;
  overflow: visible;
}

.preview-avatar-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  overflow: visible;
}

.preview-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid var(--border);
}

.preview-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: visible;
}

.preview-title-container {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-height: 16px;
}

.preview-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.preview-word {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dim);
}

.preview-platform-selector {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.plat-btn {
  padding: 6px 14px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.plat-btn:hover {
  color: var(--text);
  border-color: var(--text-dim);
}

.plat-btn.active {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(167, 139, 250, 0.12);
}

/* ─── Cosmetic Card Toggle ─── */

.cosmetic-toggle {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.cosmetic-toggle.equipped {
  background: var(--accent);
  color: white;
}

.cosmetic-toggle.unequipped {
  background: var(--surface2);
  color: var(--text-dim);
  border: 1px solid var(--border);
}

.cosmetic-toggle.unequipped:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.cosmetic-toggle:disabled {
  opacity: 0.5;
  cursor: wait;
}

/* ─── Cosmetics ─── */

.cosmetics-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}

.cosmetics-filters select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 8px 12px;
  font-size: 14px;
  outline: none;
  cursor: pointer;
}

.cosmetics-filters select:focus {
  border-color: var(--accent);
}

.cosmetics-count {
  color: var(--text-dim);
  font-size: 13px;
}

.cosmetics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.cosmetic-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  position: relative;
}

.cosmetic-card.equipped {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.cosmetic-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.cosmetic-category {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cosmetic-rarity {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 6px;
}

.cosmetic-buff {
  font-size: 11px;
  color: var(--success);
  margin-top: 4px;
}

.equipped-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.cosmetic-preview {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 14px;
  background: rgba(255,255,255,0.03);
  overflow: visible;
}

/* ─── History ─── */

.history-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}

.history-filters select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 8px 12px;
  font-size: 14px;
  outline: none;
  cursor: pointer;
}

.history-pagination {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-btn {
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.page-btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}

.page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

#history-page-info {
  font-size: 13px;
  color: var(--text-dim);
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.history-entry {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.history-type {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  min-width: 70px;
  text-align: center;
  white-space: nowrap;
}

.history-type.command { background: rgba(167, 139, 250, 0.15); color: var(--accent); }
.history-type.buy { background: rgba(79, 195, 79, 0.15); color: var(--success); }
.history-type.upgrade { background: rgba(74, 158, 255, 0.15); color: #4a9eff; }
.history-type.cosmetic { background: rgba(180, 74, 255, 0.15); color: #b44aff; }
.history-type.gift { background: rgba(255, 171, 0, 0.15); color: var(--warning); }
.history-type.reward { background: rgba(0, 255, 204, 0.15); color: #00ffcc; }
.history-type.set { background: rgba(180, 74, 255, 0.15); color: #b44aff; }

.history-detail {
  flex: 1;
  min-width: 0;
}

.history-command {
  font-weight: 600;
  color: var(--text);
}

.history-response {
  color: var(--text-dim);
  font-size: 12px;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-delta {
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.history-delta.positive { color: var(--success); }
.history-delta.negative { color: var(--danger); }
.history-delta.neutral { color: var(--text-dim); }

.history-time {
  font-size: 11px;
  color: var(--text-dim);
  white-space: nowrap;
}

/* ─── Searchle ─── */

.searchle-stats {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.searchle-entry {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.searchle-word {
  font-weight: 700;
  color: var(--accent);
  font-size: 15px;
}

.searchle-guesses {
  color: var(--text-dim);
  font-size: 12px;
}

.searchle-date {
  color: var(--text-dim);
  font-size: 12px;
}

/* ─── Searchle Connect ─── */

.searchle-connect-wrap {
  margin-top: 16px;
  text-align: center;
  padding: 32px;
}

.searchle-connect-btn {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, #7c3aed, #4a9eff);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  border-radius: 12px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.searchle-connect-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

/* ─── Live Chat ─── */

.chat-feed {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius) var(--radius) 0 0;
  height: calc(100vh - 260px);
  min-height: 300px;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chat-empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 14px;
}

.chat-msg {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.4;
  animation: fadeIn 0.2s ease;
  display: flex;
  align-items: center;
}

.chat-msg:hover {
  background: var(--surface2);
}

.chat-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 6px;
  flex-shrink: 0;
}

.chat-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--surface2);
  margin-right: 6px;
  flex-shrink: 0;
}

.chat-avatar-fallback.plat-tiktok { background: #ee1d52; }
.chat-avatar-fallback.plat-youtube { background: #ff0000; }
.chat-avatar-fallback.plat-twitch { background: #9146ff; }
.chat-avatar-fallback.plat-discord { background: #5865F2; }
.chat-avatar-fallback.plat-mobile { background: #a78bfa; }

.chat-username {
  font-weight: 600;
  margin-right: 6px;
}

.chat-text {
  color: var(--text);
}

/* Platform colors */
.plat-tiktok { color: #ee1d52; }
.plat-youtube { color: #ff0000; }
.plat-twitch { color: #9146ff; }
.plat-discord { color: #5865F2; }
.plat-mobile { color: #a78bfa; }

/* Chat input bar */
.chat-input-bar {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
}

#chat-input {
  flex: 1;
  padding: 10px 14px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text);
  font-size: 14px;
  outline: none;
}

#chat-input:focus {
  border-color: var(--accent);
}

#chat-input::placeholder {
  color: var(--text-dim);
}

#chat-send {
  padding: 10px 20px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

#chat-send:hover {
  background: var(--accent-hover);
}

#chat-send:disabled {
  opacity: 0.5;
  cursor: default;
}

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

/* ─── Toast ─── */

.portal-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  z-index: 1000;
  animation: toastIn 0.2s ease, toastOut 0.3s ease 1.7s forwards;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes toastOut {
  from { opacity: 1; }
  to { opacity: 0; transform: translateX(-50%) translateY(-10px); }
}

/* ─── Avatar Fallback ─── */

.avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  color: white;
  position: absolute;
  top: 0;
  left: 0;
}

/* ─── Cosmetic Sets ─── */

.sets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.set-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}

.set-card.complete {
  border-color: rgba(79, 195, 79, 0.4);
}

.set-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.set-name {
  font-weight: 600;
  font-size: 14px;
}

.set-progress {
  font-size: 13px;
  color: var(--text-dim);
}

.set-bar {
  height: 4px;
  background: var(--surface2);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 6px;
}

.set-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s;
}

.set-card.complete .set-bar-fill {
  background: var(--success);
}

.set-bonus {
  font-size: 11px;
  color: var(--success);
}

/* ─── Responsive ─── */

@media (max-width: 640px) {
  .portal-header {
    padding: 10px 16px;
  }
  .header-title { display: none; }
  .tabs { padding: 10px 16px; }
  .content { padding: 16px; }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .businesses-grid {
    grid-template-columns: 1fr;
  }
  .cosmetics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cosmetic-preview-panel {
    flex-direction: column;
    align-items: flex-start;
  }
  .preview-platform-selector {
    align-self: stretch;
    justify-content: center;
  }
  .sets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .history-entry {
    flex-wrap: wrap;
    gap: 6px;
  }
  .history-response { white-space: normal; }
  .user-name { display: none; }
  .banner { margin: 12px 16px 0; }
}

@media (max-width: 380px) {
  .cosmetics-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .sets-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Cosmetic Animation Keyframes ─── */

@keyframes cosmetic-prismatic { 0% { filter: hue-rotate(0deg); } 100% { filter: hue-rotate(360deg); } }
@keyframes cosmetic-void-pulse { 0%, 100% { opacity: 0.9; } 50% { opacity: 1; } }
@keyframes cosmetic-border-rotate { 0% { filter: hue-rotate(0deg); } 100% { filter: hue-rotate(360deg); } }
@keyframes cosmetic-inferno-pulse { 0%, 100% { box-shadow: 0 0 10px rgba(255,69,0,0.6), 0 0 20px rgba(255,69,0,0.3); } 50% { box-shadow: 0 0 15px rgba(255,69,0,0.8), 0 0 30px rgba(255,69,0,0.5); } }
@keyframes cosmetic-supernova { 0%, 100% { box-shadow: 0 0 15px rgba(255,200,0,0.7), 0 0 30px rgba(255,100,0,0.4); } 50% { box-shadow: 0 0 20px rgba(255,200,0,0.9), 0 0 40px rgba(255,100,0,0.6); } }
@keyframes cosmetic-cosmic { 0% { box-shadow: 0 0 15px rgba(100,0,255,0.7), 0 0 30px rgba(200,0,255,0.4); } 33% { box-shadow: 0 0 15px rgba(255,0,200,0.7), 0 0 30px rgba(255,0,100,0.4); } 66% { box-shadow: 0 0 15px rgba(0,200,255,0.7), 0 0 30px rgba(0,100,255,0.4); } 100% { box-shadow: 0 0 15px rgba(100,0,255,0.7), 0 0 30px rgba(200,0,255,0.4); } }
@keyframes cosmetic-legendary-glow { 0%, 100% { text-shadow: 0 0 8px rgba(255,215,0,0.8), 0 0 16px rgba(255,180,0,0.5); } 50% { text-shadow: 0 0 12px rgba(255,215,0,1), 0 0 24px rgba(255,180,0,0.7); } }
@keyframes cosmetic-chromatic { 0% { color: #ff0000; } 16% { color: #ff8800; } 33% { color: #ffff00; } 50% { color: #00ff00; } 66% { color: #0088ff; } 83% { color: #8800ff; } 100% { color: #ff0000; } }
@keyframes cosmetic-god-pulse { 0%, 100% { opacity: 0.9; text-shadow: 0 0 10px rgba(255,68,68,0.7); } 50% { opacity: 1; text-shadow: 0 0 15px rgba(255,68,68,0.9), 0 0 30px rgba(255,68,68,0.4); } }
@keyframes cosmetic-glitch { 0% { transform: translate(0); } 20% { transform: translate(-2px, 1px); } 40% { transform: translate(2px, -1px); } 60% { transform: translate(-1px, -1px); } 80% { transform: translate(1px, 2px); } 100% { transform: translate(0); } }
@keyframes cosmetic-glitch-text { 0%, 100% { text-shadow: 2px 0 #ff0040, -2px 0 #00ffff; } 25% { text-shadow: -2px 0 #ff0040, 2px 0 #00ffff; } 50% { text-shadow: 2px 1px #ff0040, -2px -1px #00ffff; } 75% { text-shadow: -1px -1px #ff0040, 1px 1px #00ffff; } }
@keyframes cosmetic-plasma-border { 0%, 100% { box-shadow: 0 0 10px rgba(124,58,237,0.6), 0 0 20px rgba(124,58,237,0.3); } 50% { box-shadow: 0 0 15px rgba(168,85,247,0.8), 0 0 30px rgba(124,58,237,0.5); } }
@keyframes cosmetic-void-ring { 0%, 100% { box-shadow: 0 0 12px rgba(45,27,105,0.8), 0 0 24px rgba(100,0,255,0.4); } 50% { box-shadow: 0 0 18px rgba(100,0,255,0.9), 0 0 36px rgba(180,74,255,0.5); } }
@keyframes cosmetic-celestial { 0% { filter: hue-rotate(0deg); box-shadow: 0 0 15px rgba(255,215,0,0.6), 0 0 30px rgba(255,150,0,0.3); } 50% { box-shadow: 0 0 20px rgba(255,215,0,0.8), 0 0 40px rgba(255,150,0,0.5); } 100% { filter: hue-rotate(360deg); box-shadow: 0 0 15px rgba(255,215,0,0.6), 0 0 30px rgba(255,150,0,0.3); } }
@keyframes cosmetic-electric-aura { 0%, 100% { box-shadow: 0 0 12px rgba(34,211,238,0.6), 0 0 24px rgba(34,211,238,0.3); } 33% { box-shadow: 0 0 16px rgba(34,211,238,0.8), 0 0 32px rgba(34,211,238,0.4); } 66% { box-shadow: 0 0 10px rgba(34,211,238,0.5), 0 0 20px rgba(34,211,238,0.25); } }
@keyframes cosmetic-void-aura { 0%, 100% { box-shadow: 0 0 15px rgba(45,27,105,0.8), 0 0 30px rgba(100,0,255,0.5); } 50% { box-shadow: 0 0 20px rgba(100,0,255,0.9), 0 0 40px rgba(180,74,255,0.6), 0 0 60px rgba(180,74,255,0.3); } }
@keyframes cosmetic-divine-glow { 0%, 100% { text-shadow: 0 0 10px rgba(255,255,255,0.9), 0 0 20px rgba(255,215,0,0.6); } 50% { text-shadow: 0 0 15px rgba(255,255,255,1), 0 0 30px rgba(255,215,0,0.8), 0 0 45px rgba(255,180,0,0.4); } }
@keyframes cosmetic-neon-flicker { 0%, 100% { opacity: 1; } 92% { opacity: 1; } 93% { opacity: 0.6; } 94% { opacity: 1; } 96% { opacity: 0.7; } 97% { opacity: 1; } }
@keyframes cosmetic-supreme-pulse { 0%, 100% { text-shadow: 0 0 10px rgba(255,255,255,0.8), 0 0 20px rgba(255,215,0,0.4); opacity: 0.9; } 50% { text-shadow: 0 0 15px rgba(255,255,255,1), 0 0 30px rgba(255,215,0,0.6), 0 0 45px rgba(255,100,0,0.3); opacity: 1; } }
@keyframes cosmetic-wg-fire { 0%, 100% { text-shadow: 0 0 8px rgba(255,100,0,0.7), 0 0 16px rgba(255,50,0,0.4); } 50% { text-shadow: 0 0 12px rgba(255,100,0,0.9), 0 0 24px rgba(255,50,0,0.6); } }
@keyframes cosmetic-wg-frost { 0%, 100% { text-shadow: 0 0 8px rgba(103,232,249,0.6), 0 0 16px rgba(103,232,249,0.3); } 50% { text-shadow: 0 0 12px rgba(103,232,249,0.8), 0 0 24px rgba(103,232,249,0.5); } }
@keyframes cosmetic-wg-bloodmoon { 0%, 100% { text-shadow: 0 0 8px rgba(220,38,38,0.7), 0 0 16px rgba(180,0,0,0.4); } 50% { text-shadow: 0 0 12px rgba(220,38,38,0.9), 0 0 24px rgba(180,0,0,0.6), 0 0 32px rgba(120,0,0,0.3); } }
@keyframes cosmetic-wg-galaxy { 0%, 100% { text-shadow: 0 0 10px rgba(180,74,255,0.7), 0 0 20px rgba(100,0,200,0.4); } 50% { text-shadow: 0 0 14px rgba(180,74,255,0.9), 0 0 28px rgba(100,0,200,0.6), 0 0 36px rgba(50,0,150,0.3); } }
@keyframes cosmetic-wg-golden { 0%, 100% { text-shadow: 0 0 8px rgba(255,215,0,0.8), 0 0 16px rgba(255,180,0,0.5); } 50% { text-shadow: 0 0 12px rgba(255,215,0,1), 0 0 24px rgba(255,180,0,0.7); } }
@keyframes cosmetic-wg-aurora { 0% { text-shadow: 0 0 8px rgba(0,255,135,0.7), 0 0 16px rgba(0,188,212,0.5); } 33% { text-shadow: 0 0 8px rgba(0,188,212,0.7), 0 0 16px rgba(124,77,255,0.5); } 66% { text-shadow: 0 0 8px rgba(124,77,255,0.7), 0 0 16px rgba(224,64,251,0.5); } 100% { text-shadow: 0 0 8px rgba(0,255,135,0.7), 0 0 16px rgba(0,188,212,0.5); } }
@keyframes cosmetic-wg-divine { 0%, 100% { text-shadow: 0 0 10px rgba(255,255,255,0.9), 0 0 20px rgba(255,215,0,0.6); } 50% { text-shadow: 0 0 15px rgba(255,255,255,1), 0 0 30px rgba(255,215,0,0.8), 0 0 45px rgba(255,180,0,0.4); } }
@keyframes cosmetic-wg-void { 0%, 100% { text-shadow: 0 0 10px rgba(180,74,255,0.8), 0 0 20px rgba(100,0,255,0.5); } 50% { text-shadow: 0 0 15px rgba(180,74,255,1), 0 0 30px rgba(100,0,255,0.7), 0 0 40px rgba(50,0,200,0.4); } }
