/* Nimo Gaming PH - Main Styles */
:root {
  --w7f19-primary: #00CED1;
  --w7f19-secondary: #00BFFF;
  --w7f19-accent: #B0E0E6;
  --w7f19-dark: #141414;
  --w7f19-darker: #0a0a0a;
  --w7f19-bg: #141414;
  --w7f19-bg-card: #1a1a1a;
  --w7f19-text: #ffffff;
  --w7f19-text-muted: #B0E0E6;
  --w7f19-border: #00CED1;
}

* {
  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, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--w7f19-text);
  background-color: var(--w7f19-bg);
  min-height: 100vh;
  padding-bottom: 64px;
}

.w7f19-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

.w7f19-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, var(--w7f19-darker) 0%, var(--w7f19-bg-card) 100%);
  border-bottom: 2px solid var(--w7f19-primary);
  z-index: 1000;
  transition: all 0.3s ease;
}

.w7f19-header.w7f19-scrolled {
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(10px);
}

.w7f19-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  max-width: 430px;
  margin: 0 auto;
}

.w7f19-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--w7f19-text);
}

.w7f19-logo img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.w7f19-logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--w7f19-primary);
}

.w7f19-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.w7f19-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.w7f19-btn-primary {
  background: linear-gradient(135deg, var(--w7f19-primary) 0%, var(--w7f19-secondary) 100%);
  color: #fff;
}

.w7f19-btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 206, 209, 0.4);
}

.w7f19-btn-secondary {
  background: transparent;
  color: var(--w7f19-primary);
  border: 2px solid var(--w7f19-primary);
}

.w7f19-menu-toggle {
  background: transparent;
  border: none;
  color: var(--w7f19-text);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.5rem;
}

.w7f19-mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: var(--w7f19-bg-card);
  transition: left 0.3s ease;
  z-index: 1001;
  overflow-y: auto;
}

.w7f19-mobile-menu.w7f19-menu-open {
  left: 0;
}

.w7f19-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid var(--w7f19-primary);
}

.w7f19-menu-close {
  background: transparent;
  border: none;
  color: var(--w7f19-text);
  font-size: 1.8rem;
  cursor: pointer;
}

.w7f19-menu-nav {
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.w7f19-menu-nav a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  color: var(--w7f19-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 206, 209, 0.2);
  transition: background 0.3s ease;
  font-size: 1.4rem;
}

.w7f19-menu-nav a:hover {
  background: var(--w7f19-primary);
  color: #fff;
}

.w7f19-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.w7f19-mobile-menu.w7f19-menu-open + .w7f19-menu-overlay {
  opacity: 1;
  visibility: visible;
}

main {
  padding-top: 60px;
}

.w7f19-section {
  margin-bottom: 2rem;
}

.w7f19-card {
  background: var(--w7f19-bg-card);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 206, 209, 0.2);
}

.w7f19-page-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--w7f19-primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.w7f19-section-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--w7f19-primary);
  margin-bottom: 1rem;
}

.w7f19-content {
  color: var(--w7f19-text);
  line-height: 1.8;
}

.w7f19-content p {
  margin-bottom: 1rem;
}

.w7f19-link {
  color: var(--w7f19-primary);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.w7f19-carousel {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.w7f19-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.w7f19-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.w7f19-game-item {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.w7f19-game-item:hover {
  transform: scale(1.05);
}

.w7f19-game-thumb {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.3rem;
  border: 1px solid rgba(0, 206, 209, 0.3);
}

.w7f19-game-label {
  display: block;
  font-size: 1rem;
  color: var(--w7f19-text);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.w7f19-category-title {
  font-size: 1.4rem;
  color: var(--w7f19-secondary);
  margin: 1.5rem 0 1rem;
  font-weight: 600;
}

.w7f19-footer {
  background: var(--w7f19-bg-card);
  padding: 2rem 0;
  margin-top: 3rem;
  border-top: 1px solid var(--w7f19-primary);
}

.w7f19-footer-content {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

.w7f19-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.w7f19-footer-link {
  color: var(--w7f19-primary);
  text-decoration: none;
  font-size: 1.2rem;
}

.w7f19-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 1rem 0;
}

.w7f19-partner-img {
  height: 30px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.w7f19-partner-img:hover {
  opacity: 1;
}

.w7f19-copyright {
  text-align: center;
  color: var(--w7f19-text-muted);
  font-size: 1.1rem;
}

.w7f19-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--w7f19-bg-card);
  border-top: 1px solid var(--w7f19-primary);
  display: flex;
  justify-content: space-around;
  padding: 0.5rem 0;
  z-index: 999;
}

@media (min-width: 769px) {
  .w7f19-bottom-nav {
    display: none;
  }
  body {
    padding-bottom: 0;
  }
}

.w7f19-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-decoration: none;
  color: var(--w7f19-text);
  font-size: 0.9rem;
  padding: 0.3rem;
  transition: all 0.3s ease;
}

.w7f19-bottom-nav-item i {
  font-size: 1.5rem;
}

.w7f19-bottom-nav-item.w7f19-active {
  color: var(--w7f19-primary);
}

.w7f19-bottom-nav-item:active {
  transform: scale(0.95);
}
