@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&family=Orbitron:wght@400;500;700;900&display=swap');

:root {
  --bg: #0c0a09;
  --bg-lighter: #161312;
  --primary: #ff7b00;
  --secondary: #ff006e;
  --tertiary: #8338ec;
  --quaternary: #3a86ff;
  
  --text-main: #ffffff;
  --text-muted: #a19d9b;
  
  --glass: rgba(255, 255, 255, 0.05);
  --glass-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
  
  --gradient-main: linear-gradient(135deg, var(--primary), var(--secondary), var(--tertiary), var(--quaternary));
  --gradient-hot: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-cool: linear-gradient(135deg, var(--tertiary), var(--quaternary));
  
  --sidebar-collapsed: 75px;
  --sidebar-expanded: 230px;
  
  --font-head: 'Orbitron', sans-serif;
  --font-alt: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Effects */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  background: 
    radial-gradient(circle at 15% 50%, rgba(255, 123, 0, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(255, 0, 110, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(131, 56, 236, 0.08) 0%, transparent 50%);
}

.dust-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background-image: 
    radial-gradient(var(--text-muted) 1px, transparent 1px),
    radial-gradient(var(--text-muted) 1px, transparent 1px);
  background-size: 100px 100px;
  background-position: 0 0, 50px 50px;
  opacity: 0.15;
  animation: floatDust 40s linear infinite;
}

@keyframes floatDust {
  0% { background-position: 0 0, 50px 50px; }
  100% { background-position: 1000px 1000px, 1050px 1050px; }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

a {
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.3s ease;
}

/* Sidebar Layout */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: var(--sidebar-collapsed);
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  overflow-x: hidden;
  white-space: nowrap;
}

.sidebar:hover {
  width: var(--sidebar-expanded);
}

.sidebar-logo {
  height: 80px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.sidebar-logo svg {
  min-width: 35px;
  height: 35px;
  margin-right: 15px;
  fill: url(#grad1);
}

.sidebar-logo span {
  font-family: var(--font-alt);
  font-size: 1.8rem;
  letter-spacing: 2px;
  color: var(--primary);
  opacity: 0;
  transition: opacity 0.3s;
}

.sidebar:hover .sidebar-logo span {
  opacity: 1;
}

.nav-links {
  list-style: none;
  margin-top: 2rem;
  flex-grow: 1;
}

.nav-links li {
  margin-bottom: 0.5rem;
}

.nav-links a {
  display: flex;
  align-items: center;
  padding: 15px 25px;
  position: relative;
  color: var(--text-muted);
}

.nav-links a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--gradient-main);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-main);
  background: var(--glass-hover);
}

.nav-links a:hover::before, .nav-links a.active::before {
  transform: scaleY(1);
}

.nav-links a svg {
  min-width: 24px;
  height: 24px;
  margin-right: 20px;
  fill: currentColor;
}

.nav-links a span {
  opacity: 0;
  transition: opacity 0.3s;
  font-weight: 500;
  letter-spacing: 1px;
}

.sidebar:hover .nav-links a span {
  opacity: 1;
}

.sidebar-social {
  padding: 20px;
  display: flex;
  gap: 15px;
  opacity: 0;
  transition: opacity 0.3s;
  border-top: 1px solid var(--border);
}

.sidebar:hover .sidebar-social {
  opacity: 1;
}

.sidebar-social a svg {
  width: 20px;
  height: 20px;
  fill: var(--text-muted);
}

.sidebar-social a:hover svg {
  fill: var(--primary);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
}

/* Main Content Area */
.main-content {
  margin-left: var(--sidebar-collapsed);
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.section-padding {
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.glass-panel {
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(2rem, 4vw, 4rem);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--gradient-main);
  color: white;
  box-shadow: 0 0 20px rgba(255, 123, 0, 0.4);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary), var(--tertiary), var(--quaternary), var(--primary));
  z-index: -1;
  transition: opacity 0.4s ease;
  opacity: 0;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(255, 0, 110, 0.6);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 40%, var(--bg) 100%);
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 30px rgba(255, 123, 0, 0.3);
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.mandatory-notice {
  margin-top: 3rem;
  padding: 1.5rem;
  background: rgba(0,0,0,0.6);
  border-left: 4px solid var(--secondary);
  border-radius: 0 8px 8px 0;
  font-size: 0.85rem;
  color: #ccc;
  max-width: 600px;
}

.mandatory-notice strong {
  color: #fff;
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-head);
  letter-spacing: 1px;
}

/* Featured Section */
.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  transition: transform 0.4s ease, border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(255, 123, 0, 0.1);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin: 1rem 0;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-main);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: white;
}

/* Steps / How it works */
.step-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.step-num {
  font-family: var(--font-alt);
  font-size: 4rem;
  color: transparent;
  -webkit-text-stroke: 2px var(--tertiary);
  line-height: 0.8;
}

/* Testimonials */
.testimonial-slider {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding-bottom: 2rem;
  scrollbar-width: none;
}

.testimonial-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  min-width: 350px;
  background: linear-gradient(180deg, var(--glass) 0%, transparent 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--quaternary);
}

/* Game Cards */
.game-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  group: hover;
}

.game-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.game-card:hover .game-img {
  transform: scale(1.05);
}

.game-info {
  padding: 2rem;
  background: linear-gradient(to top, var(--bg-lighter) 0%, rgba(22, 19, 18, 0.8) 100%);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.game-card:hover .game-info {
  transform: translateY(0);
}

/* Single Game Page */
.game-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.iframe-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(131, 56, 236, 0.3);
  border: 2px solid var(--border);
  transition: border-color 0.4s ease;
  background: #000;
}

.iframe-wrapper:hover {
  border-color: var(--secondary);
}

.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.game-details {
  margin-top: 3rem;
}

/* Forms */
.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--font-head);
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.form-control {
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  color: white;
  font-family: var(--font-body);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(255, 123, 0, 0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background: var(--bg-lighter);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2rem;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand h2 {
  font-family: var(--font-alt);
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-legal-box {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  text-align: center;
}

.footer-legal-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-legal-box strong {
  color: white;
  display: block;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-family: var(--font-head);
  color: var(--text-muted);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Typography Content Pages */
.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.content-wrapper h2 {
  margin-top: 2.5rem;
  color: var(--secondary);
}

.content-wrapper p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.content-wrapper ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: var(--text-muted);
}

.content-wrapper li {
  margin-bottom: 0.5rem;
}

/* FAQ Accordion */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 1rem;
  background: var(--glass);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 500;
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Responsive */
@media (max-width: 768px) {
  .sidebar {
    display: none;
  }
  
  .main-content {
    margin-left: 0;
    padding-bottom: 80px; /* Space for mobile nav */
  }
  
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(12, 10, 9, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    z-index: 1000;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
  }
  
  .mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    font-family: var(--font-head);
  }
  
  .mobile-nav a svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
  }
  
  .mobile-nav a.active {
    color: var(--primary);
  }
  
  .hero {
    padding-top: 40px;
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .mandatory-notice {
    border-left: none;
    border-top: 4px solid var(--secondary);
    border-radius: 0 0 8px 8px;
    text-align: left;
  }
}