/* Custom CSS for lustbrat Social Casino */

:root {
  --primary-color: #2c5530;
  --secondary-color: #4a7c59;
  --accent-color: #20b2aa;
  --warning-color: #ff8c00;
  --dark-bg: #2c2c2c;
  --light-bg: #f8f9fa;
  --text-light: #ffffff;
  --text-dark: #333333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--light-bg);
}

/* Age Verification Modal */
.age-modal {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border: none;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.age-modal .modal-body {
  background: transparent;
}

/* Logo Styles */
.logo {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--text-light);
}

.logo i {
  color: var(--accent-color);
  margin-right: 10px;
  font-size: 2rem;
}

/* Header */
.navbar {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  ) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-brand .logo {
  font-size: 1.8rem;
}

.navbar-nav .nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent-color) !important;
}

.dropdown-menu {
  background: var(--dark-bg);
  border: none;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dropdown-item {
  color: var(--text-light);
  transition: background-color 0.3s ease;
}

.dropdown-item:hover {
  background-color: var(--accent-color);
  color: var(--text-light);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="knight" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M10 2 L12 6 L16 6 L13 9 L14 13 L10 11 L6 13 L7 9 L4 6 L8 6 Z" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23knight)"/></svg>');
  opacity: 0.3;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-color), #17a2b8);
  border: none;
  border-radius: 50px;
  padding: 15px 30px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(32, 178, 170, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(32, 178, 170, 0.4);
  background: linear-gradient(135deg, #17a2b8, var(--accent-color));
}

.btn-outline-light {
  border: 2px solid var(--text-light);
  border-radius: 50px;
  padding: 15px 30px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: var(--text-light);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Hero Image */
.hero-image {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.knight-character {
  font-size: 8rem;
  color: var(--accent-color);
  animation: float 3s ease-in-out infinite;
}

.knight-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.knight-elements i {
  position: absolute;
  font-size: 2rem;
  color: var(--warning-color);
  animation: rotate 4s linear infinite;
}

.knight-elements i:nth-child(1) {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.knight-elements i:nth-child(2) {
  top: 30%;
  right: 20%;
  animation-delay: 1s;
}

.knight-elements i:nth-child(3) {
  bottom: 20%;
  left: 30%;
  animation-delay: 2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Section Styles */
.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #666;
  text-align: center;
  margin-bottom: 3rem;
}

/* Disclaimer Section */
.disclaimer-section {
  background: var(--dark-bg);
  color: var(--text-light);
}

/* Games Section */
.games-section {
  background: var(--light-bg);
  padding: 5rem 0;
}

.game-card {
  background: var(--text-light);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.game-preview {
  height: 200px;
  background: linear-gradient(135deg, var(--accent-color), #17a2b8);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.game-symbols {
  display: flex;
  gap: 20px;
}

.game-symbols i {
  font-size: 3rem;
  color: var(--text-light);
  animation: bounce 2s ease-in-out infinite;
}

.game-symbols i:nth-child(1) {
  animation-delay: 0s;
}
.game-symbols i:nth-child(2) {
  animation-delay: 0.3s;
}
.game-symbols i:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.game-info {
  padding: 2rem;
}

.game-info h4 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.game-info p {
  color: #666;
  margin-bottom: 1.5rem;
}

/* Features Section */
.features-section {
  background: var(--dark-bg);
  color: var(--text-light);
}

.feature-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  height: 100%;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon i {
  font-size: 2rem;
  color: var(--text-light);
}

.feature-card h4 {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.feature-card p {
  color: rgba(255, 255, 255, 0.8);
}

/* About Section */
.about-section {
  background: var(--light-bg);
  padding: 5rem 0;
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

/* Reviews Section */
.reviews-section {
  background: var(--dark-bg);
  color: var(--text-light);
}

.review-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  height: 100%;
  position: relative;
  transition: all 0.3s ease;
}

.review-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.review-quote {
  position: absolute;
  top: -10px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-quote i {
  color: var(--text-light);
  font-size: 1.2rem;
}

.review-content {
  margin-top: 1rem;
}

.review-content p {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 15px;
}

.reviewer-avatar {
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviewer-avatar i {
  color: var(--text-light);
  font-size: 1.2rem;
}

.reviewer-info h5 {
  margin: 0;
  font-weight: bold;
}

.stars {
  color: var(--warning-color);
}

.stars .far {
  color: rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer {
  background: var(--light-bg);
  border-top: 1px solid #eee;
}

.footer-logo .logo {
  color: var(--primary-color);
}

.footer-logo .logo i {
  color: var(--accent-color);
}

/* Cookies Banner */
.cookies-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-bg);
  color: var(--text-light);
  padding: 1rem 0;
  z-index: 1050;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
}

.cookies-banner p {
  margin: 0;
  font-size: 0.9rem;
}

.cookies-banner a {
  color: var(--warning-color);
  text-decoration: none;
}

.cookies-banner a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .knight-character {
    font-size: 5rem;
  }

  .game-symbols i {
    font-size: 2rem;
  }

  .cookies-banner .row {
    text-align: center;
  }

  .cookies-banner .col-lg-4 {
    margin-top: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .btn-primary,
  .btn-outline-light {
    padding: 12px 25px;
    font-size: 0.9rem;
  }

  .game-card {
    margin-bottom: 2rem;
  }

  .feature-card,
  .review-card {
    margin-bottom: 2rem;
  }
}

/* Game Page Specific Styles */
.game-container {
  background: var(--light-bg);
  padding: 2rem 0;
  min-height: 80vh;
}

.game-interface {
  background: var(--text-light);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
}

.game-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 2rem 0;
  padding: 1rem;
  background: linear-gradient(135deg, var(--accent-color), #17a2b8);
  border-radius: 15px;
}

.game-symbol {
  aspect-ratio: 1;
  background: var(--text-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.game-symbol:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.game-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding: 1rem;
  background: var(--dark-bg);
  border-radius: 15px;
  color: var(--text-light);
}

.bet-controls {
  display: flex;
  gap: 10px;
}

.bet-btn {
  padding: 10px 20px;
  background: var(--accent-color);
  color: var(--text-light);
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bet-btn:hover,
.bet-btn.active {
  background: var(--warning-color);
  transform: scale(1.05);
}

.spin-btn {
  padding: 15px 40px;
  background: linear-gradient(135deg, var(--warning-color), #ff6b35);
  color: var(--text-light);
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.spin-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4);
}

.spin-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.balance-display {
  font-size: 1.1rem;
  font-weight: bold;
}

/* Animations */
@keyframes spin {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

.spinning .game-symbol {
  animation: spin 0.5s ease-in-out;
}

@keyframes win {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.win .game-symbol {
  animation: win 0.6s ease-in-out;
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

/* Utility Classes */
.text-primary {
  color: var(--primary-color) !important;
}
.text-accent {
  color: var(--accent-color) !important;
}
.bg-primary {
  background-color: var(--primary-color) !important;
}
.bg-accent {
  background-color: var(--accent-color) !important;
}
