/* ============================================================================
   FLAME STORE - MAIN STYLES
   نظام الألوان والستايلات الأساسية
   ============================================================================ */

/* ============= RESET & BOX MODEL ============= */
* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

/* ============= COLOR SYSTEM (DARK MODE ONLY) ============= */
:root {
  /* Dark Mode - Default & Only */
  --bg-primary: #1C2128;
  --bg-secondary: #22272E;
  --bg-card: #2D333B;
  --bg-elevated: #373E47;
  
  --border-default: #444C56;
  --border-muted: #373E47;
  
  --text-primary: #ADBAC7;
  --text-secondary: #768390;
  --text-muted: #636E7B;
  
  --accent-primary: #FF2E63;
  --accent-secondary: #FF2E63;
  --accent-success: #FF2E63;
  
  --shadow-sm: 0 0 transparent;
  --shadow-md: 0 3px 12px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
  
  --hover-overlay: rgba(255,255,255,0.05);
}

/* ============= BODY & TYPOGRAPHY ============= */
body { 
  font-family: 'PingARLT', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; 
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.3s ease, color 0.3s ease, background-image 0.3s ease;
  line-height: 1.6;
  min-height: 100vh;
}

/* Clean solid backgrounds - no patterns */

/* ============= HEADER (Floating Capsule) ============= */
header.floating-header { 
  background: rgba(28, 33, 40, 0.95);
  padding: 0.75rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 20px;
  z-index: 1000;
  width: 95%;
  max-width: 1400px;
  margin: 0 auto 2rem auto;
  border-radius: 50px;
  backdrop-filter: blur(12px);
}


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

.logo-link {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.05);
}

.logo {
  height: 40px;
  width: auto;
  display: block;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.btn-profile {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-profile:hover {
  background: rgba(255, 46, 99, 0.1);
  border-color: rgba(255, 46, 99, 0.3);
  color: var(--primary);
}

@media (max-width: 768px) {
  .logo { height: 32px; }
  header.floating-header { 
    width: 92%; 
    top: 15px;
    padding: 0.75rem 1.5rem;
  }
  .btn-profile {
    width: 38px;
    height: 38px;
  }
}

/* ============= FOOTER ============= */
.footer {
  background: linear-gradient(135deg, #2D333B 0%, #22272E 100%);
  border-top: 3px solid var(--accent-primary);
  padding: 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-default);
}

.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.footer-center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
}

.footer-logo {
  max-width: 120px;
  height: auto;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-align: center;
  margin: 0;
  line-height: 1.5;
}

.footer-bottom {
  text-align: center;
}

.footer-made {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  display: inline-flex;
  align-items: center;
}

.heart {
  font-size: 1.2rem;
  display: inline-block;
  animation: heartbeat 1.5s ease-in-out infinite;
  filter: hue-rotate(0deg);
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.1); }
  50% { transform: scale(1); }
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s;
}

.footer-link:hover {
  color: var(--accent-primary);
}

.footer-divider {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ============= CONTAINER ============= */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  min-height: calc(100vh - 400px);
}

/* ============= ICONS ============= */
.info-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  flex-shrink: 0;
  opacity: 0.9;
}

.icon-calendar { fill: var(--accent-primary); }
.icon-platform { fill: var(--accent-primary); }
.icon-email { fill: var(--text-secondary); }
.icon-origin { fill: #FFA500; }
.icon-changeable { fill: var(--accent-primary); }
.icon-vbucks { fill: #FFD700; }
.icon-level { fill: #9C27B0; }
.icon-battlepass { fill: #FF6B6B; }
.icon-wins { fill: var(--accent-primary); }
.icon-link { fill: var(--accent-primary); }
.icon-search { fill: var(--accent-primary); }
.icon-sort { fill: var(--accent-primary); }
.icon-settings { fill: var(--accent-primary); }
.icon-gamepad { fill: var(--accent-primary); }
.icon-check { fill: white; }
.icon-x { fill: #E63946; }

/* ============= ANIMATIONS ============= */
@keyframes fadeInUp {
  from { 
    opacity: 0; 
    transform: translateY(30px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

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

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

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

