/*
  Author: Yogabrata Mukhopadhyay
  Organization: Brahmexa
  Copyright: Copyright (c) 2026 Brahmexa. All rights reserved.
*/

/* ==========================================================================
   Tarot & Consultation Portal - Brahmexa Theme
   ========================================================================== */

.ym-util-app {
  --bg-primary: #070a12;
  --bg-card: rgba(15, 23, 42, 0.85);
  --border-gold: rgba(245, 158, 11, 0.3);
  --accent-gold: #f59e0b;
  --accent-purple: #a855f7;
  --accent-cyan: #38bdf8;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --font-family: 'Inter', system-ui, sans-serif;
}

.ym-util-app, .ym-util-app * { box-sizing: border-box; }

.ym-util-app {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  background-image: 
    radial-gradient(circle at 50% 20%, rgba(168, 85, 247, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.12) 0%, transparent 45%);
  background-attachment: fixed;
}

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 1.5rem; }

.hero-header { text-align: center; padding: 2rem 1rem; }
.hero-title {
  font-size: 2.4rem; font-weight: 800;
  background: linear-gradient(135deg, #c084fc 0%, #a855f7 50%, #f59e0b 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}
.hero-subtitle { color: var(--text-secondary); max-width: 680px; margin: 0 auto; }

.glass-card {
  background: var(--bg-card); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-gold); border-radius: 1rem; padding: 1.75rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5); margin-bottom: 1.5rem;
}

.card-title {
  font-size: 1.3rem; font-weight: 700; color: var(--accent-purple);
  margin-bottom: 1.2rem; display: flex; align-items: center; gap: 0.5rem;
}

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1.75rem; font-weight: 700; border-radius: 0.5rem; cursor: pointer; border: none; }
.btn-primary { background: linear-gradient(135deg, #a855f7 0%, #f59e0b 100%); color: #070a12; box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3); }

/* Tarot Cards Grid */
.cards-display { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.5rem; }

.tarot-card {
  width: 180px; height: 290px; background: rgba(30, 41, 59, 0.9);
  border: 2px solid var(--accent-gold); border-radius: 0.75rem;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 1rem; text-align: center; box-shadow: 0 10px 25px rgba(0,0,0,0.6);
  transition: transform 0.3s ease, border-color 0.3s ease; cursor: pointer;
}
.tarot-card:hover { transform: translateY(-8px) scale(1.03); border-color: var(--accent-purple); }

.tarot-icon { font-size: 3.5rem; margin-top: 0.5rem; }
.tarot-name { font-size: 1.05rem; font-weight: 700; color: var(--accent-gold); margin-bottom: 0.2rem; }
.tarot-orient { font-size: 0.75rem; background: rgba(168, 85, 247, 0.2); color: var(--accent-purple); padding: 0.2rem 0.5rem; border-radius: 0.4rem; }

/* Advisor Marketplace Cards */
.advisors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }

.advisor-card {
  background: rgba(30, 41, 59, 0.4); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.75rem; padding: 1.25rem; display: flex; gap: 1rem; align-items: center;
}
.advisor-avatar { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--accent-gold); object-fit: cover; }
.advisor-status { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #10b981; margin-right: 4px; }

/* Chat Window Modal */
.chat-window {
  background: #0f172a; border: 1px solid var(--accent-purple); border-radius: 1rem;
  padding: 1.25rem; margin-top: 1.5rem; box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}
.chat-messages { height: 200px; overflow-y: auto; background: rgba(15,23,42,0.8); border-radius: 0.5rem; padding: 1rem; margin-bottom: 1rem; }
.msg-bubble { background: rgba(168, 85, 247, 0.15); border: 1px solid rgba(168, 85, 247, 0.3); padding: 0.6rem 0.9rem; border-radius: 0.5rem; margin-bottom: 0.6rem; font-size: 0.9rem; }
