:root {
  --colbg: #135deg;
  --coltheme: #764ba2;
  --col3: #fa2a10;
  --coltext: #ffffff;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-attachment: fixed;
  font-family: Verdana, Arial, sans-serif;
  text-align: center;
  box-sizing: border-box;
  color: var(--coltext);
  min-height: 100vh;
}

* {
  box-sizing: border-box;
}

p {
  margin: 0;
}

img {
  border: 0;
  display: block;
}

a {
  color: var(--coltext);
  text-decoration: none;
}

a:hover {
  color: var(--coltext);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Verdana, Arial, sans-serif;
  font-size: 36px;
  color: var(--coltext);
  font-weight: normal;
  margin: 0 0 15px 0;
  text-align: center;
}

h2 {font-size: 36px;}
h3 {font-size: 30px;}
h4 {font-size: 24px;}

.p12 {font-size: 12px;}
.p14 {font-size: 14px;}
.p16 {font-size: 16px;}
.p18 {font-size: 18px;}
.p20 {font-size: 20px;}
.p24 {font-size: 24px;}
.p30 {font-size: 30px;}
.p36 {font-size: 36px;}

#preloader {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}

#preloader .loader {
  width: 60px;
  height: 60px;
  border-radius: 30px;
  border: 6px dashed var(--coltext);
  animation: spin 2s linear infinite;
  position: absolute;
}

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

#content {
  display: block;
  width: 100%;
  min-height: calc(100vh - 100px);
  padding: 0;
  margin: 0;
}

/* Apps Grid - Rewritten from scratch */
.apps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  grid-auto-rows: 1fr;
  gap: 15px;
  padding: 15px;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

/* Ensure rows match column width for square items */
.apps > a {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
  min-height: 0;
}

.apps > a:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

/* Big games span 3 columns and 3 rows */
.apps > a.big {
  grid-column: span 3;
  grid-row: span 3;
  border-radius: 30px;
  aspect-ratio: 1;
  min-height: 0;
}

.apps > a.big:hover {
  transform: translateY(-8px) scale(1.08);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.apps > a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
  transition: opacity 0.3s ease;
}

.apps > a:hover img {
  opacity: 0.9;
}

/* App Title on Hover */
.apps > a::after {
  content: attr(data-title);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.7));
  color: var(--coltext);
  padding: 10px 8px 8px 8px;
  font-size: 11px;
  font-weight: bold;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 0 0 20px 20px;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  overflow: visible;
  display: block;
  box-sizing: border-box;
  min-height: 40px;
}

.apps > a.big::after {
  font-size: 14px;
  padding: 15px 10px 10px 10px;
  border-radius: 0 0 25px 25px;
  min-height: 60px;
}

.apps > a:hover::after {
  opacity: 1;
}

.loading-games-indicator {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  width: 100%;
  text-align: center;
}

.loading-games-indicator .loader {
  width: 60px;
  height: 60px;
  border-radius: 30px;
  border: 6px dashed var(--coltext);
  animation: spin 2s linear infinite;
  margin: 0 auto 10px auto;
}

.loading-games-indicator p {
  font-size: 16px;
  color: var(--coltext);
  font-family: Verdana, Arial, sans-serif;
  margin: 0;
}

.text {
  font-size: 14px;
  padding: 0 10px;
  line-height: 1.6;
  color: var(--coltext);
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

.text ul {
  text-align: left;
  display: inline-block;
  max-width: 800px;
  margin: 10px auto;
  padding-left: 20px;
}

.text li {
  margin: 8px 0;
  line-height: 1.5;
}

.content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.white {
  padding: 20px;
  border-radius: 25px;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  margin: 20px 0;
}

.bottom {
  position: relative;
  width: 100%;
  margin-top: 40px;
}

#bottom {
  width: 100%;
  padding: 20px;
  text-align: center;
  font-size: 14px;
  color: var(--coltext);
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 100px;
}

#bottom > div:nth-child(1) {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

#bottom a {
  color: var(--coltext);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  transition: opacity 0.3s ease;
  letter-spacing: 1px;
}

#bottom a:hover {
  opacity: 0.8;
}

#bottom .dot-separator {
  width: 6px;
  height: 6px;
  background: var(--coltext);
  border-radius: 50%;
  display: inline-block;
  margin: 0 5px;
}

.panel {
  width: 100%;
  height: 98px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
}

.panel > div:nth-child(1),
.panel > div:nth-child(3) {
  height: 100%;
  width: 41px;
  flex-shrink: 0;
}

.panel > div:nth-child(2) {
  height: 100%;
  width: 100%;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .apps {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 15px;
  }

  .apps > a {
    border-radius: 15px;
  }

  /* Big games span 2 columns and 2 rows on mobile */
  .apps > a.big {
    grid-column: span 2;
    grid-row: span 2;
    border-radius: 25px;
    aspect-ratio: 1;
    min-height: 0;
  }

  .apps > a::after {
    font-size: 10px;
    padding: 6px 4px 4px 4px;
  }

  .apps > a.big::after {
    font-size: 12px;
    padding: 10px 6px 6px 6px;
  }

  #content {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .apps > a {
    border-radius: 12px;
  }

  .apps > a.big {
    border-radius: 20px;
  }
}

/* ==================== APP REVIEW PAGE STYLES ==================== */

.pupper {
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Main Content Container */
.content-wide {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 0;
  background: #ffffff;
  width: 100%;
  box-sizing: border-box;
}

/* App Main Layout - Two Column on Wide Screens */
.app-main-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.app-main-content {
  flex: 1;
  min-width: 0;
  max-width: 830px;
}

@media (max-width: 768px) {
  .app-main-layout {
    flex-direction: column;
    padding: 0;
    gap: 20px;
  }

  .app-main-content {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
  }

  .app-header {
    margin: 0;
    border-radius: 0;
    padding: 15px;
  }

  .app-attributes,
  .app-description,
  .app-howtoplay,
  .ad-container,
  .screenshots-container,
  .app-ratings-section,
  .more-games {
    margin-left: 0;
    margin-right: 0;
    padding-left: 15px;
    padding-right: 15px;
  }

  .app-store-buttons {
    padding: 0 15px;
  }

  .section-headline,
  .section-label {
    padding-left: 15px;
    padding-right: 15px;
  }

  .content-wide {
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
  }

  .app-main-layout {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  body {
    margin: 0;
    padding: 0;
  }

  #content {
    margin: 0;
    padding: 0;
    width: 100%;
  }
}

.top-games-sidebar {
  flex: 0 0 320px;
  display: block;
  width: 320px;
}

@media (max-width: 1200px) {
  .top-games-sidebar {
    display: none;
  }

  .app-main-layout {
    padding: 0;
  }
}

@media (max-width: 768px) {
  .app-main-layout {
    flex-direction: column;
    padding: 0;
    gap: 20px;
  }

  .app-main-content {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
  }

  .app-header {
    margin: 0;
    border-radius: 0;
    padding: 15px;
  }

  .app-attributes,
  .app-description,
  .app-howtoplay,
  .ad-container,
  .screenshots-container,
  .app-ratings-section,
  .more-games {
    margin-left: 0;
    margin-right: 0;
    padding-left: 15px;
    padding-right: 15px;
  }

  .app-store-buttons {
    padding: 0 15px;
  }

  .section-headline,
  .section-label {
    padding-left: 15px;
    padding-right: 15px;
  }

  .content-wide {
    padding: 0;
    margin: 0;
  }
}

/* App Split Layout */
.appsplit {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 40px;
}

@media (max-width: 968px) {
  .appsplit {
    flex-direction: column;
  }
}

/* Vertical Apps Sidebar */
.appsvert {
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.appsvert > a {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  background: #f5f5f5;
}

.appsvert > a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.appsvert > a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.appsvert > a > div {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  color: #ffffff;
  padding: 10px;
  font-size: 12px;
}

.appsvert > a > div p {
  margin: 0 0 5px 0;
  font-weight: bold;
  font-size: 11px;
}

@media (max-width: 968px) {
  .appsvert {
    flex: 1;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .appsvert > a {
    flex: 0 0 calc(33.333% - 10px);
    max-width: 150px;
  }
}

/* Main App Title */
.hmac {
  font-family: Verdana, Arial, sans-serif;
  font-size: 42px;
  color: #333333;
  text-align: left;
  margin: 0 0 30px 0;
  font-weight: bold;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .hmac {
    font-size: 32px;
    text-align: center;
  }
}

/* App Info Container */
.appinfo {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .appinfo {
    flex-direction: column;
    padding: 20px;
  }
}

/* Advertisement Column */
.aidiv1 {
  flex: 0 0 300px;
}

.aidiv1 .p13 {
  font-size: 13px;
  color: #666666;
  margin-bottom: 15px;
  font-weight: bold;
}

.app336 {
  width: 100%;
  min-height: 250px;
  background: #e9ecef;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .aidiv1 {
    flex: 1;
  }
}

/* Main App Info Column */
.aidiv2 {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* App Image and Rating */
.appimrf {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.appimrf > img {
  width: 150px;
  height: 150px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
  flex-shrink: 0;
}

.appimrf > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

/* Star Rating */
.appstars {
  display: flex;
  gap: 5px;
  align-items: center;
}

.star {
  width: 24px;
  height: 24px;
  background: #e0e0e0;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  transition: all 0.2s ease;
}

.star.stact {
  background: #ffc107;
}

.star-small {
  width: 12px;
  height: 12px;
  background: #ffc107;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  display: inline-block;
}

.appimrf .p36 {
  font-size: 36px;
  color: #333333;
  font-weight: bold;
  margin: 0;
}

@media (max-width: 768px) {
  .appimrf {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .appimrf > div {
    align-items: center;
  }
}

/* App Stats Grid */
.appstats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.appstats > div {
  padding: 15px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}

.appstats > div:hover {
  border-color: #764ba2;
  box-shadow: 0 2px 8px rgba(118, 75, 162, 0.15);
}

.appstats > div p:first-child {
  font-size: 12px;
  color: #666666;
  margin-bottom: 8px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.appstats > div p:last-child {
  font-size: 16px;
  color: #333333;
  margin: 0;
  font-weight: 600;
}

@media (max-width: 480px) {
  .appstats {
    grid-template-columns: 1fr;
  }
}

/* Screenshots Section */
.screenshots {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 20px 0;
  margin: 30px 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.screenshots::-webkit-scrollbar {
  height: 8px;
}

.screenshots::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.screenshots::-webkit-scrollbar-thumb {
  background: #764ba2;
  border-radius: 10px;
}

.screenshots::-webkit-scrollbar-thumb:hover {
  background: #667eea;
}

.screenshots > img {
  flex: 0 0 300px;
  height: 500px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.screenshots > img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .screenshots > img {
    flex: 0 0 250px;
    height: 400px;
  }
}

/* Screenshots in Text */
.scd {
  margin: 30px 0;
  text-align: center;
}

.scd img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin: 0 auto;
}

.scd img.flol {
  float: left;
  margin: 0 20px 20px 0;
  max-width: 300px;
}

.scd img.flor {
  float: right;
  margin: 0 0 20px 20px;
  max-width: 300px;
}

@media (max-width: 768px) {
  .scd img.flol,
  .scd img.flor {
    float: none;
    margin: 20px auto;
    max-width: 100%;
  }
}

/* Open Button */
.bigbut {
  display: inline-block;
  padding: 18px 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 50px;
  text-decoration: none;
  margin: 30px 0;
  box-shadow: 0 6px 20px rgba(118, 75, 162, 0.4);
  transition: all 0.3s ease;
  text-align: center;
}

.bigbut:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(118, 75, 162, 0.6);
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.bigbut:active {
  transform: translateY(-1px);
}

/* Description Text */
.textl {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: left;
  line-height: 1.8;
  color: #333333;
  font-size: 16px;
}

.textl h1,
.textl h2,
.textl h3 {
  color: #333333;
  text-align: left;
  margin: 30px 0 15px 0;
}

.textl h1 {
  font-size: 32px;
}

.textl h2 {
  font-size: 28px;
}

.textl h3 {
  font-size: 24px;
}

.textl p {
  margin: 15px 0;
  color: #444444;
}

.textl strong {
  color: #764ba2;
  font-weight: bold;
}

.textl em {
  font-style: italic;
  color: #666666;
}

.textl a {
  color: #667eea;
  text-decoration: underline;
}

.textl a:hover {
  color: #764ba2;
}

.textl ul,
.textl ol {
  margin: 20px 0;
  padding-left: 30px;
}

.textl li {
  margin: 10px 0;
  color: #444444;
}

.textl img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 20px 0;
}

/* Author Section */
.author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 20px;
  margin: 40px 0;
}

.author .pupper {
  font-size: 20px;
  color: #666666;
  margin: 0;
  font-weight: bold;
}

.author img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.author .p24 {
  font-size: 24px;
  color: #333333;
  margin: 0;
  font-weight: 600;
}

/* Section Headers */
.p13.pupper {
  font-size: 18px;
  color: #333333;
  margin: 30px 0 20px 0;
  font-weight: bold;
  text-align: left;
}

/* Loading Indicator */
#loading {
  text-align: center;
  padding: 40px;
  color: #666666;
}

/* More Games Section */
.content-wide + h3 {
  font-size: 32px;
  color: #333333;
  text-align: center;
  margin: 50px 0 30px 0;
  font-weight: bold;
}

.apps.more-games {
  background: #f8f9fa;
  padding: 30px 20px;
  border-radius: 20px;
  margin: 40px 0;
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
  gap: 50px 20px;
  justify-items: center;
  align-items: start;
  grid-auto-rows: min-content !important;
}

.apps.more-games > a.more-game-item {
  width: 100% !important;
  max-width: 180px !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-height: none !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  overflow: visible !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  margin: 0 !important;
}

.apps.more-games > a.more-game-item:hover {
  transform: none !important;
}

.apps.more-games > a.more-game-item img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  margin-bottom: 8px;
  flex-shrink: 0;
  display: block;
}

.apps.more-games > a.more-game-item:hover img {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.apps.more-games .more-game-title {
  font-size: 14px;
  color: #333333;
  font-weight: 600;
  text-align: center;
  margin: 0;
  padding: 0;
  line-height: 1.3;
  word-wrap: break-word;
  word-break: break-word;
  flex-shrink: 0;
  width: 100%;
  display: block;
}

/* Hide black overlay on hover for More Games section since title is shown below image */
.apps.more-games > a.more-game-item::after {
  display: none !important;
}

@media (max-width: 768px) {
  .apps.more-games {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)) !important;
    gap: 45px 15px;
    padding: 20px 15px;
  }

  .apps.more-games > a.more-game-item {
    max-width: 100% !important;
  }

  .apps.more-games .more-game-title {
    font-size: 12px;
  }
}

/* Responsive adjustments for app page */
@media (max-width: 768px) {
  .content-wide {
    padding: 15px;
  }

  .appinfo {
    padding: 15px;
  }

  .textl {
    padding: 20px;
    font-size: 15px;
  }

  .bigbut {
    padding: 15px 40px;
    font-size: 18px;
    width: 100%;
    max-width: 300px;
  }
}

/* ==================== NEW APP REVIEW PAGE STYLES ==================== */

/* App Header - Top Section */
.app-header {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 30px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 15px;
}

.app-header-image {
  flex: 0 0 120px;
}

.app-header-image img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.app-header-info {
  flex: 1;
  text-align: left;
}

.app-title {
  font-family: Verdana, Arial, sans-serif;
  font-size: 20px;
  color: #333333;
  margin: 0 0 10px 0;
  font-weight: bold;
  line-height: 1.2;
  word-wrap: break-word;
  word-break: break-word;
}

.app-rating-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-rating-value {
  font-size: 22px;
  color: #333333;
  font-weight: bold;
}

.app-rating-header .appstars .star {
  width: 22px;
  height: 22px;
}

@media (max-width: 768px) {
  .app-header {
    flex-direction: row;
    text-align: left;
    padding: 15px;
    align-items: flex-start;
  }

  .app-header-image {
    flex: 0 0 90px;
  }

  .app-header-image img {
    width: 90px;
    height: 90px;
  }

  .app-rating-value {
    font-size: 20px;
  }

  .app-rating-header .appstars .star {
    width: 20px;
    height: 20px;
  }

  .app-header-info {
    text-align: left;
    flex: 1;
  }

  .app-title {
    font-size: 18px;
    text-align: left;
  }

  .app-rating-header {
    justify-content: flex-start;
  }
}

/* Section Labels and Headlines */
.section-label {
  font-size: 12px;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 30px 0 10px 0;
  font-weight: bold;
  text-align: center;
}

.section-headline {
  font-family: Verdana, Arial, sans-serif;
  font-size: 32px;
  color: #333333;
  margin: 40px 0 20px 0;
  font-weight: bold;
  text-align: left;
}

@media (max-width: 768px) {
  .section-headline {
    font-size: 28px;
    text-align: center;
  }
}

/* Ad Container */
.ad-container {
  width: 100%;
  min-height: 250px;
  background: #e9ecef;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
  padding: 20px;
  box-sizing: border-box;
}

/* App Attributes List */
.app-attributes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 30px 0;
  padding: 20px;
  background: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: 15px;
}

.attribute-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background: #f8f9fa;
  border-radius: 10px;
  border: 1px solid #e9ecef;
}

.attribute-label {
  font-size: 14px;
  color: #666666;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.attribute-value {
  font-size: 16px;
  color: #333333;
  font-weight: 600;
}

@media (max-width: 768px) {
  .app-attributes {
    grid-template-columns: 1fr;
    padding: 15px;
  }
}

/* Description and How To Play */
.app-description,
.app-howtoplay {
  max-width: 100%;
  margin: 30px 0;
  padding: 20px;
  background: #ffffff;
  border-radius: 15px;
  border: 1px solid #e0e0e0;
  text-align: left;
  line-height: 1.8;
  color: #444444;
  font-size: 16px;
}

.app-description p,
.app-howtoplay p {
  margin: 15px 0;
  color: #444444;
}

.app-description h1,
.app-description h2,
.app-description h3,
.app-howtoplay h1,
.app-howtoplay h2,
.app-howtoplay h3 {
  color: #333333;
  text-align: left;
  margin: 30px 0 15px 0;
}

.app-description strong,
.app-howtoplay strong {
  color: #764ba2;
  font-weight: bold;
}

.app-description a,
.app-howtoplay a {
  color: #667eea;
  text-decoration: underline;
}

.app-description a:hover,
.app-howtoplay a:hover {
  color: #764ba2;
}

