/* Sandbox Launcher Stylesheet */

body {
  background-color: var(--bg-dark);
  background-image: radial-gradient(circle at 10% 20%, rgba(0, 40, 60, 0.2) 0%, rgba(0, 0, 0, 0) 80%), var(--gradient-glow);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.sandbox-nav-header {
  height: 70px;
  background-color: rgba(7, 7, 10, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-symbol {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--gradient-primary);
  color: #000;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-area h1 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.header-links {
  display: flex;
  gap: 12px;
}

/* Main Playground Container */
.sandbox-playground {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.playground-intro h2 {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.playground-intro p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 6px;
  max-width: 800px;
}

.ip-notice {
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.85rem;
  color: var(--text-primary);
  margin-top: 14px;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0, 229, 255, 0.05);
}

/* Splitscreen Layout */
.splitscreen-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1.2fr;
  gap: 20px;
  margin-top: 10px;
  min-height: 580px;
}

@media (max-width: 1200px) {
  .splitscreen-layout {
    grid-template-columns: 1fr 1fr;
  }
  .panel-venue {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .splitscreen-layout {
    grid-template-columns: 1fr;
  }
  .panel-venue, .panel-phone {
    grid-column: span 1;
  }
}

.split-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 600px;
}

.panel-header-tab {
  height: 40px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
}

.panel-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.popout-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.popout-link:hover {
  color: var(--accent-cyan);
}

.iframe-wrapper {
  flex: 1;
  position: relative;
  background-color: #030305;
}

.iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Smartphone Device Mockup Frame */
.panel-phone {
  background: transparent;
  align-items: center;
  justify-content: center;
  height: 600px;
}

.phone-mockup {
  width: 290px;
  height: 560px;
  background-color: #000;
  border: 12px solid #1a1a24;
  border-radius: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.phone-speaker {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 6px;
  background: #333;
  border-radius: 3px;
  z-index: 10;
}

.phone-screen {
  flex: 1;
  background: #07070a;
  border-radius: 28px;
  margin: 4px;
  overflow: hidden;
  position: relative;
}

.phone-screen iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.phone-home-button {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  z-index: 10;
}

/* About / Technical Info Section */
.about-section {
  padding: 80px 0;
  border-top: 1px solid var(--border-light);
  background-color: rgba(11, 11, 18, 0.4);
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.text-center {
  text-align: center;
}

.section-title {
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 10px 0;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.about-card {
  padding: 35px 30px;
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-blue);
  border: 1px solid var(--border-light);
}

.about-card h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.card-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 500;
}

.card-features li::before {
  content: '✓';
  color: var(--accent-cyan);
  margin-right: 8px;
  font-weight: bold;
}

/* IP Strategy Box */
.ip-strategy-box {
  display: flex;
  gap: 30px;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 229, 255, 0.15);
}

@media (max-width: 768px) {
  .ip-strategy-box {
    flex-direction: column;
    padding: 30px;
  }
}

.ip-icon {
  font-size: 3rem;
  line-height: 1;
}

.ip-info h3 {
  font-size: 1.4rem;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.ip-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.ip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.ip-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ip-item strong {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-family: var(--font-display);
}

.ip-item span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Footer */
.sandbox-footer {
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid var(--border-light);
  background-color: #030305;
}

.sandbox-footer p {
  color: var(--text-muted);
  font-size: 0.8rem;
}
