/**
 * nk77 Website Stylesheet
 * Mobile-first responsive design with custom color palette
 */

/* CSS Variables */
:root {
  --pg0c-primary: #0097A7;
  --pg0c-primary-dark: #212F3D;
  --pg0c-accent: #00B8D4;
  --pg0c-success: #00695C;
  --pg0c-highlight: #ADFF2F;
  --pg0c-bg-dark: #1a1a1a;
  --pg0c-bg-light: #2d2d2d;
  --pg0c-text-light: #f5f5f5;
  --pg0c-text-muted: #b0b0b0;
  --pg0c-border: #404040;
  --pg0c-shadow: rgba(0, 0, 0, 0.3);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--pg0c-text-light);
  background-color: var(--pg0c-bg-dark);
  overflow-x: hidden;
}

/* Container */
.pg0c-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.pg0c-wrapper {
  min-height: 100vh;
  padding-bottom: 80px;
}

/* Header Styles */
.pg0c-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--pg0c-primary-dark) 0%, var(--pg0c-primary) 100%);
  z-index: 1000;
  box-shadow: 0 2px 10px var(--pg0c-shadow);
  transition: all 0.3s ease;
}

.pg0c-header-scrolled {
  box-shadow: 0 4px 20px var(--pg0c-shadow);
}

.pg0c-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  gap: 1rem;
}

.pg0c-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--pg0c-text-light);
  font-weight: 700;
  font-size: 1.8rem;
}

.pg0c-logo img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 6px;
}

.pg0c-header-actions {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.pg0c-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: inline-block;
  text-align: center;
}

.pg0c-btn-primary {
  background: var(--pg0c-highlight);
  color: var(--pg0c-primary-dark);
  box-shadow: 0 2px 8px rgba(173, 255, 47, 0.3);
}

.pg0c-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(173, 255, 47, 0.5);
}

.pg0c-btn-secondary {
  background: transparent;
  color: var(--pg0c-text-light);
  border: 2px solid var(--pg0c-accent);
}

.pg0c-btn-secondary:hover {
  background: var(--pg0c-accent);
  transform: translateY(-2px);
}

.pg0c-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}

.pg0c-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--pg0c-text-light);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Mobile Menu Overlay */
.pg0c-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.pg0c-overlay-active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu */
.pg0c-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: linear-gradient(180deg, var(--pg0c-primary-dark) 0%, var(--pg0c-bg-light) 100%);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 2rem 0;
}

.pg0c-menu-open {
  right: 0;
}

.pg0c-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem 1.5rem;
  border-bottom: 1px solid var(--pg0c-border);
}

.pg0c-menu-close {
  background: none;
  border: none;
  color: var(--pg0c-text-light);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.5rem;
}

.pg0c-menu-nav {
  padding: 1rem 0;
}

.pg0c-menu-nav a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--pg0c-text-light);
  text-decoration: none;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.pg0c-menu-nav a:hover {
  background: rgba(0, 184, 212, 0.1);
  border-left-color: var(--pg0c-accent);
  padding-left: 2rem;
}

/* Hero Slider */
.pg0c-hero {
  margin-top: 60px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--pg0c-shadow);
}

.pg0c-hero-slide {
  display: none;
  width: 100%;
  height: auto;
  cursor: pointer;
}

.pg0c-hero-slide:first-child {
  display: block;
}

.pg0c-hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* Sections */
.pg0c-section {
  padding: 2.5rem 0;
}

.pg0c-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--pg0c-accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.pg0c-section-title::before {
  content: '';
  width: 4px;
  height: 2.4rem;
  background: var(--pg0c-highlight);
  border-radius: 2px;
}

/* Game Grid */
.pg0c-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.pg0c-game-card {
  background: var(--pg0c-bg-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px var(--pg0c-shadow);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: var(--pg0c-text-light);
}

.pg0c-game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px var(--pg0c-shadow);
}

.pg0c-game-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.pg0c-game-name {
  padding: 0.8rem 0.6rem;
  font-size: 1.1rem;
  text-align: center;
  font-weight: 600;
  line-height: 1.3;
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cards */
.pg0c-card {
  background: var(--pg0c-bg-light);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 2px 10px var(--pg0c-shadow);
}

.pg0c-card-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--pg0c-accent);
  margin-bottom: 1rem;
}

/* Features List */
.pg0c-features {
  list-style: none;
  padding: 0;
}

.pg0c-features li {
  padding: 1rem 0 1rem 2.5rem;
  position: relative;
  border-bottom: 1px solid var(--pg0c-border);
}

.pg0c-features li:last-child {
  border-bottom: none;
}

.pg0c-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1rem;
  width: 1.8rem;
  height: 1.8rem;
  background: var(--pg0c-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}

/* Buttons */
.pg0c-cta-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--pg0c-highlight) 0%, #9AE315 100%);
  color: var(--pg0c-primary-dark);
  font-weight: 700;
  font-size: 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(173, 255, 47, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.pg0c-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(173, 255, 47, 0.6);
}

/* Footer */
.pg0c-footer {
  background: var(--pg0c-primary-dark);
  padding: 2.5rem 0 1rem;
  margin-top: 3rem;
}

.pg0c-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.pg0c-footer-links a {
  color: var(--pg0c-text-light);
  text-decoration: none;
  font-size: 1.3rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  transition: all 0.3s ease;
}

.pg0c-footer-links a:hover {
  background: var(--pg0c-accent);
}

.pg0c-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
}

.pg0c-partners img {
  width: 4rem;
  height: 3rem;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.pg0c-partners img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.pg0c-copyright {
  text-align: center;
  color: var(--pg0c-text-muted);
  font-size: 1.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--pg0c-border);
}

/* Mobile Bottom Navigation */
.pg0c-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(90deg, var(--pg0c-primary-dark) 0%, var(--pg0c-primary) 50%, var(--pg0c-primary-dark) 100%);
  box-shadow: 0 -2px 10px var(--pg0c-shadow);
  z-index: 1000;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.pg0c-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  color: var(--pg0c-text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.pg0c-nav-item:hover {
  transform: scale(1.1);
}

.pg0c-nav-item i {
  font-size: 22px;
  margin-bottom: 4px;
}

.pg0c-nav-item span {
  font-size: 10px;
  font-weight: 600;
}

.pg0c-nav-item.active {
  color: var(--pg0c-highlight);
}

/* Text Links */
.pg0c-text-link {
  color: var(--pg0c-accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--pg0c-accent);
  transition: all 0.3s ease;
}

.pg0c-text-link:hover {
  color: var(--pg0c-highlight);
  border-bottom-color: var(--pg0c-highlight);
}

/* Desktop Responsive */
@media (min-width: 769px) {
  .pg0c-bottom-nav {
    display: none;
  }

  .pg0c-wrapper {
    padding-bottom: 2rem;
  }

  .pg0c-menu-toggle {
    display: none;
  }
}

/* Utilities */
.pg0c-text-center {
  text-align: center;
}

.pg0c-mt-1 { margin-top: 1rem; }
.pg0c-mt-2 { margin-top: 2rem; }
.pg0c-mt-3 { margin-top: 3rem; }

.pg0c-mb-1 { margin-bottom: 1rem; }
.pg0c-mb-2 { margin-bottom: 2rem; }
.pg0c-mb-3 { margin-bottom: 3rem; }

/* Icon Libraries Mix */
.pg0c-icon-solid {
  font-style: normal;
}

.pg0c-icon-outline {
  font-style: normal;
}
