/* Casino Alov - Modern CSS Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #ff6b35;
  --secondary-color: #f7931e;
  --accent-color: #ffd700;
  --dark-color: #1a1a1a;
  --darker-color: #0d0d0d;
  --text-light: #ffffff;
  --text-dark: #333333;
  --gradient-primary: linear-gradient(135deg, #ff6b35, #f7931e);
  --gradient-dark: linear-gradient(135deg, #1a1a1a, #0d0d0d);
  --shadow-primary: 0 8px 32px rgba(255, 107, 53, 0.3);
  --shadow-dark: 0 8px 32px rgba(0, 0, 0, 0.5);
}

body {
  font-family: "Arial", "Helvetica", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--gradient-dark);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Header Styles */
.header {
  background: var(--gradient-primary);
  box-shadow: var(--shadow-primary);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-light);
}

.logo-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--dark-color);
  animation: pulse 2s infinite;
}

.logo-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  animation: pulse 2s infinite;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.nav {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.nav a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.nav a:hover::before {
  left: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Main Content */
.main-content {
  margin-top: 80px;
  padding: 2rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Banner Styles */
.banner {
  border-radius: 20px;
  margin: 2rem 0;
  text-align: center;
  color: var(--text-light);
  box-shadow: var(--shadow-primary);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.banner-content {
  position: relative;
  z-index: 2;
}

.banner h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banner p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Section Styles */
section {
  background: rgba(255, 255, 255, 0.95);
  margin: 2rem 0;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

section h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

section h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

section h2 {
  font-size: 2rem;
  color: var(--secondary-color);
  margin: 2rem 0 1rem 0;
  position: relative;
  padding-left: 1rem;
}

section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 30px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

/* Typography */
p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

ul,
ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

li {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

strong {
  color: var(--primary-color);
  font-weight: bold;
}

em {
  color: var(--secondary-color);
  font-style: italic;
}

/* Table Styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-dark);
}

th,
td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

th {
  background: var(--gradient-primary);
  color: var(--text-light);
  font-weight: bold;
  font-size: 1.1rem;
}

tr:hover {
  background: rgba(255, 107, 53, 0.1);
}

/* FAQ Styles */
dl {
  margin: 2rem 0;
}

dt {
  font-weight: bold;
  color: var(--primary-color);
  font-size: 1.2rem;
  margin: 1.5rem 0 0.5rem 0;
  padding: 1rem;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 10px;
  border-left: 4px solid var(--primary-color);
}

dd {
  margin-bottom: 1rem;
  padding: 0 1rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Footer Styles */
.footer {
  background: var(--gradient-dark);
  color: var(--text-light);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section span {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 0.5rem;
  display: block;
  font-weight: bold;
}

.footer-section span::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
}

.footer-section p,
.footer-section li {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes movePattern {
  0% {
    transform: translateX(-50px) translateY(-50px);
  }
  100% {
    transform: translateX(50px) translateY(50px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    padding: 1rem;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--gradient-dark);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-dark);
  }

  .nav.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .logo-text {
    font-size: 1.5rem;
  }

  .banner h2 {
    font-size: 2rem;
  }

  section h1 {
    font-size: 2rem;
  }

  section h2 {
    font-size: 1.5rem;
  }

  .container {
    padding: 0 1rem;
  }

  section {
    padding: 1.5rem;
    margin: 1rem 0;
  }

  table {
    font-size: 0.9rem;
  }

  th,
  td {
    padding: 0.5rem;
  }
}

@media (max-width: 480px) {
  .banner h2 {
    font-size: 1.5rem;
  }

  section h1 {
    font-size: 1.8rem;
  }

  section h2 {
    font-size: 1.3rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shadow-primary {
  box-shadow: var(--shadow-primary);
}

.shadow-dark {
  box-shadow: var(--shadow-dark);
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 107, 53, 0.3);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--gradient-primary);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-primary);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 107, 53, 0.4);
}

.btn:active {
  transform: translateY(-1px);
}

/* HowTo Section Styles */
.howto-section {
  background: rgba(255, 255, 255, 0.95);
  margin: 2rem 0;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.howto-section h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.howto-section h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.howto-section > p {
  text-align: center;
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-bottom: 2rem;
}

.howto-steps {
  display: grid;
  gap: 1rem;
}

.step-item {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 1.5rem;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.step-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(255, 107, 53, 0.2);
}

.step-item.active {
  border-left-color: var(--accent-color);
  background: rgba(255, 215, 0, 0.1);
}

.step-number {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 30px;
  height: 30px;
  background: var(--gradient-primary);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: var(--shadow-primary);
}

.step-content {
  padding-left: 2rem;
}

.step-content h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.step-content p {
  color: var(--text-dark);
  line-height: 1.6;
  margin: 0;
  display: none;
}

.step-item.active .step-content p {
  display: block;
}

.step-toggle {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 30px;
  height: 30px;
  background: var(--gradient-primary);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.step-item.active .step-toggle {
  transform: rotate(45deg);
}

/* Back-to-top button */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-primary);
  cursor: pointer;
  border: none;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

/* Author Styles */
.author-info {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin: 2rem 0;
}

.author-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-color);
  box-shadow: var(--shadow-primary);
  flex-shrink: 0;
}

.author-text {
  flex: 1;
}

.author-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin: 0;
}

/* Responsive Author Styles */
@media (max-width: 768px) {
  .author-info {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .author-photo {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 480px) {
  .author-photo {
    width: 120px;
    height: 120px;
  }

  .howto-section {
    padding: 1rem;
    margin: 1rem 0;
  }

  .howto-section h1 {
    font-size: 1.8rem;
  }

  .step-item {
    padding: 1rem;
  }

  .step-content {
    padding-left: 1.5rem;
  }

  .step-content h3 {
    font-size: 1.1rem;
  }

  .step-number {
    width: 25px;
    height: 25px;
    font-size: 0.9rem;
  }

  .step-toggle {
    width: 25px;
    height: 25px;
    font-size: 1rem;
  }
}
