/* Super King PH Layout Styles */
/* All classes use s60a- prefix to avoid conflicts */

:root {
  --s60a-primary: #FFB3FF;
  --s60a-secondary: #BAFFC9;
  --s60a-accent: #B8860B;
  --s60a-highlight: #FF5722;
  --s60a-bg: #141414;
  --s60a-text: #BAFFC9;
  --s60a-text-light: #FFB3FF;
  --s60a-border: #333;
  --s60a-shadow: rgba(255, 179, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
  background: var(--s60a-bg);
  color: var(--s60a-text);
  max-width: 430px;
  margin: 0 auto;
  padding-bottom: 64px;
}

/* Header & Navigation */
.s60a-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
  box-shadow: 0 2px 10px var(--s60a-shadow);
  z-index: 1000;
  border-bottom: 1px solid var(--s60a-border);
}

.s60a-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  min-height: 56px;
}

.s60a-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.s60a-logo {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.s60a-site-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--s60a-primary);
  letter-spacing: 0.5px;
}

.s60a-header-actions {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.s60a-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.s60a-register-btn {
  background: linear-gradient(135deg, var(--s60a-primary) 0%, #ff8ce7 100%);
  color: #000;
}

.s60a-login-btn {
  background: linear-gradient(135deg, var(--s60a-secondary) 0%, #93e6a7 100%);
  color: #000;
}

.s60a-btn:hover, .s60a-btn:active {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--s60a-shadow);
}

.s60a-hamburger {
  background: none;
  border: none;
  color: var(--s60a-primary);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu */
.s60a-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.s60a-menu-overlay.s60a-active {
  opacity: 1;
  visibility: visible;
}

.s60a-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100%;
  background: #1a1a1a;
  z-index: 1001;
  transition: right 0.3s ease;
  overflow-y: auto;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5);
}

.s60a-mobile-menu.s60a-active {
  right: 0;
}

.s60a-mobile-menu-header {
  padding: 2rem 1.5rem;
  border-bottom: 1px solid var(--s60a-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.s60a-menu-title {
  font-size: 1.8rem;
  color: var(--s60a-primary);
  font-weight: 700;
}

.s60a-close-menu {
  background: none;
  border: none;
  color: var(--s60a-text);
  font-size: 2.4rem;
  cursor: pointer;
}

.s60a-nav-list {
  list-style: none;
  padding: 1rem 0;
}

.s60a-nav-item {
  border-bottom: 1px solid var(--s60a-border);
}

.s60a-nav-link {
  display: block;
  padding: 1.5rem 2rem;
  color: var(--s60a-text);
  text-decoration: none;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.s60a-nav-link:hover, .s60a-nav-link.s60a-active {
  background: rgba(255, 179, 255, 0.1);
  color: var(--s60a-primary);
  padding-left: 2.5rem;
}

/* Main Content */
.s60a-main {
  margin-top: 56px;
  padding: 0;
}

.s60a-container {
  padding: 1.5rem;
}

/* Carousel */
.s60a-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-bottom: 2rem;
}

.s60a-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.s60a-carousel-item {
  min-width: 100%;
  cursor: pointer;
}

.s60a-carousel-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Typography */
.s60a-h1 {
  font-size: 2.4rem;
  line-height: 1.3;
  color: var(--s60a-primary);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.s60a-h2 {
  font-size: 2rem;
  line-height: 1.3;
  color: var(--s60a-text-light);
  margin: 2rem 0 1.5rem;
  font-weight: 700;
}

.s60a-h3 {
  font-size: 1.7rem;
  line-height: 1.3;
  color: var(--s60a-secondary);
  margin: 1.5rem 0 1rem;
  font-weight: 600;
}

.s60a-text {
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--s60a-text);
  margin-bottom: 1rem;
}

.s60a-link {
  color: var(--s60a-primary);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.s60a-link:hover {
  border-bottom-color: var(--s60a-primary);
}

/* Game Grid */
.s60a-game-section {
  margin-bottom: 3rem;
}

.s60a-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.s60a-game-item {
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.s60a-game-item:active {
  transform: scale(0.95);
}

.s60a-game-icon {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.5rem;
}

.s60a-game-name {
  font-size: 1.1rem;
  color: var(--s60a-text);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Cards */
.s60a-card {
  background: #1a1a1a;
  border: 1px solid var(--s60a-border);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.s60a-card-title {
  font-size: 1.6rem;
  color: var(--s60a-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

/* List */
.s60a-list {
  list-style: none;
  padding-left: 0;
}

.s60a-list-item {
  padding: 0.8rem 0 0.8rem 2rem;
  position: relative;
  line-height: 1.6;
}

.s60a-list-item:before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--s60a-accent);
  font-weight: bold;
}

/* Footer */
.s60a-footer {
  background: #0d0d0d;
  padding: 2rem 1.5rem 8rem;
  border-top: 1px solid var(--s60a-border);
  margin-top: 3rem;
}

.s60a-footer-content {
  max-width: 430px;
  margin: 0 auto;
}

.s60a-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.s60a-footer-link {
  color: var(--s60a-text);
  text-decoration: none;
  font-size: 1.3rem;
  padding: 0.8rem;
  display: block;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.s60a-footer-link:hover {
  background: rgba(255, 179, 255, 0.1);
  color: var(--s60a-primary);
}

.s60a-partners {
  margin: 2rem 0;
}

.s60a-partners-title {
  font-size: 1.4rem;
  color: var(--s60a-text-light);
  margin-bottom: 1rem;
  text-align: center;
}

.s60a-partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.s60a-partner-logo {
  width: 100%;
  height: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.s60a-partner-logo:hover {
  opacity: 1;
}

.s60a-copyright {
  text-align: center;
  color: #666;
  font-size: 1.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--s60a-border);
}

/* Bottom Navigation */
.s60a-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
  border-top: 1px solid var(--s60a-border);
  box-shadow: 0 -2px 10px var(--s60a-shadow);
  z-index: 999;
  height: 64px;
}

.s60a-bottom-nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
  padding: 0 0.5rem;
}

.s60a-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--s60a-text);
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.s60a-bottom-nav-item:active {
  transform: scale(0.95);
  background: rgba(255, 179, 255, 0.1);
}

.s60a-bottom-nav-item.s60a-active {
  color: var(--s60a-primary);
}

.s60a-bottom-nav-icon {
  font-size: 2.4rem;
  margin-bottom: 0.2rem;
}

.s60a-bottom-nav-text {
  font-size: 1rem;
  font-weight: 500;
}

/* Utility Classes */
.s60a-text-center {
  text-align: center;
}

.s60a-mt-1 { margin-top: 1rem; }
.s60a-mt-2 { margin-top: 2rem; }
.s60a-mb-1 { margin-bottom: 1rem; }
.s60a-mb-2 { margin-bottom: 2rem; }

/* Promo Button */
.s60a-promo-btn, .s60a-play-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--s60a-accent) 0%, #d4af37 100%);
  color: #000;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  margin: 1rem 0;
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3);
}

.s60a-promo-btn:hover, .s60a-play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(184, 134, 11, 0.5);
}

/* Responsive adjustments */
@media (max-width: 375px) {
  html { font-size: 58%; }
  .s60a-game-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 431px) {
  body {
    border-left: 1px solid var(--s60a-border);
    border-right: 1px solid var(--s60a-border);
  }
}
