/* =============================================
   VRArenaHub — Redesigned Auxiliary Pages Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --primary:        #7c3aed;
  --primary-dark:   #5b21b6;
  --primary-light:  #a855f7;
  --secondary:      #06b6d4;
  --secondary-dark: #0891b2;
  --accent:         #f59e0b;
  --success:        #10b981;
  --warning:        #f59e0b;
  --error:          #ef4444;

  --bg-base:        #0a0a0f;
  --bg-surface:     #111827;
  --bg-elevated:    #1f2937;
  --bg-card:        #374151;
  --bg-hover:       #4b5563;
  --bg-gradient:    linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);

  --text-primary:   #f9fafb;
  --text-secondary: #d1d5db;
  --text-muted:     #9ca3af;
  --text-inverse:   #111827;

  --border:         #374151;
  --border-light:   #4b5563;
  --border-accent:  #7c3aed;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.3);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.5);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-base);
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
ul, ol { list-style: none; }

h1, h2, h3, h4 { 
  font-family: 'Orbitron', monospace;
  line-height: 1.1; 
  font-weight: 700; 
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: 1.4rem; }
p  { line-height: 1.8; color: var(--text-secondary); font-weight: 300; }

main { flex: 1; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn--primary {
  background: var(--bg-gradient);
  color: var(--text-primary);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.btn--primary:hover { 
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
  backdrop-filter: blur(10px);
}

.btn--outline:hover { 
  background: var(--primary);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.3);
}

.btn--sm { 
  padding: var(--space-3) var(--space-6); 
  font-size: 0.85rem; 
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: var(--space-4) 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.brand__logo { 
  width: 48px; 
  height: auto; 
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.5));
}

.brand__name {
  font-family: 'Orbitron', monospace;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.brand__name .accent { 
  background: var(--bg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header__contact {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.header__phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.header__phone:hover { 
  color: var(--primary);
  background: rgba(124, 58, 237, 0.1);
}

.header__phone svg { 
  color: var(--primary);
  transition: transform 0.3s ease;
}

.header__phone:hover svg {
  transform: scale(1.1);
}

/* =============================================
   PAGE HERO / BANNER
   ============================================= */
.page-hero {
  padding: calc(var(--space-20) + 80px) 0 var(--space-16);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-4);
}

