/* Base Theme */
body {
  background-color: #111;
  color: #f8f9fa;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: #0dcaf0;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 30px 15px;
}

/* Headings */
h1, h2, h3, h4, h5 {
  font-weight: bold;
  color: #ffffff;
}

h1.glow-text {
  text-shadow: 0 0 8px #fff, 0 0 16px #0ff;
}

/* Glow Effects */
.glow-text {
  text-shadow: 0 0 6px #0dcaf0;
}

.glow-input {
  background-color: #222;
  color: #fff;
  border: 1px solid #444;
  box-shadow: 0 0 6px #0ff;
  transition: all 0.3s ease;
}

.glow-button {
  box-shadow: 0 0 10px #0ff;
  border: 1px solid #0ff;
  color: #0ff;
  background: transparent;
  font-weight: bold;
  padding: 10px 20px;
  transition: background 0.3s ease, color 0.3s ease;
}

.glow-button:hover {
  background-color: #00bcd4;
  color: #000;
  box-shadow: 0 0 12px #00bcd4;
}

/* Forms */
input.form-control,
textarea.form-control {
  background-color: #1e1e1e;
  color: #fff;
  border: 1px solid #333;
  padding: 12px;
}

input.form-control:focus,
textarea.form-control:focus {
  background-color: #232323;
  border-color: #0dcaf0;
  color: #fff;
  outline: none;
  box-shadow: 0 0 6px rgba(13, 202, 240, 0.8);
}

/* Utility */
.bg-dark {
  background-color: #181818 !important;
}

.text-light {
  color: #f8f9fa !important;
}

.shadow-lg {
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.2) !important;
}

.card {
  background-color: #1f1f1f;
  border: 1px solid #2a2a2a;
}

.card-header {
  background-color: #222;
  color: #0dcaf0;
  font-weight: 600;
}

.comment-box {
  background: #222;
  padding: 15px;
  border: 1px solid #333;
  margin-bottom: 15px;
  border-radius: 5px;
}

.vote-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

.vote-bar span {
  font-weight: bold;
}

/* Voting Buttons */
.btn-upvote, .btn-downvote {
  border-radius: 30px;
  font-size: 14px;
  padding: 5px 12px;
  font-weight: 500;
}

.btn-upvote {
  background-color: #198754;
  color: #fff;
}

.btn-downvote {
  background-color: #dc3545;
  color: #fff;
}

.btn-upvote:hover {
  background-color: #157347;
}

.btn-downvote:hover {
  background-color: #c82333;
}

/* Alerts */
.alert {
  border-radius: 4px;
  padding: 12px;
  font-size: 15px;
}

.alert-success {
  background-color: #14532d;
  color: #d1fae5;
  border: 1px solid #198754;
}

.alert-danger {
  background-color: #58151c;
  color: #f8d7da;
  border: 1px solid #dc3545;
}

/* Canvas Background */
canvas {
  background-color: #1a1a1a;
  border-radius: 8px;
  padding: 8px;
}

/* Animations */
.fade-in {
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer */
.footer {
  border-top: 1px solid #333;
  text-align: center;
  padding: 20px;
  color: #888;
  font-size: 14px;
  margin-top: 50px;
}

/* Mobile */
@media (max-width: 768px) {
  h1 { font-size: 28px; }
  .container { padding: 20px 10px; }
  .btn { width: 100%; margin-bottom: 10px; }
}
