/* phdream11 Design System - g1b3 prefixed classes */
/* Version: 1.0 */
/* Author: phdream11 Development Team */

/* CSS Variables */
:root {
  --g1b3-primary: #4169E1;
  --g1b3-secondary: #191970;
  --g1b3-accent: #87CEEB;
  --g1b3-bg: #0A0A0A;
  --g1b3-surface: #3C3C3C;
  --g1b3-text: #CED4DA;
  --g1b3-text-secondary: #87CEEB;
  --g1b3-border: #3C3C3C;
  --g1b3-hover: #4169E1;
  --g1b3-gradient: linear-gradient(135deg, #4169E1 0%, #191970 100%);
  --g1b3-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --g1b3-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --g1b3-transition: all 0.3s ease;
  --g1b3-border-radius: 8px;
  --g1b3-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--g1b3-font-family);
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--g1b3-text);
  background-color: var(--g1b3-bg);
  overflow-x: hidden;
}

.g1b3-menu-lock {
  overflow: hidden;
}

/* Container and Layout */
.g1b3-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.6rem;
}

.g1b3-wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.g1b3-main {
  flex: 1;
  padding-top: 7rem;
  padding-bottom: 7rem;
}

/* Grid System */
.g1b3-grid {
  display: grid;
  gap: 1.6rem;
}

.g1b3-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.g1b3-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.g1b3-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.g1b3-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

/* Header */
.g1b3-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--g1b3-gradient);
  backdrop-filter: blur(10px);
  box-shadow: var(--g1b3-shadow);
  height: 6rem;
}

.g1b3-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 1.6rem;
  max-width: 430px;
  margin: 0 auto;
}

.g1b3-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--g1b3-text);
  font-weight: 700;
  font-size: 1.8rem;
  z-index: 1001;
}

.g1b3-logo-icon {
  width: 2.8rem;
  height: 2.8rem;
}

.g1b3-nav {
  display: none;
}

.g1b3-nav-list {
  display: flex;
  gap: 2.4rem;
  list-style: none;
}

.g1b3-nav-link {
  color: var(--g1b3-text);
  text-decoration: none;
  font-weight: 500;
  transition: var(--g1b3-transition);
}

.g1b3-nav-link:hover {
  color: var(--g1b3-accent);
}

.g1b3-auth-buttons {
  display: none;
  gap: 1.2rem;
}

.g1b3-menu-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--g1b3-text);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.8rem;
  border-radius: var(--g1b3-border-radius);
  transition: var(--g1b3-transition);
  z-index: 1001;
}

.g1b3-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Mobile Menu */
.g1b3-mobile-menu {
  position: fixed;
  top: 6rem;
  left: 0;
  right: 0;
  background: var(--g1b3-bg);
  transform: translateY(-100%);
  transition: var(--g1b3-transition);
  z-index: 999;
  border-bottom: 1px solid var(--g1b3-border);
}

.g1b3-mobile-menu.g1b3-menu-open {
  transform: translateY(0);
}

.g1b3-mobile-menu-list {
  list-style: none;
  padding: 2rem 1.6rem;
}

.g1b3-mobile-menu-item {
  margin-bottom: 1.6rem;
}

.g1b3-mobile-menu-link {
  color: var(--g1b3-text);
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 500;
  display: block;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--g1b3-border);
  transition: var(--g1b3-transition);
}

.g1b3-mobile-menu-link:hover {
  color: var(--g1b3-accent);
}

/* Buttons */
.g1b3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.2rem 2.4rem;
  border: none;
  border-radius: var(--g1b3-border-radius);
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--g1b3-transition);
  min-height: 4.4rem;
  min-width: 4.4rem;
}

.g1b3-btn-primary {
  background: var(--g1b3-gradient);
  color: var(--g1b3-text);
  box-shadow: var(--g1b3-shadow);
}

.g1b3-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--g1b3-shadow-lg);
}

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

.g1b3-btn-secondary:hover {
  background: var(--g1b3-primary);
  color: var(--g1b3-text);
}

.g1b3-btn-small {
  padding: 0.8rem 1.6rem;
  font-size: 1.2rem;
}

