
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #07111f;
  color: #f4f7fb;
  font-family: Arial, sans-serif;
  padding-bottom: 85px;
}

.header {
  padding: 22px 6%;
  border-bottom: 1px solid #1d2b3d;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.brand {
  color: white;
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
}

.brand span,
.intro h1 span {
  color: #00d4ff;
}

.header p,
.eyebrow {
  color: #91a4b9;
  font-size: 11px;
  letter-spacing: 2px;
}

.container {
  width: 90%;
  max-width: 1150px;
  margin: auto;
}

.intro {
  padding: 55px 0 30px;
}

.intro h1 {
  font-size: clamp(34px, 7vw, 54px);
  margin: 12px 0;
}

.intro > p:last-child {
  color: #9aabc0;
  line-height: 1.6;
}

.filters {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 0 22px;
}

.filters button {
  white-space: nowrap;
  padding: 11px 17px;
  border: 1px solid #26384d;
  border-radius: 25px;
  background: #101e30;
  color: #dce8f5;
  cursor: pointer;
}

.filters button.active {
  background: #00c9f0;
  border-color: #00c9f0;
  color: #06111e;
  font-weight: bold;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  padding: 15px 0 35px;
}

.news-card {
  background: #101e30;
  border: 1px solid #20334a;
  border-radius: 13px;
  overflow: hidden;
}

.news-card img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  background: #101e30 
  display: block;
}

.news-content {
  padding: 18px;
}

.news-category {
  color: #00d4ff;
  font-size: 12px;
  font-weight: bold;
}

.news-content h2 {
  font-size: 19px;
  margin: 10px 0;
}

.news-date,
.news-body {
  color: #9aabc0;
  font-size: 14px;
  line-height: 1.6;
}

.news-body {
  margin-top: 12px;
  white-space: pre-wrap;
}

.message {
  color: #9aabc0;
  padding: 25px 0;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 65px;
  background: #0c1929;
  border-top: 1px solid #26384d;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 100;
}

.bottom-nav a {
  color: #9aabc0;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 20px;
}

.bottom-nav a span {
  font-size: 12px;
}

.bottom-nav a.selected {
  color: #00d4ff;
}

@media (min-width: 700px) {
  .bottom-nav {
    display: none;
  }
}
