/* ══════════════════════════════════════════════════
   Cutiora — main.css
   ══════════════════════════════════════════════════ */

/* ── Google Fonts & TikTok Sans ── */
@font-face {
  font-family: 'TikTok Sans';
  font-weight: 400;
  font-style: normal;
  src: url('https://cdn.jsdelivr.net/fontsource/fonts/tiktok-sans@latest/latin-400-normal.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'TikTok Sans';
  font-weight: 700;
  font-style: normal;
  src: url('https://cdn.jsdelivr.net/fontsource/fonts/tiktok-sans@latest/latin-700-normal.woff2') format('woff2');
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: #FFF3B0;
  background-image: radial-gradient(ellipse at 30% 20%, #FFFADC 0%, #FFF3B0 50%, #FFE566 100%);
  min-height: 100vh;
  font-family: 'Nunito', sans-serif;
}

/* ── Fixed top navbar (mobile) ── */
#w-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  background: #fff;
  border-bottom: 3px solid #2c2c2c;
  box-shadow: 0 3px 0 #2c2c2c;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 7000;
}
#w-topbar-logo {
  font-family: 'Fredoka One', cursive;
  font-size: 22px;
  color: #2c2c2c;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
  letter-spacing: -0.5px;
}
#w-topbar-logo:hover { color: #e6b800; }
#w-topbar-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  align-items: center;
  justify-content: center;
}
#w-topbar-hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: #2c2c2c;
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
#w-topbar-hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#w-topbar-hamburger.open span:nth-child(2) { opacity: 0; }
#w-topbar-hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
#w-topbar { display: none !important; }

