.phone-caption {
  right: 0;
  bottom: 0;
}

.table-felt {
  width: 390px;
  height: 470px;
  overflow: hidden;
  border: 1px solid #b4d9c8;
  border-radius: 52px;
  background: #dcefe7;
  box-shadow: none;
  transform: rotate(-7deg);
}

.table-felt::before,
.table-felt::after {
  display: block;
  position: absolute;
  border-radius: inherit;
  box-shadow: none;
}

.table-felt::before {
  inset: 31px;
  width: auto;
  height: auto;
  background: transparent;
  border: 1px solid rgba(5, 96, 68, .18);
}

.table-felt::after {
  top: 50%;
  left: 50%;
  width: 112px;
  height: 2px;
  background: var(--rose);
  border: 0;
  border-radius: 0;
  transform: translate(-50%, -50%);
}

@media (max-width: 540px) {
  .table-felt {
    width: 280px;
    height: 360px;
    transform: rotate(-4deg);
  }

  .phone-caption {
    right: 0;
    bottom: 0;
  }
}

/* Creative Tool Cards */
.tool-card {
  overflow: hidden;
  position: relative;
}

.tool-icon-box {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--rose-dark);
  margin-bottom: 22px;
  box-shadow: 0 2px 4px rgba(24, 32, 28, 0.04);
  transition: all .25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
}

.tool-icon-box svg {
  display: block;
}

.tool-card:hover .tool-icon-box {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--emerald-dark);
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tool-icon-ambient {
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  opacity: 0.04;
  pointer-events: none;
  transform: rotate(-8deg);
  transition: all .35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tool-icon-ambient svg {
  width: 100%;
  height: 100%;
}

.tool-card:hover .tool-icon-ambient {
  opacity: 0.15;
  color: #ffffff;
  transform: rotate(0deg) scale(1.18) translate(-6px, -6px);
}

.tool-card .card-arrow {
  transition: transform .2s ease, color .2s ease;
  z-index: 1;
}

.tool-card:hover .card-arrow {
  transform: translateX(5px);
}

.tool-card h3,
.tool-card p {
  position: relative;
  z-index: 1;
}

.guide-image {
  display: block;
  width: 246px;
  height: auto;
  aspect-ratio: 1 / 2;
  object-fit: cover;
}

/* Main Features Bento Grid Section */
.features-section {
  padding-top: 88px;
  padding-bottom: 96px;
}

.section-intro-text {
  max-width: 580px;
  margin: 14px 0 0;
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.features-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}

/* Bento Card Base */
.bento-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(24, 32, 28, 0.03);
  transition: transform .28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .28s cubic-bezier(0.16, 1, 0.3, 1), border-color .25s ease;
}

.bento-card:hover {
  transform: translateY(-6px);
  border-color: #b0c0b4;
  box-shadow: 0 20px 48px rgba(24, 32, 28, 0.1);
}

/* Dark Felt Card Theme (Anchor Spotlight Card 06 - Settle Up) */
.bento-card-dark {
  background: radial-gradient(circle at 85% 15%, #1b2c21 0%, #111a14 70%);
  border-color: #273d2d;
  color: #fff;
  box-shadow: 0 8px 30px rgba(7, 20, 14, 0.25);
}

.bento-card-dark:hover {
  border-color: #3b5a45;
  box-shadow: 0 24px 54px rgba(4, 15, 10, 0.38);
}

.bento-card-dark h3,
.bento-card.bento-card-dark h3 {
  color: #ffffff !important;
}

.bento-card-dark p,
.bento-card.bento-card-dark p {
  color: #e4eee7 !important;
  font-size: .94rem;
  line-height: 1.65;
}

/* Rose Theme (Spotlight Card 01 - Raise Controls) */
.bento-card-rose {
  background: linear-gradient(135deg, #fff2f5 0%, #fce2e8 55%, #fbd5de 100%);
  border-color: rgba(216, 67, 98, 0.28);
  box-shadow: 0 6px 24px rgba(216, 67, 98, 0.07);
}

.bento-card-rose:hover {
  border-color: var(--rose);
  box-shadow: 0 20px 48px rgba(216, 67, 98, 0.16);
}

.bento-card-rose h3,
.bento-card.bento-card-rose h3 {
  color: #18201c !important;
}

.bento-card-rose p,
.bento-card.bento-card-rose p {
  color: #55323a !important;
  font-size: .94rem;
  line-height: 1.65;
}

/* Tournament Card Theme */
.bento-card-tourney {
  background: linear-gradient(180deg, #ffffff 0%, #fff7f8 100%);
  border-color: #f0d5d9;
}

.bento-card-tourney:hover {
  border-color: var(--rose);
}

/* Card Variants (Spans) */
.bento-card-wide-2 {
  grid-column: span 2;
}

.bento-card-wide-3 {
  grid-column: span 3;
}

/* Horizontal Layout for Wide Cards */
.bento-card-wide-2 .bento-inner,
.bento-card-wide-3 .bento-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
  padding: 38px 44px;
  height: 100%;
}

/* Vertical Layout for Standard Cards */
.bento-card-vertical {
  padding: 32px 28px 0;
  justify-content: space-between;
}

.bento-card-vertical .bento-text {
  margin-bottom: 24px;
}

/* Text Content */
.bento-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
}

.bento-badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--emerald-dark);
  background: var(--emerald-pale);
  padding: 4px 10px;
  border-radius: 100px;
}

