/* Complete redesign with unique, beautiful styling and better animations */
/* Custom Styles for Arctivon - Free Social Online Casino */

:root {
  --primary-dark: #1a0d2e;
  --primary-pink: #d946a6;
  --secondary-pink: #f472b6;
  --accent-purple: #9333ea;
  --accent-cyan: #22d3ee;
  --dark-bg: #0f0617;
  --card-bg: rgba(45, 27, 46, 0.4);
  --light-text: #fdf4ff;
  --glass-bg: rgba(255, 255, 255, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--dark-bg);
  background-image: radial-gradient(at 20% 30%, rgba(217, 70, 166, 0.15) 0px, transparent 50%),
    radial-gradient(at 80% 70%, rgba(147, 51, 234, 0.15) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(34, 211, 238, 0.1) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--light-text);
  min-height: 100vh;
  line-height: 1.6;
}

/* New header design with text logo */
.custom-header {
  background: rgba(15, 6, 23, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(217, 70, 166, 0.3);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 30px rgba(217, 70, 166, 0.1);
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-pink) 0%, var(--accent-purple) 50%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.5px;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

.navbar-menu a {
  color: var(--light-text) !important;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 500;
}


/* Enhanced hero section with unique design */
.hero-section {
  background: linear-gradient(135deg, rgba(26, 13, 46, 0.8) 0%, rgba(15, 6, 23, 0.9) 100%);
  padding: 8rem 1.5rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(217, 70, 166, 0.15) 0%, transparent 50%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.hero-section h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--light-text);
  text-shadow: 0 0 40px rgba(217, 70, 166, 0.6), 0 0 80px rgba(147, 51, 234, 0.4);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  letter-spacing: -1px;
}

.hero-section p {
  font-size: clamp(1rem, 2vw, 1.4rem);
  margin-bottom: 2.5rem;
  color: rgba(253, 244, 255, 0.9);
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Beautiful button designs */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-pink) 0%, var(--accent-purple) 100%);
  border: none;
  color: white;
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 10px 30px rgba(217, 70, 166, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-primary::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;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(217, 70, 166, 0.6);
  color: white;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary-pink);
  color: var(--primary-pink);
  padding: 0.9rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn-secondary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--primary-pink);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
  z-index: -1;
}

.btn-secondary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-secondary:hover {
  color: white;
  transform: translateY(-3px);
  border-color: var(--accent-purple);
}

/* Glassmorphism card design */
.custom-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(217, 70, 166, 0.3);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.custom-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(217, 70, 166, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.custom-card:hover::before {
  opacity: 1;
}

.custom-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 60px rgba(217, 70, 166, 0.4);
  border-color: var(--secondary-pink);
}

.custom-card h3 {
  color: var(--secondary-pink);
  margin-bottom: 1.2rem;
  font-size: 1.6rem;
  font-weight: 700;
}

/* Enhanced game card with unique hover effects */
.game-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(217, 70, 166, 0.3);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
}

.game-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(217, 70, 166, 0.2), rgba(147, 51, 234, 0.2));
  opacity: 0;
  transition: opacity 0.4s;
}

.game-card:hover::after {
  opacity: 1;
}

.game-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 25px 70px rgba(217, 70, 166, 0.5);
  border-color: var(--accent-cyan);
}

.game-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.game-card:hover img {
  transform: scale(1.1);
}

