/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #080808 0%, #000000 100%);
  box-shadow: 0 -4px 20px rgba(118, 48, 247, 0.3);
  z-index: 10000;
  border-top: 3px solid #7630F7;
  animation: slideUpBanner 0.4s ease-out;
}

@keyframes slideUpBanner {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-consent-logo {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cookie-consent-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.cookie-consent-text {
  flex: 1;
}

.cookie-consent-text h3 {
  font-size: 18px;
  font-weight: 700;
  color: #B045FF;
  margin: 0 0 8px 0;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.cookie-consent-text p {
  font-size: 14px;
  line-height: 1.5;
  color: #FAFAFA;
  margin: 0;
  font-family: "Open Sans", sans-serif;
}

.cookie-consent-text a {
  color: #B045FF;
  text-decoration: underline;
  font-weight: 600;
}

.cookie-consent-text a:hover {
  color: #7630F7;
}

.cookie-consent-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cookie-consent-buttons {
    width: 100%;
    flex-direction: column;
  }
}

.cookie-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-family: "Plus Jakarta Sans", sans-serif;
}

@media (max-width: 768px) {
  .cookie-btn {
    width: 100%;
  }
}

.cookie-btn-accept {
  background: #7630F7;
  color: white;
}

.cookie-btn-accept:hover {
  background: #B045FF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(118, 48, 247, 0.3);
}

.cookie-btn-essential {
  background: transparent;
  color: #FAFAFA;
  border: 2px solid #B045FF;
}

.cookie-btn-essential:hover {
  background: #B045FF;
  color: #FAFAFA;
}

.cookie-btn-settings {
  background: rgba(250, 250, 250, 0.1);
  color: #FAFAFA;
}

.cookie-btn-settings:hover {
  background: rgba(250, 250, 250, 0.2);
}

/* Cookie Settings Modal */
.cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-settings-modal.active {
  opacity: 1;
  visibility: visible;
}

.cookie-settings-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.cookie-settings-content {
  position: relative;
  background: linear-gradient(135deg, #080808 0%, #000000 100%);
  border: 2px solid #7630F7;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(118, 48, 247, 0.5);
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  margin: 20px;
  animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
  0% {
    transform: scale(0.7) translateY(-30px);
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.cookie-settings-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(250, 250, 250, 0.1);
  border: 2px solid #7630F7;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.cookie-settings-close svg {
  color: #FAFAFA;
}

.cookie-settings-close:hover {
  background: #7630F7;
  transform: rotate(90deg);
}

.cookie-settings-close:hover svg {
  color: #FAFAFA;
}

.cookie-settings-inner {
  padding: 40px 30px 30px;
}

@media (max-width: 576px) {
  .cookie-settings-inner {
    padding: 40px 20px 24px;
  }
}

.cookie-settings-inner h2 {
  font-size: 24px;
  font-weight: 700;
  color: #B045FF;
  margin: 0 0 12px 0;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.cookie-settings-intro {
  font-size: 14px;
  color: #CFCFCF;
  margin: 0 0 28px 0;
  line-height: 1.6;
  font-family: "Open Sans", sans-serif;
}

.cookie-category {
  border: 1px solid #7630F7;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  background: rgba(118, 48, 247, 0.05);
}

.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cookie-category-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.cookie-category-title h3 {
  font-size: 16px;
  font-weight: 600;
  color: #FAFAFA;
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.cookie-category-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: #7630F7;
  color: white;
}

.cookie-category-badge.optional {
  background: #9E9E9E;
}

.cookie-category-description {
  font-size: 14px;
  color: #9E9E9E;
  margin: 0;
  line-height: 1.5;
  font-family: "Open Sans", sans-serif;
}

/* Toggle Switch */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  flex-shrink: 0;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 26px;
}

.cookie-toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background-color: #7630F7;
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
  transform: translateX(24px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-settings-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 576px) {
  .cookie-settings-actions {
    flex-direction: column;
  }
}

.cookie-btn-primary {
  background: #7630F7;
  color: white;
  flex: 1;
}

.cookie-btn-primary:hover {
  background: #B045FF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(118, 48, 247, 0.3);
}
