/* Prediction Page Styles */
.prediction-main {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a0033 0%, #400080 100%);
}

/* Hero Section */
.prediction-hero {
  padding: 80px 20px;
  text-align: center;
  background: url('../images/prediction-bg.jpg') center center/cover no-repeat;
  position: relative;
}

.prediction-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 0, 51, 0.8);
}

.prediction-hero-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.prediction-hero h1 {
  font-family: "Cute Font", sans-serif;
  font-size: 64px;
  color: #cc99ff;
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(204, 153, 255, 0.6);
  animation: pulsate 2s infinite alternate;
}

.prediction-hero p {
  font-size: 20px;
  color: #F2F5F8;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Tool Section */
.prediction-tool {
  padding: 50px 20px;
}

.tool-container {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(26, 0, 51, 0.3);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(204, 153, 255, 0.2);
  padding: 40px;
}

.tool-header {
  text-align: center;
  margin-bottom: 40px;
}

.tool-header h2 {
  font-family: "Cute Font", sans-serif;
  font-size: 40px;
  color: #cc99ff;
  margin-bottom: 10px;
}

.tool-header p {
  color: #F2F5F8;
  font-size: 16px;
}

.input-container {
  margin-bottom: 40px;
}

.input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.input-group input {
  flex: 1;
  padding: 15px 20px;
  border-radius: 10px;
  border: 1px solid #a64dff;
  background-color: rgba(26, 0, 51, 0.5);
  color: #F2F5F8;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 16px;
  transition: all 0.3s ease;
}

.input-group input:focus {
  outline: none;
  border-color: #cc99ff;
  box-shadow: 0 0 10px rgba(204, 153, 255, 0.4);
}

.predict-button {
  padding: 15px 30px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(90deg, #6600cc, #a64dff);
  color: white;
  font-family: "Cute Font", sans-serif;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.predict-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(102, 0, 204, 0.3);
  background: linear-gradient(90deg, #8000ff, #cc99ff);
}

.predict-button:active {
  transform: translateY(1px);
}

.examples {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.examples span {
  color: #a64dff;
  font-size: 14px;
}

.example-coin {
  padding: 5px 10px;
  border-radius: 20px;
  border: 1px solid #a64dff;
  background: transparent;
  color: #cc99ff;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.example-coin:hover {
  background: rgba(166, 77, 255, 0.1);
  transform: translateY(-2px);
}

/* Result Container */
.result-container {
  position: relative;
}

.loading-animation {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 40px 0;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(204, 153, 255, 0.3);
  border-radius: 50%;
  border-top: 4px solid #cc99ff;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-animation p {
  color: #cc99ff;
  font-size: 16px;
}

.error-message {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin: 40px 0;
  color: #f44336;
}

.error-icon {
  width: 40px;
  height: 40px;
  color: #f44336;
}

.prediction-result {
  display: none;
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.coin-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.coin-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  padding: 5px;
  background: rgba(204, 153, 255, 0.1);
}

.coin-info h3 {
  font-size: 24px;
  color: #F2F5F8;
  margin-bottom: 5px;
}

.current-price {
  display: flex;
  gap: 10px;
  align-items: center;
}

.current-price span:first-child {
  color: #a64dff;
  font-size: 14px;
}

.price {
  font-size: 18px;
  font-weight: bold;
  color: #cc99ff;
}

.time-stamp {
  font-size: 14px;
  color: #a64dff;
}

.prediction-chart-container {
  width: 100%;
  height: 300px;
  margin-bottom: 30px;
  position: relative;
}

.prediction-details {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.prediction-card {
  flex: 1;
  min-width: 200px;
  background: rgba(26, 0, 51, 0.5);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(204, 153, 255, 0.2);
}

.prediction-card h4 {
  font-size: 18px;
  color: #a64dff;
  margin-bottom: 15px;
}

.prediction-value {
  font-size: 28px;
  font-weight: bold;
  color: #F2F5F8;
  margin-bottom: 10px;
}

.prediction-change {
  font-size: 18px;
  font-weight: bold;
}

.prediction-change.positive {
  color: #4caf50;
}

.prediction-change.negative {
  color: #f44336;
}

.analysis-card {
  flex: 2;
  min-width: 300px;
  background: rgba(26, 0, 51, 0.5);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(204, 153, 255, 0.2);
}

.analysis-card h4 {
  font-size: 18px;
  color: #a64dff;
  margin-bottom: 15px;
}

.analysis-card p {
  font-size: 16px;
  color: #F2F5F8;
  line-height: 1.6;
}

.disclaimer {
  padding: 15px;
  border-radius: 10px;
  background: rgba(244, 67, 54, 0.1);
  border: 1px solid rgba(244, 67, 54, 0.3);
}

.disclaimer p {
  font-size: 14px;
  color: #F2F5F8;
  line-height: 1.5;
}

/* Features Section */
.prediction-features {
  padding: 80px 20px;
  background: linear-gradient(135deg, #2e0054 0%, #1a0033 100%);
}

.features-container {
  max-width: 1000px;
  margin: 0 auto;
}

.prediction-features h2 {
  font-family: "Cute Font", sans-serif;
  font-size: 40px;
  color: #cc99ff;
  text-align: center;
  margin-bottom: 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.feature-card {
  background: rgba(26, 0, 51, 0.3);
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(204, 153, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  background: rgba(204, 153, 255, 0.1);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
}

.feature-icon svg {
  width: 30px;
  height: 30px;
  color: #cc99ff;
}

.feature-card h3 {
  font-size: 20px;
  color: #cc99ff;
  margin-bottom: 15px;
}

.feature-card p {
  font-size: 14px;
  color: #F2F5F8;
  line-height: 1.5;
}

/* Logo link styling */
.logo-link {
  display: flex;
  align-items: center;
  gap: 25px;
  text-decoration: none;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .prediction-hero h1 {
    font-size: 48px;
  }
  
  .prediction-hero p {
    font-size: 16px;
  }
  
  .tool-container {
    padding: 30px 20px;
  }
  
  .input-group {
    flex-direction: column;
  }
  
  .prediction-details {
    flex-direction: column;
  }
  
  .result-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media screen and (max-width: 480px) {
  .prediction-hero h1 {
    font-size: 40px;
  }
  
  .tool-header h2 {
    font-size: 32px;
  }
  
  .examples {
    justify-content: center;
  }
} 