
  :root {
    --primary: #cd2e2e;
    --secondary: #1e1e1e;
    --accent: #ffcc00;
    --text: #e6e6e6;
    --text-dark: #222;
    --background: #121212;
    --background-light: #2a2a2a;
    --border: #444;
  }

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

  body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
  }

  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
  }

  h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
    margin-bottom: 1rem;
    color: var(--text);
  }

  h1 {
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
  }

  h2 {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 2rem;
    text-transform: uppercase;
  }

  h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
  }

  h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
  }

  a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
  }

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

  img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
  }

  /* Hero Section */
  .forum-hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    overflow: hidden;
  }

  .bg-image {
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
  }

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

  .hero-subtitle {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
  }

  /* Categories Section */
  .forum-categories {
    background-color: var(--background-light);
    padding: 4rem 0;
  }

  .categories-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }

  @media (min-width: 768px) {
    .categories-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (min-width: 1024px) {
    .categories-grid {
      grid-template-columns: repeat(4, 1fr);
    }
  }

  .category-card {
    background-color: var(--secondary);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
  }

  .category-card:hover {
    transform: translateY(-10px);
  }

  .category-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }

  .category-card h3 {
    padding: 1rem 1rem 0.5rem;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 0.5rem;
  }

  .category-card p {
    padding: 0 1rem;
    font-size: 0.95rem;
    height: 80px;
  }

  .stats {
    display: block;
    padding: 0 1rem;
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 1rem;
  }

  .btn-category {
    display: block;
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
  }

  .btn-category:hover {
    background-color: #b22020;
    color: white;
  }

  /* Hot Topics Section */
  .hot-topics {
    position: relative;
    padding: 4rem 0;
    background-color: var(--background);
  }

  .topics-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .topic {
    display: flex;
    flex-direction: column;
    background-color: var(--background-light);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
  }

  @media (min-width: 768px) {
    .topic {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }
  }

  .topic-info {
    flex: 1;
  }

  .topic-meta {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 0.5rem;
  }

  .username {
    color: var(--accent);
    font-weight: bold;
  }

  .topic-excerpt {
    margin-bottom: 1rem;
  }

  .btn-topic {
    display: inline-block;
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1.5rem;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: 1rem;
  }

  @media (min-width: 768px) {
    .btn-topic {
      margin-top: 0;
      white-space: nowrap;
    }
  }

  .btn-topic:hover {
    background-color: var(--primary);
    color: white;
  }

  /* Join Community Section */
  .join-community {
    background-color: var(--background-light);
    padding: 4rem 0;
  }

  .join-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  @media (min-width: 768px) {
    .join-columns {
      grid-template-columns: 1fr 1fr;
    }
  }

  .benefits-list {
    list-style: none;
    margin-bottom: 2rem;
  }

  .benefits-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
  }

  .benefits-list i {
    color: var(--accent);
    margin-right: 1rem;
    font-size: 1.2rem;
  }

  .join-note {
    font-style: italic;
    border-left: 3px solid var(--primary);
    padding-left: 1rem;
  }

  .registration-form {
    background-color: var(--secondary);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }

  .form-group {
    margin-bottom: 1.5rem;
  }

  label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
  }

  input[type="text"],
  input[type="email"],
  input[type="password"] {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border-radius: 4px;
  }

  .form-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
  }

  .form-checkbox input {
    margin-right: 0.5rem;
  }

  .btn-register {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .btn-register:hover {
    background-color: #b22020;
  }

  .login-link {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
  }

  /* Forum Stats Section */
  .forum-stats {
    padding: 4rem 0;
    background-color: var(--background);
  }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
  }

  @media (min-width: 768px) {
    .stats-grid {
      grid-template-columns: repeat(4, 1fr);
    }
  }

  .stat-card {
    background-color: var(--background-light);
    border-radius: 8px;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }

  .stat-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
  }

  .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--text);
  }

  .stat-label {
    font-size: 1rem;
    color: #aaa;
  }

  .recent-activity {
    background-color: var(--background-light);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }

  .activity-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .activity-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
  }

  .activity-content {
    flex: 1;
  }

  .activity-content p {
    margin-bottom: 0.3rem;
  }

  .timestamp {
    font-size: 0.85rem;
    color: #aaa;
  }

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }
