/* ==========================================================================
   Microsoft Store - Zoom Workplace Recreation
   Design System: Microsoft Fluent 2 / Microsoft Store Web
   ========================================================================== */

:root {
  --ms-bg-page: #f3f3f3;
  --ms-bg-card: #ffffff;
  --ms-bg-card-hover: #fcfcfc;
  --ms-bg-subtle: #f8f8f8;
  --ms-border: #e5e5e5;
  --ms-border-subtle: #eeeeee;
  
  --ms-text-primary: #1b1b1b;
  --ms-text-secondary: #484848;
  --ms-text-muted: #616161;
  --ms-text-link: #0067b8;
  --ms-text-link-hover: #00508f;
  
  --ms-primary-blue: #0067b8;
  --ms-primary-blue-hover: #005a9e;
  --ms-primary-blue-active: #004d88;
  
  --ms-star-color: #d83b01;
  --ms-star-bar-bg: #e1dfdd;
  --ms-star-bar-fill: #e97025;
  
  --ms-font: "Segoe UI", -apple-system, BlinkMacSystemFont, "Segoe UI Variable", Roboto, Helvetica, Arial, sans-serif;
  --ms-radius-sm: 4px;
  --ms-radius-md: 8px;
  --ms-radius-lg: 12px;
  --ms-radius-full: 9999px;
  
  --ms-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --ms-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --ms-shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.15);
  
  --ms-max-width: 1240px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--ms-font);
  background-color: var(--ms-bg-page);
  color: var(--ms-text-primary);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--ms-text-link);
  text-decoration: none;
  transition: color 0.15s ease, text-decoration 0.15s ease;
}

a:hover {
  text-decoration: underline;
  color: var(--ms-text-link-hover);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   1. GLOBAL HEADER / NAVIGATION
   ========================================================================== */

.ms-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--ms-border);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

.ms-nav-container {
  max-width: var(--ms-max-width);
  margin: 0 auto;
  padding: 0 20px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ms-nav-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.ms-brand-group {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.ms-logo-squares {
  display: grid;
  grid-template-columns: 10px 10px;
  grid-template-rows: 10px 10px;
  gap: 2px;
}

.ms-sq {
  width: 10px;
  height: 10px;
}
.ms-sq-red { background-color: #f25022; }
.ms-sq-green { background-color: #7fba00; }
.ms-sq-blue { background-color: #00a4ef; }
.ms-sq-yellow { background-color: #ffb900; }

.ms-brand-text {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: #262626;
}

.ms-brand-divider {
  width: 1px;
  height: 18px;
  background-color: #d2d2d2;
}

.ms-store-title {
  font-size: 15px;
  font-weight: 600;
  color: #262626;
}

.ms-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.ms-nav-link {
  font-size: 13.5px;
  font-weight: 400;
  color: #262626;
  padding: 16px 2px 14px;
  position: relative;
  text-decoration: none;
  display: inline-block;
}

.ms-nav-link:hover {
  text-decoration: none;
  color: #0067b8;
}

.ms-nav-link.active {
  font-weight: 600;
  color: #262626;
}

.ms-nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #0067b8;
  border-radius: 2px;
}

.ms-nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ms-search-bar {
  position: relative;
  width: 320px;
}

.ms-search-input {
  width: 100%;
  height: 34px;
  border-radius: var(--ms-radius-full);
  border: 1px solid #8a8a8a;
  background-color: #ffffff;
  padding: 0 38px 0 16px;
  font-size: 12.5px;
  font-family: inherit;
  color: #1b1b1b;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.ms-search-input:focus {
  border-color: #0067b8;
  box-shadow: 0 0 0 1px #0067b8;
}

.ms-search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #505050;
  pointer-events: none;
  display: flex;
}

.ms-signin-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #262626;
  text-decoration: none;
  padding: 4px 6px;
  border-radius: var(--ms-radius-sm);
  white-space: nowrap;
}

.ms-signin-btn:hover {
  text-decoration: none;
  background-color: #f3f3f3;
}

.ms-user-icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid #616161;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #616161;
}

/* ==========================================================================
   2. HERO APP SECTION
   ========================================================================== */

.ms-hero-wrapper {
  max-width: var(--ms-max-width);
  margin: 0 auto;
  padding: 32px 20px 20px;
  width: 100%;
}

.ms-hero-card {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.ms-app-icon-container {
  flex-shrink: 0;
}

.ms-app-icon {
  width: 116px;
  height: 116px;
  border-radius: 22px;
  background: linear-gradient(135deg, #0b5cff 0%, #004fe8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(11, 92, 255, 0.25);
  overflow: hidden;
}

.ms-app-icon svg,
.ms-app-icon img {
  width: 82px;
  height: auto;
  object-fit: contain;
}

.ms-hero-details {
  flex: 1;
}

.ms-app-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  color: #1b1b1b;
  margin-bottom: 2px;
}

.ms-app-publisher {
  font-size: 13.5px;
  color: var(--ms-text-link);
  font-weight: 500;
  display: inline-block;
  margin-bottom: 6px;
}

.ms-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--ms-text-secondary);
  margin-bottom: 12px;
}

.ms-meta-rating {
  font-weight: 600;
  color: #1b1b1b;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ms-meta-rating svg {
  color: #1b1b1b;
}

.ms-meta-category {
  color: var(--ms-text-link);
  font-weight: 500;
}

/* Feature Badges */
.ms-badges-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.ms-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #f1f3f6;
  border: 1px solid #e2e5e9;
  border-radius: var(--ms-radius-full);
  padding: 4px 12px 4px 8px;
  font-size: 12px;
  font-weight: 500;
  color: #242424;
}

.ms-badge-item svg {
  flex-shrink: 0;
}

.ms-hero-blurb {
  font-size: 13px;
  color: var(--ms-text-secondary);
  max-width: 680px;
  line-height: 1.45;
  margin-bottom: 18px;
}

.ms-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.ms-btn-download {
  background-color: var(--ms-primary-blue);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 36px;
  border-radius: var(--ms-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  transition: background-color 0.15s, transform 0.05s;
  text-decoration: none !important;
}

.ms-btn-download:hover,
.ms-btn-download:visited,
.ms-btn-download:focus,
.ms-btn-download:active {
  background-color: var(--ms-primary-blue-hover);
  text-decoration: none !important;
  color: #ffffff !important;
}

.ms-btn-download:active {
  background-color: var(--ms-primary-blue-active);
  transform: scale(0.99);
}

.ms-btn-download.is-downloading {
  background-color: #005a9e;
  cursor: default;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ms-btn-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: ms-btn-spin 0.75s linear infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes ms-btn-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.ms-btn-view-store {
  background-color: #ffffff;
  color: #242424;
  border: 1px solid #8a8a8a;
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: var(--ms-radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  transition: background-color 0.15s, border-color 0.15s;
}

.ms-btn-view-store:hover {
  background-color: #f5f5f5;
  border-color: #616161;
  text-decoration: none;
}

.ms-esrb-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ms-esrb-badge {
  border: 2px solid #000000;
  padding: 2px 6px;
  font-weight: 800;
  font-size: 22px;
  font-family: Arial, sans-serif;
  line-height: 1;
  border-radius: 2px;
  letter-spacing: -1px;
}

.ms-esrb-text {
  display: flex;
  flex-direction: column;
}

.ms-esrb-title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #1b1b1b;
}

.ms-esrb-sub {
  font-size: 11px;
  color: #616161;
}

/* ==========================================================================
   3. TWO COLUMN MAIN CONTENT
   ========================================================================== */

.ms-main-layout {
  max-width: var(--ms-max-width);
  margin: 0 auto;
  padding: 0 20px 48px;
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 24px;
  width: 100%;
}

.ms-content-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.ms-content-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* White Section Card */
.ms-section-card {
  background-color: var(--ms-bg-card);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius-md);
  padding: 24px;
  box-shadow: var(--ms-shadow-sm);
}

.ms-card-header {
  font-size: 16px;
  font-weight: 600;
  color: #1b1b1b;
  margin-bottom: 16px;
}

/* ==========================================================================
   4. SCREENSHOTS CAROUSEL
   ========================================================================== */

.ms-carousel-wrap {
  position: relative;
  overflow: hidden;
}

.ms-carousel-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}