.game-card-content {
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.game-card h3 {
  color: var(--secondary-pink);
  margin-bottom: 0.8rem;
  font-size: 1.5rem;
  font-weight: 700;
}

/* Modal improvements */
.modal-background {
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
}

.modal-content {
  width: 90vw;
  max-width: 1200px;
}

.game-iframe {
  width: 100%;
  height: 70vh;
  border: none;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(217, 70, 166, 0.5);
}

/* Modern footer design */
.custom-footer {
  background: rgba(15, 6, 23, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(217, 70, 166, 0.3);
  padding: 3.5rem 1.5rem 2rem;
  margin-top: 5rem;
}

.footer-links a {
  color: rgba(253, 244, 255, 0.8);
  text-decoration: none;
  margin: 0 1rem;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -3px;
  left: 0;
  background: var(--primary-pink);
  transition: width 0.3s;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-links a:hover {
  color: var(--secondary-pink);
}

/* Fixed cookie banner that doesn't block content */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  background: rgba(26, 13, 46, 0.98);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(217, 70, 166, 0.5);
  border-radius: 20px;
  padding: 1.5rem;
  z-index: 99;
  display: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(217, 70, 166, 0.3);
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-banner.show {
  display: block;
}

.cookie-banner p {
  margin-bottom: 1rem;
  color: var(--light-text);
  font-size: 0.95rem;
  line-height: 1.6;
}

.cookie-banner button {
  margin-right: 0.8rem;
  margin-bottom: 0.5rem;
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
}

/* FAQ Accordion */
.faq-item {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(217, 70, 166, 0.3);
  border-radius: 15px;
  margin-bottom: 1.2rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--secondary-pink);
  box-shadow: 0 10px 30px rgba(217, 70, 166, 0.2);
}

.faq-question {
  padding: 1.8rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--secondary-pink);
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(217, 70, 166, 0.1);
}

.faq-answer {
  padding: 0 1.8rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  color: rgba(253, 244, 255, 0.9);
}

.faq-answer.active {
  padding: 0 1.8rem 1.8rem;
  max-height: 800px;
}

/* Contact Info */
.contact-info {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(217, 70, 166, 0.3);
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.contact-info a {
  color: var(--secondary-pink);
  text-decoration: none;
  font-size: 1.15rem;
  display: block;
  margin: 0.8rem 0;
  transition: all 0.3s ease;
  font-weight: 500;
}

.contact-info a:hover {
  color: var(--accent-cyan);
  transform: translateX(5px);
}

/* Blog Card */
.blog-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(217, 70, 166, 0.3);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  transition: all 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(217, 70, 166, 0.4);
  border-color: var(--secondary-pink);
}

.blog-card-content {
  padding: 2.5rem;
}

.blog-date {
  color: var(--accent-cyan);
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.blog-card h3 {
  color: var(--secondary-pink);
  margin-bottom: 1rem;
  font-size: 1.6rem;
  font-weight: 700;
}

/* Section Styles */
.section-custom {
  padding: 5rem 1.5rem;
}

.section-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--light-text);
  margin-bottom: 3.5rem;
  text-shadow: 0 0 30px rgba(217, 70, 166, 0.4);
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* Team Cards */
.team-card {
  text-align: center;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(217, 70, 166, 0.3);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s ease;
}

.team-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 50px rgba(217, 70, 166, 0.4);
  border-color: var(--accent-cyan);
}

.team-avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--primary-pink);
  object-fit: cover;
  transition: all 0.3s ease;
}

.team-card:hover .team-avatar {
  transform: scale(1.1);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 30px rgba(217, 70, 166, 0.6);
}

/* Form Styles */
.custom-form input,
.custom-form textarea {
  background: rgba(26, 13, 46, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(217, 70, 166, 0.3);
  color: var(--light-text);
  border-radius: 12px;
  padding: 1rem 1.3rem;
  width: 100%;
  margin-bottom: 1.2rem;
  transition: all 0.3s ease;
  font-family: "Poppins", sans-serif;
}

.custom-form input::placeholder,
.custom-form textarea::placeholder {
  color: rgba(253, 244, 255, 0.5);
}

.custom-form input:focus,
.custom-form textarea:focus {
  outline: none;
  border-color: var(--secondary-pink);
  box-shadow: 0 0 20px rgba(217, 70, 166, 0.4);
  background: rgba(26, 13, 46, 0.7);
}

.custom-form textarea {
  min-height: 180px;
  resize: vertical;
}

/* Event Card */
.event-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(217, 70, 166, 0.3);
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  transition: all 0.4s ease;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(217, 70, 166, 0.4);
  border-color: var(--accent-cyan);
}

.event-date {
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    padding: 5rem 1.5rem 4rem;
  }

  .section-custom {
    padding: 3rem 1.5rem;
  }

  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .footer-links a {
    display: inline-block;
    margin: 0.5rem 0.5rem;
  }
}

@media (max-width: 1023px) {
  .navbar-menu {
    background: rgba(15, 6, 23, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 0 0 15px 15px;
    border: 1px solid rgba(217, 70, 166, 0.3);
    border-top: none;
  }

  .navbar-menu a::after {
    display: none;
  }
}

/* Loading Images */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.5s ease;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Selection styling */
::selection {
  background: var(--primary-pink);
  color: white;
}
