@import url('https://fonts.googleapis.com/css2?family=Bungee&family=Marcellus&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-cyan: #0ff;
  --hover-cyan: rgba(0, 255, 255, 0.666);
  --shadow-cyan: #1dcfcf99;
  --primary-green: #00ff99;
  --bg-dark: #0d0d1a;
  --bg-card: #1e1e2fb0;
  --bg-input: #222233b7;
  --text-white: #fff;
  --text-black: #000;
  
  --font-heading: "Bungee", sans-serif;
  --font-body: "Marcellus", sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--text-white);
  min-height: 100vh;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  color: var(--primary-cyan);
  font-weight: 700;
}

h1 {
  font-size: 1.7rem;
}

h2 {
  font-size: 1.3rem;
}

h3 {
  font-size: 1.05rem;
}

a {
  color: var(--primary-cyan);
  text-decoration: none;
  transition: 0.2s all;
}

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

button {
  font-family: var(--font-body);
  background-color: var(--primary-cyan);
  color: var(--text-black);
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s all;
}

button:hover {
  background-color: var(--primary-green);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

button:active {
  transform: scale(0.98);
}

button:disabled {
  background-color: #555;
  cursor: not-allowed;
  opacity: 0.6;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  background-color: var(--bg-input);
  border: 2px solid var(--primary-cyan);
  border-radius: 10px;
  padding: 12px;
  color: var(--text-white);
  font-size: 1rem;
  transition: 0.2s all;
}

input:focus {
  outline: none;
  border-color: var(--hover-cyan);
  box-shadow: 0 0 10px var(--shadow-cyan);
}

.custom-modal {
  background-color: var(--bg-card);
  border: 2px solid var(--primary-cyan);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  max-width: 400px;
  width: 90%;
  animation: slideDown 0.3s ease;
}

.custom-modal h2 {
  margin-bottom: 15px;
}

.custom-modal p {
  margin-bottom: 25px;
  color: #ccc;
  line-height: 1.5;
}

.custom-modal-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.custom-modal .confirm-btn {
  background-color: var(--primary-green);
  color: var(--text-black);
}

.custom-modal .cancel-btn {
  background-color: transparent;
  border: 2px solid #ff4444;
  color: #ff4444;
}

.custom-modal .cancel-btn:hover {
  background-color: #ff4444;
  color: var(--text-white);
  box-shadow: 0 0 15px rgba(255, 68, 68, 0.4);
}

.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.warning {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ff3333b0;
  color: #fff;
  padding: 15px 25px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 1.1rem;
  z-index: 1000;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
  display: none;
  text-align: center;
}

@media (max-width: 768px) {
  body {
    font-size: 20px;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1rem;
  }

  button {
    padding: 8px 16px;
    font-size: 16px;
  }

  input[type="text"],
  input[type="email"],
  input[type="password"] {
    padding: 10px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  button {
    padding: 7px 14px;
    font-size: 16px;
  }
}
