/**
 * TK1971 Gaming Platform - Main Stylesheet
 * All classes use see2- prefix for namespace isolation
 * Color palette: Orchid Purple + Rich Brown theme
 */

:root {
  --see2-primary: #DA70D6;
  --see2-primary-dark: #BA55D3;
  --see2-bg-dark: #3A3A3A;
  --see2-bg-darker: #2A2A2A;
  --see2-brown: #6F4E37;
  --see2-brown-light: #A0522D;
  --see2-gray: #808080;
  --see2-gray-light: #B0B0B0;
  --see2-text-light: #F5F0EB;
  --see2-text-muted: #C8C0B8;
  --see2-accent: #DA70D6;
  --see2-accent-glow: rgba(218, 112, 214, 0.3);
  --see2-card-bg: #3D3D3D;
  --see2-border: rgba(218, 112, 214, 0.2);
  --see2-gradient: linear-gradient(135deg, #DA70D6 0%, #6F4E37 100%);
  --see2-radius: 1.2rem;
  --see2-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.3);
}

/* Reset & Base */
* {
  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, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--see2-bg-darker);
  color: var(--see2-text-light);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.see2-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.see2-wrapper {
  padding: 1rem 1.2rem;
}

/* Header */
.see2-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: linear-gradient(180deg, #2A2A2A 0%, #3A3A3A 100%);
  border-bottom: 0.2rem solid var(--see2-border);
  z-index: 1000;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.see2-header-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.see2-header-logo {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.6rem;
  object-fit: contain;
}

.see2-header-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--see2-primary);
  letter-spacing: 0.05rem;
}

.see2-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.see2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 0.8rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s ease;
  min-height: 3.6rem;
}

.see2-btn-register {
  background: var(--see2-gradient);
  color: #fff;
  box-shadow: 0 0.2rem 0.8rem var(--see2-accent-glow);
}

.see2-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 0.4rem 1.2rem var(--see2-accent-glow);
}

.see2-btn-login {
  background: transparent;
  color: var(--see2-primary);
  border: 0.15rem solid var(--see2-primary);
}

.see2-btn-login:hover {
  background: rgba(218, 112, 214, 0.1);
}

.see2-menu-btn {
  background: none;
  border: none;
  color: var(--see2-text-light);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  min-height: 4.4rem;
  min-width: 4.4rem;
  justify-content: center;
}

/* Mobile Menu */
.see2-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--see2-bg-darker);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.see2-menu-active {
  right: 0;
}

.see2-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  display: none;
}

.see2-overlay-active {
  display: block;
}

.see2-menu-close {
  background: none;
  border: none;
  color: var(--see2-text-light);
  font-size: 2.2rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  min-height: 4.4rem;
  min-width: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.see2-menu-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--see2-primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 0.15rem solid var(--see2-border);
}

.see2-menu-list {
  list-style: none;
}

.see2-menu-list li {
  margin-bottom: 0.3rem;
}

.see2-menu-list a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  color: var(--see2-text-light);
  text-decoration: none;
  font-size: 1.4rem;
  border-radius: 0.8rem;
  transition: background 0.2s;
}

.see2-menu-list a:hover {
  background: rgba(218, 112, 214, 0.1);
  color: var(--see2-primary);
}

.see2-menu-list .material-icons,
.see2-menu-list .fas,
.see2-menu-list .far {
  font-size: 2rem;
  color: var(--see2-primary-dark);
}

/* Main content spacing for fixed header */
.see2-main {
  padding-top: 5.6rem;
}

/* Carousel */
.see2-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--see2-radius);
  margin-bottom: 1.5rem;
}

.see2-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}

.see2-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--see2-radius);
}

.see2-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}

.see2-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s;
}

.see2-dot-active {
  background: var(--see2-primary);
  width: 2rem;
  border-radius: 0.4rem;
}

/* Section titles */
.see2-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--see2-text-light);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 0.2rem solid var(--see2-primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.see2-section-title i,
.see2-section-title .material-icons {
  color: var(--see2-primary);
  font-size: 2rem;
}

/* Game Grid */
.see2-category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--see2-primary);
  margin: 1.5rem 0 1rem;
  padding-left: 0.8rem;
  border-left: 0.3rem solid var(--see2-primary-dark);
}

.see2-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.see2-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s;
  text-decoration: none;
}

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

.see2-game-icon {
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 1rem;
  object-fit: cover;
  border: 0.15rem solid var(--see2-border);
  margin-bottom: 0.4rem;
}

.see2-game-name {
  font-size: 1.1rem;
  color: var(--see2-text-muted);
  text-align: center;
  line-height: 1.3rem;
  max-width: 7rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Cards */
.see2-card {
  background: var(--see2-card-bg);
  border-radius: var(--see2-radius);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  border: 0.1rem solid var(--see2-border);
  box-shadow: var(--see2-shadow);
}

.see2-card h2 {
  font-size: 1.6rem;
  color: var(--see2-primary);
  margin-bottom: 0.8rem;
}

.see2-card h3 {
  font-size: 1.4rem;
  color: var(--see2-accent);
  margin-bottom: 0.6rem;
}

.see2-card p {
  font-size: 1.3rem;
  color: var(--see2-text-muted);
  line-height: 1.8rem;
  margin-bottom: 0.6rem;
}

/* Promo links in text */
.see2-promo-link {
  color: var(--see2-primary);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border-bottom: 0.1rem dashed var(--see2-primary);
}

.see2-promo-link:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* Promo button inline */
.see2-promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--see2-gradient);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 2rem;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  margin: 0.8rem 0;
  transition: transform 0.2s;
}

