:root {
  --rgf9-p: #2f6036;
  --rgf9-a: #af2e66;
  --rgf9-bg: #121212;
  --rgf9-bg-alt: #1a1a1a;
  --rgf9-text: #e0e0e0;
  --rgf9-head: #ffffff;
  --rgf9-glass-bg: rgba(255, 255, 255, 0.04);
  --rgf9-glass-border: rgba(255, 255, 255, 0.1);
  --rgf9-glass-hover: rgba(175, 46, 102, 0.15);
  --rgf9-rad: 8px;
  --rgf9-rad-lg: 12px;
  --rgf9-font-body: 'Inter', sans-serif;
  --rgf9-font-head: 'Sora', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--rgf9-bg);
  color: var(--rgf9-text);
  font-family: var(--rgf9-font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--rgf9-font-head);
  color: var(--rgf9-head);
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.3;
}

a {
  color: var(--rgf9-text);
  text-decoration: none;
  transition: color 0.3s, border-color 0.3s;
}
a:hover {
  color: var(--rgf9-a);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.rgf9-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.rgf9-glass {
  background: var(--rgf9-glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--rgf9-glass-border);
  border-radius: var(--rgf9-rad);
}

/* Header */
.rgf9-header {
  background-color: rgba(18, 18, 18, 0.95);
  border-bottom: 1px solid var(--rgf9-glass-border);
  padding: 1rem 0;
  position: relative;
  z-index: 50;
}
.rgf9-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.rgf9-logo {
  font-family: var(--rgf9-font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--rgf9-head);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(175, 46, 102, 0.5);
}
.rgf9-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.rgf9-nav-link {
  font-size: 0.95rem;
  font-weight: 500;
}

/* Ticker */
.rgf9-ticker-wrapper {
  background: var(--rgf9-p);
  color: #fff;
  padding: 0.5rem 0;
  overflow: hidden;
  display: flex;
  width: 100%;
  border-bottom: 2px solid var(--rgf9-a);
}
.rgf9-ticker-track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: rgf9-scroll 20s linear infinite;
}
.rgf9-ticker-item {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
}
.rgf9-ticker-item:hover {
  text-decoration: underline;
  color: #fff;
}
@keyframes rgf9-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Hero */
.rgf9-hero {
  padding: 4rem 0;
  position: relative;
  background: radial-gradient(circle at 70% 30%, rgba(47, 96, 54, 0.2) 0%, transparent 60%);
}
.rgf9-split-hero {
  display: flex;
  align-items: center;
  gap: 3rem;
}
.rgf9-hero-text {
  flex: 1;
}
.rgf9-slogan {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--rgf9-head), var(--rgf9-a));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.rgf9-hero-desc {
  font-size: 1.125rem;
  color: #bbb;
  margin-bottom: 2rem;
}
.rgf9-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.rgf9-btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--rgf9-rad);
  font-weight: 600;
  font-family: var(--rgf9-font-head);
  text-align: center;
}
.rgf9-btn-primary {
  background-color: var(--rgf9-p);
  color: #fff;
  border: 1px solid var(--rgf9-p);
}
.rgf9-btn-primary:hover {
  background-color: #244929;
  color: #fff;
}
.rgf9-btn-outline {
  background-color: transparent;
  color: var(--rgf9-head);
  border: 1px solid var(--rgf9-a);
}
.rgf9-btn-outline:hover {
  background-color: rgba(175, 46, 102, 0.2);
  color: #fff;
}
.rgf9-hero-image-wrap {
  flex: 1;
}
.rgf9-hero-img {
  border-radius: var(--rgf9-rad-lg);
  border: 2px solid var(--rgf9-glass-border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  object-fit: cover;
}

/* Stats */
.rgf9-stats-section {
  padding: 2rem 0;
  background-color: var(--rgf9-bg-alt);
}
.rgf9-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.rgf9-stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
  transition: transform 0.3s ease;
}
.rgf9-stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--rgf9-p);
}
.rgf9-stat-val {
  font-family: var(--rgf9-font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--rgf9-a);
}
.rgf9-stat-label {
  font-size: 0.875rem;
  color: #aaa;
  margin-top: 0.5rem;
}