.ms-carousel-track::-webkit-scrollbar {
  height: 6px;
}
.ms-carousel-track::-webkit-scrollbar-thumb {
  background-color: #c7c7c7;
  border-radius: 4px;
}

.ms-screenshot-item {
  flex: 0 0 calc(33.333% - 10px);
  min-width: 240px;
  aspect-ratio: 16 / 9.5;
  border-radius: var(--ms-radius-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s, box-shadow 0.2s;
  background-color: #111422;
  border: 1px solid #2d3345;
}

.ms-screenshot-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

/* Screenshot 1: Zoom Workplace Hero Canvas */
.ms-sc-hero {
  background: linear-gradient(135deg, #0b5cff 0%, #0033ad 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  color: #ffffff;
  height: 100%;
}

.ms-sc-avatars {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.ms-sc-avatar-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  background: #ffffff;
}

.ms-sc-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ms-sc-center-banner {
  text-align: center;
  margin-top: 4px;
}

.ms-sc-logo-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
}

.ms-sc-zoom-txt {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
}

.ms-sc-workplace-txt {
  font-size: 19px;
  font-weight: 400;
}

.ms-sc-tagline {
  font-size: 11px;
  opacity: 0.9;
  margin-top: 2px;
  font-weight: 400;
}

/* Screenshot 2: Connect with anyone, from anywhere */
.ms-sc-meeting {
  background-color: #171926;
  color: #ffffff;
  display: flex;
  height: 100%;
  padding: 12px;
  gap: 10px;
}

.ms-sc-col-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ms-sc-col-text h4 {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.ms-sc-col-preview {
  flex: 1.4;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  background-color: #0b0d14;
  padding: 4px;
  border-radius: 4px;
  border: 1px solid #2b2f42;
}

.ms-sc-vid-box {
  background-color: #1f2333;
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ms-sc-vid-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ms-sc-vid-tag {
  position: absolute;
  bottom: 2px;
  left: 4px;
  font-size: 8px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 1px 3px;
  border-radius: 2px;
}

/* Screenshot 3: Stay present in conversations */
.ms-sc-notes {
  background-color: #121522;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px;
  height: 100%;
  position: relative;
}

.ms-sc-notes-quote {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #ffffff;
  max-width: 140px;
  z-index: 2;
}

.ms-sc-ai-summary-card {
  position: absolute;
  right: 12px;
  top: 14px;
  bottom: 14px;
  width: 110px;
  background: #1f2538;
  border-radius: 4px;
  border: 1px solid #374163;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ms-sc-ai-header {
  font-size: 8.5px;
  font-weight: 700;
  color: #79a6ff;
  display: flex;
  align-items: center;
  gap: 3px;
}

.ms-sc-ai-line {
  height: 4px;
  background: #36415f;
  border-radius: 2px;
}

/* ==========================================================================
   5. DESCRIPTION SECTION
   ========================================================================== */

.ms-desc-body {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ms-text-secondary);
  position: relative;
}

.ms-desc-body p {
  margin-bottom: 12px;
}

.ms-desc-heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #1b1b1b;
  margin-top: 14px;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.ms-desc-list {
  list-style: none;
  margin-bottom: 12px;
}

.ms-desc-list li {
  margin-bottom: 4px;
  position: relative;
  padding-left: 14px;
}

.ms-desc-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--ms-text-muted);
}

.ms-desc-collapsible {
  max-height: 140px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.3s ease;
}

.ms-desc-collapsible.expanded {
  max-height: 1200px;
}

.ms-desc-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
  pointer-events: none;
  transition: opacity 0.2s;
}

.ms-desc-collapsible.expanded .ms-desc-fade {
  opacity: 0;
  display: none;
}

.ms-btn-readmore {
  display: inline-block;
  color: var(--ms-text-link);
  font-size: 13px;
  font-weight: 500;
  margin-top: 6px;
  background: none;
  border: none;
  padding: 0;
}

.ms-btn-readmore:hover {
  text-decoration: underline;
}

/* ==========================================================================
   6. RATINGS AND REVIEWS SECTION
   ========================================================================== */

.ms-ratings-container {
  display: flex;
  gap: 36px;
  margin-bottom: 24px;
}

.ms-ratings-summary {
  display: flex;
  gap: 20px;
  align-items: center;
}

