/* ==========================================================================
   DALLIN PORTFOLIO - SROULTRA THEME STYLESHEET WITH SRO GOLD DISCORD RPC
   ========================================================================== */

:root {
  /* Color Palette System (Aurum Gold & Ink Theme) */
  --bg-primary: #0b0904;
  --bg-card: #141007;
  --bg-card-hover: #1c170b;
  --bg-glass: rgba(20, 16, 7, 0.88);
  
  --sro-gold: #e4b93f;
  --sro-gold-bright: #ffd700;
  --sro-gold-sand: #f0d78f;
  --sro-gold-dark: #b88d22;
  --gold-gradient: linear-gradient(135deg, #f0d78f 0%, #e4b93f 50%, #b88d22 100%);
  
  --discord-blurple: #5865F2;
  --discord-green: #23A55A;
  --discord-yellow: #FEE75C;
  --discord-red: #F23F43;
  --discord-grey: #80848E;

  --text-main: #f5f2e8;
  --text-muted: #a69e8b;
  --text-dark: #0b0904;
  
  --border-gold: rgba(228, 185, 63, 0.25);
  --border-gold-bright: rgba(228, 185, 63, 0.65);
  --border-glass: rgba(255, 255, 255, 0.08);

  /* Typography Stack */
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-fantasy: 'Orbitron', 'Cinzel Decorative', sans-serif;
  --font-mono: 'Fira Code', monospace;
}

/* Light Theme Overrides (Parchment Gold Mode) */
[data-theme="light"] {
  --bg-primary: #f7f4ed;
  --bg-card: #ffffff;
  --bg-card-hover: #fcfbfa;
  --bg-glass: rgba(255, 255, 255, 0.95);
  
  --text-main: #1c1810;
  --text-muted: #5c5548;
  --text-dark: #ffffff;
  
  --border-gold: rgba(184, 141, 34, 0.35);
  --border-gold-bright: rgba(184, 141, 34, 0.85);
  --border-glass: rgba(0, 0, 0, 0.1);
}

/* ------------------------------------------------------------------------
   GLOBAL MOUSE CURSOR SETUP (RESIZED 32x32 SILKROAD CURSOR FOR 100% COMPATIBILITY)
   ------------------------------------------------------------------------ */
*, *::before, *::after, body {
  cursor: url('img/sro_cursor_32.png') 0 0, auto !important;
}

button, a, select, input, textarea, .system-tab-btn, .js-open-avatar, .work-filter-btn {
  cursor: url('img/sro_cursor_32.png') 0 0, pointer !important;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* ------------------------------------------------------------------------
   DYNAMIC RICH ANIMATIONS SYSTEM
   ------------------------------------------------------------------------ */

/* 3D Card Float & Levitation */
.card-3d-float {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.card-3d-float:hover {
  transform: translateY(-6px) scale(1.012);
  border-color: var(--sro-gold-sand) !important;
  box-shadow: 0 20px 45px rgba(228, 185, 63, 0.22) !important;
}

/* Light Sweep Shimmer Effect on Cards */
.card-shimmer-sweep {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  animation: shimmer-sweep 6s infinite;
}

@keyframes shimmer-sweep {
  0% { left: -100%; }
  20%, 100% { left: 200%; }
}

/* Pulsing Gold Ambient CTAs */
.animated-pulse-gold {
  animation: pulse-gold 3s infinite;
}

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 15px rgba(228, 185, 63, 0.4); }
  50% { box-shadow: 0 0 30px rgba(228, 185, 63, 0.85); }
}

/* Smooth Entrance Scroll Animations */
.animated-scroll-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animated-scroll-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.e-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 60px;
  position: relative;
  z-index: 1;
}

/* ------------------------------------------------------------------------
   NAVBAR HEADER
   ------------------------------------------------------------------------ */
.e-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  margin: 20px 0 32px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.e-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.e-avatar-small {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--sro-gold-sand);
  transition: transform 0.3s ease;
}

.e-avatar-small:hover {
  transform: scale(1.1);
}

.e-brand-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--sro-gold-sand);
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.e-nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.e-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 30px;
  background: rgba(228, 185, 63, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--sro-gold-sand);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10B981;
  animation: pulse-green 1.8s infinite;
}

