@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Signika+Negative:400,600&display=swap');

/* Root variables for colors & fonts */
:root {
  --heat-primary: #f96854;
  --heat-secondary: #052d49;
  --heat-body-font: 'Roboto', sans-serif;
  --heat-heading-font: 'Signika Negative', sans-serif;
  --heat-background: #222529;
  --heat-text: #ffffff;
  --heat-link: #f96854;
}

/* Base styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--heat-body-font);
  color: var(--heat-text);
  background-color: var(--heat-background);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  font-family: var(--heat-heading-font);
  color: var(--heat-text);
  align-tems: center;
}

p {
  margin: 0 0 1em;
}

/* Links */
a {
  color: var(--heat-link);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Container */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 1em;
}

/* Header & Footer */
header {
  background-color: var(--heat-secondary);
  color: #ffffff;
  padding: 1em 0;
  text-align: center;
}
footer {
  background-color: #f5f5f5;
  color: var(--heat-secondary);
  padding: 1em 0;
  text-align: center;
  font-size: 0.9rem;
}

/* Buttons */
button, .btn {
  font-family: var(--heat-heading-font);
  display: inline-block;
  padding: 0.6em 1.2em;
  border: none;
  background-color: var(--heat-background);
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  border-radius: 4px;
  font-size: 1rem;
  transition: filter 0.2s ease;
}
button:hover, .btn:hover {
  filter: brightness(0.9);
}

/* Login page */
.login-page {
  text-align: left;
  padding: 2em 1em;
}
.login-page h1 {
  margin-bottom: 1em;
}
.login-page .buttons {
  display: flex;
  justify-content: center;
  gap: 1em;
}

/* Form elements */
input, select, textarea {
  font-family: var(--heat-body-font);
  font-size: 1rem;
  padding: 0.5em;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  margin-bottom: 1em;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1em;
}
th, td {
  border: 1px solid #ddd;
  padding: 0.5em;
}
th {
  background-color: var(--heat-secondary);
  color: #ffffff;
  text-align: left;
}

.key-block {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
code.steam-key {
  background: rgba(0,0,0,0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: monospace;
}
.key-block button {
  padding: 0.4rem 0.8rem;
  border: none;
  background: var(--patreon-primary);
  color: white;
  border-radius: 4px;
  cursor: pointer;
}
.key-block button:hover {
  filter: brightness(0.9);
}

/* Big-icon buttons with text on the right that wraps to two lines */
.btn-large-icon {
  display: inline-flex;        /* icon + text side by side */
  flex-direction: row;
  align-items: center;
  gap: 1rem;                   /* space between icon and text */
  padding: 1rem;               /* extra breathing room */
  border-radius: 6px;
  text-decoration: none;
}

/* Logo fixed at 124×124 */
.btn-large-icon img {
  width: 75px;
  height: 75px;
  object-fit: contain;
  display: block;              /* kill inline-image descender space */
  align-items: center;
}

/* Text block that wraps within the same width as the icon */
.btn-large-icon span {
  display: inline-block;
  max-width: 124px;            /* same as icon width */
  white-space: normal;         /* allow wrapping */
  word-break: break-word;      /* wrap long words if needed */
  line-height: 1.2;            /* tighten line spacing */
  text-align: left;            /* or center, as you prefer */
  font-size: 1rem;
  font-weight: 500;
  color: inherit;              /* picks up btn-variant color */
  align-self: center;
}

/* Patreon variant */
.btn-patreon.btn-large-icon {
  background-color: var(--patreon-primary);
  color: #fff;
}
.btn-patreon.btn-large-icon:hover {
  filter: brightness(0.9);
}

/* SubscribeStar variant */
.btn-subscribestar.btn-large-icon {
  background-color: #333;
  color: #fff;
}
.btn-subscribestar.btn-large-icon:hover {
  filter: brightness(0.9);
}

.back-button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: #ff424d;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.back-button:hover {
  background-color: #e63946;
}

/* Page container keeps things centered on the dark background */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px;
}

/* Intro / notice card */
.info-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0 32px;
  color: #e9ecf1;
  line-height: 1.6;
}

.info-panel h1 {
  margin: 0 0 12px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
}

.info-panel p {
  margin: 10px 0;
}

.info-panel .amount {
  color: #ffd166; /* warm accent for the amount */
  font-weight: 700;
}

/* Button row spacing (keeps your existing look) */
.login-page .buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* Choice confirm row: keep checkbox aligned with the sentence */
.confirm-row {
  display: flex;
  align-items: center;          /* vertical center alignment */
  justify-content: center;      /* center the whole row inside the panel */
  gap: 0.6rem;
  margin: 0 0 12px 0;
}

.confirm-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;                    /* kill default offset that causes “floating” look */
  vertical-align: middle;       /* safety for older engines */
  accent-color: var(--heat-primary);  /* optional, modern browsers */
}

.confirm-row label {
  line-height: 1.3;             /* tidy wrapping if it breaks to two lines */
}

