/* The /ringside page (Views/Home/_RingsidePromo.cshtml): download first, like an app store listing, then what the app does.
   The Ringside look without the poster: Ringside blue for actions and accents, Bebas Neue for section headings only, Lato text. */
.rs-page { font-family: Lato, Arial, sans-serif; color: #26313b; text-align: left; }
/* no text shadow: the phone layout (jQuery Mobile) puts one on all text */
.rs-page * { box-sizing: border-box; text-shadow: none; }
.rs-page a { text-decoration: none; }

/* 1. Download: the app and its stores, and one QR code on a wide screen */
.rs-get { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: 32px 0 28px; border-bottom: 1px solid #e3e9ef; }
.rs-app { display: flex; align-items: center; gap: 16px; }
.rs-tile { width: 76px; height: 76px; border-radius: 18px; background: #fff; border: 1px solid #dfe6ec; box-shadow: 0 4px 12px rgba(12,94,163,.12); display: grid; place-items: center; flex: none; }
.rs-tile img { width: 58px; }
.rs-app-name { font: 400 44px/0.95 "Bebas Neue", Arial Narrow, sans-serif; letter-spacing: 1px; color: #0c5ea3; }
.rs-by { display: flex; align-items: center; gap: 7px; margin-top: 2px; color: #5b6b78; font: italic 700 15px Lato, sans-serif; }
.rs-by img { height: 24px; }
.rs-page h1 { font: 900 34px/1.15 Lato, Arial, sans-serif; color: #1d2933; margin: 22px 0 0; text-align: left; }
.rs-lead { font-size: 17px; line-height: 1.5; color: #4a5560; margin: 10px 0 0; max-width: 620px; }
.rs-stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.rs-stores img { height: 48px; display: block; }
.rs-other { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; color: #5b6b78; font-size: 13px; }
.rs-other img { height: 34px; display: block; }
.rs-platforms { margin: 14px 0 0; color: #5b6b78; font-size: 13px; }

.rs-scan { width: 210px; text-align: center; background: #f3f7fb; border-radius: 16px; padding: 18px 18px 16px; }
.rs-scan img { width: 150px; height: 150px; display: block; margin: 0 auto 12px; background: #fff; padding: 8px; border-radius: 10px; image-rendering: pixelated; }
.rs-scan b { display: block; font-size: 15px; color: #1d2933; }
.rs-scan span { display: block; font-size: 13px; color: #5b6b78; line-height: 1.4; margin-top: 2px; }

/* 2. Three steps */
.rs-steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rs-steps li { display: flex; gap: 12px; align-items: flex-start; background: #f3f7fb; border-radius: 12px; padding: 14px 16px; }
.rs-num { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #0c5ea3; color: #fff; font: 900 15px/30px Lato, sans-serif; text-align: center; }
.rs-steps b { display: block; font-size: 15px; color: #1d2933; }
.rs-steps span:not(.rs-num) { display: block; font-size: 13.5px; color: #5b6b78; margin-top: 2px; line-height: 1.4; }

/* 3. What the app does: alternating rows, each with a real app screen in a phone frame */
.rs-page h2 { font: 400 38px/1 "Bebas Neue", Arial Narrow, sans-serif; color: #08457a; margin: 48px 0 0; text-align: left; }
.rs-page h2 em { font-style: normal; color: #d98a00; }
.rs-feats { margin-top: 10px; }
.rs-feat { display: grid; grid-template-columns: 250px 1fr; gap: 48px; align-items: center; padding: 26px 0; border-bottom: 1px solid #e3e9ef; }
.rs-feat:last-child { border-bottom: 0; }
.rs-feat.rs-flip { grid-template-columns: 1fr 250px; }
.rs-feat.rs-flip .rs-shot { order: 2; }
.rs-shot { width: 230px; height: 400px; justify-self: center; border: 7px solid #1d2933; border-radius: 30px; overflow: hidden; background: #fff; box-shadow: 0 12px 28px rgba(8,69,122,.18); }
.rs-shot img { width: 100%; display: block; }
.rs-page h3 { font-size: 21px; font-weight: 900; color: #1d2933; margin: 0; }
.rs-feat-text p { font-size: 16.5px; color: #4a5560; line-height: 1.55; margin: 8px 0 0; max-width: 480px; }

/* 4. The 1-minute tour */
.rs-video { position: relative; margin-top: 20px; border-radius: 16px; overflow: hidden; box-shadow: 0 16px 36px rgba(8,69,122,.22); aspect-ratio: 16 / 9; max-width: 680px; background: #08457a; }
.rs-video video { width: 100%; height: 100%; display: block; object-fit: cover; }

/* 5. The guides, and clubs running an event */
.rs-guides { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 22px; }
.rs-guide { border: 1.5px solid #dfe6ec; border-radius: 14px; padding: 20px; display: grid; grid-template-columns: 52px 1fr; gap: 14px; }
.rs-guide .rs-pic { width: 52px; height: 52px; border-radius: 14px; background: #e8f1f8; display: grid; place-items: center; }
.rs-page svg { width: 24px; height: 24px; stroke: #0c5ea3; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rs-guide .rs-pic svg { width: 30px; height: 30px; stroke-width: 1.8; }
.rs-guide h3 { font-size: 19px; }
.rs-guide p { color: #4a5560; font-size: 14.5px; line-height: 1.45; margin: 4px 0 0; }
.rs-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.rs-btn { display: inline-flex; align-items: center; gap: 7px; border-radius: 8px; padding: 9px 14px; font: 700 14px Lato, sans-serif; }
.rs-btn svg { width: 16px; height: 16px; stroke: currentColor; }
.rs-page a.rs-btn.rs-solid { background: #0c5ea3; color: #fff; }
.rs-page a.rs-btn.rs-line { border: 1.5px solid #0c5ea3; color: #0c5ea3; }

.rs-strip { margin: 24px 0 40px; }
.rs-card { background: #fdf3e2; border: 1.5px solid #f3cf8e; border-radius: 14px; padding: 20px 22px; }
.rs-card b { font-size: 17px; font-weight: 900; color: #1d2933; }
.rs-card p { font-size: 14.5px; color: #4a5560; margin: 4px 0 0; line-height: 1.45; }
.rs-page .rs-card a { color: #0c5ea3; font-weight: 900; }

/* the phone page (Ringside.mobile.cshtml): one column, the tall video */
.rs-page.rs-tall { padding: 0 16px; }
.rs-page.rs-tall .rs-get { grid-template-columns: 1fr; padding-top: 22px; }
.rs-page.rs-tall h1 { font-size: 28px; margin-top: 18px; }
.rs-page.rs-tall .rs-lead { font-size: 16px; }
.rs-page.rs-tall .rs-steps { grid-template-columns: 1fr; gap: 8px; }
.rs-page.rs-tall .rs-video { aspect-ratio: 9 / 16; max-width: 300px; margin-left: auto; margin-right: auto; }
.rs-page.rs-tall h2 { margin-top: 36px; }
.rs-page.rs-tall .rs-guides { grid-template-columns: 1fr; }
.rs-page.rs-tall .rs-guide { grid-template-columns: 1fr; }
.rs-page.rs-tall .rs-guide .rs-pic { display: none; }

/* a narrow window */
@media (max-width: 900px) {
    .rs-feat, .rs-feat.rs-flip { gap: 28px; }
    .rs-guides { grid-template-columns: 1fr; }
}

/* a phone-sized screen (by width, not by page: the phone page can be open on a computer): no QR code (they're already on the
   phone), the features stacked with the screen under the words */
@media (max-width: 600px) {
    .rs-get { grid-template-columns: 1fr; }
    .rs-scan { display: none; }
    .rs-steps { grid-template-columns: 1fr; gap: 8px; }
    .rs-feat, .rs-feat.rs-flip { grid-template-columns: 1fr; gap: 16px; }
    .rs-feat .rs-shot, .rs-feat.rs-flip .rs-shot { order: 2; width: 210px; height: 340px; }
    .rs-page h2 { font-size: 32px; }
}

/* the big play button over the poster (with preload="none" the browser shows none, and clicking the poster does nothing) */
.rs-page .video-play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); box-shadow: 0 8px 24px rgba(0,0,0,.35); cursor: pointer; padding: 0; }
.rs-page .video-play span { display: block; margin-left: 33px; width: 0; height: 0; border-left: 27px solid #0c5ea3; border-top: 17px solid transparent; border-bottom: 17px solid transparent; }
.rs-page .video-play:hover { background: #fff; transform: scale(1.06); }
.rs-page .video-play[hidden] { display: none; }
