.cards {
  display: flex;
  gap: 1rem;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-height: 150px;
  padding: 1rem;
}

.card p {
  text-align: left;
}

body {
  margin:0;
  font-family:Arial, sans-serif;
  background:#0d0d0d;
  color:#f0f0f0;
}

header {
  text-align:center;
  padding:60px 20px;
  background:linear-gradient(135deg,#111,#333);
}

header h1 {
  font-size:2.5em;
  color:#cc6600; /* darker orange */
  text-shadow:0 0 10px rgba(204,102,0,0.6);
  margin:0;
}

header p {
  font-size:1.2em;
  color:#ccc;
}

section {
  padding:40px 20px;
  max-width:1000px;
  margin:auto;
}

h2 {
  color:#3399ff;
  text-shadow:0 0 8px rgba(51,153,255,0.5);
  margin-bottom:20px;
}

.gallery {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
}

.gallery img {
  width:100%;
  border-radius:8px;
}

.cards {
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  justify-content:center;
}

.card {
  background:#1a1a1a;
  padding:20px;
  border-radius:8px;
  flex:1;
  min-width:250px;
  text-align:center;
}

.card h3 {
  color:#3399ff;
}

.card button {
  background:#3399ff;
  border:none;
  padding:10px 20px;
  margin-top:10px;
  cursor:pointer;
  border-radius:20px;
  box-shadow:0 0 10px rgba(51,153,255,0.5);
  color:#111;
  font-weight:bold;
  transition: all 0.2s ease-in-out;
}

.card button:hover {
  background:#66b3ff;
  transform:scale(1.05);
  box-shadow:0 0 12px rgba(51,153,255,0.7);
}

/* AiRT’ified styling */
.airtified {
  color: #3399ff;
  font-weight: bold;
  text-shadow: 0 0 6px rgba(51,153,255,0.7);
  letter-spacing: 0.5px;
}

/* YOUR story styling */
.yourstory {
  color: #ffcc00; /* gold highlight */
  font-weight: bold;
  text-shadow: 0 0 6px rgba(255,204,0,0.7);
  letter-spacing: 1px;
  text-transform: uppercase;
}

footer {
  text-align:center;
  padding:20px;
  background:#111;
  color:#888;
}

.counter-wrap {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  margin-top:14px;
}

.counter-label {
  color:#888;
  font-size:0.95em;
}

.counter {
  display:inline-flex;
  gap:6px;
  padding:8px 12px;
  border-radius:8px;
  background:#1a1a1a;
  box-shadow:0 0 8px rgba(51,153,255,0.25) inset;
  border:1px solid #2a2a2a;
}

.digit {
  width:20px;
  height:30px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#0f0f0f;
  border-radius:4px;
  border:1px solid #222;
  color:#3399ff;
  font-family:Consolas, Monaco, monospace;
  font-weight:700;
  text-shadow:0 0 6px rgba(51,153,255,0.6);
}

.global-counter {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
}

.counter-label {
  font-size: 1.1rem;
  font-weight: 600;
}

.counter-box {
  display: inline-block;
}

.subnote {
  display: block;
  margin-top: 10px;
  font-size: 0.85em;
  color: #888;
}

a:link,
a:visited {
  color: #4ec3ff !important;
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  color: #8ae8ff !important;
  text-decoration: underline;
}

/* ============================
   AUDIO SECTION — AiRT’ified
   ============================ */

.audio-section {
  margin-top: 40px;
  padding: 30px 20px;
  background: #111;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(51,153,255,0.15);
}

.audio-title {
  font-size: 1.8em;
  color: #3399ff;
  text-shadow: 0 0 8px rgba(51,153,255,0.6);
  text-align: center;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.audio-card {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  box-shadow: 0 0 10px rgba(51,153,255,0.25) inset;
  border: 1px solid #2a2a2a;
  max-width: 420px;
  margin: auto;
}

.audio-button {
  background: #3399ff;
  border: none;
  padding: 12px 26px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  color: #111;
  box-shadow: 0 0 12px rgba(51,153,255,0.5);
  transition: all 0.2s ease-in-out;
}

.audio-button:hover {
  background: #66b3ff;
  transform: scale(1.05);
  box-shadow: 0 0 14px rgba(51,153,255,0.7);
}

.audio-wave {
  display: flex;
  gap: 6px;
  height: 30px;
  align-items: flex-end;
}

.audio-bar {
  width: 6px;
  background: #3399ff;
  border-radius: 3px;
  animation: bounce 1.2s infinite ease-in-out;
  box-shadow: 0 0 8px rgba(51,153,255,0.6);
}

.audio-bar:nth-child(1) { animation-delay: 0s; }
.audio-bar:nth-child(2) { animation-delay: 0.15s; }
.audio-bar:nth-child(3) { animation-delay: 0.3s; }
.audio-bar:nth-child(4) { animation-delay: 0.45s; }
.audio-bar:nth-child(5) { animation-delay: 0.6s; }

@keyframes bounce {
  0%, 100% { height: 6px; }
  50% { height: 30px; }
}

.audio-timestamp {
  font-size: 0.9em;
  color: #888;
  letter-spacing: 0.5px;
}

/* ==========================================================
   🔶 ASTRA CODEX ORANGE GLOWING ORB — NEW ADDITION
   ========================================================== */

.ac-orb {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #cc6600 0%,
    #cc6600 40%,
    rgba(204,102,0,0.4) 70%,
    rgba(204,102,0,0.1) 100%
  );
  box-shadow:
    0 0 20px rgba(204,102,0,0.8),
    0 0 40px rgba(204,102,0,0.6),
    0 0 80px rgba(204,102,0,0.4),
    inset 0 0 30px rgba(204,102,0,0.6);
  animation: ac-orb-pulse 3s ease-in-out infinite;
  margin: 20px auto;
}

@keyframes ac-orb-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

#codex-audio-label {
  color: orange;
}

