/* Scrum dersinde "Planning Poker" animasyonu için stiller. */
.reveal .poker-journey {
  --pk-accent: #107895;
  --pk-border: #cbdce1;
  --pk-surface: #f9fbfc;
  --pk-ink: #16343c;
  width: 100%;
  margin: 0.25em auto 0;
  text-align: left;
  font-size: 16px;
  line-height: 1.25;
}

.reveal .poker-journey .pk-wrap {
  position: relative;
  width: 100%;
  height: 470px;
}

.reveal .poker-journey .pk-stage {
  position: absolute;
  left: 0;
  top: 0;
  width: 1000px;
  height: 470px;
  overflow: hidden;
  transform-origin: 0 0;
  background: #fff;
  border: 1px solid var(--pk-border);
  border-radius: 10px;
  color: var(--pk-ink);
}

.reveal .poker-journey button {
  font-family: inherit;
  cursor: pointer;
}

.reveal .pk-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #86a0a8;
}

/* Sol panel */
.reveal .pk-item {
  position: absolute;
  left: 24px;
  top: 24px;
  width: 280px;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1.5px solid var(--pk-accent);
  border-radius: 10px;
  background: #e8f4f7;
}

.reveal .pk-item-title {
  margin-top: 6px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.reveal .pk-item-note {
  margin-top: 6px;
  min-height: 52px;
  font-size: 13px;
  color: #35616d;
}

.reveal .pk-deck {
  position: absolute;
  left: 24px;
  top: 190px;
  width: 280px;
}

.reveal .pk-deck-row {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.reveal .pk-deck-card {
  width: 38px;
  height: 52px;
  box-sizing: border-box;
  border: 1.5px solid #9fc3cd;
  border-radius: 6px;
  background: #fff;
  color: var(--pk-accent);
  font-size: 17px;
  font-weight: 700;
  line-height: 49px;
  text-align: center;
}

.reveal .pk-round {
  position: absolute;
  left: 340px;
  top: 24px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--pk-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

/* Oyuncular */
.reveal .pk-person {
  position: absolute;
  width: 100px;
  margin-left: -50px;
  text-align: center;
  opacity: 0.55;
  transition: opacity 0.4s, transform 0.4s;
}

.reveal .pk-person.is-active {
  opacity: 1;
  transform: translateY(-3px);
}

.reveal .pk-avatar {
  width: 44px;
  height: 44px;
  margin: 0 auto;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 44px;
  transition: box-shadow 0.4s;
}

.reveal .pk-person.is-active .pk-avatar {
  box-shadow: 0 0 0 4px rgba(16, 120, 149, 0.22);
}

.reveal .pk-person-label {
  margin-top: 3px;
  font-size: 12px;
  font-weight: 600;
  color: #35616d;
}

/* Kartlar */
.reveal .pk-card {
  position: absolute;
  top: 170px;
  width: 92px;
  height: 128px;
  margin-left: -46px;
  perspective: 600px;
  opacity: 0;
  transform: translateY(46px);
  transition: opacity 0.5s, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal .pk-card.is-in {
  opacity: 1;
  transform: translateY(0);
}

.reveal .pk-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s;
}

.reveal .pk-card.is-up .pk-card-inner {
  transform: rotateY(180deg);
}

.reveal .pk-face {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  border-radius: 10px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  text-align: center;
}

.reveal .pk-back {
  border: 2px solid #0b5d73;
  background: repeating-linear-gradient(45deg, #107895 0 8px, #1b8aa8 8px 16px);
  color: rgba(255, 255, 255, 0.85);
  font-size: 40px;
  line-height: 124px;
}

.reveal .pk-front {
  transform: rotateY(180deg);
  border: 2px solid #9fc3cd;
  background: #fff;
  color: var(--pk-accent);
  font-size: 46px;
  font-weight: 700;
  line-height: 124px;
  box-shadow: 0 2px 6px rgba(16, 52, 60, 0.15);
}

.reveal .pk-card.is-low .pk-front {
  border-color: #2e7bb8;
  color: #2e7bb8;
  background: #eef5fb;
}

.reveal .pk-card.is-high .pk-front {
  border-color: #c27a1a;
  color: #c27a1a;
  background: #fff6e8;
}

/* Tartışma balonları */
.reveal .pk-bubble {
  position: absolute;
  top: 318px;
  width: 116px;
  margin-left: -58px;
  box-sizing: border-box;
  padding: 6px 8px;
  border: 1px solid #9fc3cd;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(16, 52, 60, 0.12);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s;
}

.reveal .pk-bubble.is-on {
  opacity: 1;
  transform: translateY(0);
}

/* Ürün İş Listesi */
.reveal .pk-list {
  position: absolute;
  left: 730px;
  top: 24px;
  width: 246px;
}

.reveal .pk-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-sizing: border-box;
  height: 52px;
  margin-top: 8px;
  padding: 6px 10px;
  border: 1.5px solid #b9c8ce;
  border-radius: 8px;
  background: #fff;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
  transition: border-color 0.4s, background-color 0.4s;
}

.reveal .pk-row.is-current {
  border-color: var(--pk-accent);
  background: #eaf5f8;
}

.reveal .pk-sp {
  flex: none;
  min-width: 26px;
  height: 26px;
  padding: 0 4px;
  box-sizing: border-box;
  border-radius: 13px;
  background: #cfdadf;
  color: #7d949c;
  font-size: 13px;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
  transition: background-color 0.5s, color 0.5s, transform 0.5s;
}

.reveal .pk-sp.is-set {
  background: #2c7a3f;
  color: #fff;
  transform: scale(1.12);
}

.reveal .pk-total {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #2c7a3f;
  opacity: 0;
  transition: opacity 0.5s;
}

.reveal .pk-total.is-on {
  opacity: 1;
}

/* Alt çubuk */
.reveal .pk-progress {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 418px;
  display: flex;
  gap: 3px;
}

.reveal .pk-seg {
  flex: 1;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: #dbe6e9;
  transition: background-color 0.3s;
}

.reveal .pk-seg.is-done {
  background: #9fc3cd;
}

.reveal .pk-seg.is-current {
  background: var(--pk-accent);
}

.reveal .pk-captionbar {
  position: absolute;
  left: 0;
  right: 0;
  top: 428px;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
}

.reveal .pk-caption {
  flex: 1;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.25;
}

.reveal .pk-controls {
  display: flex;
  gap: 4px;
}

.reveal .pk-btn {
  width: 32px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--pk-accent);
  border-radius: 6px;
  background: #fff;
  color: var(--pk-accent);
  font-size: 14px;
  line-height: 1;
}

.reveal .pk-btn:hover {
  background: var(--pk-accent);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .reveal .poker-journey * {
    transition: none !important;
    animation: none !important;
  }
}
