/* SZ777B Website Styles */
/* All classes use see2- prefix to avoid conflicts */

/* CSS Custom Properties */
:root {
  --see2-primary: #A0522D;
  --see2-bg: #1A1A1A;
  --see2-text: #F5DEB3;
  --see2-text-dark: #1A1A1A;
  --see2-accent: #8B4513;
  --see2-border: #654321;
  --see2-shadow: rgba(160, 82, 45, 0.2);
  --see2-gradient: linear-gradient(135deg, #A0522D, #8B4513);
  --see2-success: #4CAF50;
  --see2-warning: #FF9800;
  --see2-error: #F44336;
  --see2-header-height: 60px;
  --see2-bottom-nav-height: 60px;
}

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

html {
  font-size: 62.5%; /* 10px base */
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--see2-text);
  background: var(--see2-bg);
  overflow-x: hidden;
}

/* Container and Layout */
.see2-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

.see2-main {
  flex: 1;
  padding-top: var(--see2-header-height);
  padding-bottom: calc(var(--see2-bottom-nav-height) + 2rem);
}

/* Header Styles */
.see2-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--see2-bg);
  border-bottom: 2px solid var(--see2-border);
  height: var(--see2-header-height);
}

.see2-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 1.5rem;
}

.see2-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--see2-text);
  font-weight: bold;
  font-size: 1.8rem;
}

.see2-logo img {
  width: 28px;
  height: 28px;
  margin-right: 0.8rem;
  border-radius: 4px;
}

.see2-nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Menu */
.see2-hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  width: 24px;
  height: 18px;
  justify-content: space-between;
}

.see2-hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--see2-text);
  transition: all 0.3s ease;
}

.see2-hamburger.see2-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.see2-hamburger.see2-active span:nth-child(2) {
  opacity: 0;
}

.see2-hamburger.see2-active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.see2-mobile-menu {
  position: fixed;
  top: var(--see2-header-height);
  left: 0;
  right: 0;
  background: var(--see2-bg);
  border-bottom: 2px solid var(--see2-border);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  z-index: 999;
}

.see2-mobile-menu.see2-show {
  transform: translateY(0);
}

.see2-nav-menu {
  list-style: none;
  padding: 2rem 0;
}

.see2-nav-item {
  border-bottom: 1px solid var(--see2-border);
}

.see2-nav-link {
  display: block;
  padding: 1.5rem 2rem;
  color: var(--see2-text);
  text-decoration: none;
  font-size: 1.6rem;
  transition: all 0.3s ease;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.see2-nav-link:hover {
  background: var(--see2-primary);
  color: var(--see2-text-dark);
}

.see2-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 26, 26, 0.8);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.see2-menu-overlay.see2-active {
  opacity: 1;
  visibility: visible;
}

/* Button Styles */
.see2-btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 44px;
  min-width: 44px;
  background: none;
  position: relative;
  overflow: hidden;
}

.see2-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s;
}

.see2-btn:hover::before {
  left: 100%;
}

.see2-btn-primary {
  background: var(--see2-gradient);
  color: var(--see2-text-dark);
  border: 1px solid var(--see2-primary);
}

.see2-btn-primary:hover {
  background: var(--see2-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--see2-shadow);
}

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

.see2-btn-outline:hover {
  background: var(--see2-primary);
  color: var(--see2-text-dark);
}

.see2-btn-large {
  padding: 1.5rem 3rem;
  font-size: 1.6rem;
  border-radius: 12px;
}

.see2-btn-small {
  padding: 0.8rem 1.5rem;
  font-size: 1.2rem;
}

/* Card Styles */
.see2-card {
  background: rgba(160, 82, 45, 0.1);
  border: 1px solid var(--see2-border);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.see2-section {
  margin-bottom: 3rem;
}

.see2-section h2 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  color: var(--see2-primary);
  text-align: center;
}

.see2-section h3 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  color: var(--see2-text);
}

.see2-section p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Hero Section */
.see2-hero {
  text-align: center;
  padding: 4rem 0;
  background: var(--see2-gradient);
  margin: -1.5rem -1.5rem 3rem;
  border-radius: 0 0 20px 20px;
  color: var(--see2-text-dark);
}

.see2-hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.see2-hero p {
  font-size: 1.6rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

/* Carousel Styles */
.see2-carousel {
  position: relative;
  margin-bottom: 3rem;
  border-radius: 12px;
  overflow: hidden;
}

.see2-carousel-slide {
  display: none;
  cursor: pointer;
  transition: all 0.5s ease;
}

.see2-carousel-slide.see2-active {
  display: block;
}

.see2-carousel-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}

.see2-carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.see2-carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--see2-primary);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.see2-carousel-indicator.see2-active,
.see2-carousel-indicator:hover {
  background: var(--see2-primary);
}

.see2-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(26, 26, 26, 0.7);
  border: none;
  color: var(--see2-text);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

.see2-carousel-nav:hover {
  background: var(--see2-primary);
  color: var(--see2-text-dark);
}

.see2-carousel-nav.see2-prev {
  left: 1rem;
}

.see2-carousel-nav.see2-next {
  right: 1rem;
}

/* Game Grid */
.see2-game-category {
  margin-bottom: 3rem;
}