.bento-badge-felt {
  color: #a3f7d4;
  background: rgba(7, 132, 94, 0.35);
  border: 1px solid rgba(163, 247, 212, 0.35);
  font-weight: 700;
}

.bento-badge-rose {
  color: var(--rose-dark);
  background: var(--rose-pale);
}

.bento-badge-gold {
  color: #8c6218;
  background: #fbf0dc;
  border: 1px solid rgba(188, 141, 67, 0.22);
}

.bento-card h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.bento-card-wide-2 h3,
.bento-card-wide-3 h3 {
  font-size: 1.65rem;
}

.bento-card-dark h3 {
  color: #ffffff !important;
}

.bento-card-rose h3 {
  color: #18201c !important;
}

.bento-card p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* Phone Presentation Stage */
.bento-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 1;
}

.bento-stage-peek {
  margin-bottom: -36px;
  transition: transform .32s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover .bento-stage-peek {
  transform: translateY(-8px);
}

.bento-stage-ambient {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bento-ambient-glow {
  position: absolute;
  inset: -15%;
  pointer-events: none;
  transition: opacity .3s ease;
  opacity: .75;
}

.bento-card:hover .bento-ambient-glow {
  opacity: 1;
}

.glow-emerald {
  background: radial-gradient(circle, rgba(7, 132, 94, 0.24) 0%, rgba(7, 132, 94, 0) 70%);
}

.glow-rose {
  background: radial-gradient(circle, rgba(216, 67, 98, 0.22) 0%, rgba(216, 67, 98, 0) 70%);
}

/* Abstract Graphic Frame (Separable dark tone #3d4c43, seamless image boundary) */
.bento-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 185px;
  aspect-ratio: 1 / 2;
  border: 6px solid #3d4c43;
  border-radius: 26px;
  background: #000000;
  overflow: hidden;
  box-shadow: 12px 12px 0 var(--rose);
  transition: transform .32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .32s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Clean minimal black header so in-game screen isn't cut off by rounded top corners */
.bento-frame::before {
  content: "";
  display: block;
  width: 100%;
  height: 8px;
  background: #000000;
  flex-shrink: 0;
  z-index: 2;
}

.bento-frame > img {
  display: block;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  object-fit: cover;
  border-radius: 0;
  border: 0;
  transform: scale(1.01);
}

.bento-card-wide-2 .bento-frame,
.bento-card-wide-3 .bento-frame {
  width: 205px;
}

/* Color & Dynamic Tilt Variants */
.bento-frame-raise {
  box-shadow: 14px 14px 0 var(--rose);
  transform: rotate(-3deg);
}

.bento-card:hover .bento-frame-raise {
  transform: rotate(0deg) translateY(-8px) scale(1.02);
  box-shadow: 18px 18px 0 var(--rose);
}

.bento-frame-pots {
  box-shadow: 10px 10px 0 var(--emerald);
  transform: rotate(1.5deg);
}

.bento-card:hover .bento-frame-pots {
  transform: rotate(0deg) translateY(-8px);
  box-shadow: 14px 14px 0 var(--emerald);
}

.bento-frame-players {
  box-shadow: 10px 10px 0 #bc8d43;
  transform: rotate(-1.5deg);
}

.bento-card:hover .bento-frame-players {
  transform: rotate(0deg) translateY(-8px);
  box-shadow: 14px 14px 0 #bc8d43;
}

.bento-frame-stats {
  box-shadow: 10px 10px 0 var(--emerald-dark);
}

.bento-card:hover .bento-frame-stats {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 14px 14px 0 var(--emerald-dark);
}

.bento-frame-tourney {
  box-shadow: 10px 10px 0 var(--rose);
  transform: rotate(2deg);
}

.bento-card:hover .bento-frame-tourney {
  transform: rotate(0deg) translateY(-8px);
  box-shadow: 14px 14px 0 var(--rose);
}

.bento-frame-settle {
  box-shadow: 14px 14px 0 var(--emerald);
  transform: rotate(2.5deg);
}

.bento-card:hover .bento-frame-settle {
  transform: rotate(0deg) translateY(-8px) scale(1.02);
  box-shadow: 18px 18px 0 var(--emerald);
}

/* Floating Dynamic Telemetry Tags */
.bento-float-tag {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 100px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  font-family: var(--font-mono);
  font-size: .67rem;
  letter-spacing: .02em;
  pointer-events: none;
  transition: transform .32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .32s ease;
}

.bento-card-dark .bento-float-tag {
  background: #19271e;
  color: #f0f6f2;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
}

.tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-rose { background: var(--rose); }
.dot-emerald { background: var(--emerald); }
.dot-amber { background: #bc8d43; }

.dot-pulse-rose {
  background: var(--rose);
  box-shadow: 0 0 0 0 rgba(216, 67, 98, 0.6);
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(216, 67, 98, 0.6); }
  70% { box-shadow: 0 0 0 6px rgba(216, 67, 98, 0); }
  100% { box-shadow: 0 0 0 0 rgba(216, 67, 98, 0); }
}

/* Tag Positions & Hover Interactions */
.tag-raise {
  top: 18px;
  left: 18px;
  transform: rotate(-3deg);
}

.bento-card:hover .tag-raise {
  transform: rotate(0deg) translateY(-4px);
}

.tag-pots {
  top: -12px;
  right: 14px;
  transform: rotate(2deg);
}

.bento-card:hover .tag-pots {
  transform: translateY(-6px) rotate(0deg);
}

.tag-players {
  top: -12px;
  left: 14px;
  transform: rotate(-2deg);
}

.bento-card:hover .tag-players {
  transform: translateY(-6px) rotate(0deg);
}

.tag-stats {
  top: -12px;
  right: 14px;
  transform: rotate(1deg);
}

.bento-card:hover .tag-stats {
  transform: translateY(-6px) rotate(0deg);
}

.tag-tourney {
  top: -12px;
  left: 14px;
  transform: rotate(-2deg);
}

.bento-card:hover .tag-tourney {
  transform: translateY(-6px) rotate(0deg);
}

.tag-settle {
  top: 24px;
  left: 24px;
  transform: rotate(-2deg);
}

.bento-card:hover .tag-settle {
  transform: rotate(0deg) translateY(-4px);
}

/* Decorative Floating Chips with Parallax Hover */
.bento-chip-float {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
  pointer-events: none;
  z-index: 3;
  transition: transform .38s cubic-bezier(0.16, 1, 0.3, 1);
}

.chip-top-right {
  top: 10px;
  right: -6px;
  transform: rotate(16deg);
}

.bento-card:hover .chip-top-right {
  transform: rotate(30deg) translateY(-8px) scale(1.08);
}

.chip-bottom-left {
  bottom: 24px;
  left: -14px;
  transform: rotate(-18deg);
}

.bento-card:hover .chip-bottom-left {
  transform: rotate(-34deg) translateY(-8px) scale(1.08);
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .features-bento {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .bento-card-wide-2 {
    grid-column: span 2;
  }
  .bento-card-wide-3 {
    grid-column: span 2;
  }
  .bento-card-wide-2 .bento-inner,
  .bento-card-wide-3 .bento-inner {
    padding: 30px;
    gap: 24px;
  }
}

@media (max-width: 680px) {
  .features-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .features-bento {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 36px;
  }
  .bento-card-wide-2,
  .bento-card-wide-3 {
    grid-column: span 1;
  }
  .bento-card-wide-2 .bento-inner,
  .bento-card-wide-3 .bento-inner {
    grid-template-columns: 1fr;
    padding: 26px 20px 0;
  }
  .bento-card-vertical {
    padding: 26px 20px 0;
  }
  .bento-frame,
  .bento-card-wide-2 .bento-frame,
  .bento-card-wide-3 .bento-frame {
    width: 170px;
    border-width: 5px;
    border-radius: 22px;
  }
  .bento-frame::before {
    height: 7px;
  }
  .bento-stage-peek {
    margin-bottom: -24px;
  }
}