/* Store Buttons */
.app-store-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 40px 0;
  flex-wrap: wrap;
}

.store-button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  justify-content: center;
}

.ios-button {
  background: #000000;
  color: #ffffff;
}

.ios-button:hover {
  background: #333333;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.android-button {
  background: #01875f;
  color: #ffffff;
}

.android-button:hover {
  background: #016b4d;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(1, 135, 95, 0.25);
}

.store-button svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .store-button {
    width: 100%;
    max-width: 300px;
  }
}

/* Screenshots Slider */
.screenshots-container {
  position: relative;
  margin: 40px 0;
  padding: 20px 0;
}

.screenshots-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #764ba2 #f1f1f1;
  padding: 10px 0;
  cursor: grab;
}

.screenshots-slider.active {
  cursor: grabbing;
}

.screenshots-slider::-webkit-scrollbar {
  height: 8px;
}

.screenshots-slider::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.screenshots-slider::-webkit-scrollbar-thumb {
  background: #764ba2;
  border-radius: 10px;
}

.screenshots-slider::-webkit-scrollbar-thumb:hover {
  background: #667eea;
}

.screenshot-slide {
  flex: 0 0 600px;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  background: #f5f5f5;
}

.screenshot-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.screenshots-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.screenshot-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #764ba2;
  background: #ffffff;
  color: #764ba2;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.screenshot-nav-btn:hover {
  background: #764ba2;
  color: #ffffff;
  transform: scale(1.1);
}

