/* Ideas page: slot machine and colour blocks */
.ideas-stage, .ideas-block, .ideas-stage h1, .ideas-block h2, .ideas-spin, .ideas-confetti { font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif; }
main:has(.ideas-stage) { background: #120a1f; }
main > section.ideas-stage, main > section.ideas-block { min-height: 0; padding: 0; box-shadow: none; color: #fff; text-shadow: none; }
main > section.ideas-stage { position: relative; overflow: hidden; padding-top: 96px; background: radial-gradient(900px 600px at 80% 10%, rgba(255,79,163,.35), rgba(255,79,163,0) 70%), radial-gradient(800px 600px at 10% 80%, rgba(45,226,230,.25), rgba(45,226,230,0) 70%), #120a1f; }
.ideas-wrap { width: 100%; max-width: 1500px; margin: 0 auto; padding: 0 22px; }
.ideas-head h1 { margin: 0; color: #fff; font-size: clamp(38px, 7vw, 104px); font-weight: 700; line-height: 1; letter-spacing: -.02em; text-align: right; }
.ideas-head p { max-width: 34em; margin: 16px 0 0; color: #e6dff2; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.5; }
.ideas-machine { display: grid; gap: 22px; margin: clamp(28px, 4vw, 56px) 0; }
.ideas-photo { margin: 0; overflow: hidden; border: 6px solid #fff; border-radius: 24px; background: #000; box-shadow: 0 24px 70px rgba(255,79,163,.35); transform: rotate(-1.5deg); }
.ideas-photo img { display: block; width: 100%; height: clamp(320px, 62vh, 640px); object-fit: cover; object-position: center 20%; transition: filter .25s, transform .25s; }
.ideas-photo.spinning img { filter: blur(14px) saturate(1.5); transform: scale(1.08); }
.ideas-panel { display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.ideas-reels { display: grid; gap: 10px; }
.ideas-reel { min-width: 0; padding: 14px 20px; border: 2px solid rgba(255,255,255,.25); border-radius: 18px; background: rgba(255,255,255,.07); }
.ideas-reel.on { border-color: #ffd23f; box-shadow: 0 0 26px rgba(255,210,63,.5); }
.ideas-reel span { display: block; color: #2de2e6; font-size: 14px; font-weight: 400; letter-spacing: .04em; }
.ideas-reel b { display: block; min-height: 1.3em; color: #fff; font-size: clamp(22px, 2.4vw, 34px); font-weight: 400; line-height: 1.3; }
.ideas-reel.on b { filter: blur(1.5px); }
.ideas-spin:focus-visible, .ideas-wa:focus-visible, .ideas-see:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.ideas-result p { margin: 0 0 12px; color: #fff; font-size: clamp(19px, 1.7vw, 24px); font-weight: 400; line-height: 1.4; }
.ideas-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
a.ideas-wa, a.ideas-wa:focus { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: #ff4fa3; color: #fff; font-size: 17px; font-weight: 400; text-decoration: none; }
a.ideas-wa:hover { background: #e0358a; color: #fff; text-decoration: none; }
a.ideas-see, a.ideas-see:focus { color: #2de2e6; font-size: 16px; font-weight: 400; text-decoration: underline; text-underline-offset: 3px; }
a.ideas-see:hover { color: #fff; }
.ideas-confetti { position: fixed; inset: 0; z-index: 2000; overflow: hidden; pointer-events: none; }
.ideas-confetti i { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 2px; animation: ideas-fall 1.9s ease-in forwards; }
@keyframes ideas-fall { to { transform: translateY(105vh) rotate(720deg); opacity: .8; } }
main > section.ideas-block { padding: clamp(56px, 8vw, 120px) 0; }
main > section.ideas-block-1 { background: #ffd23f; }
main > section.ideas-block-2 { background: #2de2e6; }
main > section.ideas-block-3 { background: #ff4fa3; }
main > section.ideas-block-4 { background: #fff; }
.ideas-block h2 { margin: 0 0 clamp(24px, 3vw, 44px); color: #120a1f; font-size: clamp(36px, 6vw, 92px); font-weight: 700; line-height: 1.02; letter-spacing: -.02em; text-align: right; text-wrap: balance; }
.ideas-block-3 h2 { color: #fff; }
.ideas-text, .ideas-text p { color: #120a1f; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; }
.ideas-text p { margin: 0 0 18px; }
.ideas-text ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ideas-text li { padding: 20px 22px; border-radius: 18px; background: #fff; box-shadow: 0 8px 0 rgba(18,10,31,.9); color: #120a1f; font-size: 18px; line-height: 1.45; }
.ideas-text li:nth-child(odd) { transform: rotate(-1deg); }
.ideas-text li:nth-child(even) { transform: rotate(1deg); }
.ideas-text li strong { display: block; margin-bottom: 4px; font-size: 21px; font-weight: 700; }
.ideas-text a { color: #120a1f; text-decoration: underline; text-underline-offset: 3px; }
.ideas-text a:hover { color: #c2185b; }
@media (min-width: 768px) {
.ideas-wrap { padding: 0 clamp(32px, 5vw, 96px); }
.ideas-text ul { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}
@media (min-width: 992px) {
main > section.ideas-stage { padding-top: 118px; }
.ideas-machine { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 4vw, 72px); align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
.ideas-text li:nth-child(n) { transform: none; }
}

/* Wheel of fortune that replaces the spin button; its turn time matches the reels */
.ideas-spin { display: flex; justify-content: center; width: 100%; padding: 24px 0 6px; border: 0; background: none; color: #120a1f; cursor: pointer; }
.ideas-spin:disabled { cursor: progress; }
.ideas-dial { --s: clamp(180px, 16vw, 240px); position: relative; display: block; width: var(--s); height: var(--s); filter: drop-shadow(0 0 26px rgba(255,79,163,.5)); transition: transform .2s, filter .2s; }
.ideas-spin:hover .ideas-dial { filter: drop-shadow(0 0 38px rgba(255,79,163,.8)); transform: scale(1.04); }
.ideas-spin:active .ideas-dial { transform: scale(.97); }
.ideas-dial::before { content: ""; position: absolute; top: -14px; left: 50%; z-index: 2; width: 0; height: 0; margin-left: -13px; border-top: 26px solid #fff; border-right: 13px solid transparent; border-left: 13px solid transparent; filter: drop-shadow(0 2px 3px rgba(0,0,0,.45)); }
.ideas-wheel { position: absolute; inset: 0; display: block; border: 6px solid #fff; border-radius: 50%; background: conic-gradient(#ff4fa3 0 45deg, #ffd23f 45deg 90deg, #2de2e6 90deg 135deg, #8b5cf6 135deg 180deg, #ff4fa3 180deg 225deg, #ffd23f 225deg 270deg, #2de2e6 270deg 315deg, #8b5cf6 315deg 360deg); box-shadow: inset 0 0 22px rgba(18,10,31,.28); }
.ideas-hub { position: absolute; top: 50%; left: 50%; z-index: 1; display: flex; align-items: center; justify-content: center; width: 46%; height: 46%; padding: 6px; border-radius: 50%; background: #fff; box-shadow: 0 4px 16px rgba(18,10,31,.4); font-size: clamp(18px, 1.5vw, 22px); font-weight: 400; line-height: 1.1; text-align: center; transform: translate(-50%, -50%); }
@media (prefers-reduced-motion: no-preference) {
.ideas-wheel { transition: transform 1.9s cubic-bezier(.15,.7,.1,1); }
}

/* The wheel sits on the photo, bottom left */
.ideas-photo { position: relative; }
.ideas-spin { position: absolute; bottom: 16px; left: 16px; z-index: 2; width: auto; padding: 0; }
.ideas-dial { --s: clamp(116px, 11vw, 156px); }
.ideas-dial::before { top: -9px; margin-left: -9px; border-top-width: 18px; border-right-width: 9px; border-left-width: 9px; }
.ideas-wheel { border-width: 4px; }
.ideas-hub { width: 54%; height: 54%; padding: 4px; font-size: clamp(14px, 1.15vw, 17px); }

/* Phones: the reels become one compact card and the pinned bar sends the idea */
@media (max-width: 991px) {
.ideas-machine { gap: 16px; }
.ideas-panel { gap: 12px; }
.ideas-reels { gap: 0; border: 2px solid rgba(255,255,255,.25); border-radius: 18px; background: rgba(255,255,255,.07); }
.ideas-reel, .ideas-reel.on { display: flex; align-items: baseline; gap: 12px; padding: 10px 16px; border: 0; border-radius: 0; background: none; box-shadow: none; }
.ideas-reel + .ideas-reel { border-top: 1px solid rgba(255,255,255,.14); }
.ideas-reel span { flex: none; width: 58px; font-size: 13px; }
.ideas-reel b { min-width: 0; font-size: 19px; }
.ideas-result p { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
a.ideas-wa, a.ideas-wa:focus { display: none; }
}

/* Studio cards: a swipe row on every width, the whole card is a link */
.ideas-cards-row { display: flex; gap: 16px; margin: 0 -22px; padding: 6px 22px 18px; overflow-x: auto; scroll-padding: 0 22px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ideas-cards-row::-webkit-scrollbar { display: none; }
a.ideas-card, a.ideas-card:hover, a.ideas-card:focus { display: block; flex: 0 0 min(76vw, 300px); overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 8px 0 rgba(18,10,31,.9); color: #120a1f; text-decoration: none; scroll-snap-align: start; }
a.ideas-card:focus-visible { outline: 3px solid #120a1f; outline-offset: 3px; }
.ideas-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 20%; }
.ideas-card h3, .ideas-card p { font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif; color: #120a1f; text-align: right; }
.ideas-card h3 { margin: 14px 16px 4px; font-size: 21px; font-weight: 700; line-height: 1.25; }
.ideas-card p { margin: 0 16px 16px; font-size: 16px; font-weight: 400; line-height: 1.45; }
.ideas-cards-nav { display: none; }
@media (min-width: 768px) {
.ideas-cards-row { margin: 0; padding: 6px 0 18px; scroll-padding: 0; }
.ideas-cards-nav { display: flex; justify-content: center; gap: 10px; margin-top: 8px; }
.ideas-cards-nav button { width: 48px; height: 48px; border: 0; border-radius: 50%; background: #120a1f; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.ideas-cards-nav button:hover { background: #fff; color: #120a1f; }
.ideas-cards-nav button:focus-visible { outline: 3px solid #120a1f; outline-offset: 3px; }
}
@media (prefers-reduced-motion: no-preference) {
.ideas-cards-row { scroll-behavior: smooth; }
a.ideas-card { transition: transform .2s; }
a.ideas-card:hover { transform: translateY(-4px); }
}

/* Last section: light, so it does not merge with the dark footer. Its gallery link is a button */
.ideas-block-4 .ideas-text a, .ideas-block-4 .ideas-text a:hover, .ideas-block-4 .ideas-text a:focus { display: flex; align-items: center; width: fit-content; min-height: 52px; margin-top: 14px; padding: 0 26px; border-radius: 999px; background: #ff4fa3; color: #fff; font-size: 17px; font-weight: 400; text-decoration: none; }
.ideas-block-4 .ideas-text a:hover { background: #e0358a; }
.ideas-block-4 .ideas-text a:focus-visible { outline: 3px solid #120a1f; outline-offset: 3px; }
