:root {
  --primary: #00f7ff;
  --primary-dark: #00b4c5;
  --primary-light: #7ff7ff;
  --background: #0a192f;
  --card-bg: #112240;
  --text: #e6f1ff;
  --text-secondary: #8892b0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--background);
  color: var(--text);
  min-height: 100vh;
}

a{
  text-decoration: none;
}

header {
  background-color: rgba(10, 25, 47, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--primary);
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px rgba(0, 247, 255, 0.3);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

nav a:hover {
  color: var(--primary);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.cart-btn {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-btn:hover {
  background: var(--primary);
  color: var(--background);
  box-shadow: 0 0 15px var(--primary);
}

.cart-count {
  background: var(--primary-dark);
  color: var(--background);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.btn {
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--background);
  flex: 1;
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 0 10px var(--primary);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  flex: 1;
}

.btn-secondary:hover {
  background: rgba(0, 247, 255, 0.1);
}

.page-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
}

main {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Responsive Styles */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  nav ul {
    gap: 1rem;
  }
}








/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.modal {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 2rem;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 0 30px rgba(0, 247, 255, 0.2);
  border: 1px solid var(--primary);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-title {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--primary);
}

.modal-body {
  margin-bottom: 2rem;
  color: var(--text);
  line-height: 1.5;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
}

.modal-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  border: none;
}

.modal-btn-ok {
  background: var(--primary);
  color: var(--background);
}

.modal-btn-ok:hover {
  background: var(--primary-dark);
  box-shadow: 0 0 10px var(--primary);
}

/* Success Modal Specific */
.modal-success .modal-title {
  color: #2ecc71;
}

.modal-success {
  border-color: #2ecc71;
}

/* Error Modal Specific */
.modal-error .modal-title {
  color: #e74c3c;
}

.modal-error {
  border-color: #e74c3c;
}

/* Icon Styles */
.modal-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.modal-success .modal-icon {
  color: #2ecc71;
}

.modal-error .modal-icon {
  color: #e74c3c;
}