.page-hero__title { 
  margin-bottom: var(--space-4);
  background: var(--bg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero__subtitle {
  font-size: 1.2rem;
  max-width: 600px;
  font-weight: 300;
  line-height: 1.7;
}

/* =============================================
   PAGE CONTENT
   ============================================= */
.page-content {
  padding: var(--space-16) 0;
}

.page-content--narrow .container {
  max-width: 900px;
}

/* --- Content Blocks --- */
.content-block {
  margin-bottom: var(--space-12);
}

.content-block:last-child { margin-bottom: 0; }

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  margin-bottom: var(--space-12);
}

.about-intro__image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.content-block h2 {
  font-size: 1.8rem;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
  background: var(--bg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.content-block h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.content-block p {
  margin-bottom: var(--space-4);
  font-weight: 300;
  line-height: 1.8;
}

.content-block p:last-child { margin-bottom: 0; }

/* --- About Blocks --- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-12);
  text-align: left;
}

.about-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.about-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--bg-gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.about-block:hover::before {
  transform: scaleX(1);
}

.about-block:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}

.about-block__icon {
  width: 64px;
  height: 64px;
  background: rgba(124, 58, 237, 0.1);
  border: 2px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  color: var(--primary);
  transition: all 0.3s ease;
}

.about-block:hover .about-block__icon {
  background: var(--primary);
  color: var(--text-primary);
  transform: scale(1.1);
}

.about-block__title {
  font-family: 'Orbitron', monospace;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.about-team {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: var(--space-16) 0;
  position: relative;
}

.about-team::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 0%, rgba(124, 58, 237, 0.03) 50%, transparent 100%);
  pointer-events: none;
}

.about-team .container {
  position: relative;
  z-index: 1;
  text-align: left;
}

.about-team__title {
  font-size: 2.2rem;
  margin-bottom: var(--space-6);
  background: var(--bg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-team__text {
  max-width: 700px;
  margin-bottom: var(--space-8);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.8;
}

.team-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.team-content__image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.about-values {
  background: var(--bg-base);
  padding: var(--space-16) 0;
}

.values-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.values-header h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  margin-bottom: var(--space-4);
  background: var(--bg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.values-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.value-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.value-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--bg-gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.value-item:hover::before {
  transform: scaleX(1);
}

.value-item:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}

.value-item__icon {
  width: 64px;
  height: 64px;
  background: rgba(124, 58, 237, 0.1);
  border: 2px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--primary);
}

.value-item__number {
  font-family: 'Orbitron', monospace;
  font-size: 3rem;
  font-weight: 900;
  background: var(--bg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-4);
  opacity: 0.8;
}

.value-item__title {
  font-family: 'Orbitron', monospace;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.value-item p {
  font-weight: 300;
  line-height: 1.8;
}

/* --- Policy Content Block --- */
.policy-content {
  padding: var(--space-16) 0;
}

.policy-content__inner {
  max-width: 900px;
  margin: 0 auto;
}

.policy-list {
  margin: var(--space-4) 0;
  padding-left: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.policy-list li {
  position: relative;
  padding-left: var(--space-4);
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.8;
}

.policy-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.policy-list a {
  color: var(--primary);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.policy-list a:hover {
  color: var(--primary-light);
}

/* --- Empty Policy Block --- */
.policy-empty {
  padding: var(--space-16) 0;
}

.policy-empty__inner {
  background: var(--bg-surface);
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-16) var(--space-8);
  text-align: center;
  color: var(--text-muted);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
  overflow: hidden;
}

.policy-empty__inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(124, 58, 237, 0.05) 50%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.policy-empty__inner svg { 
  opacity: 0.4;
  color: var(--primary);
}

.policy-empty__label {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: var(--space-16) 0 var(--space-8);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--bg-gradient);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-8);
  margin-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
}

.footer__brand { 
  display: flex; 
  flex-direction: column; 
  gap: var(--space-4); 
}

.footer__desc { 
  font-size: 0.95rem; 
  max-width: 300px; 
  line-height: 1.7;
  font-weight: 300;
}

.footer__col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-4);
}

.footer__links { 
  display: flex; 
  flex-direction: column; 
  gap: var(--space-3); 
}

.footer__links a { 
  font-size: 0.95rem; 
  color: var(--text-secondary);
  font-weight: 400;
  transition: all 0.3s ease;
}

.footer__links a:hover { 
  color: var(--primary);
  transform: translateX(4px);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__copy { 
  font-size: 0.85rem; 
  color: var(--text-muted);
  font-weight: 300;
}

.footer__legal { 
  display: flex; 
  gap: var(--space-6); 
}

.footer__legal a { 
  font-size: 0.85rem; 
  color: var(--text-muted);
  font-weight: 400;
  transition: color 0.3s ease;
}

.footer__legal a:hover { 
  color: var(--primary);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .about-intro { 
    grid-template-columns: 1fr; 
    text-align: center;
  }
  .team-content { 
    grid-template-columns: 1fr; 
    text-align: center;
  }
}

@media (max-width: 768px) {
  .values-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: var(--space-8); }
  .header__contact .btn { display: none; }
  .about-grid { 
    grid-template-columns: 1fr; 
    text-align: center;
  }
  .about-intro { 
    grid-template-columns: 1fr; 
    text-align: center;
  }
  .team-content { 
    grid-template-columns: 1fr; 
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .page-hero { padding: calc(var(--space-16) + 80px) 0 var(--space-12); }
}