
/* =================================
   RWAA - MAIN THEME
   Modern Gaming & Digital Platform
================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #080d1b;
  --bg-secondary: #0d1426;
  --card: #111d33;
  --primary: #168cff;
  --cyan: #00d5ff;
  --text: #f4f7ff;
  --muted: #9ba9c1;
  --border: rgba(255,255,255,0.09);
  --radius: 18px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* NAVBAR */

.navbar {
  width: 100%;
  min-height: 75px;
  padding: 0 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8,13,27,0.92);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(15px);
}

.logo {
  font-size: 29px;
  font-weight: 900;
  letter-spacing: -1.5px;
}

.logo span {
  color: var(--cyan);
}

.navbar nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.navbar nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s;
}

.navbar nav a:hover {
  color: var(--cyan);
}

.menu-btn {
  display: none;
  color: white;
  background: transparent;
  border: 0;
  font-size: 27px;
}

/* HERO */

.hero {
  min-height: 620px;
  padding: 100px 8%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 50px;
  background:
    radial-gradient(circle at 80% 40%, rgba(0,136,255,0.17), transparent 35%),
    linear-gradient(135deg, #080d1b, #101d38);
}

.tag {
  display: inline-block;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(38px, 5vw, 65px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -2px;
}

.hero h1 span {
  display: block;
  color: var(--cyan);
}

.hero-content > p {
  color: var(--muted);
  max-width: 520px;
  margin: 25px 0 30px;
  font-size: 16px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
  transition: 0.3s;
}

.btn:hover {
  transform: translateY(-3px);
}

.primary {
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #06101f;
}

.secondary {
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
}

/* HERO VISUAL */

.hero-visual {
  display: flex;
  justify-content: center;
}

.visual-card {
  width: 100%;
  max-width: 360px;
  min-height: 330px;
  border: 1px solid rgba(0,213,255,0.25);
  border-radius: 25px;
  padding: 40px 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(0,136,255,0.2), transparent 65%),
    var(--card);
  box-shadow: 0 0 60px rgba(0,136,255,0.12);
}

.visual-icon {
  font-size: 75px;
  margin-bottom: 20px;
}

.visual-card h2 {
  font-size: 27px;
  letter-spacing: 3px;
}

.visual-card p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
}

.status {
  color: #35e5a0;
  font-size: 11px;
  margin-top: 28px;
  font-weight: 800;
}

/* GENERAL SECTION */

.section {
  padding: 90px 8%;
}

.section-heading {
  text-align: center;
  margin-bottom: 45px;
}

.section-heading h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  margin-bottom: 10px;
}

.section-heading p {
  color: var(--muted);
  font-size: 14px;
}

/* CATEGORY */

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 23px;
  transition: 0.3s;
}

.category-card:hover,
.game-card:hover {
  transform: translateY(-7px);
  border-color: var(--cyan);
  box-shadow: 0 10px 35px rgba(0,136,255,0.1);
}

.card-icon {
  font-size: 35px;
  margin-bottom: 18px;
}

.category-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.category-card p {
  font-size: 13px;
  color: var(--muted);
  min-height: 45px;
}

.category-card span {
  display: inline-block;
  margin-top: 20px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
}

/* GAMING */

.gaming-section {
  background: var(--bg-secondary);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.game-card {
  background: var(--card);
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: 0.3s;
}

.game-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.game-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.game-card p {
  color: var(--muted);
  font-size: 13px;
}

.game-card a {
  display: inline-block;
  margin-top: 22px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

/* TOOLS BANNER */

.tool-banner {
  padding: 40px;
  border-radius: 20px;
  background: linear-gradient(120deg, #102e58, #075c87);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.tool-banner h2 {
  font-size: 27px;
  margin-bottom: 8px;
}

.tool-banner p {
  color: #c3d8f5;
  font-size: 14px;
}

/* ASSISTANT */

.assistant-card {
  max-width: 750px;
  margin: auto;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 25px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.assistant-icon {
  font-size: 55px;
}

.assistant-card h3 {
  margin-bottom: 8px;
}

.assistant-card p {
  color: var(--muted);
  font-size: 13px;
}

.assistant-card a {
  display: inline-block;
  margin-top: 15px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

/* COMMUNITY */

.community {
  text-align: center;
  padding: 90px 20px;
  background:
    radial-gradient(circle at center, rgba(0,136,255,0.18), transparent 65%),
    var(--bg-secondary);
}

.community h2 {
  font-size: clamp(25px, 4vw, 38px);
  margin-bottom: 12px;
}

.community p {
  color: var(--muted);
  margin-bottom: 25px;
  font-size: 14px;
}

/* FOOTER */

footer {
  padding: 40px 8%;
  text-align: center;
  border-top: 1px solid var(--border);
  background: #060a14;
}

footer p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 10px;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    grid-template-columns: 1fr 0.8fr;
    padding: 80px 5%;
  }
}

@media (max-width: 700px) {
  .navbar {
    padding: 0 5%;
  }

  .menu-btn {
    display: block;
  }

  .navbar nav {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    padding: 25px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    background: #0d1426;
    border-bottom: 1px solid var(--border);
  }

  .navbar nav.active {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 75px 6%;
    text-align: center;
  }

  .hero-content > p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 20px;
  }

  .section {
    padding: 65px 6%;
  }

  .category-grid,
  .game-grid {
    grid-template-columns: 1fr;
  }

  .tool-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
  }

  .assistant-card {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* LANGUAGE SWITCH */

.language-switch {
  display: flex;
  align-items: center;
  gap: 5px;
}

.language-switch button {
  padding: 7px 11px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 11px;
  font-weight: 800;
  transition: 0.3s;
}

.language-switch button:hover,
.language-switch button.selected {
  color: #06101f;
  background: var(--cyan);
  border-color: var(--cyan);
}

@media (max-width: 700px) {
  .language-switch {
    margin-left: auto;
    margin-right: 15px;
  }
}

/* GAMING PAGE */

.card-icon {
    font-size: 35px;
    margin-bottom: 18px;
}

.card-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--cyan);
    font-weight: 700;
    text-decoration: none;
    transition: .3s;
}

.card-link:hover {
    transform: translateX(5px);
}

.eyebrow {
    display: inline-block;
    color: var(--cyan);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.btn-primary {
    display: inline-block;
    padding: 13px 22px;
    background: var(--cyan);
    color: #06101f;
    border-radius: 9px;
    text-decoration: none;
    font-weight: 800;
    transition: .3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 220, 255, .2);
}

.tool-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
}

.tool-banner > div:first-child {
    max-width: 650px;
}

.tool-symbol {
    font-size: 75px;
}

.tool-banner h2 {
    margin-bottom: 12px;
}

.tool-banner p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 22px;
}

@media(max-width: 650px) {
    .tool-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .tool-symbol {
        font-size: 55px;
    }
}