@keyframes pulse-green {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

/* Multi-Language Selector Dropdown */
.lang-selector-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(228, 185, 63, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 6px 14px;
}

.lang-select-box {
  background: transparent;
  border: none;
  color: var(--sro-gold-sand);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.85rem;
  outline: none;
}

.lang-select-box option {
  background: var(--bg-card);
  color: var(--text-main);
  font-weight: 700;
}

.theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  color: var(--sro-gold-sand);
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
  background: var(--sro-gold);
  color: var(--text-dark);
}

/* ------------------------------------------------------------------------
   HERO SECTION GRID & PROFILE SIDEBAR
   ------------------------------------------------------------------------ */
.e-hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  margin-bottom: 40px;
  align-items: start;
}

@media (max-width: 992px) {
  .e-hero-grid {
    grid-template-columns: 1fr;
  }
}

.e-hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: 44px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.e-tag-pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(228, 185, 63, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--sro-gold-sand);
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.e-hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 900;
  line-height: 1.22;
  color: var(--text-main);
  margin-bottom: 20px;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #ffffff 0%, #f0d78f 50%, #e4b93f 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine-text 6s linear infinite;
}

@keyframes shine-text {
  to { background-position: 200% center; }
}

.e-hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 620px;
  margin-bottom: 28px;
  font-weight: 500;
}

/* Hero Action Buttons */
.e-btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold-gradient);
  color: var(--text-dark);
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 900;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid var(--sro-gold-bright);
  box-shadow: 0 8px 20px rgba(228, 185, 63, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.e-btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(228, 185, 63, 0.55);
}

.e-btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(228, 185, 63, 0.08);
  color: var(--text-main);
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid var(--border-gold);
  transition: all 0.3s ease;
}

.e-btn-glass:hover {
  background: rgba(228, 185, 63, 0.2);
  border-color: var(--sro-gold-sand);
  color: var(--sro-gold-sand);
}

/* SQL Console Box & Tabs */
.hero-sql-box {
  background: #070603;
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  margin-top: 24px;
}

.hero-sql-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(228, 185, 63, 0.15);
  font-weight: 700;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 8px;
}

.sql-tabs-navigation {
  display: flex;
  gap: 6px;
}

.sql-tab-btn {
  background: rgba(228, 185, 63, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.sql-tab-btn.active, .sql-tab-btn:hover {
  background: var(--sro-gold);
  color: var(--text-dark);
  border-color: var(--sro-gold-bright);
}

.hero-sql-status {
  color: #10B981;
  font-size: 0.75rem;
  font-weight: 800;
}

.sql-copy-btn {
  background: rgba(228, 185, 63, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--sro-gold-sand);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.sql-copy-btn:hover {
  background: var(--sro-gold);
  color: var(--text-dark);
}

.hero-sql-code {
  color: #f0d78f;
  line-height: 1.55;
  white-space: pre-wrap;
}

/* ------------------------------------------------------------------------
   CLUSTER PERFORMANCE MONITOR WIDGET
   ------------------------------------------------------------------------ */
.cluster-monitor-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.cluster-monitor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 10px;
}

.cluster-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--sro-gold-sand);
  letter-spacing: 0.5px;
}

.cluster-live-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  color: #10B981;
}

.cluster-nodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.cluster-node-card {
  background: rgba(228, 185, 63, 0.05);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.node-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  flex-shrink: 0;
}

.node-name {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

.node-metrics {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.node-players-cnt {
  color: var(--sro-gold-sand);
  font-weight: 800;
}

/* ------------------------------------------------------------------------
   PROJECT COST ESTIMATOR & CALCULATOR
   ------------------------------------------------------------------------ */
.estimator-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold-bright);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 36px;
  align-items: start;
}

@media (max-width: 992px) {
  .estimator-grid {
    grid-template-columns: 1fr;
  }
}

.estimator-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--sro-gold-sand);
  margin-bottom: 12px;
  display: block;
}