.ms-big-score {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: #1b1b1b;
}

.ms-score-meta {
  display: flex;
  flex-direction: column;
}

.ms-score-label {
  font-size: 11px;
  font-weight: 600;
  color: #707070;
  text-transform: uppercase;
  margin-top: 4px;
  letter-spacing: 0.5px;
}

/* Distribution Bars */
.ms-rating-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 170px;
}

.ms-bar-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #616161;
}

.ms-bar-num {
  font-size: 11px;
  width: 8px;
  text-align: right;
  color: #616161;
}

.ms-bar-star {
  font-size: 10px;
  color: #616161;
}

.ms-bar-track {
  flex: 1;
  height: 6px;
  background-color: var(--ms-star-bar-bg);
  border-radius: 3px;
  overflow: hidden;
}

.ms-bar-fill {
  height: 100%;
  background-color: var(--ms-star-bar-fill);
  border-radius: 3px;
}

/* Stars SVG */
.ms-stars-group {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--ms-star-color);
}

.ms-stars-group svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Review Card */
.ms-review-card {
  border-top: 1px solid var(--ms-border-subtle);
  padding-top: 16px;
}

.ms-review-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.ms-review-stars {
  font-size: 13px;
  font-weight: 700;
  color: #1b1b1b;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ms-review-stars svg {
  fill: var(--ms-star-color);
  width: 13px;
  height: 13px;
}

.ms-review-title {
  font-size: 13px;
  font-weight: 600;
  color: #1b1b1b;
}

.ms-review-text {
  font-size: 13px;
  color: var(--ms-text-secondary);
  line-height: 1.45;
  margin-bottom: 8px;
}

.ms-review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ms-review-author {
  font-size: 12px;
  color: var(--ms-text-muted);
}

.ms-review-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ms-btn-thumb {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--ms-text-muted);
  border: 1px solid transparent;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.15s;
}

.ms-btn-thumb:hover {
  background-color: #f1f1f1;
  color: #1b1b1b;
}

.ms-btn-thumb.active {
  color: var(--ms-primary-blue);
  background-color: #e8f3fc;
}

/* ==========================================================================
   7. SYSTEM REQUIREMENTS SECTION
   ========================================================================== */

.ms-sysreq-content {
  font-size: 13px;
  color: var(--ms-text-secondary);
  line-height: 1.7;
}

.ms-sysreq-row {
  margin-bottom: 6px;
}

.ms-sysreq-label {
  font-weight: 600;
  color: #1b1b1b;
}

/* ==========================================================================
   8. ADDITIONAL INFORMATION SECTION
   ========================================================================== */

.ms-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 16px;
}

.ms-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
}

.ms-info-icon {
  width: 18px;
  height: 18px;
  color: #616161;
  flex-shrink: 0;
  margin-top: 2px;
}

.ms-info-body {
  display: flex;
  flex-direction: column;
}

.ms-info-label {
  font-size: 11.5px;
  color: var(--ms-text-muted);
  margin-bottom: 2px;
}

.ms-info-val {
  color: var(--ms-text-primary);
  line-height: 1.4;
}

.ms-info-val small {
  display: block;
  font-size: 11px;
  color: var(--ms-text-muted);
  margin-top: 3px;
}

/* ==========================================================================
   9. RIGHT SIDEBAR: DISCOVER MORE
   ========================================================================== */

.ms-discover-header {
  font-size: 15px;
  font-weight: 600;
  color: #1b1b1b;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
  text-decoration: none;
}

.ms-discover-header:hover {
  color: var(--ms-text-link);
}

.ms-discover-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ms-app-card-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--ms-radius-md);
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.15s, border-color 0.15s;
}

