/* GeoGames — Seyahat Acentesi (oyuna özel stiller; ortak parçalar /shared/gs-game.css) */

:root { --gs-a: #db2777; --gs-b: #f59e0b; }

.sa-stage {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(280px, 38%) 1fr;
    gap: 16px;
    padding: 16px;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    overflow-y: auto;
}

/* ---------- Ofis ve müşteri ---------- */
.sa-office {
    position: relative;
    align-self: start;
    padding: 58px 16px 110px;
    border-radius: 26px;
    background:
        linear-gradient(180deg, transparent 70%, #92400e 70%, #78350f 100%),
        repeating-linear-gradient(90deg, #fdf2f8 0 38px, #fce7f3 38px 76px);
    border: 4px solid rgba(255, 255, 255, .85);
    box-shadow: 0 16px 36px -14px rgba(2, 20, 60, .6);
    overflow: hidden;
}
.sa-sign {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    border-radius: 10px;
    background: var(--navy);
    color: #fde047;
    font: 700 15px var(--display);
    letter-spacing: .06em;
    white-space: nowrap;
    box-shadow: 0 4px 0 rgba(0, 0, 0, .25);
}
.sa-customer { display: flex; align-items: flex-start; gap: 12px; }
.sa-customer.enter { animation: walkIn .5s cubic-bezier(.2, 1.2, .4, 1); }
@keyframes walkIn { from { transform: translateX(-40px); opacity: 0; } to { transform: none; opacity: 1; } }
.sa-avatar {
    flex: none;
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .15), inset 0 0 0 3px #fbcfe8;
    font-size: 44px;
}
.sa-speech {
    position: relative;
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .12);
}
.sa-speech::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 22px;
    border: 10px solid transparent;
    border-right-color: #fff;
    border-left: 0;
}
.sa-name { font: 700 17px var(--display); color: #9d174d; }
.sa-request { margin-top: 2px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.sa-wishes { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.sa-wishes li {
    padding: 7px 10px 7px 32px;
    position: relative;
    border-radius: 12px;
    background: #fdf2f8;
    color: var(--navy);
    font-weight: 900;
    font-size: 15px;
}
.sa-wishes li::before { content: '✈️'; position: absolute; left: 9px; font-size: 14px; }
.sa-mascot {
    position: absolute;
    right: 12px;
    bottom: 6px;
    width: 104px;
    height: auto;
    filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .3));
    animation: sway 3.6s ease-in-out infinite;
}

/* ---------- Ülke seçenekleri ---------- */
.sa-offers { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.sa-hint { color: #fff; font-weight: 800; font-size: 15px; }
.sa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sa-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 10px;
    border: 3px solid transparent;
    border-radius: 20px;
    background: #fff;
    color: var(--navy);
    box-shadow: 0 5px 0 rgba(11, 42, 91, .25);
    text-align: center;
    transition: transform .15s, border-color .15s;
    touch-action: manipulation;
}
.sa-option:hover:not(:disabled) { transform: translateY(-3px); border-color: #f9a8d4; }
.sa-option img { width: 96px; height: 64px; object-fit: cover; border-radius: 8px; box-shadow: 0 0 0 1px #e2e8f0, 0 4px 10px rgba(0, 0, 0, .12); }
.sa-option-name { font: 700 18px/1.15 var(--display); }
.sa-option.ok { border-color: #22c55e; background: #f0fdf4; }
.sa-option.no { border-color: #f43f5e; background: #fff1f2; }
.sa-option:disabled:not(.ok):not(.no) { opacity: .8; }
.sa-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; width: 100%; text-align: left; }
.sa-checks:empty { display: none; }
.sa-checks li { font-size: 12px; font-weight: 800; line-height: 1.3; }
.sa-checks .pass { color: #15803d; }
.sa-checks .fail { color: #be123c; }

.sa-offers .gs-round-end { position: relative; margin-top: 4px; }

/* ---------- Duyarlı düzen ---------- */
@media (max-width: 900px), (orientation: portrait) and (max-width: 1100px) {
    .sa-stage { grid-template-columns: 1fr; padding: 12px; gap: 12px; }
    .sa-office { padding-bottom: 86px; }
    .sa-mascot { width: 80px; }
}

@media (max-width: 560px) {
    .sa-avatar { width: 56px; height: 56px; font-size: 34px; }
    .sa-wishes li { font-size: 14px; }
    .sa-grid { gap: 8px; }
    .sa-option { padding: 10px 6px; }
    .sa-option img { width: 80px; height: 53px; }
    .sa-option-name { font-size: 16px; }
    .sa-checks li { font-size: 11px; }
}