.tier-radio-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tier-radio-btn {
  background: rgba(228, 185, 63, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--text-main);
  padding: 10px 18px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.tier-radio-btn.active {
  background: var(--sro-gold);
  color: var(--text-dark);
  border-color: var(--sro-gold-bright);
}

.module-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.module-checkbox-item {
  background: rgba(228, 185, 63, 0.05);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.module-checkbox-item.checked {
  border-color: var(--sro-gold-sand);
  background: rgba(228, 185, 63, 0.15);
}

.estimator-result-card {
  background: #070603;
  border: 1px solid var(--border-gold-bright);
  border-radius: 20px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.est-badge {
  display: inline-block;
  background: rgba(228, 185, 63, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--sro-gold-sand);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.est-price-heading {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.est-total-num {
  font-family: var(--font-fantasy);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--sro-gold-bright);
  margin-bottom: 8px;
}

.est-summary-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.4;
}

/* Profile Sidebar Card */
.e-profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.e-avatar-large {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--sro-gold-sand);
  margin-bottom: 16px;
  box-shadow: 0 10px 25px rgba(228, 185, 63, 0.3);
  transition: transform 0.3s ease;
}

.e-avatar-large:hover {
  transform: scale(1.05);
}

.avatar-hover-badge {
  position: absolute;
  bottom: 18px;
  right: 50%;
  transform: translateX(50%);
  background: var(--sro-gold);
  color: #0b0904;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 12px;
  pointer-events: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.e-profile-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--sro-gold-sand);
  letter-spacing: 2px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.e-profile-sub {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 18px;
}

.profile-quick-details {
  background: rgba(228, 185, 63, 0.05);
  border: 1px dashed var(--border-gold);
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.quick-detail-item {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ------------------------------------------------------------------------
   DISCORD RICH PRESENCE LIVE CARD WIDGET (STYLING MATCHES SRO GOLD THEME)
   ------------------------------------------------------------------------ */
.discord-rpc-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-gold-bright);
  border-radius: 18px;
  padding: 16px;
  text-align: left;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.discord-rpc-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-gradient);
}

.rpc-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.rpc-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--sro-gold-sand);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.5px;
}

/* Shiny Animated Online Status Pill Badge */
.rpc-live-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 900;
  color: #23A55A;
  background: rgba(35, 165, 90, 0.14);
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid rgba(35, 165, 90, 0.5);
  box-shadow: 0 0 12px rgba(35, 165, 90, 0.25);
  transition: all 0.3s ease;
}

.rpc-live-pill-online {
  animation: pill-glow 2.5s infinite ease-in-out;
}

@keyframes pill-glow {
  0%, 100% { box-shadow: 0 0 8px rgba(35, 165, 90, 0.25); border-color: rgba(35, 165, 90, 0.5); }
  50% { box-shadow: 0 0 18px rgba(35, 165, 90, 0.6); border-color: rgba(35, 165, 90, 0.9); }
}

.animated-status-text {
  letter-spacing: 0.5px;
  text-shadow: 0 0 8px rgba(35, 165, 90, 0.6);
}

.rpc-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: relative;
}

.rpc-pulse-dot.online {
  background: var(--discord-green);
  box-shadow: 0 0 10px var(--discord-green);
  animation: online-pulse-halo 1.8s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes online-pulse-halo {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(35, 165, 90, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(35, 165, 90, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(35, 165, 90, 0); }
}

.rpc-pulse-dot.idle { background: var(--discord-yellow); box-shadow: 0 0 8px var(--discord-yellow); }
.rpc-pulse-dot.dnd { background: var(--discord-red); box-shadow: 0 0 8px var(--discord-red); }
.rpc-pulse-dot.offline { background: var(--discord-grey); }

.rpc-user-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.rpc-avatar-container {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.rpc-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--sro-gold-sand);
}

.rpc-status-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #0d0a05;
}

.rpc-status-badge.online {
  background: var(--discord-green);
  box-shadow: 0 0 10px var(--discord-green);
}

.animated-badge-glow.online {
  animation: badge-ring-pulse 2s infinite ease-in-out;
}

@keyframes badge-ring-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 6px var(--discord-green); }
  50% { transform: scale(1.25); box-shadow: 0 0 14px var(--discord-green); }
}

.rpc-status-badge.idle { background: var(--discord-yellow); }
.rpc-status-badge.dnd { background: var(--discord-red); }
.rpc-status-badge.offline { background: var(--discord-grey); }

.rpc-user-meta {
  overflow: hidden;
}

.rpc-username {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.2;
}

