/* Left-menu variant styles (final: only Google Play icon bottom-left) */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; font-family: 'Helvetica Neue', Arial, sans-serif; }

/* Layout */
.left-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  grid-template-rows: 100vh;
  overflow: hidden;
  color: #fff;
  background: #0b1220;
}

/* Sidebar */
.sidebar {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 24px;
  background: linear-gradient(180deg, rgba(53,134,255,0.25) 0%, rgba(53,134,255,0.05) 100%);
  border-right: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
}

/* Google Play icon fixed bottom-left */
.sidebar .store-icon {
  position: absolute;
  bottom: 20px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 8px;
  background: rgba(255,255,255,0.06);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.sidebar .store-icon:hover { transform: translateY(-1px); opacity: 0.9; }

.logo {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
.logo.small { font-size: 22px; }

.nav { width: 100%; margin-top: 10px; }

/* Menu */
#main-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#main-menu a {
  display: block;
  text-decoration: none;
  color: #e6f0ff;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}
#main-menu a:hover { background: rgba(255,255,255,0.08); color: #ffffff; }

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  list-style: none;
}
.lang-switcher a {
  text-decoration: none;
  color: #a6b7d5;
  font-weight: 800;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  transition: filter 0.2s ease, color 0.2s ease;
}
.lang-switcher a.active { color: #fff; filter: brightness(1.1); }
.lang-switcher a:hover { filter: brightness(1.15); color: #fff; }

/* Main content area */
.content {
  grid-column: 2;
  grid-row: 1;
  height: 100vh;
  overflow: auto;
  position: relative;
}

/* Hero / background image */
.main-background {
  height: 100%;
  background-image: url('images/main-background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Privacy page text container */
.privacy-page .privacy-container {
  max-width: 900px;
  margin: 32px auto;
  background: #ffffff;
  color: #333;
  border-radius: 16px;
  padding: 24px;
  line-height: 1.65;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}
.privacy-page strong { display: inline-block; margin-top: 8px; }
.privacy-page a { color: #2563eb; }
.privacy-page ul { padding-left: 20px; }
.privacy-page .privacy-container p { margin: 8px 0; }

/* Mobile Responsive */
@media (max-width: 900px) {
  .left-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    overflow: visible;
  }
  .sidebar {
    grid-row: 1;
    grid-column: 1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 16px;
    position: sticky;
    top: 0;
    z-index: 10;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(180deg, rgba(53,134,255,0.28) 0%, rgba(53,134,255,0.08) 100%);
  }
  .logo { font-size: 22px; }
  .nav { margin-top: 0; }
  #main-menu { flex-direction: row; gap: 8px; }
  #main-menu a { padding: 8px 10px; font-size: 14px; }
  .lang-switcher { margin-left: auto; margin-top: 0; padding-top: 0; border-top: none; }
  .sidebar .store-icon {
    position: static;
    bottom: auto;
    left: auto;
    margin-left: 8px;
  }
  .content { grid-row: 2; grid-column: 1; height: auto; }
}