.screenshot-nav-btn:active {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .screenshot-slide {
    flex: 0 0 400px;
    height: 200px;
  }

  .screenshot-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

/* Ratings Section */
.app-ratings-section {
  margin: 50px 0;
  padding: 40px;
  background: #f8f9fa;
  border-radius: 20px;
  text-align: center;
}

.ratings-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.ratings-stars-large {
  display: flex;
  gap: 8px;
  align-items: center;
}

.ratings-stars-large .star {
  width: 40px;
  height: 40px;
}

.ratings-stars-large .star.half {
  background: linear-gradient(90deg, #ffc107 50%, #e0e0e0 50%);
}

.ratings-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.ratings-value-large {
  font-size: 48px;
  color: #333333;
  font-weight: bold;
  font-family: Verdana, Arial, sans-serif;
}

.ratings-count {
  font-size: 16px;
  color: #666666;
}

@media (max-width: 768px) {
  .app-ratings-section {
    padding: 30px 20px;
  }

  .ratings-stars-large .star {
    width: 32px;
    height: 32px;
  }

  .ratings-value-large {
    font-size: 36px;
  }
}

/* More Games Section */
.more-games {
  background: #f8f9fa;
  padding: 30px 20px;
  border-radius: 20px;
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
  justify-items: center;
}

.more-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  width: 100%;
  max-width: 180px;
}

.more-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  margin-bottom: 10px;
}

.more-game-item:hover img {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.more-game-title {
  font-size: 14px;
  color: #333333;
  font-weight: 600;
  text-align: center;
  margin: 0;
  line-height: 1.3;
  word-wrap: break-word;
  word-break: break-word;
}

@media (max-width: 768px) {
  .more-games {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    padding: 20px 15px;
  }

  .more-game-item {
    max-width: 100%;
  }

  .more-game-title {
    font-size: 12px;
  }
}

/* Top Games Sidebar */
.top-games-sidebar {
  position: sticky;
  top: 20px;
  background: #f8f9fa;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.top-games-sidebar .section-headline {
  font-size: 24px;
  margin: 0 0 20px 0;
  text-align: center;
}

.top-games-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.top-games-list > a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  text-decoration: none;
  transition: all 0.3s ease;
}

.top-games-list > a:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: #764ba2;
}

.top-games-list > a img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.top-games-list > a > div {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.top-games-list > a > div > p {
  font-size: 14px;
  color: #333333;
  font-weight: 600;
  margin: 0 0 5px 0;
  word-wrap: break-word;
  word-break: break-word;
  line-height: 1.3;
  text-align: left;
}

.top-games-list > a > div > div {
  display: flex;
  gap: 2px;
  align-items: center;
  justify-content: flex-start;
}

.top-games-list .star-small {
  width: 12px;
  height: 12px;
  background: #ffc107;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  display: inline-block;
}

.top-games-list .star-small[style*="background: #e0e0e0"] {
  background: #e0e0e0 !important;
}

#loading {
  width: 100%; height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: fixed; top: 0; left: 0;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  z-index: 999;
  color: #fff;
}