.rpc-handle {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.rpc-status-msg {
  font-size: 0.76rem;
  color: var(--sro-gold-sand);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

/* Activity Box (Theme Colors) */
.rpc-activity-card {
  background: rgba(228, 185, 63, 0.06);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 14px;
}

.rpc-act-header {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 900;
  color: var(--sro-gold-sand);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.rpc-act-body {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rpc-act-icon-wrapper {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(228, 185, 63, 0.15);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rpc-act-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.rpc-act-info {
  overflow: hidden;
}

.rpc-act-title {
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rpc-act-details {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.rpc-act-timer {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--sro-gold-sand);
  margin-top: 2px;
}

/* SRO Metallic Gold Direct Chat CTA Button */
.rpc-direct-chat-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold-gradient);
  color: var(--text-dark);
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 0.78rem;
  text-decoration: none;
  border: 1px solid var(--sro-gold-bright);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(228, 185, 63, 0.35);
}

.rpc-direct-chat-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(228, 185, 63, 0.6);
  background: linear-gradient(135deg, #ffd700 0%, #e4b93f 100%);
}

.e-stat-box {
  background: rgba(228, 185, 63, 0.06);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 10px;
}

.e-stat-num {
  font-family: var(--font-fantasy);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--sro-gold-sand);
}

.e-stat-lbl {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ------------------------------------------------------------------------
   TICKER BAR
   ------------------------------------------------------------------------ */
.e-ticker {
  background: rgba(228, 185, 63, 0.1);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding: 12px 0;
  margin-bottom: 48px;
  overflow: hidden;
  white-space: nowrap;
}

.e-ticker-inner {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--sro-gold-sand);
  letter-spacing: 1px;
  animation: ticker-scroll 25s linear infinite;
}

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

/* ------------------------------------------------------------------------
   SECTIONS GENERAL & CARDS
   ------------------------------------------------------------------------ */
.e-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.e-title-left {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-fantasy);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--sro-gold-sand);
}

.e-title-badge {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 800;
  background: rgba(228, 185, 63, 0.12);
  border: 1px solid var(--border-gold);
  padding: 4px 12px;
  border-radius: 20px;
  color: var(--sro-gold);
}

/* Skills Matrix */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  padding: 24px;
}

.skill-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.skill-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(228, 185, 63, 0.12);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--sro-gold-sand);
}

.skill-title {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-main);
}

.skill-level {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--sro-gold-sand);
}

.skill-bar-container {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 10px;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Services Grid */
.e-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.e-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.e-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.e-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(228, 185, 63, 0.12);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--sro-gold-sand);
}

.e-card-title {
  font-family: var(--font-fantasy);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 12px;
}

.e-card-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ------------------------------------------------------------------------
   SPECIALTY WEB SYSTEMS SHOWCASE
   ------------------------------------------------------------------------ */
.systems-showcase-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.systems-tab-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(228, 185, 63, 0.15);
  padding-bottom: 16px;
  flex-wrap: wrap;
}

.system-tab-btn {
  background: rgba(228, 185, 63, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 14px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.82rem;
  transition: all 0.3s ease;
}

.system-tab-btn.active, .system-tab-btn:hover {
  background: var(--sro-gold);
  color: var(--text-dark);
  border-color: var(--sro-gold-bright);
}

.system-tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

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

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

.system-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 992px) {
  .system-preview-grid {
    grid-template-columns: 1fr;
  }
}

.system-img-preview-box {
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid var(--border-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  background: #000;
}

.system-screenshot-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.system-screenshot-img:hover {
  transform: scale(1.03);
}

/* ------------------------------------------------------------------------
   ACCEPTED PAYMENT METHODS GRID
   ------------------------------------------------------------------------ */
.payments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.payment-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  padding: 20px 16px;
  text-align: center;
}

.payment-icon-box {
  font-size: 2rem;
  margin-bottom: 10px;
}

.payment-name {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.payment-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* ------------------------------------------------------------------------
   PACKAGES & PRICING
   ------------------------------------------------------------------------ */
.e-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.pricing-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.pricing-price-tag {
  font-family: var(--font-fantasy);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--sro-gold-sand);
}

.pricing-price-sub {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.e-pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.e-pricing-card.pop {
  background: linear-gradient(180deg, #1f180a 0%, #141007 100%);
  border: 2px solid var(--sro-gold-sand);
  box-shadow: 0 15px 40px rgba(228, 185, 63, 0.25);
}

.popular-ribbon-banner {
  position: absolute;
  top: 24px;
  right: -32px;
  background: var(--gold-gradient);
  color: var(--text-dark);
  font-weight: 900;
  font-size: 0.7rem;
  padding: 4px 36px;
  transform: rotate(45deg);
}

.popular-pulse-badge {
  color: var(--sro-gold-sand);
  font-weight: 800;
  font-size: 0.78rem;
  margin-bottom: 12px;
}

.e-pricing-name {
  font-family: var(--font-fantasy);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--sro-gold-sand);
  margin-bottom: 4px;
}

.e-pricing-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 24px;
  line-height: 1.5;
}