.see2-game-category h3 {
  font-size: 2rem;
  color: var(--see2-primary);
  margin-bottom: 1.5rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.see2-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.see2-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 1rem;
  border-radius: 8px;
  background: rgba(160, 82, 45, 0.05);
  border: 1px solid var(--see2-border);
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 44px;
}

.see2-game-item:hover {
  background: var(--see2-primary);
  color: var(--see2-text-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px var(--see2-shadow);
}

.see2-game-item img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  object-fit: cover;
}

.see2-game-name {
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  color: inherit;
  line-height: 1.2;
}

/* Statistics Grid */
.see2-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.see2-stat-item {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(160, 82, 45, 0.1);
  border-radius: 12px;
  border: 1px solid var(--see2-border);
}

.see2-stat-value {
  display: block;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--see2-primary);
  margin-bottom: 0.5rem;
}

.see2-stat-label {
  font-size: 1.2rem;
  color: var(--see2-text);
  opacity: 0.8;
}

/* Feature List */
.see2-feature-list {
  list-style: none;
  margin: 2rem 0;
}

.see2-feature-item {
  display: flex;
  align-items: flex-start;
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: rgba(160, 82, 45, 0.05);
  border-radius: 8px;
  border-left: 4px solid var(--see2-primary);
}

.see2-feature-icon {
  font-size: 2rem;
  color: var(--see2-primary);
  margin-right: 1.5rem;
  min-width: 24px;
}

.see2-feature-content h4 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: var(--see2-text);
}

.see2-feature-content p {
  margin: 0;
  opacity: 0.9;
}

/* FAQ Styles */
.see2-faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid var(--see2-border);
  border-radius: 8px;
  overflow: hidden;
}

.see2-faq-question {
  background: rgba(160, 82, 45, 0.1);
  padding: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--see2-text);
  font-size: 1.4rem;
}

.see2-faq-question:hover {
  background: rgba(160, 82, 45, 0.2);
}

.see2-faq-answer {
  padding: 1.5rem;
  background: rgba(160, 82, 45, 0.05);
  border-top: 1px solid var(--see2-border);
}

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

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

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

.see2-mt-sm { margin-top: 1rem; }
.see2-mt-md { margin-top: 2rem; }
.see2-mt-lg { margin-top: 3rem; }
.see2-mb-sm { margin-bottom: 1rem; }
.see2-mb-md { margin-bottom: 2rem; }
.see2-mb-lg { margin-bottom: 3rem; }

.see2-p-sm { padding: 1rem; }
.see2-p-md { padding: 2rem; }
.see2-p-lg { padding: 3rem; }

.see2-hidden {
  display: none !important;
}

.see2-visible {
  display: block !important;
}

/* Footer */
.see2-footer {
  background: var(--see2-bg);
  border-top: 2px solid var(--see2-border);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

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

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

.see2-footer-link {
  color: var(--see2-text);
  text-decoration: none;
  font-size: 1.3rem;
  transition: color 0.3s ease;
  background: none;
  border: none;
  cursor: pointer;
}

.see2-footer-link:hover {
  color: var(--see2-primary);
}

.see2-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--see2-border);
  border-bottom: 1px solid var(--see2-border);
}

.see2-partner-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  border-radius: 4px;
}

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

.see2-copyright {
  font-size: 1.2rem;
  opacity: 0.7;
  margin-top: 2rem;
}

.see2-copyright p {
  margin-bottom: 0.5rem;
}

/* Bottom Navigation */
.see2-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--see2-bg);
  border-top: 2px solid var(--see2-border);
  z-index: 1000;
  height: var(--see2-bottom-nav-height);
}

.see2-bottom-nav-container {
  display: flex;
  height: 100%;
  max-width: 430px;
  margin: 0 auto;
}

.see2-bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--see2-text);
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  min-height: 44px;
}

.see2-bottom-nav-item:hover,
.see2-bottom-nav-item.see2-active {
  color: var(--see2-primary);
  background: rgba(160, 82, 45, 0.1);
}

.see2-nav-icon {
  font-size: 2rem;
  margin-bottom: 0.2rem;
}

.see2-nav-text {
  font-size: 1rem;
  font-weight: 500;
}

/* Image Loading */
.see2-lazy {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.see2-loaded {
  opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 430px) {
  .see2-container {
    padding: 0 1rem;
  }
  
  .see2-hero h1 {
    font-size: 2.4rem;
  }
  
  .see2-hero p {
    font-size: 1.4rem;
  }
  
  .see2-game-grid {
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 0.8rem;
  }
  
  .see2-game-item {
    padding: 0.8rem;
  }
  
  .see2-game-item img {
    width: 40px;
    height: 40px;
  }
  
  .see2-game-name {
    font-size: 1rem;
  }
  
  .see2-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .see2-stat-item {
    padding: 1.5rem 1rem;
  }
  
  .see2-footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Animation Classes */
.see2-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.see2-animate.see2-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Loading States */
.see2-loading {
  position: relative;
  pointer-events: none;
}

.see2-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid var(--see2-primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: see2-spin 1s linear infinite;
}

@keyframes see2-spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --see2-primary: #D2691E;
    --see2-border: #8B4513;
    --see2-text: #FFFFFF;
  }
}