@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Rajdhani:wght@400;600&display=swap');

:root {
  --red: #d32f2f;
  --red-bright: #ff1a1a;
  --red-dim: #8b0000;
  --black: #0a0a0a;
  --black-mid: #141414;
  --black-light: #1e1e1e;
  --white: #f0e8e8;
  --border: rgba(211, 47, 47, 0.3);
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  font-family: 'Rajdhani', sans-serif;
  margin: 0;
  padding: 0;
  background: url('img/black.jpg') center center fixed;
  background-size: cover;
  background-color: var(--black);
  color: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background-color: rgba(10, 10, 10, 0.85);
  color: var(--white);
  padding: 20px 40px;
  text-align: center;
  border-bottom: 2px solid var(--red);
  backdrop-filter: blur(4px);
}

h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  margin: 0;
  text-align: center;
  color: var(--red-bright);
  letter-spacing: 3px;
  text-shadow: 0 0 20px rgba(255, 26, 26, 0.4);
}

h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  margin: 24px 0 10px;
  color: var(--red-bright);
  letter-spacing: 2px;
  text-shadow: 0 0 12px rgba(255, 26, 26, 0.3);
}

h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  margin: 20px 0 8px;
  color: var(--red);
  letter-spacing: 1px;
}

p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--white);
}

b, strong {
  color: var(--red-bright);
}

a {
  color: var(--red-bright);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #fff;
}

pre {
  background-color: var(--black-light);
  border-left: 3px solid var(--red);
  padding: 16px 20px;
  border-radius: 0 4px 4px 0;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: var(--white);
  overflow-x: auto;
  margin: 12px 0;
  white-space: pre-wrap;
}

ul, ol {
  color: var(--white);
  padding-left: 24px;
}

li {
  margin-bottom: 6px;
  line-height: 1.6;
}

.container {
  max-width: 960px;
  margin: 0;
  padding: 30px 20px;
}

.link-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 20px;
}

.link-container a {
  padding: 10px 18px;
  text-decoration: none;
  color: var(--red-bright);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background-color: rgba(20, 20, 20, 0.6);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.link-container a:hover {
  background-color: var(--red);
  border-color: var(--red-bright);
  color: #fff;
}

.transparent-box {
  background-color: rgba(20, 20, 20, 0.75);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  padding: 24px;
  border-radius: 6px;
  margin-top: 20px;
  backdrop-filter: blur(6px);
}

/* Dropdown */
select {
  margin: 20px;
  padding: 12px 20px;
  font-size: 16px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  background-color: var(--black-light);
  color: var(--red-bright);
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s ease;
}

select:hover,
select:focus {
  border-color: var(--red-bright);
  outline: none;
}

option {
  padding: 12px;
  background-color: var(--black-light);
  color: var(--white);
}

/* Collapsible content */
.content {
  display: none;
  padding: 20px;
  background-color: rgba(30, 30, 30, 0.8);
  border-left: 3px solid var(--red);
  border-radius: 0 4px 4px 0;
  margin: 0 20px 10px;
}

.content.active {
  display: block;
}

@media (max-width: 768px) {
  header {
    padding: 16px 16px;
  }

  h1 {
    font-size: 34px;
    letter-spacing: 2px;
  }

  h2 {
    font-size: 26px;
    margin: 18px 0 8px;
  }

  h3 {
    font-size: 19px;
  }

  p {
    font-size: 16px;
  }

  .container {
    padding: 20px 16px;
  }

  .link-container {
    padding: 8px 16px;
    gap: 8px;
  }

  .link-container a {
    padding: 8px 12px;
    font-size: 13px;
  }

  select {
    margin: 16px;
    width: calc(100% - 32px);
    font-size: 15px;
  }

  .content {
    margin: 0 16px 10px;
    padding: 14px;
  }

  pre {
    padding: 12px 14px;
    font-size: 13px;
    white-space: pre-wrap;
    word-break: break-word;
  }

  .transparent-box {
    padding: 16px;
  }
}