.e-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.e-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
}

.e-feature-item i {
  color: var(--sro-gold-sand);
  margin-top: 2px;
}

.e-feature-item.off {
  color: var(--text-muted);
  opacity: 0.6;
}

.e-feature-item.off i {
  color: #EF4444;
}

/* ------------------------------------------------------------------------
   CAROUSELS (REVIEWS & WORKS)
   ------------------------------------------------------------------------ */
.carousel-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel-btn {
  background: rgba(228, 185, 63, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--sro-gold-sand);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: var(--sro-gold);
  color: var(--text-dark);
}

.reviews-carousel-track, .works-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-slide-card {
  min-width: calc(33.333% - 16px);
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 1024px) {
  .review-slide-card { min-width: calc(50% - 12px); }
}
@media (max-width: 768px) {
  .review-slide-card { min-width: 100%; }
}

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.review-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--sro-gold-sand);
}

.review-author {
  font-weight: 800;
  color: var(--text-main);
}

.review-role {
  font-size: 0.75rem;
  color: var(--sro-gold-sand);
  font-weight: 700;
}

.review-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 20px;
}

.review-stars {
  color: var(--sro-gold-sand);
  font-size: 0.8rem;
  display: flex;
  gap: 4px;
}

/* Featured Works Grid (4 Showcase Cards) */
.featured-works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1100px) {
  .featured-works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .featured-works-grid {
    grid-template-columns: 1fr;
  }
}

.featured-works-grid .work-slide-card {
  min-width: unset;
  width: 100%;
}

/* Works Cards */
.work-slide-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.work-img-container {
  height: 170px;
  overflow: hidden;
  background: #000;
}

.work-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.work-slide-card:hover .work-banner-img,
.modal-work-card:hover .work-banner-img {
  transform: scale(1.08);
}

.work-content-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.work-title {
  font-family: var(--font-fantasy);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--sro-gold-sand);
  margin-bottom: 6px;
}

.work-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 600;
}

.work-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--sro-gold-sand);
  text-decoration: none;
}

.work-link-btn:hover {
  color: var(--sro-gold-bright);
}

/* ==========================================================================
   ALL WORKS POPUP MODAL STYLING
   ========================================================================== */
.works-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 6, 3, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.works-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.works-modal-dialog {
  background: var(--bg-card);
  border: 1px solid var(--border-gold-bright);
  border-radius: 24px;
  width: 100%;
  max-width: 1200px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85);
  padding: 32px;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.works-modal-overlay.open .works-modal-dialog {
  transform: translateY(0) scale(1);
}

.works-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-gold);
  margin-bottom: 20px;
}

.works-modal-title-box {
  flex: 1;
}

.works-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(228, 185, 63, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--sro-gold-sand);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.works-modal-title {
  font-family: var(--font-fantasy);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.works-modal-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.works-modal-close-btn {
  background: rgba(228, 185, 63, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--sro-gold-sand);
  font-size: 1.8rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.works-modal-close-btn:hover {
  background: var(--gold-gradient);
  color: #0b0904;
  transform: rotate(90deg) scale(1.05);
}

/* Modal Filter & Search Bar */
.modal-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.modal-filter-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.modal-filter-btn {
  background: rgba(228, 185, 63, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
}

.modal-filter-btn:hover {
  border-color: var(--sro-gold-sand);
  color: var(--text-main);
}

.modal-filter-btn.active {
  background: var(--gold-gradient);
  color: #0b0904;
  border-color: var(--sro-gold-bright);
}

.modal-search-wrapper {
  flex: 1;
  min-width: 240px;
  max-width: 380px;
}

.modal-search-input {
  width: 100%;
  background: rgba(228, 185, 63, 0.04);
  border: 1px solid var(--border-gold);
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  outline: none;
  transition: all 0.25s ease;
}

.modal-search-input:focus {
  border-color: var(--sro-gold-bright);
  box-shadow: 0 0 12px rgba(228, 185, 63, 0.3);
}

/* Modal Works Grid Scroll Area */
.modal-works-grid-wrapper {
  overflow-y: auto;
  padding-right: 8px;
  max-height: calc(90vh - 220px);
}

.modal-works-grid-wrapper::-webkit-scrollbar {
  width: 8px;
}

.modal-works-grid-wrapper::-webkit-scrollbar-track {
  background: rgba(228, 185, 63, 0.04);
  border-radius: 4px;
}

.modal-works-grid-wrapper::-webkit-scrollbar-thumb {
  background: rgba(228, 185, 63, 0.25);
  border-radius: 4px;
}

.modal-works-grid-wrapper::-webkit-scrollbar-thumb:hover {
  background: var(--sro-gold);
}

.modal-works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  padding: 4px 0 16px;
}

.modal-work-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.modal-work-card:hover {
  border-color: var(--sro-gold-sand);
  transform: translateY(-4px);
}

.modal-no-results {
  text-align: center;
  padding: 60px 20px;
}

/* FAQ Grid */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 20px 24px;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-main);
}

