/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

:root {
  --bg: #0f172a;
  --panel: #111827;
  --panel-2: #1f2937;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --brand: #2563eb;
  --brand-2: #1d4ed8;
  --accent: #f59e0b;
  --line: #334155;
  --radius: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  font-family: "Inter", sans-serif;
}
h2, p, textarea {
	margin-bottom: 0 !important;
}
.container {
	padding: 0px 16px;
}
.site-content {
    display: block;
}
body {
  background: radial-gradient(circle at top, #172554, #0b1120 48%, #060b17 100%) !important;
  color: var(--text);
}
button {
  font-family: "Inter", sans-serif;
}
header.topbar p {
    display: none;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid #1e293b;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(8px);
}

.back-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid #334155;
  background: rgba(17, 24, 39, 0.55);
  color: #dbeafe;
  cursor: pointer;
  font-size: 20px;
  display: grid;
  place-items: center;
  padding:0;
}

.back-btn[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
}

.top-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.top-right {
  width: 40px;
}

.content-wrap {
  padding: 20px 28px;
  max-width: 1020px;
  margin: 0 auto;
}

.step-head {
  display: grid;
  gap: 8px;
  margin-bottom: 40px;
  justify-content: center;
  text-align: center;
}

.hero-upload-wrap {
  text-align: center;
  padding: 60px 24px;
  border-radius: 8px;
  border: 2px dashed #85e8ff;
  height: 100%;
}

.animated-border-box {
  position: relative;
  z-index: 1;
  padding: 10px;
  overflow: hidden;
  border-radius: 7px;
  margin: 40px 0px;
}

.animated-border-box-glow {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  overflow: hidden;
  filter: blur(20px);
  z-index: -1;
  border-radius: 10px;
}

.animated-border-box:before,
.animated-border-box-glow:before {
  content: '';
  z-index: -2;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  position: absolute;
  width: 99999px;
  height: 99999px;
  background-repeat: no-repeat;
  background-image: conic-gradient(rgba(0, 0, 0, 0), #1976ed, rgba(0, 0, 0, 0) 25%);
  /* change speed here */
  animation: rotate 4s linear infinite;
}

.animated-border-box:after {
  content: '';
  position: absolute;
  z-index: -1;
  left: 5px;
  top: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  background: radial-gradient(circle at top, #172554, #0b1120 48%, #060b17 100%);
  border-radius: 7px;
}

@keyframes rotate {
  100% {
    transform: translate(-50%, -50%) rotate(1turn);
  }
}

.hero-overlay {
  background-color: rgb(0 0 0 / 20%);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

@media only screen and (max-width: 767px) {
  .hero-overlay {
    top: 10%;
  }

  .hero-box .btn {
    padding: 16px 24px;
  }
}

.hero-upload-subtitle {
  color: #939393;
}

.hero-upload-img {
  background-color: #ffffff3d;
  padding: 8px;
  border-radius: 50%;
}

.hero-box-image img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.home-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 35px 70px;
  align-items: center;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid #233046;
  background: linear-gradient(180deg, rgba(16, 25, 47, 0.92), rgba(15, 23, 42, 0.76));
}

.home-hero.reverse-grid {
  grid-template-columns: 0.8fr 1.2fr;
  margin-top: 40px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-copy h1 {
  font-size: 40px;
  margin: 0 0 10px;
}

.home-image img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid #2b3b59;
  background: rgba(255, 255, 255, 0.03);
}

.home-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-image img {
  width: 100%;
  height: 100%;
}

.home-cta-row {
  margin: 12px 0 16px;
}

.mini-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mini-point {
  border: 1px solid #2b3b59;
  background: rgba(15, 29, 55, 0.7);
  border-radius: 14px;
  padding: 10px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.mini-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #60a5fa, #f59e0b);
  margin-top: 6px;
  flex: 0 0 auto;
}

.mini-sub {
  color: #cbd5e1;
  font-size: 12px;
  margin-top: 2px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card-png {
  width: 100%;
  height: 150px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.03);
}
.theme-card .card-png {
  height: auto;
}

.theme-card .card-png,
.mood-card .card-png,
.prop-card .card-png {
  padding: 0;
}

.card-title {
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #dbeafe;
  font-size: 20px;
}

.month-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.month-tile {
  border-radius: 16px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: rgba(17, 24, 39, 0.55);
  padding: 10px;
  display: grid;
  gap: 10px;
  cursor: pointer;
}

.month-tile.selected {
  border-color: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25);
}

.month-tile img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 14px;
}