/* Games / Categories */
.rgf9-games-section {
  padding: 4rem 0;
}
.rgf9-section-head {
  text-align: center;
  margin-bottom: 2rem;
}
.rgf9-section-head h2 {
  font-size: 2rem;
  color: var(--rgf9-p);
}
.rgf9-tabs-wrapper {
  overflow-x: auto;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--rgf9-p) var(--rgf9-bg-alt);
}
.rgf9-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  min-width: max-content;
}
.rgf9-tab-btn {
  background: var(--rgf9-glass-bg);
  border: 1px solid var(--rgf9-glass-border);
  color: var(--rgf9-text);
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  cursor: pointer;
  font-family: var(--rgf9-font-body);
  font-size: 0.9rem;
  transition: all 0.2s;
}
.rgf9-tab-btn:hover, .rgf9-tab-btn.rgf9-active {
  background: var(--rgf9-p);
  color: #fff;
  border-color: var(--rgf9-p);
}

/* Masonry Cards */
.rgf9-masonry {
  column-count: 2;
  column-gap: 1rem;
}
.rgf9-card {
  display: block;
  break-inside: avoid;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.rgf9-card:hover {
  transform: translateY(-3px);
  border-color: var(--rgf9-a);
  background: var(--rgf9-glass-hover);
}
.rgf9-card-img-wrap {
  width: 100%;
  overflow: hidden;
}
.rgf9-card-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/11;
  object-fit: cover;
  display: block;
}
.rgf9-card-body {
  padding: 1rem;
  position: relative;
}
.rgf9-card-title {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}
.rgf9-card-sub {
  font-size: 0.875rem;
  color: #aaa;
  margin: 0 0 1rem 0;
}
.rgf9-badge {
  display: inline-block;
  background: var(--rgf9-a);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  position: absolute;
  top: -12px;
  right: 10px;
}

/* Benefits */
.rgf9-benefits {
  padding: 3rem 0;
  background-color: var(--rgf9-bg-alt);
}
.rgf9-section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
}
.rgf9-benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.rgf9-benefit-card {
  padding: 2rem;
  text-align: center;
}
.rgf9-b-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.rgf9-benefit-card h3 {
  color: var(--rgf9-p);
  font-size: 1.25rem;
}
.rgf9-benefit-card p {
  font-size: 0.95rem;
  color: #bbb;
}

/* Steps */
.rgf9-steps-section {
  padding: 4rem 0;
}
.rgf9-steps-flex {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}
.rgf9-step-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--rgf9-glass-bg);
  padding: 1.5rem;
  border-radius: var(--rgf9-rad);
  border: 1px solid var(--rgf9-glass-border);
}
.rgf9-step-num {
  background: var(--rgf9-a);
  color: #fff;
  font-family: var(--rgf9-font-head);
  font-size: 1.25rem;
  font-weight: 700;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.rgf9-step-text h4 {
  margin-bottom: 0.25rem;
  font-size: 1.125rem;
}
.rgf9-step-text p {
  margin: 0;
  color: #aaa;
  font-size: 0.95rem;
}

/* Comparison Table */
.rgf9-compare-section {
  padding: 3rem 0;
  background-color: var(--rgf9-bg-alt);
}
.rgf9-table-responsive {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 1rem;
}
.rgf9-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  text-align: left;
}
.rgf9-compare-table th, .rgf9-compare-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--rgf9-glass-border);
}
.rgf9-compare-table th {
  font-family: var(--rgf9-font-head);
  color: var(--rgf9-head);
  background-color: rgba(255,255,255,0.02);
}
.rgf9-highlight {
  color: var(--rgf9-p);
  font-weight: 600;
}

/* Payments */
.rgf9-payments-section {
  padding: 3rem 0;
  text-align: center;
}
.rgf9-payments-title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: #bbb;
}
.rgf9-payments-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.rgf9-payment-pill {
  background: var(--rgf9-glass-bg);
  border: 1px solid var(--rgf9-glass-border);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rgf9-head);
}

/* Article */
.rgf9-article-section {
  padding: 3rem 0;
}
.rgf9-article-content {
  padding: 2rem;
}
.rgf9-article-content h2, .rgf9-article-content h3 {
  color: var(--rgf9-p);
  margin-top: 1.5rem;
}
.rgf9-article-content p {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 1rem;
}
.rgf9-article-content ul, .rgf9-article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: #ccc;
}
.rgf9-article-content li {
  margin-bottom: 0.5rem;
}
.rgf9-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  overflow-x: auto;
  display: block;
}
.rgf9-article-content th, .rgf9-article-content td {
  border: 1px solid var(--rgf9-glass-border);
  padding: 0.75rem;
}
.rgf9-article-content blockquote {
  border-left: 4px solid var(--rgf9-a);
  padding-left: 1rem;
  margin-left: 0;
  font-style: italic;
  color: #bbb;
}

