/* Enhanced Custom Styles for Stolikarium - Free Social Online Casino */

:root {
  --primary-dark-blue: #0f1729;
  --secondary-blue: #1a2645;
  --accent-pink: #ff6b9d;
  --accent-purple: #9b6bff;
  --accent-gold: #ffd700;
  --light-pink: #ffc2d4;
  --dark-bg: #0a0e1a;
  --text-light: #ffffff;
  --text-muted: #b8c1ec;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--primary-dark-blue);
  color: var(--text-light);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Added animated background particles */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(155, 107, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 107, 157, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

/* Enhanced navbar with glass morphism */
.navbar {
  background: rgba(15, 23, 41, 0.85) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 107, 157, 0.3);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Animated text logo with gradient */
.navbar-brand .logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-purple) 50%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 3px;
  position: relative;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(20deg);
  }
}

.navbar-item {
  color: var(--text-light) !important;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 500;
}

.navbar-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-pink);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-item:hover::after {
  width: 80%;
}

.navbar-item:hover {
  color: var(--accent-pink) !important;
  background-color: transparent !important;
}

/* Enhanced hero with animated elements */
.hero {
  background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-dark-blue) 100%);
  position: relative;
  overflow: hidden;
}

/* Floating decorative shapes */
.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 107, 157, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(155, 107, 255, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 15s ease-in-out infinite reverse;
  z-index: 0;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

.hero .hero-body {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, var(--accent-pink) 50%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(255, 107, 157, 0.3);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-top: 1rem;
  font-weight: 400;
}

/* Redesigned buttons with glow effect */
.button.is-primary-custom {
  background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-purple) 100%);
  border: none;
  color: white;
  font-weight: 600;
  padding: 1.5rem 3rem;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
}

.button.is-primary-custom::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;
}

.button.is-primary-custom:hover::before {
  left: 100%;
}

.button.is-primary-custom:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(255, 107, 157, 0.6);
}

.button.is-secondary-custom {
  background: transparent;
  border: 2px solid var(--accent-pink);
  color: var(--accent-pink);
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.button.is-secondary-custom::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--accent-pink);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
  z-index: -1;
}

.button.is-secondary-custom:hover::before {
  width: 300%;
  height: 300%;
}

.button.is-secondary-custom:hover {
  color: white;
  border-color: var(--accent-purple);
  transform: translateY(-2px);
}

/* Enhanced cards with premium design */
.custom-card {
  background: rgba(26, 38, 69, 0.6);
  border-radius: 25px;
  padding: 2.5rem;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 107, 157, 0.2);
  height: 100%;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.custom-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(155, 107, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.custom-card:hover::before {
  opacity: 1;
}

.custom-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(255, 107, 157, 0.3);
  border-color: var(--accent-purple);
  background: rgba(26, 38, 69, 0.8);
}

.card-icon {
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  display: inline-block;
}

/* Premium game cards with hover effects */
.game-card {
  background: rgba(26, 38, 69, 0.7);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 2px solid rgba(255, 107, 157, 0.2);
  position: relative;
  backdrop-filter: blur(10px);
}

.game-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.1) 0%, rgba(155, 107, 255, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.game-card:hover::after {
  opacity: 1;
}

.game-card:hover {
  border-color: var(--accent-purple);
  transform: scale(1.03) translateY(-8px);
  box-shadow: 0 20px 40px rgba(255, 107, 157, 0.4);
}

.game-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.game-card:hover img {
  transform: scale(1.1);
}

.game-card-content {
  padding: 2rem;
  position: relative;
  z-index: 1;
}

/* Section Styles */
.section-custom {
  padding: 5rem 1.5rem;
  background: transparent;
  position: relative;
}

/* Enhanced section titles with decoration */
.section-title {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, var(--accent-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  text-align: center;
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent-pink), transparent);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.3rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 4rem;
  font-weight: 300;
}

/* Enhanced footer */
.footer-custom {
  background: rgba(15, 23, 41, 0.95);
  border-top: 1px solid rgba(255, 107, 157, 0.3);
  padding: 4rem 1.5rem 2rem;
  color: var(--text-light);
  position: relative;
  backdrop-filter: blur(10px);
}