.faq-answer {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Contact Form Section */
.contact-section-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: 40px;
}

.e-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .e-form-grid { grid-template-columns: 1fr; }
}

.e-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.e-form-label {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--sro-gold-sand);
  font-family: var(--font-mono);
}

.e-form-input, .e-form-textarea {
  background: #070603;
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
}

.e-form-input:focus, .e-form-textarea:focus {
  border-color: var(--sro-gold-sand);
}

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

.e-submit-btn {
  background: var(--gold-gradient);
  color: var(--text-dark);
  border: none;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 900;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Footer Banner */
.e-footer-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
}

.e-footer-title {
  font-family: var(--font-fantasy);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--sro-gold-sand);
  margin-bottom: 12px;
}

/* Lightbox Modal Overlay */
.avatar-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 9, 4, 0.92);
  backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.avatar-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.avatar-modal-content {
  max-width: 90vw;
  max-height: 85vh;
  text-align: center;
  position: relative;
}

.avatar-modal-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 20px;
  border: 3px solid var(--sro-gold-sand);
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

.avatar-modal-caption {
  font-family: var(--font-fantasy);
  color: var(--sro-gold-sand);
  font-size: 1.2rem;
  font-weight: 900;
  margin-top: 16px;
}

.avatar-modal-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: var(--sro-gold-sand);
  font-size: 2.5rem;
  font-weight: 900;
  cursor: pointer;
  z-index: 100000;
}

/* ==========================================================================
   INTERACTIVE COMMAND TERMINAL PLAYGROUND STYLING
   ========================================================================== */
.terminal-playground-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold-bright);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.terminal-preset-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.term-cmd-btn {
  background: rgba(228, 185, 63, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--sro-gold-sand);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.term-cmd-btn:hover {
  background: var(--gold-gradient);
  color: #0b0904;
  transform: translateY(-2px);
}

.terminal-console-window {
  background: #070603;
  border: 1px solid rgba(228, 185, 63, 0.2);
  border-radius: 16px;
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #e5e7eb;
}

.terminal-log-output {
  min-height: 140px;
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.term-line {
  line-height: 1.5;
}

.term-line .term-prompt {
  color: var(--sro-gold);
  font-weight: 800;
}

.term-line .term-success {
  color: #10b981;
}

.term-line .term-info {
  color: #3b82f6;
}

.term-input-row {
  display: flex;
  gap: 12px;
  align-items: center;
  border-top: 1px solid rgba(228, 185, 63, 0.15);
  padding-top: 14px;
}

.terminal-text-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--sro-gold-bright);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  outline: none;
}

.terminal-exec-btn {
  background: var(--gold-gradient);
  color: #0b0904;
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 0.8rem;
  border: none;
  padding: 8px 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.terminal-exec-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 0 15px rgba(228, 185, 63, 0.4);
}

/* ==========================================================================
   LIVE AUTOMATED EVENT SCHEDULE WIDGET STYLING
   ========================================================================== */
.events-schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.event-schedule-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.event-schedule-card:hover {
  border-color: var(--border-gold-bright);
  transform: translateY(-4px);
}

.event-card-top {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.event-icon-box {
  width: 48px;
  height: 48px;
  background: rgba(228, 185, 63, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.event-name {
  font-family: var(--font-fantasy);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--sro-gold-sand);
}

.event-reward {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 2px;
}

.event-timer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(228, 185, 63, 0.12);
  padding-top: 14px;
  margin-top: 8px;
}

.event-timer-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-main);
}

.event-notify-btn {
  background: rgba(228, 185, 63, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--sro-gold-sand);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.event-notify-btn:hover {
  background: var(--gold-gradient);
  color: #0b0904;
}