.ms-app-card-mini:hover {
  text-decoration: none;
  background-color: #ffffff;
  border-color: var(--ms-border);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.ms-app-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ms-app-icon-mini {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ms-app-meta-mini {
  min-width: 0;
}

.ms-app-name-mini {
  font-size: 13px;
  font-weight: 600;
  color: #1b1b1b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.ms-app-sub-mini {
  font-size: 11.5px;
  color: var(--ms-text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.ms-btn-free-badge {
  background-color: transparent;
  color: #242424;
  border: 1px solid #c7c7c7;
  border-radius: var(--ms-radius-sm);
  padding: 3px 10px;
  font-size: 11.5px;
  font-weight: 600;
  margin-left: 8px;
  white-space: nowrap;
  transition: all 0.15s;
}

.ms-app-card-mini:hover .ms-btn-free-badge {
  background-color: #f3f3f3;
  border-color: #999;
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */

.ms-footer {
  background-color: #ffffff;
  border-top: 1px solid var(--ms-border);
  margin-top: auto;
  font-size: 12px;
  color: #616161;
}

.ms-footer-inner {
  max-width: var(--ms-max-width);
  margin: 0 auto;
  padding: 36px 20px 24px;
}

.ms-footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 36px;
}

.ms-footer-col h3 {
  font-size: 14px;
  font-weight: 600;
  color: #262626;
  margin-bottom: 12px;
}

.ms-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ms-footer-links a {
  color: #616161;
  text-decoration: none;
}

.ms-footer-links a:hover {
  color: #262626;
  text-decoration: underline;
}

.ms-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
  font-size: 11px;
}

.ms-footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ms-lang-select {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #616161;
  text-decoration: none;
  cursor: pointer;
}

.ms-privacy-choices {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #616161;
  text-decoration: none;
}

.ms-privacy-choices svg {
  width: 24px;
  height: 12px;
}

.ms-footer-legal-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
}

.ms-footer-legal-links a {
  color: #616161;
  text-decoration: none;
}

.ms-footer-legal-links a:hover {
  text-decoration: underline;
  color: #262626;
}

/* ==========================================================================
   11. LIGHTBOX MODAL (FOR SCREENSHOTS)
   ========================================================================== */

.ms-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
  padding: 24px;
}

.ms-modal-overlay.active {
  display: flex;
}

.ms-modal-content {
  background-color: #121522;
  border-radius: var(--ms-radius-lg);
  max-width: 900px;
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  box-shadow: var(--ms-shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ms-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 10;
  transition: background 0.15s;
}

.ms-modal-close:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* Modal Inner Fullscreen Scaling */
.modal-inner-expanded {
  width: 100%;
  height: 100%;
  display: flex;
}

.modal-inner-expanded .ms-sc-hero,
.modal-inner-expanded .ms-sc-meeting,
.modal-inner-expanded .ms-sc-notes {
  width: 100%;
  height: 100%;
  padding: 48px;
}

.modal-inner-expanded .ms-sc-avatar-circle {
  width: 90px;
  height: 90px;
  border-width: 4px;
}

.modal-inner-expanded .ms-sc-zoom-txt {
  font-size: 42px;
}

.modal-inner-expanded .ms-sc-workplace-txt {
  font-size: 38px;
}

.modal-inner-expanded .ms-sc-tagline {
  font-size: 20px;
  margin-top: 8px;
}

.modal-inner-expanded .ms-sc-col-text h4,
.modal-inner-expanded .ms-sc-notes-quote {
  font-size: 26px;
  max-width: 340px;
}

.modal-inner-expanded .ms-sc-vid-tag {
  font-size: 14px;
  padding: 4px 8px;
}

.modal-inner-expanded .ms-sc-ai-summary-card {
  width: 280px;
  padding: 20px;
  gap: 12px;
}

.modal-inner-expanded .ms-sc-ai-header {
  font-size: 16px;
}

.modal-inner-expanded .ms-sc-ai-line {
  height: 8px;
}
.ms-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #202020;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--ms-radius-md);
  box-shadow: var(--ms-shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 999;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.1, 0.9, 0.2, 1), opacity 0.3s;
}

.ms-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

@media (max-width: 992px) {
  .ms-main-layout {
    grid-template-columns: 1fr;
  }
  
  .ms-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .ms-footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ms-nav-links {
    display: none;
  }
  
  .ms-search-bar {
    width: 200px;
  }
  
  .ms-hero-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .ms-badges-row,
  .ms-meta-row,
  .ms-hero-actions,
  .ms-esrb-row {
    justify-content: center;
  }
  
  .ms-ratings-container {
    flex-direction: column;
    gap: 16px;
  }
  
  .ms-footer-cols {
    grid-template-columns: 1fr;
  }
}