/* FAQ */
.rgf9-faq-section {
  padding: 3rem 0;
  background-color: var(--rgf9-bg-alt);
}
.rgf9-faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.rgf9-faq-item {
  background: var(--rgf9-glass-bg);
  border: 1px solid var(--rgf9-glass-border);
  border-radius: var(--rgf9-rad);
  overflow: hidden;
}
.rgf9-faq-q {
  padding: 1.25rem;
  font-family: var(--rgf9-font-head);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: var(--rgf9-head);
  position: relative;
}
.rgf9-faq-q::-webkit-details-marker {
  display: none;
}
.rgf9-faq-q::after {
  content: '+';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--rgf9-a);
}
.rgf9-faq-item[open] .rgf9-faq-q::after {
  content: '-';
}
.rgf9-faq-a {
  padding: 0 1.25rem 1.25rem;
  color: #ccc;
  font-size: 0.95rem;
}
.rgf9-faq-a p {
  margin: 0;
}

/* Footer */
.rgf9-footer {
  background-color: #080808;
  border-top: 1px solid var(--rgf9-glass-border);
  padding: 4rem 0 2rem;
}
.rgf9-footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.rgf9-footer-brand {
  flex: 1;
  min-width: 250px;
}
.rgf9-footer-desc {
  font-size: 0.9rem;
  color: #888;
  margin-top: 1rem;
  max-width: 400px;
}
.rgf9-footer-links {
  flex: 1;
  min-width: 250px;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.rgf9-footer-links a {
  font-size: 0.875rem;
  color: #aaa;
}
.rgf9-footer-links a:hover {
  color: var(--rgf9-head);
}
.rgf9-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem;
  text-align: center;
}
.rgf9-legal {
  font-size: 0.875rem;
  color: #777;
  margin-bottom: 1rem;
}
.rgf9-copyright {
  font-size: 0.875rem;
  color: #555;
}

/* Page specific */
.rgf9-breadcrumbs {
  padding: 1rem 0;
  background: var(--rgf9-bg-alt);
}
.rgf9-crumb-link {
  font-size: 0.875rem;
  color: var(--rgf9-p);
}
.rgf9-crumb-link::after {
  content: '/';
  margin: 0 0.5rem;
  color: #555;
}
.rgf9-crumb-link:last-child::after {
  content: '';
}
.rgf9-crumb-link:last-child {
  color: #aaa;
  pointer-events: none;
}
.rgf9-page-head {
  padding: 3rem 0 1rem;
}
.rgf9-page-head .rgf9-container {
  padding: 2rem;
  text-align: center;
}
.rgf9-page-title {
  font-size: 2.5rem;
  color: var(--rgf9-p);
  margin-bottom: 0.5rem;
}
.rgf9-meta-desc {
  font-size: 1.1rem;
  color: #aaa;
  margin: 0;
}
.rgf9-page-main {
  padding: 2rem 0 4rem;
}
.rgf9-page-extras {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.rgf9-pager {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--rgf9-glass-border);
  padding-top: 1.5rem;
}
.rgf9-pager-link {
  padding: 0.5rem 1rem;
  background: var(--rgf9-glass-bg);
  border: 1px solid var(--rgf9-glass-border);
  border-radius: var(--rgf9-rad);
  font-size: 0.875rem;
}
.rgf9-pager-link:hover {
  background: var(--rgf9-p);
  color: #fff;
}

/* Media Queries */
@media(min-width: 768px) {
  .rgf9-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .rgf9-masonry {
    column-count: 4;
  }
  .rgf9-benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .rgf9-steps-flex {
    flex-direction: row;
  }
}

@media(max-width: 767px) {
  .rgf9-split-hero {
    flex-direction: column-reverse;
    text-align: center;
  }
  .rgf9-hero-actions {
    justify-content: center;
  }
  .rgf9-slogan {
    font-size: 2rem;
  }
  .rgf9-header-inner {
    flex-direction: column;
    text-align: center;
  }
  .rgf9-nav-list {
    justify-content: center;
  }
}