#codex-audio-toggle {
  border: 3px solid orange;   /* orange ring */
  background-color: transparent; /* keep inside clear */
  color: orange;               /* icon color */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}


.low-contrast-text {
  /* Set the font size to be small, e.g., 12 pixels */
  font-size: 10px;
  
  /* Set the color to a light gray instead of pure white to reduce contrast */
 color: #aacccc; /* This is a light gray */
  
  /* You can also adjust the opacity for a more subtle effect */
  /* This makes the color semi-transparent, blending with the background */
  /* opacity: 1; /* 0.6 means 60% opaque */

  /* The background color is crucial for contrast */
  /* background-color: #000000; /* A dark background for the text to appear on */
  /* padding: 10px; /* Add some padding for better presentation */
}

/* ============================================================
   ASTRA CODEX — Unified Namespaced Audio UI
   Prevents override of index.html controls
   Namespace: .astra-audio-ui
   ============================================================ */

.astra-audio-ui {
  /* optional container wrapper */
}

/* ============================
   AiRT’ified Audio Section
   ============================ */

.astra-audio-ui .audio-section {
  margin-top: 40px;
  padding: 30px 20px;
  background: #111;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(51,153,255,0.15);
}

.astra-audio-ui .audio-title {
  font-size: 1.8em;
  color: #3399ff;
  text-shadow: 0 0 8px rgba(51,153,255,0.6);
  text-align: center;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.astra-audio-ui .audio-card {
  background: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  box-shadow: 0 0 10px rgba(51,153,255,0.25) inset;
  border: 1px solid #2a2a2a;
  max-width: 420px;
  margin: auto;
}

.astra-audio-ui .audio-button {
  background: #3399ff;
  border: none;
  padding: 12px 26px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  color: #111;
  box-shadow: 0 0 12px rgba(51,153,255,0.5);
  transition: all 0.2s ease-in-out;
}

.astra-audio-ui .audio-button:hover {
  background: #66b3ff;
  transform: scale(1.05);
  box-shadow: 0 0 14px rgba(51,153,255,0.7);
}

.astra-audio-ui .audio-wave {
  display: flex;
  gap: 6px;
  height: 30px;
  align-items: flex-end;
}

.astra-audio-ui .audio-bar {
  width: 6px;
  background: #3399ff;
  border-radius: 3px;
  animation: bounce 1.2s infinite ease-in-out;
  box-shadow: 0 0 8px rgba(51,153,255,0.6);
}

.astra-audio-ui .audio-bar:nth-child(1) { animation-delay: 0s; }
.astra-audio-ui .audio-bar:nth-child(2) { animation-delay: 0.15s; }
.astra-audio-ui .audio-bar:nth-child(3) { animation-delay: 0.3s; }
.astra-audio-ui .audio-bar:nth-child(4) { animation-delay: 0.45s; }
.astra-audio-ui .audio-bar:nth-child(5) { animation-delay: 0.6s; }

@keyframes bounce {
  0%, 100% { height: 6px; }
  50% { height: 30px; }
}

.astra-audio-ui .audio-timestamp {
  font-size: 0.9em;
  color: #888;
  letter-spacing: 0.5px;
}

/* ==========================================================
   ASTRA CODEX — ORANGE OUTLINED AUDIO CONTROLS
   ========================================================== */

.astra-audio-ui .codex-audio-controls {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 14px;
  z-index: 999999;
}

.astra-audio-ui .codex-audio-btn {
  width: 60px;
  height: 60px;
  border: 4px solid orange;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: bold;
  color: orange;
  cursor: pointer;
  transition: 0.2s ease-in-out;
  backdrop-filter: blur(4px);
}

.astra-audio-ui .codex-audio-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 12px rgba(255,140,0,0.6);
}

.astra-audio-ui .codex-audio-btn:active {
  transform: scale(0.95);
  box-shadow: 0 0 6px rgba(255,140,0,0.4);
}

/* ==========================================================
   ASTRA CODEX — ULTRA-COMPACT MOBILE AUDIO CONTROLS
   Removes circles + shrinks buttons on iOS/Android phones
   ========================================================== */

@media (max-width: 480px) {

  .astra-audio-ui .codex-audio-controls {
    bottom: 9px;
    right: 12px;
    gap: 2px;
  }

  .astra-audio-ui .codex-audio-btn {
    width: auto;          /* no circle */
    height: auto;         /* no circle */
    padding: 8px;         /* small touch target */
    border: none !important;   /* remove orange ring */
    background: transparent !important;
    font-size: 22px;      /* icon size */
    color: orange;
    box-shadow: none !important;
    backdrop-filter: none;
  }

  .astra-audio-ui .codex-audio-btn:hover {
    transform: scale(1.05);
    box-shadow: none;
  }

  .astra-audio-ui .codex-audio-btn:active {
    transform: scale(0.9);
  }
}
.ac-logo {
  max-width: 320px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;

  filter: drop-shadow(0 0 15px #00ccff)
          drop-shadow(0 0 30px #0099ff)
          drop-shadow(0 0 45px #0066ff);
}
