/*
  Stylesheet for the improved under construction / unavailable page.
  The design retains a modern dark theme but introduces a spinning gear
  illustration and a compliant cookie consent banner. Colours and
  spacing are defined with CSS variables for easy adjustment.
*/

:root {
  --bg-start: #0e1430;
  --bg-end: #0a0f25;
  --accent: #5ca9f7;
  --text: #e6eef8;
  --muted: #a6b3d1;
  --radius: 14px;
  --max-width: 680px;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: linear-gradient(180deg, var(--bg-start), var(--bg-end) 120%);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

/* Main container */
.wrap {
  width: 100%;
  max-width: var(--max-width);
  background: rgba(255, 255, 255, 0.035);
  border-radius: var(--radius);
  padding: 40px 44px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Spinning gear illustration */
.illustration {
  margin-bottom: 24px;
}

.gear {
  width: 100px;
  height: 100px;
  fill: var(--accent);
  animation: spin 8s linear infinite;
  opacity: 0.9;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

h1 {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.2;
}

.lead {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.info {
  font-size: 14px;
  color: var(--muted);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Cookie banner styles */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(14, 20, 48, 0.95);
  color: var(--text);
  padding: 20px 16px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.cookie-banner p {
  margin: 0 0 12px;
  font-size: 14px;
  text-align: center;
  max-width: 720px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.cookie-actions button {
  padding: 10px 18px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Accept button uses the accent colour */
#cookie-accept {
  background: var(--accent);
  color: #ffffff;
}

/* Decline button uses a subtle outline */
#cookie-decline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.cookie-actions button:hover {
  opacity: 0.85;
}

.cookie-actions a {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  margin-top: 8px;
  text-decoration: underline;
}

@media (max-width: 480px) {
  .wrap {
    padding: 28px 24px;
    border-radius: 12px;
  }
  h1 {
    font-size: 22px;
  }
  .lead {
    font-size: 15px;
  }
  .gear {
    width: 80px;
    height: 80px;
  }
}