/* ==========================================
   LOCATION PAGE STYLES - TR7ASSEMBLY
   ========================================== */

.location-container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.radar-card {
  background: rgba(10, 10, 10, 0.95);
  border: 1px solid rgba(255, 0, 0, 0.4);
  border-radius: 10px;
  padding: 35px;
  position: relative;
  overflow: hidden;
}

.radar-card::before {
  content: "STUDIO HQ ONLINE";
  position: absolute;
  top: 35px;
  right: -35px;
  background: var(--brand-primary, #ff0000);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 40px;
  transform: rotate(35deg);
  letter-spacing: 1px;
}

/* Header & GPS Coords */
.location-top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px dashed #333;
  padding-bottom: 15px;
  margin-bottom: 25px;
}

.coords-badge {
  font-family: monospace;
  color: #ff0000;
  font-size: 0.85rem;
  font-weight: bold;
}

.cloud-status-indicator {
  font-family: monospace;
  font-size: 0.75rem;
  color: #00ff66;
  display: flex;
  align-items: center;
  gap: 6px;
}

.green-dot-pulse {
  width: 8px;
  height: 8px;
  background: #00ff66;
  border-radius: 50%;
  box-shadow: 0 0 8px #00ff66;
  display: inline-block;
}

/* Main Grid Layout */
.location-main-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  align-items: center;
}

.location-title {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 900;
}

.location-desc-lead {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* Structured Specifications Grid */
.location-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  font-family: monospace;
}

.spec-card {
  background: rgba(20, 20, 20, 0.8);
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #222;
}

.spec-card label {
  color: #666;
  font-size: 0.75rem;
  display: block;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.spec-card span {
  font-size: 0.9rem;
  font-weight: bold;
}

.text-green { color: #00ff66 !important; }
.text-red { color: #ff0000 !important; }

/* Radar Visual Box */
.radar-visual-box {
  background: #050505;
  border: 1px solid #222;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.radar-feed-title {
  font-family: monospace;
  font-size: 0.75rem;
  color: #ff0000;
  margin-bottom: 15px;
  text-align: left;
}

.radar-circle {
  width: 200px;
  height: 200px;
  border: 2px solid rgba(255, 0, 0, 0.3);
  border-radius: 50%;
  margin: 10px auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(255, 0, 0, 0.08) 0%, rgba(0, 0, 0, 1) 80%);
}

.radar-line-h {
  position: absolute;
  width: 100%;
  height: 1px;
  background: rgba(255, 0, 0, 0.2);
}

.radar-line-v {
  position: absolute;
  width: 1px;
  height: 100%;
  background: rgba(255, 0, 0, 0.2);
}

.radar-inner-circle {
  width: 100px;
  height: 100px;
  border: 1px dashed rgba(255, 0, 0, 0.4);
  border-radius: 50%;
}

.radar-target-node {
  position: absolute;
  top: 40%;
  left: 55%;
  width: 12px;
  height: 12px;
  background: #ff0000;
  border-radius: 50%;
  box-shadow: 0 0 15px #ff0000;
}

.radar-target-label {
  position: absolute;
  top: 48%;
  left: 58%;
  color: #fff;
  font-family: monospace;
  font-size: 0.7rem;
  font-weight: bold;
  background: #000;
  padding: 2px 4px;
  border: 1px solid #ff0000;
  border-radius: 3px;
}

.radar-footer-text {
  font-family: monospace;
  font-size: 0.75rem;
  color: #666;
  margin-top: 10px;
}

/* Quote & Easter Egg */
.joke-quote {
  margin-top: 35px;
  background: rgba(20, 20, 20, 0.6);
  border-left: 3px solid #ff0000;
  padding: 15px 20px;
  border-radius: 0 6px 6px 0;
  font-size: 0.85rem;
  color: #ccc;
  line-height: 1.6;
}

.joke-quote b {
  color: #fff;
}

.joke-note {
  display: block;
  margin-top: 8px;
  color: #777;
  font-size: 0.78rem;
  font-style: italic;
}

.location-action-wrapper {
  margin-top: 30px;
  text-align: right;
}

.location-btn {
  padding: 12px 25px;
  text-decoration: none;
  display: inline-block;
}

/* ==========================================
   RESPONSIVE MOBILE VIEWPORT (ANDROID)
   ========================================== */
@media (max-width: 768px) {
  .location-container {
    margin: 25px auto;
    padding: 0 12px;
  }

  .radar-card {
    padding: 22px 15px;
  }

  .radar-card::before {
    display: none;
  }

  .location-title {
    font-size: 1.6rem;
  }

  .location-specs {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .joke-quote {
    padding: 12px 15px;
    font-size: 0.85rem;
  }

  .location-action-wrapper {
    text-align: center;
  }

  .location-btn {
    width: 100%;
    text-align: center;
  }
}