/* style.css */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  font-family: 'Poppins', sans-serif;
}

body {
  min-height: 100vh;

  background-image:
    url("https://static.vecteezy.com/system/resources/previews/042/818/355/non_2x/8bit-pixel-graphic-blue-sky-background-with-clouds-vector.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  image-rendering: pixelated;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;

  overflow-x: hidden;

  position: relative;
}

/* Main interaction card */
.main-card {
  width: 100%;
  max-width: 850px;

  background: rgba(255, 255, 255, 0.18);

  backdrop-filter: blur(10px);

  border: 3px solid rgba(255,255,255,0.4);

  border-radius: 20px;

  box-shadow:
    0 0 0 4px rgba(255,255,255,0.08),
    10px 10px 0 rgba(0,0,0,0.15);

  padding: 40px;

  position: relative;

  z-index: 10;
}

.title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 10px;
}

.subtitle {
  text-align: center;
  color: rgba(255,255,255,0.9);
  margin-bottom: 35px;
  font-size: 0.95rem;
}

.input-box {
  border: none !important;
  border-radius: 18px !important;
  padding: 15px 20px !important;

  background: rgba(255,255,255,0.75) !important;

  transition: 0.3s ease;
  box-shadow: none !important;
}

.input-box:focus {
  background: #fff !important;

  transform: translateY(-2px);

  box-shadow: 0 8px 25px rgba(0,0,0,0.08) !important;
}

.generate-btn {
  border: none;
  border-radius: 18px;

  padding: 15px 25px;

  background: linear-gradient(135deg, #4fc3ff, #2196f3);

  color: white;
  font-weight: 600;

  transition: 0.3s ease;

  width: 100%;
}

.generate-btn:hover {
  transform: translateY(-3px);

  box-shadow: 0 10px 25px rgba(33, 150, 243, 0.35);
}

.prompt-card {
  margin-top: 30px;

  background: rgba(255,255,255,0.82);

  border-radius: 24px;

  padding: 25px;

  min-height: 220px;

  position: relative;
  overflow: hidden;
}

.prompt-label {
  font-size: 0.9rem;
  font-weight: 600;

  color: #2196f3;

  margin-bottom: 12px;

  text-transform: uppercase;
  letter-spacing: 1px;
}

.prompt-text {
  font-size: 1.1rem;
  line-height: 1.7;

  color: #333;

  font-weight: 500;
}

.floating-icon {
  position: absolute;

  font-size: 120px;

  opacity: 0.06;

  right: -10px;
  bottom: -30px;

  color: #2196f3;
}

.action-buttons {
  margin-top: 20px;

  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.mini-btn {
  border: none;

  border-radius: 14px;

  padding: 10px 18px;

  background: #fff;

  font-weight: 500;

  transition: 0.3s ease;
}

.mini-btn:hover {
  transform: translateY(-2px);

  background: #dff4ff;
}

@media (max-width: 768px) {

  .main-card {
    padding: 25px;
  }

  .title {
    font-size: 1.6rem;
  }

  .generate-btn {
    margin-top: 15px;
  }

}

/* DASHBOARD */

.dashboard-header {
  text-align: center;
  margin-bottom: 35px;
}

.pixel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 18px;

  border-radius: 999px;

  background: rgba(255,255,255,0.2);

  color: white;
  font-weight: 600;
  font-size: 0.9rem;

  margin-bottom: 18px;

  backdrop-filter: blur(8px);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* MAIN DASHBOARD CARD BUTTON */
.dashboard-btn {
  position: relative;

  display: flex;
  align-items: center;
  gap: 22px;

  padding: 28px;

  border-radius: 28px;

  text-decoration: none;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,0.92),
      rgba(255,255,255,0.75)
    );

  border: 2px solid rgba(255,255,255,0.45);

  backdrop-filter: blur(10px);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border 0.25s ease;

  box-shadow:
    0 12px 30px rgba(0,0,0,0.12);
}

/* GLOW EFFECT */
.dashboard-btn::before {
  content: "";

  position: absolute;

  width: 180px;
  height: 180px;

  background: rgba(79,195,255,0.15);

  border-radius: 50%;

  top: -70px;
  right: -70px;

  transition: 0.3s ease;
}

/* HOVER */
.dashboard-btn:hover {
  transform:
    translateY(-8px)
    scale(1.015);

  box-shadow:
    0 18px 40px rgba(0,0,0,0.18);

  border: 2px solid rgba(79,195,255,0.35);
}

.dashboard-btn:hover::before {
  transform: scale(1.2);
}

/* ICON BOX */
.dashboard-icon {
  width: 85px;
  height: 85px;

  min-width: 85px;

  border-radius: 24px;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    linear-gradient(
      135deg,
      #4fc3ff,
      #2196f3
    );

  color: white;

  font-size: 2rem;

  box-shadow:
    0 10px 25px rgba(33,150,243,0.35);

  transition: 0.3s ease;
}

.dashboard-btn:hover .dashboard-icon {
  transform:
    rotate(-5deg)
    scale(1.08);
}

/* SECOND CARD COLOR */
.dashboard-btn.fantasy .dashboard-icon {
  background:
    linear-gradient(
      135deg,
      #c084fc,
      #7c3aed
    );

  box-shadow:
    0 10px 25px rgba(124,58,237,0.35);
}

/* TEXT */
.dashboard-content {
  flex: 1;
}

.dashboard-content h3 {
  margin: 0 0 10px;

  font-size: 1.5rem;
  font-weight: 700;

  color: #1b1b1b;
}

.dashboard-content p {
  margin: 0;

  color: #4a4a4a;

  line-height: 1.7;

  font-size: 0.98rem;
}

/* ARROW */
.dashboard-arrow {
  font-size: 2rem;

  color: #2196f3;

  transition: 0.25s ease;
}

.dashboard-btn:hover .dashboard-arrow {
  transform: translateX(8px);
}

/* MOBILE */
@media (max-width: 768px) {

  .dashboard-btn {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-arrow {
    align-self: flex-end;
  }

}

  transition: transform 0.2s linear;
}