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

:root {
  --primary-color: #0099ff;
  --primary-dark: #0077cc;
  --secondary-color: #00d4ff;
  --accent-color: #7c3aed;
  --dark-bg: #0a0e27;
  --darker-bg: #060920;
  --text-primary: #ffffff;
  --text-secondary: #a0aec0;
  --border-color: rgba(255, 255, 255, 0.1);
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--dark-bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
  transition: all 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

.top-bar {
  background: rgba(0, 0, 0, 0.3);
  padding: 10px 0;
  font-size: 14px;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.support-link {
  color: var(--primary-color);
  font-weight: 500;
}

.support-link:hover {
  color: var(--secondary-color);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: var(--text-secondary);
}

.social-links a:hover {
  color: var(--primary-color);
}

.contact-info {
  color: var(--text-secondary);
}

.navbar {
  padding: 15px 0;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-menu a {
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

.nav-menu a:not(.btn-primary):hover,
.nav-menu a.active:not(.btn-primary) {
  color: var(--primary-color);
}

.nav-menu a:not(.btn-primary)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-menu a:not(.btn-primary):hover::after,
.nav-menu a.active:not(.btn-primary)::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  padding: 5px;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-hero {
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: 0 4px 15px rgba(0, 153, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 153, 255, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.btn-hero {
  padding: 15px 40px;
  font-size: 18px;
}

.btn-full {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 153, 255, 0.15), transparent 70%);
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(0,153,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Games Section */
.games-section {
  padding: 80px 0;
  background: var(--darker-bg);
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-size: 18px;
}

.game-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 25px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 2px solid var(--border-color);
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.game-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.game-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.game-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 40%, rgba(0, 0, 0, 0.3) 100%);
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-title {
  padding: 15px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
}

.text-center {
  text-align: center;
}

/* About Section */
.about-section {
  padding: 80px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  border-radius: 20px;
  width: 100%;
}

.about-text h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 15px;
  line-height: 1.8;
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background: var(--darker-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.feature-card {
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--primary-color);
  background: rgba(0, 153, 255, 0.05);
  transform: translateY(-5px);
}

.feature-icon {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 153, 255, 0.1), rgba(124, 58, 237, 0.1));
}

.cta-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

/* Footer */
.footer {
  background: var(--darker-bg);
  padding: 60px 0 20px;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

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

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-secondary);
}

.footer-col ul li a:hover {
  color: var(--primary-color);
}

.footer-col p {
  color: var(--text-secondary);
}

.footer-logo {
  margin-bottom: 15px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  color: var(--text-secondary);
}

.footer-social a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
}

/* Page Header */
.page-header {
  padding: 80px 0 60px;
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 153, 255, 0.1), rgba(124, 58, 237, 0.1));
}

.page-header h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.page-header p {
  font-size: 18px;
  color: var(--text-secondary);
}

/* Content Section */
.content-section {
  padding: 60px 0;
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.content-wrapper h2 {
  font-size: 32px;
  margin: 40px 0 20px;
  color: var(--primary-color);
}

.content-wrapper h2:first-child {
  margin-top: 0;
}

.content-wrapper h3 {
  font-size: 24px;
  margin: 30px 0 15px;
  color: var(--secondary-color);
}

.content-wrapper p {
  color: var(--text-secondary);
  margin-bottom: 15px;
  line-height: 1.8;
}

.content-wrapper ul,
.content-wrapper ol {
  color: var(--text-secondary);
  margin: 20px 0 20px 30px;
  line-height: 1.8;
}

.content-wrapper li {
  margin-bottom: 10px;
}

.cta-box {
  background: rgba(0, 153, 255, 0.1);
  border: 2px solid var(--primary-color);
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  margin-top: 40px;
}

.cta-box h3 {
  margin: 0 0 15px 0;
  color: var(--primary-color);
}

.cta-box p {
  margin-bottom: 20px;
}

.warning-box {
  background: rgba(239, 68, 68, 0.1);
  border: 2px solid var(--danger-color);
  border-radius: 15px;
  padding: 30px;
  margin-top: 40px;
}

.warning-box h3 {
  margin: 0 0 15px 0;
  color: var(--danger-color);
}

.info-box {
  background: rgba(0, 153, 255, 0.1);
  border-left: 4px solid var(--primary-color);
  padding: 20px;
  margin: 20px 0;
  border-radius: 5px;
}

.feature-list {
  display: grid;
  gap: 30px;
  margin: 30px 0;
}

.feature-item {
  background: rgba(255, 255, 255, 0.03);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.feature-item h3 {
  color: var(--primary-color);
  margin: 0 0 10px 0;
}

.benefits-list {
  list-style: none;
  margin: 20px 0;
}

.benefits-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 15px;
}

.benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
  font-size: 20px;
}