.footer-custom a {
  color: var(--accent-pink);
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-custom a:hover {
  color: var(--accent-purple);
  transform: translateX(5px);
  display: inline-block;
}

.footer-custom ul {
  list-style: none;
  padding: 0;
}

.footer-custom ul li {
  margin-bottom: 0.5rem;
}

/* Modal Styles */
.modal-background {
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(5px);
}

.modal-content {
  width: 95%;
  max-width: 1400px;
}

.modal-card {
  background: var(--secondary-blue);
  border-radius: 20px;
  border: 2px solid var(--accent-pink);
  overflow: hidden;
}

.modal-card-head {
  background: var(--primary-dark-blue);
  border-bottom: 2px solid var(--accent-pink);
  padding: 1.5rem;
}

.modal-card-title {
  color: var(--text-light);
  font-weight: 700;
}

.delete {
  background-color: var(--accent-pink);
  transition: transform 0.3s ease;
}

.delete:hover {
  transform: rotate(90deg) scale(1.2);
}

/* Fixed cookie banner - doesn't block games */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 900px;
  width: calc(100% - 40px);
  background: rgba(15, 23, 41, 0.98);
  padding: 1.5rem 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 999;
  border: 2px solid var(--accent-pink);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  display: none;
  animation: slideUp 0.5s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.cookie-banner.is-active {
  display: block;
}

/* FAQ Accordion */
.faq-item {
  background: rgba(26, 38, 69, 0.6);
  border-radius: 15px;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 107, 157, 0.2);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--accent-purple);
}

.faq-question {
  padding: 1.5rem 2rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(255, 107, 157, 0.1);
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-item.is-active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 2rem 1.5rem;
  color: var(--text-muted);
  display: none;
  line-height: 1.8;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-item.is-active .faq-answer {
  display: block;
}

.faq-item.is-active .faq-question {
  color: var(--accent-pink);
}

/* Contact Form */
.custom-input,
.custom-textarea {
  background: rgba(26, 38, 69, 0.6);
  border: 2px solid rgba(255, 107, 157, 0.3);
  color: var(--text-light);
  border-radius: 15px;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.custom-input:focus,
.custom-textarea:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(155, 107, 255, 0.2);
  background: rgba(26, 38, 69, 0.8);
  outline: none;
}

.custom-input::placeholder,
.custom-textarea::placeholder {
  color: var(--text-muted);
}

.custom-label {
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

/* Blog Card */
.blog-card {
  background: rgba(26, 38, 69, 0.7);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 107, 157, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 107, 157, 0.3);
  border-color: var(--accent-purple);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  color: var(--accent-pink);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* Event Card */
.event-card {
  background: rgba(26, 38, 69, 0.7);
  border-radius: 20px;
  padding: 2.5rem;
  border: 2px solid rgba(255, 107, 157, 0.3);
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.event-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.event-card:hover::before {
  opacity: 1;
}

.event-card:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2);
  transform: translateY(-5px);
}

.event-icon {
  font-size: 3.5rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  display: inline-block;
}

/* Team Member Card */
.team-card {
  text-align: center;
  background: rgba(26, 38, 69, 0.6);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 107, 157, 0.2);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(255, 107, 157, 0.3);
  border-color: var(--accent-purple);
}

.team-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 4px solid var(--accent-pink);
  transition: all 0.4s ease;
}

.team-card:hover .team-avatar {
  border-color: var(--accent-purple);
  box-shadow: 0 10px 30px rgba(155, 107, 255, 0.4);
}

/* Enhanced CTA with animation */
.cta-section {
  background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-purple) 100%);
  padding: 5rem 3rem;
  border-radius: 30px;
  text-align: center;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 15s ease-in-out infinite;
}

.cta-section h2 {
  color: white;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.3rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

/* Contact Info */
.contact-info-card {
  background: rgba(26, 38, 69, 0.7);
  border-radius: 20px;
  padding: 2.5rem;
  border: 2px solid rgba(255, 107, 157, 0.3);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  border-color: var(--accent-purple);
  box-shadow: 0 10px 30px rgba(155, 107, 255, 0.3);
}

.contact-info-card a {
  color: var(--accent-pink);
  font-size: 1.2rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-card a:hover {
  color: var(--accent-purple);
}

.contact-icon {
  color: var(--accent-pink);
  margin-right: 1rem;
  font-size: 1.5rem;
}

/* Added decorative floating elements */
.decorative-element {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  pointer-events: none;
}

.decorative-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-pink) 0%, transparent 70%);
  top: 10%;
  right: 5%;
  animation: float 20s ease-in-out infinite;
}

.decorative-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
  bottom: 20%;
  left: 10%;
  animation: float 15s ease-in-out infinite reverse;
}

.decorative-3 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--accent-gold) 0%, transparent 70%);
  top: 50%;
  left: 5%;
  animation: float 18s ease-in-out infinite;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .button.is-primary-custom {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .cookie-banner {
    bottom: 10px;
    padding: 1rem;
  }

  .cookie-banner .columns {
    display: block !important;
  }

  .cookie-banner .column {
    width: 100% !important;
    text-align: center !important;
    margin-bottom: 1rem;
  }
}

/* Lazy Loading */
img[loading="lazy"] {
  transition: opacity 0.5s ease;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* Utility Classes */
.text-pink {
  color: var(--accent-pink);
}

.text-purple {
  color: var(--accent-purple);
}

.bg-dark-custom {
  background: rgba(26, 38, 69, 0.8);
  border-radius: 20px;
  padding: 2rem;
}