.g1b3-btn-large {
  padding: 1.6rem 3.2rem;
  font-size: 1.6rem;
}

.g1b3-promo-btn {
  background: var(--g1b3-gradient);
  color: var(--g1b3-text);
  border: none;
  padding: 1.2rem 2.4rem;
  border-radius: var(--g1b3-border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--g1b3-transition);
  box-shadow: var(--g1b3-shadow);
}

.g1b3-promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--g1b3-shadow-lg);
}

/* Cards */
.g1b3-card {
  background: var(--g1b3-surface);
  border-radius: var(--g1b3-border-radius);
  padding: 2.4rem;
  box-shadow: var(--g1b3-shadow);
  transition: var(--g1b3-transition);
}

.g1b3-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--g1b3-shadow-lg);
}

.g1b3-card-header {
  margin-bottom: 1.6rem;
}

.g1b3-card-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--g1b3-text);
  margin-bottom: 0.8rem;
}

.g1b3-card-subtitle {
  color: var(--g1b3-text-secondary);
  font-size: 1.4rem;
}

.g1b3-card-content {
  color: var(--g1b3-text);
  line-height: 1.6;
}

/* Carousel */
.g1b3-carousel {
  position: relative;
  margin-bottom: 3.2rem;
  border-radius: var(--g1b3-border-radius);
  overflow: hidden;
}

.g1b3-carousel-slide {
  position: relative;
  height: 20rem;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.g1b3-carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.5), rgba(65, 105, 225, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
}

.g1b3-carousel-content {
  text-align: center;
  color: var(--g1b3-text);
}

.g1b3-carousel-indicators {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
}

.g1b3-carousel-indicator {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--g1b3-transition);
}

.g1b3-carousel-indicator.g1b3-active {
  background: var(--g1b3-accent);
}

/* Game Grid */
.g1b3-game-section {
  margin-bottom: 3.2rem;
}

.g1b3-section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--g1b3-text);
  margin-bottom: 1.6rem;
  text-align: center;
}

.g1b3-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.g1b3-game-item {
  background: var(--g1b3-surface);
  border-radius: var(--g1b3-border-radius);
  padding: 1.2rem;
  text-align: center;
  cursor: pointer;
  transition: var(--g1b3-transition);
  box-shadow: var(--g1b3-shadow);
}

.g1b3-game-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--g1b3-shadow-lg);
}

.g1b3-game-icon {
  width: 100%;
  height: 6rem;
  object-fit: cover;
  border-radius: var(--g1b3-border-radius);
  margin-bottom: 0.8rem;
}

.g1b3-game-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--g1b3-text);
  line-height: 1.3;
}

/* Content Sections */
.g1b3-section {
  margin-bottom: 3.2rem;
}

.g1b3-section-header {
  text-align: center;
  margin-bottom: 2.4rem;
}

.g1b3-section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--g1b3-text);
  margin-bottom: 1.2rem;
}

.g1b3-section-description {
  color: var(--g1b3-text-secondary);
  font-size: 1.6rem;
  line-height: 1.6;
}

.g1b3-content {
  color: var(--g1b3-text);
  line-height: 1.6;
}

.g1b3-content h1, .g1b3-content h2, .g1b3-content h3 {
  color: var(--g1b3-text);
  margin-bottom: 1.6rem;
}

.g1b3-content p {
  margin-bottom: 1.6rem;
}

.g1b3-content a {
  color: var(--g1b3-accent);
  text-decoration: none;
  font-weight: 600;
}

.g1b3-content a:hover {
  text-decoration: underline;
}

/* Promotional Links */
.promo-link {
  color: var(--g1b3-accent);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: var(--g1b3-transition);
}

.promo-link:hover {
  color: var(--g1b3-primary);
  text-decoration: underline;
}

/* Bottom Navigation */
.g1b3-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--g1b3-gradient);
  backdrop-filter: blur(10px);
  z-index: 999;
  height: 6rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.g1b3-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--g1b3-text);
  font-size: 1.2rem;
  font-weight: 500;
  transition: var(--g1b3-transition);
  min-width: 4.4rem;
  min-height: 4.4rem;
  padding: 0.8rem;
  border-radius: var(--g1b3-border-radius);
}