.month-tile .month-label,
.theme-card .card-title,
.mood-card .card-title,
.prop-card .card-title {
  color: #e2e8f0;
  font-weight: 600;
  font-size: 18px;
  text-align: center;
}

.section-subhead {
  margin: 18px 0 10px;
}

.hint-row {
  margin-top: 14px;
}

.hint-pill {
  display: inline-block;
  border: 1px solid #334155;
  border-radius: 999px;
  padding: 8px 12px;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.35);
}

.to-step10-row {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.chat-hint {
  color: #94a3b8;
  font-size: 13px;
  text-align: center;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #dbeafe;
}

.step-indicator {
  color: #bfdbfe;
  font-size: 14px;
}

.app-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 66px);
}

.sidebar {
  border-right: 1px solid #1e293b;
  padding: 22px 16px;
}

.sidebar h2 {
  margin-top: 0;
  font-size: 18px;
}

.sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.sidebar li {
  padding: 10px 12px;
  border: 1px solid #233046;
  border-radius: 10px;
  font-size: 14px;
  color: #cbd5e1;
}

.sidebar li.active {
  border-color: #3b82f6;
  background: #1e3a8a2e;
  color: #dbeafe;
}

.content {
  padding: 28px;
  max-width: 1100px;
}

.step-page {
  display: block;
	padding: 60px 0px;
  animation: fadeIn 220ms ease;
}

.step-page.active {
  display: block;
}

.hero-box {
  background: linear-gradient(180deg, #10192f, #0f172a);
  border: 1px solid #233046;
  border-radius: var(--radius);
  padding: 28px;
  overflow: hidden;
  position: relative;
  height: 60vh;
}

.eyebrow {
  color: #93c5fd;
  margin: 0 0 6px;
  font-weight: 600;
}

h1 {
  margin: 0 0 10px;
  font-size: 42px;
  line-height: 1.08;
}

.lead {
  margin-top: 0;
  color: #cbd5e1;
  line-height: 1.5;
  font-size: 15px;
}

.sample-grid {
  margin: 70px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.sample-card {
  background: #11192e;
  border: 1px solid #293651;
  border-radius: 12px;
  padding: 12px;
}

.sample-card h3 {
  margin: 0 0 10px;
}

.sample-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  border-radius: 10px;
}

.hero-info {
  margin: 18px 0 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hero-info div {
  border: 1px solid #2b3b59;
  background: #0f1d37;
  border-radius: 10px;
  padding: 12px;
}

.hero-info h4 {
  margin: 0 0 4px;
}

.hero-info p {
  margin: 0;
  color: #cbd5e1;
  font-size: 14px;
}

.btn {
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  font-family: "Inter", sans-serif;
}

.btn-primary {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: white;
}

.next-btn-wrapper .btn {
  min-width: 300px;
}

.btn-secondary {
  background: transparent;
  border-color: #334155;
  color: #dbeafe;
}

h2 {
  margin-top: 0;
}

.muted {
  color: var(--muted);
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.option-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.option-card {
  border: 1px solid #334155;
  border-radius: 12px;
  background: #101a31;
  color: #e2e8f0;
  min-height: 140px;
  padding: 12px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration:none;
}

.option-card.selected, .option-card:hover {
  border-color: #60a5fa;
  outline: 2px solid #1d4ed8;
}

.month-showcase {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.month-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 4px solid #1f6aa6;
  background: #fff;
  color: #1f6aa6;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  text-align: left;
}

.month-card .icon {
  font-size: 28px;
  min-width: 40px;
}

.month-card .label {
  line-height: 1;
  font-size: 20px;
}

.month-card.selected, .month-card:hover {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px #f59f0b3d;
}

.ratio-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ratio-card {
  background: #111827;
  border: 1px solid #2f3f57;
  color: #e5e7eb;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  cursor: pointer;
}

.ratio-card.selected {
  border-color: #f59e0b;
  box-shadow: 0 0 0 2px #f59e0b30 inset;
}

.ads-block {
  display: none;
}

.shape {
  display: inline-block;
  border: 2px solid #94a3b8;
  background: #0f172a;
}

.sq {
  width: 30px;
  height: 30px;
}

.wide {
  width: 42px;
  height: 24px;
}

.tall {
  width: 24px;
  height: 42px;
}

.fourthree {
  width: 40px;
  height: 30px;
}

.threefour {
  width: 30px;
  height: 40px;
}

.twothree {
  width: 24px;
  height: 36px;
}

.threetwo {
  width: 36px;
  height: 24px;
}

.fourfive {
  width: 28px;
  height: 35px;
}

.fivefour {
  width: 35px;
  height: 28px;
}

.ultrawide {
  width: 52px;
  height: 22px;
}

.onetofour {
  width: 12px;
  height: 42px;
}

.fourtoone {
  width: 48px;
  height: 14px;
}

.onetoeight {
  width: 10px;
  height: 44px;
}

.eighttoone {
  width: 54px;
  height: 10px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 520px;
  text-align: center;
  margin: 0px auto 32px;
  gap: 12px;
}

.input-group input {
  border: 1px solid #334155;
  border-radius: 12px;
  background: #0b1326;
  color: #e5e7eb;
  padding: 12px 14px;
  font-size: 16px;
}

.next-btn-wrapper {
  display: flex;
  justify-content: center;
}

.theme-prompt-grid .theme-prompt-card {
  min-height: 220px;
  align-items: stretch;
  text-align: left;
}

.theme-prompt-card .prompt-snippet {
  font-size: 13px;
  font-weight: 500;
  color: #cbd5e1;
  line-height: 1.4;
  display: -webkit-box;
  line-clamp: 5;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.theme-prompt-card .prompt-variant {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #93c5fd;
  text-transform: uppercase;
}

.upload-wrap {
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.upload-box {
  border: 1px dashed #3b82f6;
  border-radius: 12px;
  min-height: 50vh;
  background: #0e1931;
  padding: 14px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  cursor: pointer;
}

.upload-box input {
  display: none;
}

#uploadPreview {
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  object-fit: cover;
  border-radius: 12px;
  display: none;
  border: 1px solid #2f3f57;
}

.step9-previews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.preview-card {
  border: 1px solid #2f3f57;
  border-radius: 14px;
  background: rgba(16, 24, 40, 0.55);
  padding: 12px;
  text-align: left;
}

.preview-title {
  font-weight: 800;
  color: #dbeafe;
  font-size: 13px;
  margin-bottom: 8px;
}

.preview-text {
  margin: 0;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.45;
  max-height: 120px;
  overflow-y: auto;
}

.preview-label {
  max-width: none;
}

#uploadedPreviewImg {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(255, 255, 255, 0.03);
}

#promptBox,
#promptEditBox {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #2f3f57;
  background: #0d162c;
  color: #e2e8f0;
  padding: 12px;
  margin-bottom: 12px;
  resize: vertical;
}

.generate-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.result-wrap {
  border: 1px solid #2f3f57;
  border-radius: 12px;
  background: #101828;
  min-height: 300px;
  display: grid;
  place-content: center;
  padding: 12px;
}

#generatedImage {
  max-width: 100%;
  max-height: 540px;
  border-radius: 10px;
  display: none;
}

#resultHint {
  color: #94a3b8;
  text-align: center;
}

