/* Elegant Riddle Card Styles */
.isr-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  max-width: 680px;
  margin: 20px auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  position: relative;
  overflow: hidden;
}

.isr-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #ff3231, #1979d0, #28a563, #f7d720);
}

/* Title & Question */
.isr-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: black;
}

.isr-question {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 32px;
  color: #1a1a2e;
  line-height: 1.2;
  letter-spacing: -0.02em;
  border-bottom: none;
  padding-bottom: 0;
}

/* Buttons */
.isr-btn {
  width: 100%;
  padding: 16px 24px;
  border-radius: 16px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  margin-bottom: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.isr-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.isr-btn:hover::before {
  width: 300px;
  height: 300px;
}

.isr-btn:hover {
  transform: translateY(-2px);
}

/* Hint & Answer Buttons */
.isr-hint-btn {
  background: #1979d0;
  color: white;
  box-shadow: 0 4px 15px rgba(25, 121, 208, 0.3);
}

.isr-hint-btn:hover {
  background: #1565b8;
  box-shadow: 0 6px 20px rgba(25, 121, 208, 0.4);
}

.isr-answer-btn {
  background-color: #ffffff;
  color: #f7d720;
  border: 3px solid #f7d720;
  box-shadow: 0 4px 15px rgba(255, 50, 49, 0.15);
}

.isr-answer-btn:hover {
  background: #f7d720;
  color: black;
  box-shadow: 0 6px 20px rgba(255, 50, 49, 0.3);
}

/* Hint & Answer Boxes */
.isr-hint-box,
.isr-answer-box {
  margin-bottom: 16px;
  padding: 20px 24px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 500;
  animation: slideIn 0.4s ease;
}

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

.isr-hint-box {
  background: linear-gradient(135deg, #e8f4fd, #d4ebf9);
  color: #1979d0;
  border-left: 4px solid #1979d0;
}

.isr-answer-box {
  background-color: #faefef;
  color: #f7d720;
  border-left: 4px solid #f7d720;
}

/* Controls */
.isr-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 2px solid #f0f0f0;
}

/* Copy & Vote Buttons */
.isr-copy-btn {
  padding: 12px 20px;
  border-radius: 12px;
  border: 2px solid #e0e0e0;
  background: white;
  color: #666;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.isr-copy-btn:hover {
  border-color: #1979d0;
  color: #1979d0;
  background: #f8fafc;
}








 .isr-like {
            background: #019bff;
            color: white;
        }

        .isr-like:hover:not(:disabled) {
            background: #0284C7;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
        }

        .isr-dislike {
            background: #f7d720;
            color: black;
        }

        .isr-dislike:hover:not(:disabled) {
            background: #f7d720;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
        }


/*
.isr-vote {
  padding: 12px 20px;
  border-radius: 12px;
  border: 2px solid #e0e0e0;
  background: white;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  color: #1a1a2e;
}

.isr-vote:hover:not(.isr-disabled) {
  transform: scale(1.05);
  border-color: #28a563;
}

.isr-vote.isr-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
*/

/* Info Text */
.isr-info {
  font-size: 0.9rem;
  color: #666;
  text-align: center;
  margin-top: 16px;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 600px) {
  .isr-card {
    padding: 24px;
    margin: 12px;
  }

  .isr-question {
    font-size: 1.8rem;
    margin-bottom: 24px;
  }

  .isr-controls {
    flex-direction: column;
    gap: 12px;
  }

  .isr-copy-btn,
  .isr-vote {
    width: 100%;
  }
}