#cutiora-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px 60px;
  min-height: 100vh;
}
@media(max-width: 680px) { #cutiora-app { padding-top: 16px; } }

/* ── Top navigation tabs (desktop) ── */
.w-nav {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 28px 16px 0;
  margin-bottom: 24px;
}
.w-nav-tab {
  padding: 10px 24px;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 700;
  border: 3px solid #2c2c2c;
  cursor: pointer;
  background: #fff8d6;
  color: #2c2c2c;
  letter-spacing: .3px;
  transition: background .15s;
  margin-right: -3px;
  margin-bottom: -3px;
  position: relative;
  white-space: nowrap;
}
.w-nav-tab:hover { background: #fff0a0; }
.w-nav-tab.active {
  background: #fff;
  z-index: 1;
  border-bottom-color: #fff;
  box-shadow: 0 -3px 0 #e6b800;
}
@media(max-width: 600px) {
  .w-nav { padding: 12px 8px 0; gap: 0; justify-content: center; }
  .w-nav-tab { padding: 9px 10px; font-size: 12px; letter-spacing: 0; flex: 1; text-align: center; white-space: nowrap; }
}
@media(max-width: 400px) {
  .w-nav-tab { padding: 8px 6px; font-size: 11px; }
}

/* ── Mobile drawer ── */
.w-drawer-overlay {
  display: none;
  position: fixed;
  top: 56px; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.4);
  z-index: 8000;
}
.w-drawer-overlay.open { display: block; }
.w-drawer {
  position: fixed;
  top: 56px;
  right: -280px;
  width: 260px;
  height: calc(100% - 56px);
  background: #fff;
  border-left: 3px solid #2c2c2c;
  box-shadow: -4px 0 0 #2c2c2c;
  z-index: 8500;
  transition: right .25s ease;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
}
.w-drawer.open { right: 0; }
.w-drawer-header {
  padding: 18px 16px 14px;
  border-bottom: 3px solid #2c2c2c;
  background: #FFE566;
}
.w-drawer-title {
  font-family: 'Fredoka One', cursive;
  font-size: 20px;
  color: #2c2c2c;
}
.w-drawer-item {
  width: 100%;
  padding: 16px 20px;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #2c2c2c;
  background: #fff;
  border: none;
  border-bottom: 2px solid #f0f0f0;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background .12s;
}
.w-drawer-item:hover   { background: #fff8d6; }
.w-drawer-item.active  { background: #fff3cc; border-left: 4px solid #e6b800; }

/* w-nav visible on all screens */

/* ── Page views ── */
.w-page { display: none; width: 100%; contain: content; }
.w-page.active { display: block; contain: none; }

/* ── Main layout ── */
.w-layout {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
.w-sidebar {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 180px;
  flex-shrink: 0;
  position: sticky;
  top: 40px;
  background: #fff;
  border: 3px solid #2c2c2c;
  box-shadow: 4px 4px 0 #2c2c2c;
  padding: 20px 16px;
  text-align: center;
}
.w-sidebar-icon { font-size: 30px; line-height: 1; }
.w-sidebar p { font-size: 13px; font-weight: 600; color: #444; line-height: 1.55; }
.w-sidebar-btn {
  display: inline-block;
  padding: 9px 18px;
  background: #FFE566;
  border: 2px solid #2c2c2c;
  box-shadow: 3px 3px 0 #2c2c2c;
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #2c2c2c;
  cursor: pointer;
  text-decoration: none;
  transition: transform .1s, box-shadow .1s;
  letter-spacing: .2px;
}
.w-sidebar-btn:hover { background: #ffd900; }
.w-sidebar-btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 #2c2c2c; }
@media(min-width: 900px) {
  .w-sidebar { display: flex; }
  .w-layout-spacer { width: 180px; flex-shrink: 0; }
}
.w-centre { flex: 1; max-width: 640px; min-width: 0; }

.w-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.w-logo {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(46px, 8vw, 82px);
  color: #fff;
  -webkit-text-stroke: 3px #2c2c2c;
  text-shadow: 4px 4px 0 #2c2c2c;
  letter-spacing: -1px;
  line-height: 1;
}
.w-sub {
  font-size: clamp(14px, 2.5vw, 20px);
  font-weight: 700;
  color: #2c2c2c;
  line-height: 1.4;
  margin-top: 18px;
}
.w-sub span { text-decoration: none; }
.w-sub-highlight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.w-card {
  background: #fff;
  border: 3px solid #2c2c2c;
  width: 100%;
  box-shadow: 6px 6px 0 #2c2c2c;
  overflow: hidden;
}
.w-tab {
  display: inline-block;
  background: #fff;
  border: 3px solid #2c2c2c;
  border-bottom: none;
  padding: 8px 20px;
  font-weight: 700;
  font-size: 15px;
  color: #2c2c2c;
  margin-bottom: -3px;
  position: relative;
  z-index: 1;
}
.w-section { border-top: 3px solid #2c2c2c; }
.w-section-inner {
  padding: 16px;
  border: 3px solid #2c2c2c;
  border-top: none;
  box-sizing: border-box;
  overflow: hidden;
}

textarea {
  width: 100%;
  border: 2px solid #ccc;
  padding: 10px 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  resize: vertical;
  min-height: 100px;
  outline: none;
  transition: border-color .2s;
  color: #333;
  border-radius: 0;
}
textarea:focus { border-color: #2c2c2c; }

.w-upload-zone {
  width: 100%;
  border: 2.5px dashed #888;
  padding: 28px 16px;
  text-align: center;
  font-size: 17px;
  color: #555;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  background: #fafafa;
  user-select: none;
}
.w-upload-zone:hover, .w-upload-zone.drag-over {
  border-color: #2c2c2c;
  background: #f5f5f5;
}
.w-upload-icon { font-size: 28px; display: block; margin-bottom: 6px; }

.w-options {
  background: #f9f9f9;
  border-top: 2px solid #ddd;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  overflow: visible;
}
.w-options label { white-space: nowrap; }

input[type='range'] { width: 100%; accent-color: #e6b800; cursor: pointer; }
select {
  border: 1.5px solid #ccc;
  padding: 4px 8px;
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  background: #fff;
  cursor: pointer;
  outline: none;
  min-width: 160px;
}
select:focus { border-color: #2c2c2c; }
input[type='checkbox'] { width: 16px; height: 16px; accent-color: #e6b800; cursor: pointer; }
input[type='color'] { width: 42px; height: 28px; border: 1.5px solid #ccc; padding: 1px; cursor: pointer; background: #fff; }

.w-btn-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}
.w-btn {
  padding: 13px 36px;
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 700;
  border: 3px solid #2c2c2c;
  cursor: pointer;
  box-shadow: 4px 4px 0 #2c2c2c;
  transition: transform .1s, box-shadow .1s;
  letter-spacing: .3px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.w-btn:active { transform: translate(3px,3px); box-shadow: 1px 1px 0 #2c2c2c; }
.w-btn-gen { background: #fff; color: #2c2c2c; }
.w-btn-gen:hover { background: #f0f0f0; }
.w-btn-dl { background: #4CAF50; color: #fff; display: none; }
.w-btn-dl:hover { background: #43a047; }
.w-btn-pin { background: #E60023; color: #fff; display: none; }
.w-btn-pin:hover { background: #c0001e; }
.w-btn-pin svg { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; }

#wToast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: #2c2c2c;
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 9999;
  white-space: nowrap;
}
#wToast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.w-spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: wspin .7s linear infinite;
  flex-shrink: 0;
}
@keyframes wspin { to { transform: rotate(360deg); } }

@media(max-width: 480px) {
  .w-options { grid-template-columns: 1fr; gap: 6px; }
  select { min-width: unset; width: 100%; }
  .w-btn { padding: 12px 24px; font-size: 15px; }
}

/* ── Download success modal ── */
#wDlModal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.w-modal-box {
  background: #fff;
  border: 3px solid #2c2c2c;
  box-shadow: 6px 6px 0 #2c2c2c;
  padding: 36px 28px 28px;
  max-width: 340px;
  width: 100%;
  text-align: center;
  position: relative;
}
.w-modal-icon { font-size: 44px; display: block; margin-bottom: 12px; }
.w-modal-box h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 24px;
  color: #2c2c2c;
  margin-bottom: 8px;
}
.w-modal-box p { font-size: 14px; color: #555; line-height: 1.5; margin-bottom: 20px; }
.w-modal-close {
  position: absolute;
  top: 10px; right: 14px;
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
  line-height: 1;
}
.w-modal-close:hover { color: #2c2c2c; }
.w-modal-btn {
  display: inline-block;
  padding: 10px 28px;
  background: #FFE566;
  border: 2px solid #2c2c2c;
  box-shadow: 3px 3px 0 #2c2c2c;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #2c2c2c;
  cursor: pointer;
  transition: transform .1s, box-shadow .1s;
}
.w-modal-btn:hover { background: #ffd900; }
.w-modal-btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 #2c2c2c; }

/* ── Girls Only page ── */
.go-page { max-width: 960px; margin: 0 auto; padding: 0 8px 40px; width: 100%; }
.go-header { text-align: center; margin-bottom: 28px; }
.go-header h2 {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(22px, 5vw, 38px);
  color: #2c2c2c;
  margin-bottom: 6px;
}
.go-header p { font-size: 15px; color: #555; font-style: italic; }
.go-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 4px;
}
@media(max-width: 700px) { .go-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.go-card {
  background: #FFFAEE;
  border: 2.5px solid #2c2c2c;
  border-radius: 18px;
  box-shadow: 4px 4px 0 #2c2c2c;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform .15s, box-shadow .15s;
}
.go-card:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 #2c2c2c; }
.go-card:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 #2c2c2c; }
.go-card-img { width: 100%; height: 180px; object-fit: cover; display: block; background: #f0ece0; }
.go-card-body {
  padding: 12px 14px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 2px solid #e8e0cc;
}
.go-card-name { font-size: 13px; font-weight: 700; color: #2c2c2c; line-height: 1.4; flex: 1; }
.go-card-cta { font-size: 13px; font-weight: 700; color: #c0006a; display: flex; align-items: center; gap: 5px; }
.go-last-a { grid-column: 2; }
.go-last-b { grid-column: 3; }
@media(max-width: 700px) {
  .go-last-a { grid-column: auto; }
  .go-last-b { grid-column: auto; }
}

/* ── Contact Us page ── */
.cu-page { max-width: 640px; margin: 0 auto; padding: 0 8px 60px; width: 100%; }
.cu-header { text-align: center; margin-bottom: 32px; }
.cu-header h2 {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(24px, 5vw, 38px);
  color: #2c2c2c;
  margin-bottom: 10px;
}
.cu-header p { font-size: 15px; color: #555; line-height: 1.65; max-width: 480px; margin: 0 auto; }
.cu-form {
  background: #fff;
  border: 3px solid #2c2c2c;
  box-shadow: 6px 6px 0 #2c2c2c;
  padding: 28px 24px;
}
.cu-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
@media(max-width: 480px) { .cu-row { grid-template-columns: 1fr; } }
.cu-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.cu-field label {
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .4px;
  color: #2c2c2c;
  text-transform: uppercase;
}
.cu-field input, .cu-field textarea {
  width: 100%;
  border: 2.5px solid #ccc;
  padding: 11px 13px;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  color: #333;
  background: #fafafa;
  outline: none;
  transition: border-color .2s, background .2s;
  border-radius: 0;
  resize: vertical;
}
.cu-field input:focus, .cu-field textarea:focus { border-color: #2c2c2c; background: #fff; }
.cu-field textarea { min-height: 140px; }
.cu-submit {
  width: 100%;
  padding: 14px;
  background: #FFE566;
  border: 3px solid #2c2c2c;
  box-shadow: 4px 4px 0 #2c2c2c;
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #2c2c2c;
  cursor: pointer;
  transition: transform .1s, box-shadow .1s, background .12s;
  margin-top: 8px;
}
.cu-submit:hover  { background: #ffd900; }
.cu-submit:active { transform: translate(3px,3px); box-shadow: 1px 1px 0 #2c2c2c; }
.cu-success {
  display: none;
  text-align: center;
  padding: 24px 16px;
  font-family: 'Nunito', sans-serif;
}
.cu-success .cu-ok-icon { font-size: 44px; display: block; margin-bottom: 12px; }
.cu-success h3 { font-family: 'Fredoka One', cursive; font-size: 24px; color: #2c2c2c; margin-bottom: 8px; }
.cu-success p { font-size: 14px; color: #555; }

/* ── Ad containers ── */
.wat-728 { display: flex; justify-content: center; width: 100%; margin: 0 0 8px 0; overflow: hidden; }
.wat-320 { display: none; justify-content: center; width: 100%; margin: 0 0 8px 0; overflow: hidden; }
.wat-native { display: flex; justify-content: center; width: 100%; margin: 32px 0; }
.wat-300 { display: flex; justify-content: center; width: 100%; margin: 0 0 32px 0; }
@media(max-width:740px) { .wat-728 { display: none; } .wat-320 { display: flex; } }
