/* General page styling */
body {
  margin: 0;
  font-family: 'Trebuchet MS', sans-serif;
  background: linear-gradient(135deg, #1a1a2e, #0f3460, #16213e);
  color: #f5f5f5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

a {
  color: #ffd369;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #ffb703;
}

/* Headings */
h1, h2, h3 {
  text-align: center;
  text-shadow: 0 0 8px rgba(255, 215, 100, 0.7);
  margin: 20px 0;
}

/* Card grid */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* Individual card */
.card {
  width: 160px;
  border-radius: 12px;
  overflow: hidden;
  background: #222;
  border: 2px solid #ffd369;
  box-shadow: 0 0 12px rgba(255, 211, 105, 0.4);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 211, 105, 0.7);
}
.card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}
.card .info {
  padding: 8px;
  text-align: center;
}

/* Profile avatar */
.profile-avatar {
  border-radius: 50%;
  border: 3px solid #ffd369;
  box-shadow: 0 0 15px rgba(255, 211, 105, 0.6);
  max-width: 150px;
  margin: 15px auto;
  display: block;
}

/* Buttons */
button, .btn {
  display: inline-block;
  padding: 10px 18px;
  margin: 5px;
  font-size: 15px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, #ff8c42, #ff3c38);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
button:hover, .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.5);
}

/* Pagination links */
.pagination a {
  margin: 0 6px;
  padding: 6px 12px;
  border: 1px solid #ffd369;
  border-radius: 6px;
  background: rgba(255, 211, 105, 0.1);
  color: #ffd369;
  transition: background 0.2s;
}
.pagination a:hover {
  background: rgba(255, 211, 105, 0.3);
}

/* Alerts */
.error {
  background: rgba(255, 60, 56, 0.15);
  color: #ff3c38;
  border: 1px solid #ff3c38;
  padding: 8px 12px;
  border-radius: 6px;
  margin: 10px 0;
}
.success {
  background: rgba(0, 200, 83, 0.15);
  color: #00c853;
  border: 1px solid #00c853;
  padding: 8px 12px;
  border-radius: 6px;
  margin: 10px 0;
}

/* Form styling */
form {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
  max-width: 320px;
  margin: auto;
}
label {
  display: block;
  margin: 10px 0 5px;
}
input[type="text"], 
input[type="password"], 
textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #555;
  border-radius: 6px;
  background: #111;
  color: #f5f5f5;
}

/* Mining image */
.mine-btn {
  margin: 20px auto;
  display: block;
  cursor: pointer;
  transition: transform 0.15s;
}
.mine-btn:active {
  transform: scale(0.95);
}
