:root {
  --bg-home: url('images/bg.jpg');
  --bg-page: url('images/bg2.jpg');
  --text: #f4f4f4;
  --panel: rgba(24, 24, 24, 0.86);
  --accent: #ffd966;
  --footer-bg: rgba(0, 0, 0, 0.6);
  --border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: black var(--bg-page) no-repeat center center fixed;
  background-size: cover;
}

body.bg-home {
  background-image: var(--bg-home);
  background-size: contain;
  justify-content: flex-end;
}

.content-wrapper {
  flex: 1 0 auto;
  position: relative;
}

.page-box {
  background: var(--panel);
  padding: 24px;
  max-width: 90vw;
  max-height: 76vh;
  overflow: auto;
  border-radius: 16px;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.45);
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid var(--border);
}

.page-box h1,
.page-box h2 {
  color: #ffffff;
  margin: 0 0 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.page-box h1 {
  font-size: 2rem;
  letter-spacing: 0.1em;
  margin-top: 0;
}

.page-box h2 {
  font-size: 1.2rem;
  font-weight: 700;
  border-left: 4px solid var(--accent);
  padding-left: 0.8rem;
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
}

.page-box p,
.page-box li,
.page-box strong {
  color: #e6e6e6;
  line-height: 1.75;
  margin: 0.8rem 0;
}

.page-box a {
  color: var(--accent);
  text-decoration: underline;
}

footer {
  background: var(--footer-bg);
  color: #fff;
  text-align: center;
  padding: 15px;
  position: fixed;
  bottom: 0;
  width: 100%;
}

footer a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #1da1f2;
}

.social-icons {
  margin-top: 8px;
}
