/*
Theme Name: Mayan Raj Trade Room
Theme URI: https://mayanraj.com
Author: Grow Ads Agency
Author URI: https://growadsagency.com
Description: Premium dark trading landing page theme for Mayan Raj Trade Room
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mayan-raj-trade
*/

/* =============================================
   RESET & BASE
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

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

body {
  font-family: 'Inter', sans-serif;
  background-color: hsl(230, 25%, 7%);
  color: hsl(220, 20%, 92%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* =============================================
   BACKGROUND & LAYOUT
   ============================================= */
.page-wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 3rem 1rem;
  background: radial-gradient(ellipse at top, hsl(260, 30%, 15%) 0%, hsl(230, 25%, 7%) 70%);
}

.main-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 28rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* =============================================
   PARTICLES
   ============================================= */
.particles-container {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background-color: hsl(270, 60%, 55%);
  animation: particle-drift linear infinite;
}

@keyframes particle-drift {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}

/* =============================================
   PROFILE AVATAR
   ============================================= */
.profile-wrapper {
  position: relative;
  animation: scale-in 0.5s ease-out forwards;
}

.profile-glow {
  position: absolute;
  inset: -0.75rem;
  border-radius: 50%;
  background: hsl(270, 60%, 55%, 0.2);
  filter: blur(16px);
  animation: pulse-glow 2s ease-in-out infinite;
}

.profile-ring {
  position: relative;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(
    hsl(270, 80%, 60%),
    hsl(290, 70%, 65%),
    hsl(45, 95%, 55%),
    hsl(270, 80%, 60%)
  );
}

.profile-ring-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: hsl(230, 25%, 7%);
}

.profile-ring-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.online-indicator {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: hsl(45, 95%, 55%);
  border: 2px solid hsl(230, 25%, 7%);
  box-shadow: 0 0 20px hsl(45, 100%, 60%, 0.3), 0 0 60px hsl(45, 100%, 60%, 0.1);
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@keyframes scale-in {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
.name-section {
  text-align: center;
  opacity: 0;
  animation: fade-in 0.6s ease-out 0.1s forwards;
}

.name-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, hsl(45, 95%, 55%), hsl(35, 100%, 65%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.name-subtitle {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  margin-top: 0.25rem;
  background: linear-gradient(135deg, hsl(270, 80%, 65%), hsl(290, 70%, 70%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================
   TRUST BADGE
   ============================================= */
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fade-in 0.6s ease-out 0.2s forwards;
}

.trust-badge svg {
  width: 1rem;
  height: 1rem;
  color: hsl(45, 95%, 55%);
  flex-shrink: 0;
}

.trust-badge span {
  color: hsl(220, 10%, 55%);
  font-size: 0.875rem;
}

/* =============================================
   TAGS
   ============================================= */
.tags {
  display: flex;
  gap: 0.75rem;
  opacity: 0;
  animation: fade-in 0.6s ease-out 0.2s forwards;
}

.tag {
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background: hsl(230, 18%, 18%);
  color: hsl(220, 20%, 85%);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid hsl(230, 15%, 20%);
}

/* =============================================
   CTA BUTTON
   ============================================= */
.cta-wrapper {
  width: 100%;
  opacity: 0;
  animation: fade-in 0.6s ease-out 0.3s forwards;
  position: relative;
}

.cta-button {
  display: block;
  position: relative;
  width: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.cta-button-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, hsl(270, 60%, 55%), hsl(270, 60%, 55%), hsl(270, 60%, 55%, 0.8));
  transition: all 0.3s ease;
}

.cta-button:hover .cta-button-bg {
  background: linear-gradient(to right, hsl(270, 60%, 50%), hsl(270, 60%, 55%));
}

.cta-button-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: white;
  font-size: 1.125rem;
}

.cta-button-content svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}

.cta-button:hover .cta-button-content svg {
  transform: translateX(4px);
}

.cta-glow {
  position: absolute;
  inset: -4px;
  border-radius: 0.75rem;
  background: hsl(270, 60%, 55%, 0.2);
  filter: blur(16px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.cta-button:hover + .cta-glow {
  opacity: 1;
}

/* =============================================
   FEATURE CARDS
   ============================================= */
.features {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.feature-card {
  width: 100%;
  border-radius: 0.75rem;
  background: hsl(230, 20%, 12%, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid hsl(270, 60%, 55%, 0.4);
  box-shadow: inset 0 0 20px hsl(270, 60%, 55%, 0.05), 0 0 20px hsl(270, 60%, 55%, 0.1);
  transition: all 0.3s ease;
  cursor: default;
  opacity: 0;
}

.feature-card:nth-child(1) { animation: fade-in 0.6s ease-out 0.3s forwards; }
.feature-card:nth-child(2) { animation: fade-in 0.6s ease-out 0.4s forwards; }
.feature-card:nth-child(3) { animation: fade-in 0.6s ease-out 0.5s forwards; }

.feature-card:hover {
  background: hsl(230, 20%, 12%, 0.8);
  transform: scale(1.02);
}

.feature-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: hsl(270, 60%, 55%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: background 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: hsl(270, 60%, 55%, 0.2);
}

.feature-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: hsl(220, 20%, 92%);
}

.feature-desc {
  color: hsl(220, 10%, 55%);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* =============================================
   FOOTER / AGENCY
   ============================================= */
.agency-footer {
  width: 100%;
  margin-top: 1rem;
  opacity: 0;
  animation: fade-in 0.6s ease-out 0.5s forwards;
}

.agency-link {
  display: block;
  width: 100%;
  text-align: center;
  border-radius: 0.75rem;
  background: hsl(230, 20%, 12%, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid hsl(230, 15%, 20%);
  padding: 1rem 1.5rem;
  transition: background 0.3s ease;
}

.agency-link:hover {
  background: hsl(230, 20%, 12%, 0.6);
}

.agency-title {
  color: hsl(45, 95%, 55%);
  font-size: 0.875rem;
  font-weight: 500;
}

.agency-subtitle {
  color: hsl(220, 10%, 55%);
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

/* =============================================
   FADE-IN ANIMATION
   ============================================= */
@keyframes fade-in {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (min-width: 768px) {
  .name-title {
    font-size: 3rem;
  }
  .name-subtitle {
    font-size: 1.25rem;
  }
  .profile-ring {
    width: 11rem;
    height: 11rem;
  }
  .feature-title {
    font-size: 1.125rem;
  }
}
