:root {
    --bg-color: #f4f4f4;
    --text-color: #333;
    --heading-color: #2c3e50;
    --card-bg: #fff;
    --card-shadow: rgba(0,0,0,0.1);
    --footer-color: #7f8c8d;
    --link-color: #3498db;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #1a1a1a;
        --text-color: #e0e0e0;
        --heading-color: #b0b0b0;
        --card-bg: #414141;
        --card-shadow: rgba(222, 138, 255, 0.1);
        --footer-color: #888;
        --link-color: #5dade2;
    }
}

::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-track {
    background: none 
}

::-webkit-scrollbar-thumb {
    background: #ffffff60; 
}

::-webkit-scrollbar-thumb:hover {
    background: #555; 
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Rajdhani', sans-serif;
    color: #ddd;
    background: #000;
    overflow-x: hidden;
}

a {
    color: #a8bfff;
}

a:hover{
    color: #ffef62;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.4;
}

.container {
  max-width: 900px;
  margin: 6rem auto 4rem;
  background: linear-gradient(45deg, rgb(63 62 62 / 80%) 25%, rgb(42 42 42 / 80%) 75%);
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
  padding: 3rem;
  backdrop-filter: blur(6px);
}

.logo {
  text-align: center;
  margin-bottom: 2rem;
}

.logo img {
  width: 300px;
  opacity: 0.9;
}

.logo h1 {
  margin: 0.5rem 0 0;
  font-size: 2.4rem;
  letter-spacing: 2px;
  color: #f5f5f5;
  text-shadow: 0 0 10px rgba(200, 200, 255, 0.2);
}

.subtitle {
  font-size: 1rem;
  color: #aaa;
  margin-top: 0.5rem;
}

.info-block {
  margin: 2.5rem 0;
  padding-bottom: 1.5rem;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.15);
}

.info-block h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #e6e6ff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

ul {
  list-style: none;
  padding-left: 1rem;
}

ul li::before {
  content: "— ";
  color: #7ac8ff;
}

ul ul {
  margin-top: 0.5rem;
  padding-left: 1.5rem;
}

ul ul li::before {
  content: "• ";
  color: #888;
}

.sub-section {
  margin-top: 1.5rem;
}

.sub-section h3 {
  font-size: 1.3rem;
  color: #a8bfff;
  margin-bottom: 0.4rem;
}

.ideal {
  font-size: 0.9rem;
  color: #aaa;
  margin-top: 0.2rem;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}
.status-item {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: transform .2s;
}
.status-item:hover {
    transform: translateY(-5px);
}
.status-item h3 {
    margin: 0 0 10px;
}
.status-up { color: #27ae60; }
.status-degraded { color:rgb(255, 208, 0);}
.status-down { color: #e74c3c; }
.incidents {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 40px;
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.history-item {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 15px;
    max-height: 300px;
    overflow: auto;
}
.history-item h2 {
    font-size: 1.0rem;
    margin: 0;
    text-align: center;
    border-bottom: 1px #cccccc42 solid;
    margin-bottom: 5px !important;
}
.history-entry {
    margin-bottom: 5px;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    padding: 5px;
}

.history-entry:nth-child(even){
    background-color: #ffffff11;
}

footer {
  text-align: center;
  font-size: 0.9rem;
  color: #888;
  margin-top: 2rem;
}

footer a {
  color: #7ac8ff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.copyright {
  margin-top: 0.5rem;
  color: #555;
}
