﻿/* ROSTAR ROLEPLAY — Home Page Custom Styles */

.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 70px;
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image {
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.85) contrast(1.05);
  transform: scale(1.02);
  transition: filter 0.3s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,11,11,0.6) 0%, rgba(11,11,11,0.3) 50%, rgba(11,11,11,0.9) 100%);
}

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

.hero-content {
  max-width: 820px;
}

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: var(--space-4) 0;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: #E2E8F0;
  line-height: 1.6;
  margin-bottom: var(--space-6);
  max-width: 660px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.9);
}

/* Stats Section Layout */
.stats-section {
  padding: 40px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: var(--space-6) !important;
  text-align: center !important;
}

.stat-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: var(--space-5) var(--space-4) !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
}

.stat-card-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent-bright);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-card-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.stat-card-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Updates Feed Container */
.updates-feed-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.feed-pill-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: rgba(140, 224, 0, 0.15);
  color: var(--accent-bright);
  border: 1px solid var(--border-accent);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
}

.feed-tab-pills {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 4px;
  border-radius: 9999px;
  margin-top: var(--space-4);
  margin-bottom: var(--space-8);
}

.feed-tab-btn {
  padding: 8px 24px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.feed-tab-btn:hover {
  color: var(--text-primary);
}

.feed-tab-btn.active {
  background: var(--accent-bright);
  color: #0B0B0B;
  box-shadow: 0 4px 16px rgba(140, 224, 0, 0.3);
}

.feed-card {
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-md);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feed-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.feed-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.feed-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-accent);
  flex-shrink: 0;
}

.feed-author-meta {
  display: flex;
  flex-direction: column;
}

.feed-author-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-bright);
  display: flex;
  align-items: center;
  gap: 8px;
}

.feed-timestamp {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: monospace;
  margin-top: 2px;
}

.feed-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.feed-changelog-content {
  font-size: 0.925rem;
  color: #D1D5DB;
  line-height: 1.65;
}

.feed-changelog-content ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.feed-changelog-content li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}

.feed-changelog-content li::before {
  content: '•';
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--accent-bright);
  font-size: 1.2rem;
  line-height: 1.2;
}

.feed-changelog-content li ul {
  padding-left: 20px;
  margin-top: 8px;
  margin-bottom: 8px;
}

.feed-changelog-content li ul li::before {
  content: '-';
  left: 6px;
  font-size: 1rem;
}

/* Accordion FAQ Styling */
.faq-accordion .accordion-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-4);
  transition: border-color 0.2s;
}

.faq-accordion .accordion-item.open {
  border-color: var(--border-accent);
}

.faq-accordion .accordion-trigger {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-accordion .accordion-body {
  padding: 0 24px 20px 24px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  border-top: 1px solid var(--border-subtle);
  display: none;
}

.faq-accordion .accordion-item.open .accordion-body {
  display: block;
  padding-top: 16px;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
