/* CSS Variables */
:root {
  --color-primary: #d4af37;
  --color-accent: #edc800;
  --color-bg-primary: #0f0f0f;
  --color-text-primary: #e8e8e8;
  --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.15);
  --gradient-primary: linear-gradient(135deg, #d4af37, #f5e0a3);
  --font-family: "Vazirmatn", sans-serif;
}

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

body {
  font-family: var(--font-family);
  font-weight: 500;
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  height: 100vh;
  overflow: hidden;
  direction: rtl;
}

.container {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
}

.content {
  text-align: center;
  z-index: 10;
  position: relative;
  width: 100%;
  max-width: 600px;
}

/* Logo Section */
.brand-logo {
  height: 120px;
  width: auto;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
  margin-bottom: 10px;
  animation: fadeInDown 1s ease-out, logoFloat 4s ease-in-out infinite 1s;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  animation: fadeInDown 1s ease-out 0.2s both;
}

.brand-name {
  font-family: var(--font-family);
  font-weight: 900;
  font-size: 48px;
  color: var(--color-primary);
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
  margin: 0;
}

.diamond {
  width: 30px;
  height: 30px;
  background: var(--gradient-primary);
  transform: rotate(45deg);
  border-radius: 4px;
  box-shadow: var(--shadow-glow);
  animation: slowRotate 6s linear infinite;
}

/* Main Content */
.main-content {
  margin-bottom: 40px;
}

.description {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 24px;
  color: var(--color-text-primary);
  margin-bottom: 20px;
  animation: fadeInUp 1s ease-out 0.7s both;
}

/* Loading Animation */
.loading-animation {
  animation: fadeInUp 1s ease-out 1.1s both;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.dot:nth-child(2) {
  animation-delay: 0.3s;
}

.dot:nth-child(3) {
  animation-delay: 0.6s;
}

/* Background Effects */
.background-effects {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.glow-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  animation: breathe 4s ease-in-out infinite;
}

.blur-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: float 6s ease-in-out infinite;
}

.blur-circle-1 {
  width: 200px;
  height: 200px;
  background-color: rgba(237, 200, 0, 0.2);
  top: 20%;
  right: 10%;
  animation-delay: -2s;
}

.blur-circle-2 {
  width: 150px;
  height: 150px;
  background-color: rgba(212, 175, 55, 0.15);
  bottom: 30%;
  left: 15%;
  animation-delay: -4s;
}

/* Animations */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slowRotate {
  0% {
    transform: rotate(45deg);
  }
  100% {
    transform: rotate(405deg);
  }
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

@keyframes breathe {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.1;
  }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 15px;
  }
  
  .brand-logo {
    height: 140px;
    margin-bottom: 25px;
  }
  
  .brand-name {
    font-size: 36px;
  }
  
  .description {
    font-size: 20px;
    padding: 0 20px;
  }
  
  .diamond {
    width: 25px;
    height: 25px;
  }
  
  .logo {
    gap: 15px;
    margin-bottom: 30px;
  }
  
  .main-content {
    margin-bottom: 30px;
  }
  
  .glow-effect {
    width: 300px;
    height: 300px;
  }
  
  .blur-circle-1 {
    width: 150px;
    height: 150px;
  }
  
  .blur-circle-2 {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 10px;
  }
  
  .brand-logo {
    height: 120px;
    margin-bottom: 20px;
  }
  
  .brand-name {
    font-size: 28px;
  }
  
  .description {
    font-size: 18px;
    padding: 0 15px;
  }
  
  .diamond {
    width: 20px;
    height: 20px;
  }
  
  .logo {
    gap: 12px;
    margin-bottom: 25px;
  }
  
  .main-content {
    margin-bottom: 25px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
  
  .glow-effect {
    width: 250px;
    height: 250px;
  }
  
  .blur-circle-1 {
    width: 120px;
    height: 120px;
  }
  
  .blur-circle-2 {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 320px) {
  .brand-logo {
    height: 110px;
  }
  
  .brand-name {
    font-size: 24px;
  }
  
  .description {
    font-size: 16px;
    padding: 0 10px;
  }
  
  .diamond {
    width: 18px;
    height: 18px;
  }
  
  .logo {
    gap: 10px;
  }
  
  .dot {
    width: 8px;
    height: 8px;
  }
}