.g1b3-bottom-nav-item.g1b3-active {
  color: var(--g1b3-accent);
  background: rgba(135, 206, 235, 0.1);
}

.g1b3-bottom-nav-item:hover {
  color: var(--g1b3-accent);
  background: rgba(255, 255, 255, 0.1);
}

.g1b3-bottom-nav-icon {
  font-size: 2.4rem;
  margin-bottom: 0.4rem;
}

/* Footer */
.g1b3-footer {
  background: var(--g1b3-surface);
  padding: 3.2rem 0;
  margin-top: 4.8rem;
}

.g1b3-footer-content {
  text-align: center;
}

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

.g1b3-footer-link {
  color: var(--g1b3-text-secondary);
  text-decoration: none;
  font-size: 1.4rem;
  transition: var(--g1b3-transition);
}

.g1b3-footer-link:hover {
  color: var(--g1b3-accent);
}

.g1b3-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
  margin: 2.4rem 0;
}

.g1b3-partner-logo {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  opacity: 0.7;
  transition: var(--g1b3-transition);
}

.g1b3-partner-logo:hover {
  opacity: 1;
}

.g1b3-copyright {
  color: var(--g1b3-text-secondary);
  font-size: 1.2rem;
  margin-top: 2.4rem;
}

/* Animations */
.g1b3-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: var(--g1b3-transition);
}

.g1b3-fade-in.g1b3-animate {
  opacity: 1;
  transform: translateY(0);
}

.g1b3-slide-up {
  transform: translateY(40px);
  transition: var(--g1b3-transition);
}

.g1b3-slide-up.g1b3-animate {
  transform: translateY(0);
}

/* Form Styles */
.g1b3-form {
  background: var(--g1b3-surface);
  padding: 2.4rem;
  border-radius: var(--g1b3-border-radius);
  box-shadow: var(--g1b3-shadow);
}

.g1b3-input {
  width: 100%;
  padding: 1.2rem;
  border: 2px solid var(--g1b3-border);
  border-radius: var(--g1b3-border-radius);
  background: var(--g1b3-bg);
  color: var(--g1b3-text);
  font-size: 1.4rem;
  transition: var(--g1b3-transition);
}

.g1b3-input:focus {
  outline: none;
  border-color: var(--g1b3-primary);
}

.g1b3-input.g1b3-error {
  border-color: #ff4444;
}

.g1b3-textarea {
  resize: vertical;
  min-height: 12rem;
}

/* Utility Classes */
.g1b3-text-center {
  text-align: center;
}

.g1b3-text-left {
  text-align: left;
}

.g1b3-text-right {
  text-align: right;
}

.g1b3-mb-1 {
  margin-bottom: 0.8rem;
}

.g1b3-mb-2 {
  margin-bottom: 1.6rem;
}

.g1b3-mb-3 {
  margin-bottom: 2.4rem;
}

.g1b3-mt-1 {
  margin-top: 0.8rem;
}

.g1b3-mt-2 {
  margin-top: 1.6rem;
}

.g1b3-mt-3 {
  margin-top: 2.4rem;
}

/* Responsive Design */
@media (min-width: 768px) {
  .g1b3-container {
    max-width: 768px;
    padding: 0 2.4rem;
  }
  
  .g1b3-header-content {
    max-width: 768px;
  }
  
  .g1b3-nav {
    display: block;
  }
  
  .g1b3-auth-buttons {
    display: flex;
  }
  
  .g1b3-menu-toggle {
    display: none;
  }
  
  .g1b3-mobile-menu {
    display: none !important;
  }
  
  .g1b3-game-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .g1b3-bottom-nav {
    display: none;
  }
  
  .g1b3-main {
    padding-bottom: 2rem;
  }
}

@media (min-width: 1024px) {
  .g1b3-container {
    max-width: 1024px;
    padding: 0 3.2rem;
  }
  
  .g1b3-header-content {
    max-width: 1024px;
  }
  
  .g1b3-game-grid {
    grid-template-columns: repeat(8, 1fr);
  }
} 