/* Loader Ad Container Styles */
.loader-ad-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-ad-content {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-ad-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: pointer;
}

.loader-ad-unmute {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: 2px solid #fff;
  padding: 10px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10002;
  transition: background 0.3s ease, transform 0.2s ease;
}

.loader-ad-unmute:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  transform: scale(1.1);
}

.loader-ad-unmute:active {
  background: rgba(255, 255, 255, 1);
  transform: scale(0.95);
}

.loader-ad-unmute svg {
  width: 24px;
  height: 24px;
}

.loader-ad-skip {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: 2px solid #fff;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  z-index: 10002;
  transition: background 0.3s ease, color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 80px;
  justify-content: center;
}

.loader-ad-skip:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.loader-ad-skip:not(:disabled):hover {
  background: rgba(255, 255, 255, 0.9);
  color: #000;
}

.loader-ad-skip:not(:disabled):active {
  background: rgba(255, 255, 255, 1);
}

.skip-text {
  display: inline-block;
  color: #fff;
}

.skip-countdown {
  display: inline-block;
  font-weight: bold;
  min-width: 20px;
  text-align: center;
  color: #fff;
}

.loader-ad-skip:not(:disabled) .skip-countdown {
  display: none;
}

.loader-ad-skip:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #000;
}

.loader-ad-skip:active {
  background: rgba(255, 255, 255, 1);
}

/* Loading Spinner */
.loader-ad-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10003;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .loader-ad-unmute {
    top: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    padding: 8px;
  }
  
  .loader-ad-unmute svg {
    width: 20px;
    height: 20px;
  }
  
  .loader-ad-skip {
    top: 10px;
    right: 10px;
    padding: 8px 16px;
    font-size: 14px;
  }
}