.see2-promo-btn:hover {
  transform: scale(1.05);
}

/* Full-width promo CTA */
.see2-cta-banner {
  background: var(--see2-gradient);
  border-radius: var(--see2-radius);
  padding: 2rem;
  text-align: center;
  margin: 1.5rem 0;
  cursor: pointer;
}

.see2-cta-banner h3 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.see2-cta-banner p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
}

/* Winner ticker */
.see2-winner-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.see2-winner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  background: var(--see2-bg-darker);
  border-radius: 0.8rem;
  font-size: 1.2rem;
}

.see2-winner-name {
  color: var(--see2-primary);
  font-weight: 600;
}

.see2-winner-amount {
  color: #4CAF50;
  font-weight: 700;
}

/* Testimonial */
.see2-testimonial {
  padding: 1rem;
  background: var(--see2-bg-darker);
  border-radius: 0.8rem;
  margin-bottom: 0.8rem;
  border-left: 0.3rem solid var(--see2-primary);
}

.see2-testimonial-text {
  font-size: 1.2rem;
  color: var(--see2-text-muted);
  font-style: italic;
  margin-bottom: 0.4rem;
}

.see2-testimonial-author {
  font-size: 1.1rem;
  color: var(--see2-primary);
  font-weight: 600;
}

/* Payment icons row */
.see2-payment-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.see2-payment-item {
  background: var(--see2-bg-darker);
  padding: 0.8rem 1.2rem;
  border-radius: 0.8rem;
  font-size: 1.2rem;
  color: var(--see2-text-muted);
  border: 0.1rem solid var(--see2-border);
}

/* FAQ accordion */
.see2-faq-item {
  border-bottom: 0.1rem solid var(--see2-border);
  padding: 1rem 0;
}

.see2-faq-q {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--see2-text-light);
  margin-bottom: 0.4rem;
}

.see2-faq-a {
  font-size: 1.2rem;
  color: var(--see2-text-muted);
  line-height: 1.6rem;
}

/* Footer */
.see2-footer {
  background: var(--see2-bg-darker);
  padding: 2rem 1.2rem 8rem;
  border-top: 0.2rem solid var(--see2-border);
  margin-top: 2rem;
}

.see2-footer-brand {
  font-size: 1.3rem;
  color: var(--see2-text-muted);
  line-height: 1.6rem;
  margin-bottom: 1.5rem;
}

.see2-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.see2-footer-links a {
  padding: 0.5rem 1rem;
  background: var(--see2-card-bg);
  color: var(--see2-text-muted);
  text-decoration: none;
  border-radius: 0.6rem;
  font-size: 1.1rem;
  border: 0.1rem solid var(--see2-border);
  transition: all 0.2s;
}

.see2-footer-links a:hover {
  color: var(--see2-primary);
  border-color: var(--see2-primary);
}

.see2-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.see2-footer-promo a {
  padding: 0.6rem 1.2rem;
  background: var(--see2-gradient);
  color: #fff;
  text-decoration: none;
  border-radius: 0.6rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.see2-footer-copy {
  font-size: 1.1rem;
  color: var(--see2-gray);
  text-align: center;
  padding-top: 1rem;
  border-top: 0.1rem solid var(--see2-border);
}

/* Bottom Navigation - Unique Orchid Design */
.see2-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 6rem;
  background: linear-gradient(180deg, #2E2E2E 0%, #1E1E1E 100%);
  border-top: 0.15rem solid var(--see2-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 0.3rem;
}

.see2-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  min-height: 5rem;
  text-decoration: none;
  color: var(--see2-gray);
  transition: all 0.25s ease;
  border-radius: 1rem;
  padding: 0.3rem 0;
}

.see2-bottom-nav a:hover,
.see2-bottom-nav a:active {
  color: var(--see2-primary);
  background: rgba(218, 112, 214, 0.08);
}

.see2-bottom-nav a .see2-bnav-icon {
  font-size: 2.2rem;
  margin-bottom: 0.2rem;
  transition: transform 0.2s;
}

.see2-bottom-nav a:active .see2-bnav-icon {
  transform: scale(1.2);
}

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

.see2-bottom-nav .see2-nav-current {
  color: var(--see2-primary);
}

.see2-bottom-nav .see2-nav-current .see2-bnav-icon {
  text-shadow: 0 0 0.8rem var(--see2-accent-glow);
}

/* Highlight center promo button */
.see2-bottom-nav .see2-bnav-promo {
  background: var(--see2-gradient);
  color: #fff !important;
  border-radius: 50%;
  width: 4.8rem;
  height: 4.8rem;
  min-width: 4.8rem;
  min-height: 4.8rem;
  margin-top: -1.8rem;
  box-shadow: 0 0.3rem 1rem var(--see2-accent-glow);
}

.see2-bottom-nav .see2-bnav-promo .see2-bnav-icon {
  font-size: 2.4rem;
  color: #fff;
}

.see2-bottom-nav .see2-bnav-promo .see2-bnav-text {
  display: none;
}

/* Mobile bottom padding */
@media (max-width: 768px) {
  .see2-main {
    padding-bottom: 8rem;
  }
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .see2-bottom-nav {
    display: none;
  }
}

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

.see2-mt-1 {
  margin-top: 1rem;
}

.see2-mb-1 {
  margin-bottom: 1rem;
}

.see2-hidden {
  display: none;
}

.see2-list-disc {
  list-style: disc;
  padding-left: 2rem;
}

.see2-list-disc li {
  margin-bottom: 0.4rem;
  color: var(--see2-text-muted);
  font-size: 1.3rem;
  line-height: 1.6rem;
}