.footer-nav {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {

  .home-hero,
  .home-hero.reverse-grid {
    display: flex;
    flex-direction: column;
  }

  .home-hero.reverse-grid {
    flex-direction: column-reverse;
  }

  .home-image img {
    height: 260px;
  }

  .mini-points {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .month-grid {
    grid-template-columns: 1fr;
  }

  .step9-previews {
    grid-template-columns: 1fr;
  }

  .sample-grid,
  .upload-wrap,
  .option-grid {
    grid-template-columns: 1fr;
  }

  .ratio-grid {
    grid-template-columns: 1fr 1fr;
  }

  h1 {
    font-size: 34px;
  }

  .month-card {
    font-size: 28px;
  }
}

@media only screen and (max-width: 767px) {
  h1 {
    font-size: 27px;
  }

  h2 {
    font-size: 20px;
  }

  .ads-block {
    display: block;
    grid-area: span 1 / span 2;
  }
}

.server-container {
  max-width: 900px;
  margin: 20px auto;
}

.server-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;

  border: 2px solid #3b82f6;
  padding: 20px;
  margin-bottom: 20px;

  background: #f9fafb;
  border-radius: 8px;

  position: relative;
  cursor: pointer;
  transition: 0.3s;

  text-decoration: none;   /* remove underline */
}

/* hover */
.server-box:hover {
  background: #eef6ff;
  transform: translateY(-2px);
}

/* icon */
.server-box img {
  width: 60px;
  height: 60px;
  position: absolute;
      left: 20px;
    top: 10px;
}

/* title */
.server-box .h3 {
  font-size: 24px;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}