/* Rodney Games landing page.
   Layout, navbar and footer mirror apps.com.tr (Gatsby/Tailwind source),
   translated to plain CSS. Accent uses the Rodney Games brand blue. */

:root {
  --secondary: #2a313d; /* headings, nav, button bg */
  --gray: #626f7f; /* body text */
  --border: #e0e1e4; /* header/footer dividers */
  --bg: #f9fbfe; /* page background (apps "pale-grey") */
  --rg-blue: #26468c; /* Rodney Games navy (button hover) */
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--secondary);
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* --- Shared --- */
.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 80px;
  width: auto;
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.btn:hover {
  background: var(--rg-blue);
}

/* --- Navbar --- */
.header {
  display: flex;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.header .btn {
  margin-left: auto;
}

/* --- Hero --- */
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 56px 0;
}

.hero-text h1 {
  margin: 0;
  max-width: 600px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--secondary);
}

.hero-text p {
  margin: 24px 0 0;
  max-width: 600px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--gray);
}

.grad-text {
  background: linear-gradient(120deg, #2e7bd6 0%, #26468c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.badge {
  display: inline-block;
  margin-top: 24px;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(38, 70, 140, 0.1);
  color: var(--rg-blue);
  font-weight: 700;
  font-size: 14px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-visual img {
  width: 100%;
  max-width: 380px;
  height: auto;
}

/* --- Footer --- */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
  margin-top: 80px;
  border-top: 1px solid var(--border);
}

.footer .logo img {
  height: 56px;
}

.copyright {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
}

.socials {
  display: flex;
  align-items: center;
  gap: 20px;
}

.socials a {
  display: inline-flex;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 0;
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual img {
    max-width: 240px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .footer {
    flex-direction: column;
    gap: 20px;
    margin-top: 56px;
  }
}