/* Contact Page */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.contact-methods {
  display: grid;
  gap: 30px;
  margin: 30px 0;
}

.contact-method {
  background: rgba(255, 255, 255, 0.03);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  text-align: center;
}

.method-icon {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.contact-method h3 {
  margin: 0 0 10px 0;
  font-size: 20px;
}

.contact-method p {
  margin-bottom: 10px;
}

.method-detail {
  font-size: 14px;
  color: var(--text-secondary);
}

.social-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 15px;
}

.social-btn {
  padding: 8px 20px;
  background: rgba(0, 153, 255, 0.1);
  border: 1px solid var(--primary-color);
  border-radius: 5px;
  font-size: 14px;
}

.social-btn:hover {
  background: var(--primary-color);
}

.business-hours {
  background: rgba(0, 153, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid var(--primary-color);
  margin-top: 30px;
}

.business-hours h3 {
  margin: 0 0 15px 0;
}

.contact-form {
  background: rgba(255, 255, 255, 0.03);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 16px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
}

.forgot-link {
  color: var(--primary-color);
  font-size: 14px;
}

.forgot-link:hover {
  color: var(--secondary-color);
}

.faq-section {
  margin-top: 60px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.faq-item h3 {
  color: var(--primary-color);
  margin: 0 0 10px 0;
  font-size: 18px;
}

/* Login Page */
.login-section {
  padding: 60px 0;
  min-height: calc(100vh - 300px);
}

.login-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.login-header {
  text-align: center;
  margin-bottom: 30px;
}

.login-header h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.login-header p {
  color: var(--text-secondary);
}

.login-form {
  background: rgba(255, 255, 255, 0.03);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.divider {
  text-align: center;
  margin: 25px 0;
  position: relative;
}

.divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--border-color);
}

.divider span {
  background: var(--dark-bg);
  padding: 0 15px;
  position: relative;
  color: var(--text-secondary);
}

.alternate-login {
  margin-top: 20px;
}

.login-features {
  margin-top: 30px;
  padding: 25px;
  background: rgba(0, 153, 255, 0.05);
  border-radius: 10px;
  border: 1px solid var(--primary-color);
}

.login-features h3 {
  margin: 0 0 15px 0;
  color: var(--primary-color);
}

.login-features ul {
  list-style: none;
  margin: 0;
}

.login-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.login-features svg {
  color: var(--success-color);
  flex-shrink: 0;
}

.login-image {
  text-align: center;
}

.login-image img {
  border-radius: 20px;
  max-width: 100%;
}

.login-promo {
  margin-top: 30px;
  padding: 25px;
  background: rgba(0, 153, 255, 0.1);
  border-radius: 15px;
  border: 1px solid var(--primary-color);
}

.login-promo h3 {
  margin: 0 0 10px 0;
}

.login-promo p {
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.app-download-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.app-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--primary-color);
  border-radius: 10px;
  font-weight: 600;
}

.app-btn:hover {
  background: var(--primary-color);
}

/* App Pages */
.app-header {
  padding: 100px 0;
}

.app-header-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.android-icon,
.ios-icon {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.ios-header .ios-icon {
  color: var(--secondary-color);
}

.app-info h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.app-info p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.app-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.app-feature {
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  border: 1px solid var(--border-color);
}

.feature-icon-large {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.app-feature h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.app-feature p {
  color: var(--text-secondary);
}

.screenshots-section {
  padding: 80px 0;
  background: var(--darker-bg);
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.screenshot-item {
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.screenshot-item:hover {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.screenshot-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.installation-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.step-item {
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  border: 1px solid var(--border-color);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  margin: 0 auto 20px;
}

.step-item h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.step-item p {
  color: var(--text-secondary);
}

.gray-bg {
  background: var(--darker-bg);
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.requirement-item {
  text-align: center;
  padding: 25px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.requirement-item h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.requirement-item p {
  color: var(--text-secondary);
}

.compatibility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.compatibility-item {
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  border: 1px solid var(--border-color);
}

.compatibility-item svg {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.compatibility-item h4 {
  font-size: 20px;
  margin-bottom: 15px;
}

.compatibility-item p {
  color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    top: 100px;
    right: -100%;
    width: 300px;
    height: calc(100vh - 100px);
    background: var(--darker-bg);
    flex-direction: column;
    padding: 30px;
    transition: right 0.3s ease;
    border-left: 1px solid var(--border-color);
  }

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

  .mobile-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 36px;
  }

  .about-content,
  .contact-layout,
  .login-wrapper {
    grid-template-columns: 1fr;
  }

  .app-header-content {
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 28px;
  }

  .section-title {
    font-size: 28px;
  }

  .top-bar-content {
    flex-direction: column;
    text-align: center;
  }

  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .contact-info {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-hero {
    font-size: 16px;
    padding: 12px 30px;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }
}
