/* =========================
   FROZEN FISHING — slot de gelo (por cima do lecalvo.css)
   ========================= */
.ff-page { --lc-cell: clamp(58px, 7.4vw, 118px); --lc-gap: clamp(4px, .5vw, 7px); }
.ff-stage { background: #071a44 url('assets/images/ff2/bg.webp') center 70% / cover no-repeat; min-height: calc(var(--lc-cell) * 3 + 300px); }
.ff-stage::before { background: linear-gradient(180deg, rgba(4,10,40,.55), rgba(10,30,90,.35)); }
.ff-stage.is-fs::before { opacity: 1; background: radial-gradient(circle at 50% 40%, rgba(80,180,255,.25), rgba(2,8,30,.7)); }

/* logo */
.ff-logo { flex-direction: column; align-items: center; gap: 0; transform: none; margin-bottom: 10px; font-family: var(--lc-font); line-height: .85; }
.ff-logo span { display: block; color: #fff; background: linear-gradient(180deg, #ffffff 0%, #c8f2ff 45%, #3cb6ff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 #062a5a) drop-shadow(0 0 14px rgba(120,210,255,.7)); letter-spacing: .03em; }
.ff-logo-1 { font-size: clamp(30px, 3.6vw, 56px); }
.ff-logo-2 { font-size: clamp(22px, 2.6vw, 40px); transform: rotate(-2deg); margin-top: 2px; }

/* moldura de gelo */
.ff-frame { padding: 12px; border-radius: 24px; background: linear-gradient(180deg, #e9fbff, #8fd6ff 45%, #2f8fe0);
  box-shadow: 0 0 0 4px #062a5a, 0 12px 0 #062a5a, 0 26px 50px rgba(0,0,0,.45), 0 0 34px rgba(120,210,255,.45); }
.ff-frame::before { content: ""; position: absolute; left: 6%; right: 6%; top: -12px; height: 26px; border-radius: 20px; pointer-events: none; z-index: 7;
  background: radial-gradient(14px 12px at 10% 70%, #fff 98%, transparent), radial-gradient(18px 14px at 30% 60%, #fff 98%, transparent), radial-gradient(16px 13px at 52% 70%, #fff 98%, transparent), radial-gradient(20px 14px at 74% 60%, #fff 98%, transparent), radial-gradient(14px 12px at 92% 70%, #fff 98%, transparent);
  filter: drop-shadow(0 2px 0 #9fd6f5); }
.ff-stage.is-fs .ff-frame { background: linear-gradient(180deg, #fff6c8, #ffcf4a 45%, #e08a00); box-shadow: 0 0 0 4px #5a3000, 0 12px 0 #5a3000, 0 26px 50px rgba(0,0,0,.45), 0 0 40px rgba(255,200,60,.55); }
.ff-board { position: relative; display: grid; grid-template-columns: repeat(5, var(--lc-cell)); gap: var(--lc-gap); padding: var(--lc-gap); border-radius: 14px;
  background: linear-gradient(180deg, #0b2a5e, #061738); box-shadow: inset 0 0 0 3px #041026, inset 0 8px 24px rgba(0,0,0,.55); }
.ff-col { position: relative; display: grid; grid-template-rows: repeat(3, var(--lc-cell)); gap: var(--lc-gap); overflow: hidden; border-radius: 10px; background: linear-gradient(180deg, rgba(140,210,255,.10), rgba(0,0,0,.18)); }
.ff-cell { border-radius: 10px; background: none; overflow: visible; }
.ff-sym { transition: opacity .2s, filter .2s; }
.ff-sym > svg { width: 84%; height: 84%; filter: drop-shadow(0 3px 2px rgba(0,0,0,.45)); }
.ff-sym img.ff-art { width: 98%; height: 98%; object-fit: contain; filter: drop-shadow(0 3px 3px rgba(0,0,0,.5)); }
.ff-cell.is-coletor { z-index: 2; }
.ff-cell.is-coletor .ff-sym { background: radial-gradient(circle at 50% 45%, rgba(255,226,120,.45), transparent 70%); border-radius: 10px; }

/* moedas */
.ff-coin { position: relative; width: 94%; height: 94%; display: grid; place-items: center; }
.ff-coin img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 3px 3px rgba(0,0,0,.5)); }
.ff-coin b { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); padding: 1px 7px; border-radius: 999px; white-space: nowrap;
  font-family: var(--lc-font); font-weight: 400; font-size: calc(var(--lc-cell) * .2); color: #fff; background: rgba(4,20,52,.85); border: 2px solid #7fd8ff; box-shadow: 0 2px 6px rgba(0,0,0,.5); letter-spacing: .02em; }

/* rolos a girar */
.ff-strip { position: absolute; left: 0; right: 0; top: 0; display: none; flex-direction: column; gap: var(--lc-gap); z-index: 1; filter: blur(2px) brightness(1.1); }
.ff-scell { height: var(--lc-cell); flex: none; display: grid; place-items: center; }
.ff-scell > svg, .ff-scell img { width: 80%; height: 80%; object-fit: contain; }
.ff-scell .ff-coin b { display: none; }
.ff-col.is-spin .ff-strip { display: flex; animation: ffReel .32s linear infinite; }
.ff-col.is-spin .ff-cell { visibility: hidden; }
@keyframes ffReel { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.ff-col.is-tease { box-shadow: 0 0 0 3px #ffe14a, 0 0 22px 6px rgba(255,220,80,.85); }
.ff-col.is-tease .ff-strip { animation-duration: .5s; }

/* destaques */
.ff-cell.is-win .ff-sym { animation: lcWin .55s ease-in-out 2; }
.ff-cell.is-dim .ff-sym { opacity: .35; filter: grayscale(.5); }
.ff-cell.is-scat .ff-sym { animation: ffPulse .5s ease-in-out 3; filter: drop-shadow(0 0 12px #ffe14a); }
.ff-cell.is-hot .ff-sym { filter: drop-shadow(0 0 10px #8fe6ff) brightness(1.15); }
.ff-cell.is-collect .ff-sym { animation: ffPulse .45s ease-in-out infinite; filter: drop-shadow(0 0 14px #ffd34f); }
@keyframes ffPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.ff-cbadge { position: absolute; left: 50%; bottom: -6%; translate: -50% 0; z-index: 4; padding: 2px 10px; border-radius: 999px; white-space: nowrap;
  font-family: var(--lc-font); font-size: calc(var(--lc-cell) * .24); color: #3b2300; background: linear-gradient(#fff3a8, #ffc928); border: 2px solid #fff; box-shadow: 0 3px 0 #8a5200, 0 0 14px rgba(255,210,60,.9); }
.ff-cbadge b { font-weight: 400; }
.ff-cbadge.is-bump { animation: lcBump .35s ease-out; }
.ff-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; overflow: visible; }
.ff-line { filter: drop-shadow(0 0 6px currentColor); stroke-dasharray: 2000; animation: ffLineIn .45s ease-out both; }
@keyframes ffLineIn { from { stroke-dashoffset: 2000; } to { stroke-dashoffset: 0; } }
.lc-fx .ff-fly { position: absolute; width: calc(var(--lc-cell) * .42); height: auto; pointer-events: none; filter: drop-shadow(0 0 8px rgba(140,220,255,.9)); }
.lc-fx .pop { -webkit-text-stroke: 1.5px #062a5a; text-shadow: 0 3px 0 #062a5a; color: #fff; }
.lc-fx .pop.is-big { font-size: calc(var(--lc-cell) * .5); color: #ffe14a; }

/* free spins: contador de coletores e níveis */
.ff-tracker { display: flex; align-items: center; gap: 14px; margin: -2px 0 10px; padding: 6px 14px; border-radius: 18px; background: rgba(4,18,48,.72); border: 2px solid rgba(140,220,255,.55); box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.ff-tracker[hidden] { display: none; }
.ff-tr-hooks, .ff-tr-levels { display: flex; align-items: center; gap: 6px; }
.ff-tr-hooks img { width: calc(var(--lc-cell) * .52); height: calc(var(--lc-cell) * .52); object-fit: contain; opacity: .55; transition: opacity .3s; }
.ff-tr-hooks img[data-on="1"] { opacity: 1; }
.ff-tr-hooks img.is-pop { animation: lcBump .5s ease-out; }
.ff-tr-levels img { width: calc(var(--lc-cell) * .58); height: calc(var(--lc-cell) * .58); object-fit: contain; filter: grayscale(.4) brightness(.8); transition: filter .3s, transform .3s; }
.ff-tr-levels img.is-on { filter: drop-shadow(0 0 10px rgba(140,230,255,.9)); transform: scale(1.08); }
.ff-fsbar { background: linear-gradient(#2a8fe8, #11469a); }

/* lado esquerdo */
.ff-side { justify-content: center; gap: 22px; padding-top: 0; }
.ff-maxwin { align-self: center; display: flex; flex-direction: column; align-items: center; padding: 8px 16px; border-radius: 14px; background: rgba(4,18,48,.72); border: 2px solid rgba(140,220,255,.5); color: #fff; font-family: Montserrat, Arial, sans-serif; }
.ff-maxwin span { font-size: 10px; font-weight: 900; letter-spacing: .14em; color: #a9dcff; }
.ff-maxwin b { font-family: var(--lc-font); font-weight: 400; font-size: 24px; color: #fff; text-shadow: 0 2px 0 #062a5a, 0 0 10px rgba(120,210,255,.8); }
.ff-buy .lc-ico-fs3 img, .ff-chance .lc-ico-fs img { filter: drop-shadow(0 0 8px rgba(140,220,255,.85)) drop-shadow(0 3px 3px rgba(0,0,0,.5)); }

/* mascote: o Gonçalo com as moedas */
.ff-mascot { position: relative; z-index: 2; grid-row: 1; align-self: end; justify-self: center; height: calc(var(--lc-cell) * 3.4); max-height: 420px; aspect-ratio: 1; margin-bottom: 4px; }
.ff-mascot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; transform-origin: 50% 100%; animation: lcBreath 2.6s ease-in-out infinite; filter: drop-shadow(0 10px 14px rgba(0,0,0,.4)); }
.ff-mascot.is-cheer img { animation: lcCheer .5s ease-in-out infinite; filter: drop-shadow(0 0 18px rgba(255,220,80,.8)); }
.ff-mascot-shadow { position: absolute; left: 20%; right: 20%; bottom: -6px; height: 20px; border-radius: 50%; background: radial-gradient(rgba(0,0,0,.35), transparent 70%); z-index: -1; }

/* ecrãs: free spins / mais spins / total win */
.ffs, .ffb { position: absolute; inset: 0; z-index: 25; display: grid; place-items: center; cursor: pointer; background: radial-gradient(circle at 50% 45%, rgba(20,70,160,.55), rgba(2,8,26,.88)); }
.ffs[hidden], .ffb[hidden] { display: none; }
.ffs-rays { position: absolute; inset: -30%; background: repeating-conic-gradient(from 0deg, rgba(160,225,255,.12) 0 8deg, transparent 8deg 20deg); animation: ffSpinRays 18s linear infinite; pointer-events: none; }
@keyframes ffSpinRays { to { transform: rotate(360deg); } }
.ffs-box { position: relative; width: min(620px, 92%); aspect-ratio: 1000 / 750; display: grid; place-items: center; }
.ffs.is-in .ffs-box { animation: lcOvIn .55s cubic-bezier(.3,1.5,.5,1) both; }
.ffs-panel { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(0,0,0,.55)); }
.ffs-content { position: relative; z-index: 1; width: 78%; margin-top: 6%; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: #fff; font-family: Montserrat, Arial, sans-serif; }
.ffs-img { width: 46%; height: auto; margin-bottom: -4px; filter: drop-shadow(0 8px 16px rgba(0,0,0,.5)); animation: ffPulse 1.4s ease-in-out infinite; }
.ffs-title { font-family: var(--lc-font); font-size: clamp(30px, 5vw, 60px); line-height: 1; letter-spacing: .03em; }
.ffs-title span { display: inline-block; background: linear-gradient(180deg, #fff, #bff0ff 50%, #3cb6ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 3px 0 #062a5a); animation: ffLetter .6s cubic-bezier(.3,1.6,.5,1) calc(var(--i) * .05s) both; }
.ffs-title .sp { width: .35em; }
@keyframes ffLetter { from { transform: translateY(-40px) scale(.4); opacity: 0; } }
.ffs-value { font-family: var(--lc-font); font-size: clamp(22px, 3.4vw, 44px); color: #ffe14a; text-shadow: 0 3px 0 #5a3000, 0 0 16px rgba(255,210,60,.7); }
.ffs-value[hidden] { display: none; }
.ffs-value.is-pop { animation: lcBump .5s ease-out; }
.ffs-text { max-width: 440px; font-size: clamp(12px, 1.3vw, 15px); font-weight: 600; line-height: 1.5; color: #dff4ff; }
.ffs-text b { color: #fff; }
.ffs.has-img .ffs-title { font-size: clamp(24px, 3.6vw, 44px); }
.ffs-hint { position: absolute; bottom: 5%; left: 50%; transform: translateX(-50%); font-family: Montserrat, Arial, sans-serif; font-weight: 900; font-size: 12px; letter-spacing: .2em; color: #fff; opacity: .85; animation: lcHint 1.2s ease-in-out infinite; white-space: nowrap; }
.ffs-coins { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ffs-coin { position: absolute; left: 0; top: 0; height: auto; filter: drop-shadow(0 3px 4px rgba(0,0,0,.4)); }
.ffb { background: radial-gradient(circle at 50% 45%, rgba(30,90,190,.5), rgba(2,8,26,.85)); grid-template-rows: auto auto; align-content: center; gap: 4px; }
.ffb-img { width: min(560px, 86%); height: auto; filter: drop-shadow(0 16px 30px rgba(0,0,0,.5)); }
.ffb.is-in .ffb-img, .ffb-img.is-pop { animation: lcOvIn .55s cubic-bezier(.3,1.5,.5,1) both; }
.ffb-value { margin-top: -9%; font-family: var(--lc-font); font-size: clamp(34px, 5.4vw, 72px); color: #fff; text-shadow: 0 4px 0 #062a5a, 0 0 20px rgba(120,210,255,.9); position: relative; z-index: 1; }
.ffb-value.is-pop { animation: lcBump .5s ease-out; }
.ffb.is-out { animation: ffFade .35s ease forwards; }
@keyframes ffFade { to { opacity: 0; } }
@keyframes lcHint { 50% { opacity: .35; } }

/* telemóvel */
@media (max-width: 1000px) {
  .ff-page { --lc-cell: clamp(52px, 16vw, 96px); }
  .ff-mascot { display: none; }
  .ff-side { flex-direction: row; justify-content: center; align-items: center; gap: 18px; }
  .ff-maxwin { display: none; }
}
@media (max-width: 700px) { .ff-stage { background-image: url('assets/images/ff2/bg-m.webp'); } .ff-tracker { gap: 8px; padding: 5px 10px; } }
@media (max-width: 600px) { .ff-page { --lc-cell: 16.4vw; --lc-gap: 4px; } .ff-frame { padding: 8px; } .ffs-text { font-size: 11px; } }

/* ecrãs: texto no meio do painel e o valor na barra de baixo */
.ffs-content { position: absolute; left: 12%; right: 12%; top: 22%; bottom: 30%; width: auto; margin: 0; justify-content: center; gap: 6px; }
.ffs-value { position: absolute; left: 50%; bottom: 11.5%; translate: -50% 0; width: 68%; z-index: 2; text-align: center; white-space: nowrap; font-size: clamp(13px, 2vw, 26px); }
.ffs-value.is-pop { animation: lcBump .5s ease-out; }
.ffs.has-img .ffs-title { display: none; }
.ffs.has-img .ffs-content { top: 16%; }
.ffs-img { width: auto; height: 100%; max-height: 100%; margin: 0; }
@media (max-width: 600px) { .ffs-box { width: 98%; } .ffs-title { font-size: 26px; } .ffs-text { font-size: 10.5px; line-height: 1.35; } }
.ff-logo { align-self: center; }

/* ===== estilo Big Bass: rolos grandes, peixes e pescador em casas próprias ===== */
.ff-page { --lc-cell: clamp(60px, 8.6vw, 136px); }
.ff-mascot, .ff-maxwin { display: none !important; }
.ff-tile { position: relative; width: 94%; height: 94%; border-radius: 12px; display: grid; place-items: center; overflow: hidden;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.55), inset 0 -10px 18px rgba(0,0,0,.25), 0 4px 10px rgba(0,0,0,.35); }
.ff-tile.is-fish { background: linear-gradient(180deg, #bff0ff 0%, #5cc4ff 45%, #1d6fd0 100%); }
.ff-tile.is-fish.k2 { background: linear-gradient(180deg, #d8ffe9 0%, #5fe0a5 45%, #12855a 100%); }
.ff-tile.is-fish.k3 { background: linear-gradient(180deg, #fff6c8 0%, #ffc94a 45%, #e07600 100%); }
.ff-tile .ff-fishsvg { width: 82%; height: auto; margin-top: -14%; filter: drop-shadow(0 3px 2px rgba(0,0,0,.35)); }
.ff-tile.is-fish b { position: absolute; left: 6%; right: 6%; bottom: 7%; padding: 2px 0; border-radius: 999px; text-align: center; font-family: var(--lc-font); font-weight: 400;
  font-size: calc(var(--lc-cell) * .19); color: #fff; background: rgba(4,20,52,.82); box-shadow: 0 2px 0 rgba(0,0,0,.35); letter-spacing: .02em; }
.ff-tile.is-fisher { background: radial-gradient(circle at 50% 30%, #ffe9a8 0%, #ff9d3c 45%, #b8401c 100%); }
.ff-tile.is-fisher img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.ff-scell .ff-tile { width: 80%; height: 80%; }
.ff-scell .ff-tile b { display: none; }
.lc-fx .ff-fly { position: absolute; width: calc(var(--lc-cell) * .5); pointer-events: none; filter: drop-shadow(0 0 8px rgba(140,220,255,.9)); }
.lc-fx .ff-fly svg { width: 100%; height: auto; display: block; }
.ff-cbadge { bottom: 4%; }
.lc-fx .ff-dyn { position: absolute; width: calc(var(--lc-cell) * .5); z-index: 8; pointer-events: none; filter: drop-shadow(0 6px 8px rgba(0,0,0,.5)); }
.lc-fx .ff-dyn svg { width: 100%; height: auto; display: block; }
.lc-fx .ff-boom { position: absolute; width: calc(var(--lc-cell) * 2.2); height: calc(var(--lc-cell) * 2.2); translate: -50% -50%; border-radius: 50%; z-index: 8; pointer-events: none;
  background: radial-gradient(circle, #fff 0 12%, #ffe14a 22%, #ff8a1e 42%, rgba(255,60,20,.6) 58%, transparent 70%); animation: ffBoom .8s ease-out forwards; }
@keyframes ffBoom { 0% { transform: scale(.2); opacity: 1; } 60% { opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }
.ff-tracker { padding: 5px 10px; gap: 0; }
.ff-track { display: flex; align-items: center; gap: 3px; }
.ff-tslot { width: calc(var(--lc-cell) * .36); height: calc(var(--lc-cell) * .36); object-fit: contain; opacity: .5; transition: opacity .3s; }
.ff-tslot[data-on="1"] { opacity: 1; }
.ff-tslot.is-pop { animation: lcBump .5s ease-out; }
.ff-tlv { width: calc(var(--lc-cell) * .5); height: calc(var(--lc-cell) * .5); object-fit: contain; margin: 0 4px; filter: grayscale(.5) brightness(.8); transition: filter .3s, transform .3s; }
.ff-tlv.is-on { filter: drop-shadow(0 0 10px rgba(140,230,255,.9)); transform: scale(1.1); }
@media (max-width: 1000px) { .ff-page { --lc-cell: clamp(52px, 17vw, 100px); } }
@media (max-width: 600px) { .ff-page { --lc-cell: 17vw; } .ff-tslot { width: 5.4vw; height: 5.4vw; } .ff-tlv { width: 8vw; height: 8vw; margin: 0 1px; } }

/* ===== símbolos novos (imagens) ===== */
.ff-stage { background-image: url('assets/images/ff2/bg2.webp'); background-position: center; }
@media (max-width: 700px) { .ff-stage { background-image: url('assets/images/ff2/bg2-m.webp'); } }
.ff-stage::before { background: linear-gradient(180deg, rgba(4,20,60,.15), rgba(4,20,60,.25)); }
.ff-logo img { display: block; height: clamp(70px, 9vw, 130px); width: auto; filter: drop-shadow(0 6px 14px rgba(0,0,0,.45)); }
.ff-frame { background: linear-gradient(180deg, #ffe9a0, #f5b42a 50%, #c47a08); box-shadow: 0 0 0 4px #5a3000, 0 10px 0 #5a3000, 0 26px 50px rgba(0,0,0,.45); }
.ff-board { background: linear-gradient(180deg, rgba(30,110,200,.55), rgba(8,40,100,.7)); backdrop-filter: blur(2px); }
.ff-col { background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.12)); }
.ff-sym img.ff-reg { width: 92%; height: 92%; }
.ff-sym img.ff-fisher, .ff-sym img.ff-scatter { width: 102%; height: 102%; }
.ff-tile.is-fish { background: linear-gradient(180deg, #ffe7a0 0%, #ffb547 50%, #f07a12 100%); }
.ff-tile.is-fish.k2 { background: linear-gradient(180deg, #d8ffe9 0%, #5fe0a5 45%, #12855a 100%); }
.ff-tile.is-fish.k3 { background: linear-gradient(180deg, #ffd6f0 0%, #ff6fb6 45%, #b81d6e 100%); }
.ff-tile .ff-fishimg { width: 88%; height: auto; margin-top: -18%; filter: drop-shadow(0 3px 2px rgba(0,0,0,.35)); }
.lc-fx .ff-fly img { width: 100%; height: auto; display: block; }
.lc-fx .ff-dyn { width: calc(var(--lc-cell) * .7); }
.lc-fx .ff-dyn img { width: 100%; height: auto; display: block; }
.ff-scell img.ff-reg, .ff-scell img.ff-art { width: 82%; height: 82%; }
.ff-tslot { border-radius: 6px; filter: grayscale(1) brightness(.6); opacity: .7; transition: filter .3s, opacity .3s; }
.ff-tslot[data-on="1"] { filter: none; opacity: 1; }
.lc-pt img { width: 100%; height: 100%; object-fit: contain; }
.ff-logo img { height: clamp(90px, 11vw, 170px); } .ff-logo { margin-bottom: 4px; }
@media (max-width: 600px) { .ff-page { --lc-cell: 15.2vw; --lc-gap: 3px; } .ff-frame { padding: 6px; } .ff-logo img { height: 22vw; } }
/* símbolos nunca cortados: as colunas só cortam enquanto giram */
.ff-col { overflow: visible; }
.ff-col.is-spin, .ff-col.is-tease { overflow: hidden; }
.ff-board { overflow: visible; }
.ff-cell { position: relative; z-index: 1; overflow: visible; }
.ff-cell.is-win, .ff-cell.is-scat, .ff-cell.is-collect, .ff-cell.is-hot { z-index: 3; }
.ff-sym { overflow: visible; }
.ff-sym img.ff-reg { width: 86%; height: 86%; object-fit: contain; }
.ff-sym img.ff-scatter, .ff-sym img.ff-fisher { width: 90%; height: 90%; object-fit: contain; }
.ff-cell.is-scat .ff-sym, .ff-cell.is-collect .ff-sym { animation-name: ffPulseSoft; }
@keyframes ffPulseSoft { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
/* peixes: sem caixa — o peixe grande e o valor escrito por cima, em letra de slot */
.ff-tile.is-fish, .ff-tile.is-fish.k2, .ff-tile.is-fish.k3 { background: none; box-shadow: none; overflow: visible; border-radius: 0; width: 100%; height: 100%; }
.ff-tile.is-fish::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(140,225,255,.45), transparent 70%); }
.ff-tile.is-fish.k2::before { background: radial-gradient(circle, rgba(120,255,170,.45), transparent 70%); }
.ff-tile.is-fish.k3::before { background: radial-gradient(circle, rgba(255,210,80,.6), transparent 70%); }
.ff-tile .ff-fishimg { position: relative; width: 96%; margin-top: -12%; }
.ff-tile.is-fish b { left: 0; right: 0; bottom: 4%; padding: 0; background: none; box-shadow: none; border-radius: 0;
  font-size: calc(var(--lc-cell) * .3); line-height: 1; color: #fff; -webkit-text-stroke: 0; paint-order: stroke fill;
  text-shadow: 0 0 2px #062a5a, 0 2px 0 #062a5a, 2px 0 0 #062a5a, -2px 0 0 #062a5a, 0 -2px 0 #062a5a, 0 4px 0 #041a3a, 0 6px 10px rgba(0,0,0,.5); }
.ff-tile.is-fish.k2 b { color: #c8ffd9; }
.ff-tile.is-fish.k3 b { color: #ffe14a; text-shadow: 0 0 2px #5a3000, 0 2px 0 #5a3000, 2px 0 0 #5a3000, -2px 0 0 #5a3000, 0 -2px 0 #5a3000, 0 4px 0 #3a1e00, 0 0 14px rgba(255,200,60,.8); }
/* scatter maior e a saltar para fora da casa (também nas bordas da grelha) */
.ff-sym img.ff-scatter { width: 112%; height: 112%; max-width: none; }
.ff-cell:has(.ff-scatter) { z-index: 6; }
.ff-cell.is-scat { z-index: 9; }
.ff-cell.is-scat .ff-sym { animation: ffScatZoom .55s ease-in-out 3 !important; filter: drop-shadow(0 0 14px #ffe14a) !important; }
@keyframes ffScatZoom { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.28); } }
.ff-frame, .ff-board, .ff-col, .ff-cell, .ff-sym, .lc-center { overflow: visible !important; contain: none !important; }
.ff-col.is-spin, .ff-col.is-tease { overflow: hidden !important; }
.ff-col { isolation: auto; }

/* ===== aspeto do bónus (free spins) ===== */
/* símbolos que não ganham: só um pouco mais escuros, sem ficarem cinzentos */
.ff-cell.is-dim .ff-sym { opacity: .55 !important; filter: brightness(.75) !important; }
.ff-cell.is-win .ff-sym { filter: drop-shadow(0 0 10px rgba(255,230,120,.9)) brightness(1.1); }
/* grelha nos free spins: água mais clara, moldura dourada a brilhar */
.ff-stage.is-fs .ff-board { background: linear-gradient(180deg, rgba(60,160,240,.55), rgba(10,60,140,.75)); box-shadow: inset 0 0 0 3px #041026, inset 0 0 40px rgba(120,220,255,.35); }
.ff-stage.is-fs .ff-frame { animation: ffFrameGlow 2.4s ease-in-out infinite; }
@keyframes ffFrameGlow { 50% { box-shadow: 0 0 0 4px #5a3000, 0 10px 0 #5a3000, 0 26px 50px rgba(0,0,0,.45), 0 0 46px rgba(255,210,80,.75); } }
/* barra dos pescadores: madeira gelada com casas redondas */
.ff-tracker { padding: 7px 12px; border-radius: 16px; background: linear-gradient(180deg, #7a4a22, #4e2c10); border: 3px solid #2a1606; box-shadow: inset 0 2px 0 rgba(255,220,160,.35), 0 8px 18px rgba(0,0,0,.45); position: relative; }
.ff-tracker::before { content: ""; position: absolute; left: 8px; right: 8px; top: -9px; height: 14px; border-radius: 10px; background: radial-gradient(12px 8px at 10% 70%, #fff 98%, transparent), radial-gradient(16px 9px at 35% 60%, #fff 98%, transparent), radial-gradient(14px 8px at 62% 70%, #fff 98%, transparent), radial-gradient(18px 9px at 88% 60%, #fff 98%, transparent); }
.ff-track { gap: 5px; }
.ff-tslot { position: relative; width: calc(var(--lc-cell) * .4); height: calc(var(--lc-cell) * .4); border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 40% 35%, #2a5a8a, #0b223f); box-shadow: inset 0 0 0 2px #0b1a2a, inset 0 3px 6px rgba(0,0,0,.6); filter: none; opacity: 1; }
.ff-tslot img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s cubic-bezier(.3,1.6,.5,1); }
.ff-tslot[data-on="1"] { box-shadow: 0 0 0 2px #ffd34f, 0 0 12px rgba(255,210,80,.8); }
.ff-tslot[data-on="1"] img { opacity: 1; transform: scale(1); }
.ff-tlv { width: auto; height: auto; min-width: calc(var(--lc-cell) * .62); margin: 0 5px; padding: 3px 7px; border-radius: 10px; display: inline-flex; flex-direction: column; align-items: center; line-height: 1;
  font-family: var(--lc-font); color: #9fb3c8; background: linear-gradient(180deg, #3a4a5e, #1e2a38); border: 2px solid #0e1620; filter: none; transform: none; }
.ff-tlv b { font-weight: 400; font-size: calc(var(--lc-cell) * .16); }
.ff-tlv small { font: 900 calc(var(--lc-cell) * .07)/1 Montserrat, Arial, sans-serif; letter-spacing: .06em; }
.ff-tlv i { font-style: normal; font-size: calc(var(--lc-cell) * .2); }
.ff-tlv.is-on { color: #3b2300; background: linear-gradient(180deg, #fff3a8, #ffc928); border-color: #fff; box-shadow: 0 0 14px rgba(255,210,60,.9); filter: none; transform: none; }
.ff-tlv.is-pop { animation: lcBump .6s ease-out; }
/* barra de baixo dos free spins: 3 caixas */
.ff-fsbar { display: flex; gap: 10px; padding: 0; background: none; border: 0; box-shadow: none; }
.ffb-box { display: flex; flex-direction: column; align-items: center; min-width: 110px; padding: 6px 16px; border-radius: 14px; background: linear-gradient(180deg, rgba(10,40,90,.9), rgba(4,18,48,.92)); border: 2px solid rgba(140,220,255,.55); box-shadow: 0 6px 16px rgba(0,0,0,.4); }
.ffb-box small { font: 900 10px/1 Montserrat, Arial, sans-serif; letter-spacing: .14em; color: #a9dcff; }
.ffb-box b { margin-top: 3px; font-family: var(--lc-font); font-weight: 400; font-size: 26px; line-height: 1; color: #fff; text-shadow: 0 2px 0 #062a5a; }
.ffb-box.is-mult { border-color: #ffd34f; } .ffb-box.is-mult b { color: #ffe14a; }
.ffb-box.is-win b { color: #8fffb0; }
@media (max-width: 600px) { .ffb-box { min-width: 0; flex: 1; padding: 5px 8px; } .ffb-box b { font-size: 20px; } .ff-tslot { width: 5vw; height: 5vw; } .ff-tlv { min-width: 9vw; margin: 0 2px; padding: 2px 3px; } }
.ff-tslot::before { content: ""; position: absolute; inset: 22%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237fb8e6' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M14 2v12a5 5 0 0 1-10 0v-2'/%3E%3Cpath d='M2 14l2-3 2 3'/%3E%3C/svg%3E") center/contain no-repeat; opacity: .7; }
.ff-tslot[data-on="1"]::before { display: none; }
.ff-tslot img { position: relative; }
