/**
 * Jilliqq Design Stylesheet
 * Mobile-first responsive design
 */

:root {
  --g7f2-primary: #008B8B;
  --g7f2-secondary: #48D1CC;
  --g7f2-accent: #F0E68C;
  --g7f2-bg-dark: #0A0A0A;
  --g7f2-bg-card: #141414;
  --g7f2-text: #F0FDFF;
  --g7f2-text-muted: #b8e8e8;
  --g7f2-border: #2a2a2a;
  --g7f2-gradient: linear-gradient(135deg, #008B8B 0%, #48D1CC 100%);
}

* {
  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(--g7f2-text);
  background-color: var(--g7f2-bg-dark);
  min-height: 100vh;
  overflow-x: hidden;
}

.g7f2-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
  background-color: var(--g7f2-bg-dark);
}

.g7f2-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--g7f2-bg-dark);
  border-bottom: 2px solid var(--g7f2-primary);
  box-shadow: 0 2px 10px rgba(0, 139, 139, 0.2);
}

.g7f2-header-content {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
}

.g7f2-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--g7f2-text);
}

.g7f2-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.g7f2-logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--g7f2-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.g7f2-header-buttons {
  display: flex;
  gap: 0.8rem;
}

.g7f2-btn-header {
  padding: 0.6rem 1.2rem;
  font-size: 1.3rem;
  font-weight: 600;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.g7f2-btn-register {
  background: var(--g7f2-gradient);
  color: var(--g7f2-text);
}

.g7f2-btn-login {
  background-color: transparent;
  color: var(--g7f2-primary);
  border: 2px solid var(--g7f2-primary);
}

.g7f2-btn-header:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 139, 139, 0.4);
}

.g7f2-btn-header:active {
  transform: scale(0.98);
}

.g7f2-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}

.g7f2-menu-bar {
  width: 24px;
  height: 3px;
  background-color: var(--g7f2-text);
  border-radius: 2px;
  transition: all 0.3s;
}

.g7f2-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.g7f2-overlay-active {
  opacity: 1;
  visibility: visible;
}

.g7f2-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background-color: var(--g7f2-bg-card);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 2rem 0;
}

.g7f2-menu-active {
  right: 0;
}

.g7f2-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem 1.5rem;
  border-bottom: 1px solid var(--g7f2-border);
}

.g7f2-menu-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--g7f2-primary);
}

.g7f2-menu-close {
  font-size: 2.4rem;
  cursor: pointer;
  color: var(--g7f2-text);
  background: none;
  border: none;
  padding: 0.5rem;
}

.g7f2-menu-list {
  list-style: none;
  padding: 1rem 0;
}

.g7f2-menu-item {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--g7f2-border);
}

.g7f2-menu-link {
  display: block;
  color: var(--g7f2-text);
  text-decoration: none;
  font-size: 1.5rem;
  transition: color 0.2s;
}

.g7f2-menu-link:hover {
  color: var(--g7f2-primary);
}

.g7f2-main {
  margin-top: 70px;
  padding-bottom: 80px;
  min-height: calc(100vh - 70px - 80px);
}

.g7f2-carousel {
  position: relative;
  width: 100%;
  margin-bottom: 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 139, 139, 0.3);
}

.g7f2-carousel-slide {
  width: 100%;
  display: none;
}

.g7f2-carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.g7f2-carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
}

.g7f2-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.g7f2-dot-active {
  background-color: var(--g7f2-primary);
  transform: scale(1.2);
}

.g7f2-heading {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--g7f2-primary);
  line-height: 1.3;
}

.g7f2-game-section {
  margin-bottom: 2.5rem;
}

.g7f2-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--g7f2-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.g7f2-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.g7f2-game-item {
  background-color: var(--g7f2-bg-card);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 2px solid transparent;
}

.g7f2-game-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 139, 139, 0.4);
  border-color: var(--g7f2-primary);
}

.g7f2-game-icon {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.g7f2-game-name {
  padding: 0.5rem;
  font-size: 1.1rem;
  text-align: center;
  color: var(--g7f2-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.g7f2-content-section {
  background-color: var(--g7f2-bg-card);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid var(--g7f2-border);
}

.g7f2-content-text {
  color: var(--g7f2-text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.g7f2-content-text a {
  color: var(--g7f2-primary);
  text-decoration: none;
  font-weight: 600;
}

.g7f2-content-text a:hover {
  text-decoration: underline;
}

.g7f2-btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.g7f2-btn-primary {
  background: var(--g7f2-gradient);
  color: var(--g7f2-text);
}

.g7f2-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 139, 139, 0.5);
}

.g7f2-footer {
  background-color: var(--g7f2-bg-card);
  border-top: 2px solid var(--g7f2-primary);
  padding: 2rem 0;
  margin-top: 2rem;
}

.g7f2-footer-content {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

.g7f2-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.g7f2-footer-link {
  color: var(--g7f2-text-muted);
  text-decoration: none;
  font-size: 1.3rem;
  transition: color 0.2s;
}

.g7f2-footer-link:hover {
  color: var(--g7f2-primary);
}

.g7f2-partners {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.g7f2-partner-logo {
  width: 100%;
  height: auto;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.g7f2-partner-logo:hover {
  opacity: 1;
}

.g7f2-copyright {
  text-align: center;
  color: var(--g7f2-text-muted);
  font-size: 1.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--g7f2-border);
}

.g7f2-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--g7f2-gradient);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.g7f2-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  text-decoration: none;
  color: var(--g7f2-text);
  transition: transform 0.2s;
  cursor: pointer;
  padding: 0.5rem;
}

.g7f2-bottom-nav-item:active {
  transform: scale(0.95);
}

.g7f2-nav-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.g7f2-nav-text {
  font-size: 10px;
  font-weight: 500;
}

.g7f2-nav-active {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@media (min-width: 769px) {
  .g7f2-bottom-nav {
    display: none;
  }

  .g7f2-main {
    padding-bottom: 2rem;
  }

  .g7f2-menu-toggle {
    display: none;
  }
}

@media (max-width: 768px) {
  .g7f2-main {
    padding-bottom: 80px;
  }
}

.g7f2-text-center {
  text-align: center;
}

.g7f2-mt-1 {
  margin-top: 1rem;
}

.g7f2-mb-1 {
  margin-bottom: 1rem;
}

.g7f2-mb-2 {
  margin-bottom: 2rem;
}
