/* =========================
   ProStore Web – Light Theme
   ========================= */

:root {
  --bg: #f6f7fb;
  --panel: #ffffff;
  --sidebar: #ffffff;
  --border: rgba(0, 0, 0, 0.08);

  --text: #1f2937;
  --muted: #6b7280;

  --accent: #4ee5ff;
  --accent-2: #8b5cf6;

  --button: linear-gradient(135deg, #4ee5ff, #8b5cf6);
}

/* Reset */
* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

/* =========================
   Layout
   ========================= */

.content-area {
  display: flex;
  height: 100vh;
  padding: 16px;
  gap: 16px;
}

/* =========================
   Sidebar
   ========================= */

.sidebar {
  width: 260px;
  background: var(--sidebar);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-item {
  padding: 12px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  color: var(--muted);
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.sidebar-item:hover {
  background: rgba(78, 229, 255, 0.12);
  color: var(--text);
  transform: translateX(2px);
}

.sidebar-item.active {
  background: linear-gradient(
    90deg,
    rgba(78, 229, 255, 0.18),
    rgba(139, 92, 246, 0.15)
  );
  color: var(--text);
  border-left: 3px solid var(--accent-2);
}

/* =========================
   Main Panel
   ========================= */

.panel {
  flex: 1;
  background: var(--panel);
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* =========================
   Title + Logo
   ========================= */

.title {
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}

.logo-img {
  width: 110px;
  height: 110px;
  margin: 18px 0 28px;
  border-radius: 24px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

/* =========================
   Buttons
   ========================= */

.download-button,
.install-button {
  padding: 14px 42px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: var(--button);
  color: white;
  box-shadow: 0 10px 28px rgba(139, 92, 246, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

.download-button:hover,
.install-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(139, 92, 246, 0.45);
}

.download-button:active,
.install-button:active {
  transform: scale(0.97);
}

/* =========================
   Advanced Link
   ========================= */

.advanced-href {
  margin-top: 22px;
  text-decoration: none;
  font-weight: 500;
  color: var(--accent-2);
  transition: opacity 0.12s ease;
}

.advanced-href:hover {
  opacity: 0.7;
}

/* =========================
   Mobile polish
   ========================= */

@media (max-width: 900px) {
  .content-area {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
  }

  .sidebar-item {
    white-space: nowrap;
  }

 .title {
  font-size: 25px;
  font-weight: 700;
  margin: 0;
    padding-bottom: 5px;
}
   
}

/* SIDEBAR FIXES */

/* =========================
   Portrait phones (sidebar on TOP)
   ========================= */
@media (max-width: 900px) and (orientation: portrait) {
  .content-area {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
  }

  .sidebar-item {
    white-space: nowrap;
  }

  .title {
    font-size: 25px;
    padding-bottom: 5px;
  }
}

/* =========================
   Landscape phones (sidebar on LEFT)
   ========================= */
@media (max-width: 900px) and (orientation: landscape) {
  .content-area {
    flex-direction: row;   /* BACK TO LEFT SIDEBAR */
  }

  .sidebar {
    width: 220px;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .sidebar-item {
    white-space: normal;
  }

  .panel {
    padding: 24px;
  }
}
