/* Base Styles */
body {
  font-family: 'Segoe UI', sans-serif;
  background: #0f1117;
  color: #f0f0f0;
  margin: 0;
  padding: 0;
}

/* Container Layout */
.container {
  text-align: center;
  padding: 30px 15px;
}

/* Title Animation */
.title {
  font-size: 24px;
  color: #00fff7;
  margin-bottom: 10px;
  animation: glowPulse 3s infinite;
  transition: color 0.3s ease;
}

/* Subtitle */
.subtitle {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 20px;
}

/* File Upload */
.upload-section input[type="file"] {
  padding: 10px;
  background: #1a1a1a;
  border: 1px solid #00fff7;
  color: #fff;
  border-radius: 5px;
  width: 100%;
  max-width: 300px;
  margin-bottom: 20px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.upload-section input[type="file"]:hover {
  border-color: #00cfc7;
}

/* Loader Section */
.loader-section {
  text-align: center;
  margin: 20px auto;
}

.loader {
  border: 6px solid #333;
  border-top: 6px solid #00fff7;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin: 0 auto;
  animation: spin 0.8s linear infinite, glowPulse 2s infinite;
}

.loading-text {
  color: #00fff7;
  margin-top: 10px;
  font-size: 14px;
}

/* Keyframes */
@keyframes spin {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 10px #00fff7; }
  50% { box-shadow: 0 0 20px #00fff7; }
  100% { box-shadow: 0 0 10px #00fff7; }
}

@keyframes slideInUp {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Response Section */
.response-container {
  margin-top: 30px;
}

.response-image {
  max-width: 100%;
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 10px #00fff7;
  margin-bottom: 15px;
  animation: fadeIn 1s ease, slideInUp 0.7s ease;
}

/* Verdict Box */
.verdict {
  padding: 10px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 20px;
}

.real {
  background-color: #ccffcc;
  color: #006600;
}

.deepfake {
  background-color: #ffcccc;
  color: #990000;
}

/* Table Styling */
.response-table {
  width: 90%;
  margin: 0 auto 20px;
  border-collapse: collapse;
}

.response-table th,
.response-table td {
  border: 1px solid #555;
  padding: 8px;
  text-align: left;
}

.response-table th {
  background-color: #222;
  color: #00fff7;
}

/* Analysis Output */
.analysis-box {
  background-color: #1e1e2f;
  color: #eee;
  padding: 15px;
  margin: 0 auto 20px;
  border-left: 4px solid #00fff7;
  border-radius: 5px;
  width: 90%;
  font-family: monospace;
  white-space: pre-wrap;
  text-align: left;
  line-height: 1.5;
  animation: fadeIn 1s ease;
}

.analysis-box h3 {
  color: #00fff7;
  margin-top: 0;
}

.analysis-box ul {
  list-style-type: none;
  padding-left: 0;
}

.analysis-box ul li {
  margin: 5px 0;
}

/* Download Button with Pulse Animation */
#downloadReport {
  background-color: #00fff7;
  color: #000;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 40px;
  animation: glowPulse 2s infinite;
  transition: background-color 0.3s ease;
}

#downloadReport:hover {
  background-color: #00cfc7;
}

/* Awareness Section */
.awareness-section {
  margin-top: 40px;
  padding: 20px;
  background: #14151b;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 255, 247, 0.2);
  animation: fadeIn 1s ease-in;
}

/* Awareness Title */
.section-title {
  color: #00fff7;
  font-size: 20px;
  margin-bottom: 20px;
  text-align: center;
}

/* Individual Cards */
.awareness-card {
  background: #1a1c24;
  margin-bottom: 20px;
  padding: 15px 20px;
  border-left: 4px solid #00fff7;
  border-radius: 6px;
  text-align: left;
  animation: slideInUp 0.8s ease forwards;
  opacity: 0;
  transition: all 0.3s ease;
}

.awareness-card:hover {
  background: #232530;
  transform: scale(1.02);
}

/* Card Content */
.awareness-card h3 {
  color: #00fff7;
  margin-bottom: 8px;
}

.awareness-card p,
.awareness-card ul {
  font-size: 14px;
  color: #ddd;
}

.awareness-card ul {
  padding-left: 20px;
}

.awareness-card ul li {
  margin-bottom: 6px;
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .title {
    font-size: 20px;
  }

  .subtitle {
    font-size: 13px;
  }

  .upload-section input[type="file"] {
    font-size: 14px;
    padding: 10px;
    width: 100%;
  }

  .response-image {
    width: 90%;
  }

  .analysis-box {
    width: 95%;
  }

  .awareness-section {
    padding: 15px 10px;
  }

  .awareness-card {
    padding: 10px 15px;
  }
}
