.add-icon {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 65px;
  height: 65px;
  background: linear-gradient(45deg, #b366ff, #330066);
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(179, 102, 255, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
}

.add-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(179, 102, 255, 0.6);
}

.hamburger-menu,
.photo-actions,
.video-actions,
.add-icon,
#addVideoIcon,
#sortLink {
 display: none!important;
}

/* Admin Action Buttons for Domain Cards */
.domain-card .photo-actions {
  position: absolute;
  top: 18px;
  left: 18px;
  display: flex;
  gap: 8px;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.domain-card:hover .photo-actions {
  opacity: 1;
}

.domain-card .photo-actions button {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  width: 32px;
  height: 32px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.2s ease;
}

.domain-card .photo-actions .edit-btn:hover {
  background: rgba(79, 70, 229, 0.8);
  border-color: rgba(79, 70, 229, 0.5);
  transform: scale(1.1);
}

.domain-card .photo-actions .delete-btn:hover {
  background: rgba(236, 72, 153, 0.8);
  border-color: rgba(236, 72, 153, 0.5);
  transform: scale(1.1);
}

/* Professional Admin Modal Styles */
.admin-modal,
.password-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(15px);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.admin-modal-content {
  background: linear-gradient(145deg, #1a1a2e, #16213e);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 450px;
  width: 90%;
  border: 1px solid rgba(179, 102, 255, 0.3);
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.4),
    0 10px 40px rgba(179, 102, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  transform: scale(0.8) translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-modal.active .admin-modal-content {
  transform: scale(1) translateY(0);
}

.admin-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(179, 102, 255, 0.2);
}

.admin-modal-header h3 {
  color: #ffffff;
  margin: 0;
  font-size: 1.6rem;
  font-weight: 600;
  background: linear-gradient(135deg, #ffffff, #b366ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.close-password-modal,
.close-admin-modal {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(179, 102, 255, 0.3);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.close-password-modal:hover,
.close-admin-modal:hover {
  background: rgba(179, 102, 255, 0.2);
  border-color: #b366ff;
  transform: scale(1.05);
}

/* Password Form Styles */
.password-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.form-group label {
  color: #e0e0e0;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

#adminPassword {
  width: 100%;
  padding: 1rem 1.2rem;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(179, 102, 255, 0.3);
  border-radius: 12px;
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

#adminPassword:focus {
  outline: none;
  border-color: #b366ff;
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 3px rgba(179, 102, 255, 0.1);
}

#adminPassword::placeholder {
  color: #888;
}

/* Control Group Styles */
.control-group,
.admin-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.control-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  color: #e0e0e0;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.control-label:hover {
  color: #b366ff;
  background: rgba(179, 102, 255, 0.1);
}

.control-checkbox {
  appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(179, 102, 255, 0.5);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.control-checkbox:checked {
  background: linear-gradient(135deg, #b366ff, #7c3aed);
  border-color: #b366ff;
  box-shadow: 0 0 0 3px rgba(179, 102, 255, 0.2);
}

.control-checkbox:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
}

.control-text {
  user-select: none;
  letter-spacing: 0.3px;
}

/* Button Styles */
.form-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.submit-btn,
.cancel-btn,
#submitPassword,
#cancelPassword {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.submit-btn,
#submitPassword {
  background: linear-gradient(135deg, #b366ff, #7c3aed);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(179, 102, 255, 0.3);
}

.submit-btn:hover,
#submitPassword:hover {
  background: linear-gradient(135deg, #7c3aed, #b366ff);
  box-shadow: 0 6px 20px rgba(179, 102, 255, 0.4);
  transform: translateY(-2px);
}

.cancel-btn,
#cancelPassword {
  background: rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cancel-btn:hover,
#cancelPassword:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Lock Icon Professional Styling */
.admin-lock-icon {
  position: fixed;
  top: 20px;
  left: 120px;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #b366ff, #7c3aed);
  color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 1002;
  transition: all 0.3s ease;
  box-shadow: 
    0 4px 15px rgba(179, 102, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-lock-icon:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 
    0 8px 25px rgba(179, 102, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #7c3aed, #b366ff);
}

.admin-lock-icon:active {
  transform: scale(0.98);
}

/* Error State */
#adminPassword.error {
  border-color: #ff4757;
  background: rgba(255, 71, 87, 0.1);
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .admin-lock-icon {
    left: 80px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .admin-modal-content {
    padding: 2rem;
    margin: 1rem;
    max-width: none;
    width: calc(100% - 2rem);
  }

  .admin-modal-header h3 {
    font-size: 1.4rem;
  }

  .form-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .admin-lock-icon {
    left: 60px;
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .admin-modal-content {
    padding: 1.5rem;
  }

  .admin-modal-header h3 {
    font-size: 1.2rem;
  }

  .control-label {
    font-size: 0.9rem;
    gap: 0.8rem;
  }

  .control-checkbox {
    width: 20px;
    height: 20px;
  }
}



/* Update Modal Styling - Light Mode */
.update-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  z-index: 2200;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.update-modal[style*="block"] {
  display: flex !important;
  opacity: 1;
  visibility: visible;
}

.update-modal-content {
  background: #ffffff;
  border-radius: 20px;
  padding: 0;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid #e2e8f0;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.15),
    0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  transform: scale(0.8) translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.update-modal[style*="block"] .update-modal-content {
  transform: scale(1) translateY(0);
}

/* Image container at the top with 16:9 aspect ratio */
.update-image-container {
  width: 100%;
  position: relative;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  background: #f8f9fc;
}

.update-image-preview {
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  position: relative;
  background: #f1f5f9;
}

.update-image-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #a0aec0;
  font-size: 1.2rem;
  gap: 0.5rem;
}

.update-image-placeholder i {
  font-size: 3rem;
  color: #cbd5e0;
}

.update-image-preview img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.update-modal-content h3 {
  color: #1a202c;
  margin: 2rem 0 1.5rem 0;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  padding: 0 2.5rem;
}

.update-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  border: 1px solid #e2e8f0;
  color: #4a5568;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  font-weight: bold;
  z-index: 10;
}

.update-modal-close:hover {
  background: #ffffff;
  border-color: #4f46e5;
  color: #4f46e5;
  transform: scale(1.05);
}

.update-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0 2.5rem 2.5rem 2.5rem;
}

.update-form label {
  color: #4a5568;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  display: block;
}

.update-form input,
.update-form textarea,
.update-form select {
  width: 100%;
  padding: 1rem 1.2rem;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  color: #1a202c;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  font-family: inherit;
}

.update-form input:focus,
.update-form textarea:focus,
.update-form select:focus {
  outline: none;
  border-color: #4f46e5;
  background: #fdfeff;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.update-form input::placeholder,
.update-form textarea::placeholder {
  color: #a0aec0;
}

.update-form textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.update-form select {
  cursor: pointer;
}

.update-form input[type="file"] {
  padding: 0.8rem;
  background: #f8f9fc;
  border: 2px dashed #cbd5e0;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.update-form input[type="file"]:hover {
  border-color: #4f46e5;
  background: #f1f5f9;
}

.image-preview {
  margin-top: 1rem;
  text-align: center;
}

.image-preview img {
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.image-preview p {
  color: #718096;
  font-style: italic;
  margin: 0;
}

.form-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
}

.update-form .submit-btn,
.update-form .cancel-btn {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.update-form .submit-btn {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.update-form .submit-btn:hover {
  background: linear-gradient(135deg, #3b36e3, #6b32d6);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
  transform: translateY(-2px);
}

.update-form .cancel-btn {
  background: #f8f9fc;
  color: #4a5568;
  border: 1px solid #e2e8f0;
}

.update-form .cancel-btn:hover {
  background: #f1f5f9;
  color: #2d3748;
  transform: translateY(-1px);
}

/* Responsive Design for Update Modal */
@media (max-width: 768px) {
  .update-modal-content {
    max-width: 95%;
    width: 95%;
  }

  .update-modal-content h3 {
    font-size: 1.5rem;
    padding: 0 2rem;
  }

  .update-form {
    padding: 0 2rem 2rem 2rem;
  }

  .form-buttons {
    flex-direction: column;
  }

  .update-form .submit-btn,
  .update-form .cancel-btn {
    flex: none;
  }
}

@media (max-width: 480px) {
  .update-modal-content {
    max-width: 98%;
    width: 98%;
  }

  .update-modal-content h3 {
    font-size: 1.3rem;
    padding: 0 1.5rem;
  }

  .update-form {
    gap: 1.2rem;
    padding: 0 1.5rem 1.5rem 1.5rem;
  }

  .update-form input,
  .update-form textarea,
  .update-form select {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
  }
}

/* Lightbox Styling */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
}

.lightbox-content {
  position: relative;
  margin: auto;
  padding: 20px;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 25px 60px rgba(179, 102, 255, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 2001;
}

.lightbox-close:hover {
  color: #b366ff;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  background: rgba(179, 102, 255, 0.7);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-nav:hover {
  background: rgba(179, 102, 255, 1);
  transform: translateY(-50%) scale(1.1);
}

/* Domain Modal Styles */
#domainModal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    overflow-y: auto;
}

.modal-content {
    background-color: var(--card-light);
    margin: 2% auto;
    padding: 0;
    border: none;
    border-radius: 16px;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-60px) scale(0.85);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    position: relative;
    padding: 0;
    border-bottom: none;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.modal-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    aspect-ratio: 16/9;
    border-radius: 16px 16px 0 0;
}

.close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.close:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1) rotate(90deg);
}

.modal-body {
    padding: 32px;
}

.modal-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 12px 0;
    color: var(--text-light);
    letter-spacing: -0.5px;
}

.modal-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-price {
    font-size: 36px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 20px 0;
    letter-spacing: -1px;
}

.modal-description {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin: 20px 0 28px 0;
    font-weight: 400;
}

.modal-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: grid;
    gap: 12px;
}

.modal-features li {
    padding: 12px 16px;
    font-size: 15px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #22c55e;
    font-weight: 500;
}

.modal-features li i {
    color: #22c55e;
    margin-right: 16px;
    font-size: 16px;
    font-weight: 600;
}

.modal-actions {
    padding: 32px;
    border-top: 2px solid #f0f0f0;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.modal-btn {
    flex: 1;
    padding: 16px 28px;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    background: #f8f9fa;
    color: var(--text-light);
    border: 2px solid #e9ecef;
}

.btn-secondary:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Click outside to close */
#domainModal:target {
    pointer-events: auto;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 1% auto;
        width: 95%;
        border-radius: 12px;
    }

    .modal-image {
        height: 180px;
        border-radius: 12px 12px 0 0;
    }

    .modal-header {
        border-radius: 12px 12px 0 0;
    }

    .modal-body {
        padding: 24px;
    }

    .modal-title {
        font-size: 26px;
    }

    .modal-price {
        font-size: 30px;
    }

    .modal-actions {
        padding: 24px;
        flex-direction: column;
    }

    .modal-btn {
        min-width: auto;
    }

    .close {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}


.main-nav {
display: none;
}
