/* JUNGLEE RUMMY / Website 2: ruby club identity. */
:root {
  --ink: #310b19;
  --ink-2: #4a1026;
  --felt: #6e142b;
  --felt-light: #90283e;
  --paper: #f6edd9;
  --white: #fffaf0;
  --cream: #ffefd0;
  --gold: #e8c57b;
  --gold-dark: #966829;
  --muted: #876d6b;
  --line: #c2a57755;
  --serif: Georgia, "Palatino Linotype", serif;
  --sans: "Trebuchet MS", "Segoe UI", sans-serif;
}
body { background: var(--paper); color: var(--ink); }
.reveal { opacity: 1; transform: none; transition: none; }
.container { width: min(1200px, calc(100% - 64px)); }
.site-header, .site-header.scrolled, .site-header.menu-open {
  color: var(--cream); background: #310b19f5;
  border-bottom: 1px solid #e8c57b66; box-shadow: none;
}
.nav-shell { height: 86px; }
.brand-logo { width: 51px; height: 51px; border-radius: 12px; }
.brand strong { font-size: 20px; letter-spacing: .13em; }
.brand small { font-size: 10px; letter-spacing: .39em; }
.desktop-nav { margin-inline: auto 24px; gap: 25px; }
.desktop-nav a { font-size: 13px; color: #f6dfc8; }
.desktop-nav a.active { color: #e8c57b; }
.desktop-nav a::after { bottom: -32px; height: 2px; }
.nav-actions { gap: 18px; }
.site-header .support-link { display: none; }
.site-header .button-small { min-height: 43px; border-radius: 4px; padding-inline: 23px; font-size: 12px; }
.language-menu, .mobile-menu { color: var(--cream); background: #390b1b; }
.button-gold, .button-cream, .apk-button, .about-apk-button, .text-button {
  border-radius: 6px; border: 1px solid #f0ca75;
  color: #fff2c5; background: linear-gradient(#b82736,#7c0e22);
  box-shadow: inset 0 0 0 3px #871329,inset 0 0 0 4px #d3a65e,0 4px 0 #481021,0 9px 20px #23041033;
  font-style: normal; animation: none;
}
.button-gold:hover, .button-cream:hover, .apk-button:hover, .about-apk-button:hover {
  background: linear-gradient(#d43944,#95172a); transform: translateY(-2px);
}
.button-ghost { color: var(--ink); border-color: var(--line); }
.trusted-hero { min-height: 0; padding-top: 86px; background: #330d20; border-bottom: 0; }
.hero-safety-bar { display: none; }
.trusted-hero-visual { inset: 86px 0 0; }
.trusted-hero-visual .festival-hero-image { height: 100%; width: 100%; object-fit: cover; object-position: center 4%; }
.trusted-hero::before {
  display: block; inset: 86px 0 0;
  background: linear-gradient(90deg,transparent 30%,#350a1a33 46%,#350a1ab3 63%,#270a1deb),linear-gradient(0deg,#310b19 0%,transparent 25%);
}
.trusted-hero-grid { min-height: 620px; padding: 52px 0 45px; }
.trusted-hero-copy { width: 51%; text-align: center; }
.trusted-hero-copy .eyebrow { font-size: 11px; letter-spacing: .25em; color: #e8c57b; }
.trusted-hero-copy .eyebrow > span:first-child { width: 30px; }
.trusted-hero-copy h1 { margin: 24px 0 20px; font-size: clamp(54px,5.1vw,76px); font-family: "Arial Black",var(--sans); font-weight: 900; line-height: 1.03; letter-spacing: -.045em; }
.trusted-hero-copy h1 > span { color: #fff2d3; -webkit-text-fill-color: #fff2d3; text-shadow: 0 3px #693422,0 8px 20px #23061880; }
.trusted-hero-copy h1 em { margin-top: 6px; font-size: .89em; color: #eccc86; -webkit-text-fill-color: #eccc86; text-shadow: 0 3px #74441c,0 8px 20px #23061880; }
.trusted-hero-copy > p { max-width: 370px; color: #e8d1ca; font-size: 15px; line-height: 1.7; }
.trusted-proof-grid { display: none; }
.hero-store-actions { margin-top: 28px; }
.hero-store-actions .trusted-apk-button:only-child { width: min(100%,365px); min-height: 82px; border-radius: 8px; gap: 18px; }
.trusted-apk-button .download-arrow { font: 38px/1 var(--sans); color: #ffe9ae; }
.trusted-apk-button strong { font-size: 32px; text-transform: uppercase; font-family: var(--sans); font-weight: 900; }
.trusted-apk-button small { font-size: 9px; letter-spacing: .17em; margin-bottom: 7px; }
.trusted-download-meta { margin-top: 20px; color: #d2b6b0; font-size: 10px; font-weight: 400; gap: 12px; }
.trusted-download-meta span + span::before { content: "·"; margin-right: 12px; color: #be915c; }
.hero-practice-link { margin-top: 21px; font-size: 12px; color: #e8c57b; text-decoration: underline; text-underline-offset: 5px; }
.trusted-strip { width: 100%; padding-inline: max(32px,calc((100vw - 1200px)/2)); min-height: 76px; color: #e8c57b; border: 0; border-top: 1px solid #d5ac6233; background: #310b19f2; backdrop-filter: none; }
.trusted-strip > div { min-height: 76px; border-color: #e8c57b25; gap: 11px; }
.trusted-strip strong { font-size: 19px; min-width: 25px; }
.trusted-strip span { font-size: 10px; font-weight: 400; letter-spacing: .045em; color: #efd8b7; }
.download-guide { background: #ead5ad; border: 0; color: #502332; }
.guide-row { min-height: 106px; gap: 30px; }
.guide-title { color: #4c1926; font-family: var(--serif); font-style: italic; font-size: 22px; }
.guide-row > div { flex: 1; font-size: 12px; line-height: 1.5; }
.guide-row > div > span { color: #6f4650; }
.trusted-strip span { color: #efd8b7; }
.guide-row b { color: #7a2437; border-color: #a97b4d88; border-radius: 0; width: 31px; height: 31px; font: 16px var(--serif); }
.section { padding-block: 85px; }
.section-heading { gap: 40px; margin-bottom: 38px; }
.section-heading h2, .faq-heading h2, .learn-intro h2, .community-heading h2 { font-size: clamp(34px,3.5vw,49px); color: #501528; letter-spacing: -.035em; line-height: 1.1; }
.section-heading .kicker, .faq-heading .kicker { margin-bottom: 14px; color: #925b2c; font-size: 10px; letter-spacing: .2em; }
.section-heading > p { max-width: 340px; font-size: 13px; color: #806768; line-height: 1.7; }
.section-link { color: #7e2637; font-size: 12px; border-bottom: 1px solid #b68755; padding-bottom: 6px; }
.features { color: #501528; background: #f6edd9; }
.features .container { display: grid; grid-template-columns: .8fr 1.2fr; gap: 85px; align-items: center; }
.features .section-heading { display: block; text-align: left; margin: 0; }
.features .section-heading h2 { max-width: 350px; font-size: 53px; }
.features .section-heading > p { max-width: 310px; margin-top: 23px; }
.feature-grid { border: 0; grid-template-columns: repeat(2,1fr); gap: 24px; }
.feature-card, .feature-card:first-child { min-height: 0; padding: 22px 10px 16px; text-align: left; border: 0; border-top: 1px solid #be955355; background: none; }
.feature-card:hover { background: #eddec1; transform: translateY(-3px); box-shadow: none; }
.feature-card:nth-child(2) { border-right: 0; }
.line-icon { width: 48px; height: 48px; margin: 0 0 20px; color: #8a3041; border: 1px solid #b7854b66; border-radius: 16px 0 16px 0; font-size: 26px; background: #f1e2c5; }
.feature-card h3 { font-size: 23px; margin-bottom: 12px; font-weight: 400; }
.feature-card p { color: #806768; font-size: 12px; line-height: 1.8; }
.card-tag { position: static; display: block; margin-top: 20px; color: #9b7140; font-size: 8px; letter-spacing: .17em; }
.home-rules { background: #4a1026; color: #fff0d0; position: relative; overflow: hidden; }
.home-rules::before { content: ""; position: absolute; width: 700px; height: 700px; right: -400px; top: -400px; border: 1px solid #e8c57b26; border-radius: 50%; box-shadow: 0 0 0 40px #e8c57b06,0 0 0 80px #e8c57b05; pointer-events: none; }
.home-rules .container { display: grid; grid-template-columns: 1fr 1.7fr; gap: 40px 80px; position: relative; }
.home-rules .section-heading { display: block; margin: 0; }
.home-rules .section-heading h2 { color: #ffe9b8; font-size: 49px; max-width: 320px; }
.home-rules .kicker { color: #d3a45c; }
.home-rules .section-heading > p { color: #ccacb4; margin-top: 23px; }
.rule-flow { display: block; grid-column: 2; grid-row: 1 / 3; border: 0; }
.rule-card { min-height: 0; display: grid; grid-template-columns: 48px 1fr 40px; column-gap: 22px; padding: 24px 0; border: 0; border-top: 1px solid #e8c57b40; }
.rule-card:last-child { border-bottom: 1px solid #e8c57b40; }
.rule-card > span { grid-row: 1 / 3; color: #d3a45c; font-size: 30px; }
.rule-suit { grid-column: 3; grid-row: 1 / 3; margin: auto; color: #cfab6b; font-size: 32px; }
.rule-card h3 { grid-column: 2; grid-row: 1; font-size: 26px; margin: 0 0 8px; }
.rule-card p { grid-column: 2; grid-row: 2; max-width: none; color: #d6b9bf; font-size: 13px; }
.home-rules .section-link { align-self: start; justify-self: start; margin: 0; color: #e8c57b; border-color: #d3a45c; }
.home-videos { padding-top: 85px; background: #fffaf0; }
.video-grid { gap: 26px; }
.video-card { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.video-card:hover { transform: translateY(-3px); box-shadow: none; }
.video-poster { height: auto; aspect-ratio: 16/9; border-radius: 6px; background-color: #310b19; }
.video-play { width: 60px; height: 60px; background: #fff2d7ef; color: #7c2234; border: 0; box-shadow: 0 0 0 8px #fff2d72a; }
.video-copy { padding: 23px 0 0; }
.video-copy > span, .news-copy > span { color: #99652c; font-size: 9px; }
.video-copy h3 { margin-top: 10px; color: #501528; font-size: 27px; font-weight: 400; }
.video-copy p { color: #806768; font-size: 13px; }
.home-news { padding-top: 75px; background: #f0e3c9; }
.news-grid { gap: 28px; }
.news-card { border: 0; }
.news-art { height: auto; aspect-ratio: 16/10; border-radius: 4px; background-color: #4a1026; }
.news-copy { padding: 24px 0 0; }
.news-copy h3 { font-size: 23px; font-weight: 400; color: #501528; line-height: 1.3; }
.news-copy time { color: #896754; letter-spacing: 0; font-size: 9px; }
.news-copy p { color: #806768; font-size: 12px; }
.home-faq { background: #fffaf0; color: #501528; }
.faq-grid { grid-template-columns: .8fr 1.2fr; gap: 100px; }
.faq-heading { position: static; }
.faq-heading a { color: #7e2637; }
.faq-item { border-color: #bc976c66; }
.faq-item button { font-family: var(--sans); font-size: 16px; line-height: 1.5; color: #501528; min-height: 83px; }
.faq-item i { width: 30px; height: 30px; border: 1px solid #b99b7388; border-radius: 50%; color: #8a3041; }
.faq-item i::before,.faq-item i::after { left: 7px; top: 14px; width: 14px; }
.faq-answer p { color: #806768; font-size: 13px; }
.faq-related-link, .faq-answer a { color: #7e2637; }
.faq-browser .kicker { color: #99652c; }
.faq-browser { grid-column: 1/-1; background: #f4e8ce; border: 1px solid #c2a57755; box-shadow: none; border-radius: 4px; color: #501528; }
.faq-search { background: #fffaf0; border-color: #b99b7388; border-radius: 4px; }
.faq-search input { color: #501528; }
.faq-search svg { stroke: #8a3041; }
.faq-category-button { color: #805a60; border-color: #c2a57788; background: transparent; }
.faq-category-button[aria-pressed="true"] { color: #fff2d1; border-color: #742238; background: #742238; }
.faq-category-count { color: #875963; background: #e7d8ba; }
.faq-category-button[aria-pressed="true"] .faq-category-count { color: #fff2d1; background: #ffffff22; }
.final-cta { margin: 0; padding: 64px 0; background: #6b172e; border: 0; color: #ffefcf; }
.final-cta-inner { align-items: center; gap: 25px; }
.final-cta h2 { font-size: 45px; }
.final-cta .button { min-height: 72px; min-width: 330px; font-size: 24px; line-height: 1.25; }
.site-footer { padding: 65px 0 24px; color: #ffefcf; background: #2d0a19; border-top: 1px solid #e8c57b44; }
.footer-grid { grid-template-columns: 1.5fr .65fr .8fr 1fr; gap: 65px; }
.footer-grid h3 { color: #d2a96e; font-size: 10px; }
.footer-brand p,.footer-age p { color: #c7acb0; font-size: 12px; }
.footer-grid > div > a:not(.brand) { color: #ecd8cb; }
.footer-bottom { color: #ae9299; border-color: #e8c57b33; }
.mobile-dock { background: #350b1dee; border-color: #c9a56a66; }
.page-hero { color: #fff2d1; background: #4a1026; }
.page-hero h1 { color: #e8c57b; }
.page-hero p { color: #d6b9bf; }
.games-section,.knowledge-section,.news-section,.videos-section { background: #f6edd9; }
.game-card,.contact-card,.article-feature { color: #501528; background: #fffaf0; border-color: #c2a57766; box-shadow: none; }
.contact-card p,.game-content p { color: #806768; }
.content-filter { background: #4a1026; border-radius: 4px; box-shadow: none; }
.about-content-section,.about-contact-strip,.about-final-download { background: #f6edd9; color: #501528; }
.about-principle p { color: #806768; }
.about-lead-card { background: #4a1026; color: #ffefcf; }
.legal-content { color: #501528; }
:is(a,button,input,textarea,select):focus-visible { outline-color: #c58427; }
@media (min-width: 1600px) { .trusted-hero-grid { min-height: 680px; } .trusted-hero-visual .festival-hero-image { object-position: center 2%; } }
@media (max-width: 1100px) and (min-width: 721px) {
  .desktop-nav { gap: 17px; margin-right: 10px; }
  .trusted-hero-copy { width: 55%; }
  .trusted-hero-copy h1 { font-size: 54px; }
  .home-rules .container { gap: 35px; }
  .home-rules .section-heading h2 { font-size: 40px; }
  .feature-grid { gap: 12px; }
  .feature-card { padding-inline: 8px; }
  .footer-grid { gap: 30px; }
}
@media (max-width: 720px) {
  .container { width: calc(100% - 40px); }
  .nav-shell { height: 66px; }
  .brand-logo { width: 39px; height: 39px; }
  .brand strong { font-size: 16px; }
  .brand small { font-size: 8px; }
  .trusted-hero { padding: 0; background: #310b19; }
  .trusted-hero-visual { position: relative; inset: auto; height: 290px; margin-top: 66px; }
  .trusted-hero-visual .festival-hero-image { width: 170%; height: 100%; object-fit: cover; object-position: left top; transform: none; }
  .trusted-hero::before { display: none; }
  .trusted-hero-visual::after { height: 75px; background: linear-gradient(transparent,#310b19); }
  .trusted-hero-grid { margin-top: -5px; min-height: 0; padding: 0 0 29px; }
  .trusted-hero-copy { width: 100%; }
  .trusted-hero-copy .eyebrow { display: flex; font-size: 8px; letter-spacing: .18em; }
  .trusted-hero-copy h1 { margin: 16px 0 14px; font-size: clamp(36px,10.2vw,58px); line-height: 1.03; }
  .trusted-hero-copy h1 em { font-size: .89em; }
  .trusted-hero-copy > p { max-width: 310px; font-size: 12px; line-height: 1.6; }
  .hero-store-actions { margin-top: 20px; }
  .hero-store-actions .trusted-apk-button:only-child { width: min(100%,340px); min-height: 72px; border-radius: 6px; }
  .trusted-apk-button strong { font-size: 28px; }
  .trusted-apk-button small { font-size: 8px; }
  .trusted-apk-button .download-arrow { font-size: 30px; }
  .trusted-download-meta { font-size: 9px; margin-top: 15px; gap: 8px; }
  .trusted-download-meta span + span::before { margin-right: 8px; }
  .hero-practice-link { font-size: 11px; margin-top: 16px; }
  .trusted-strip { padding-inline: 12px; grid-template-columns: repeat(2,1fr); }
  .trusted-strip > div { min-height: 54px; padding: 8px 5px !important; gap: 5px; }
  .trusted-strip span { font-size: 8px; }
  .trusted-strip strong { font-size: 16px; }
  .guide-row { display: grid; grid-template-columns: 1fr; padding-block: 28px; gap: 15px; }
  .guide-title { margin-bottom: 4px; text-align: center; font-size: 23px; }
  .guide-row > div { display: flex; justify-content: flex-start; font-size: 12px; gap: 14px; max-width: 270px; width: 100%; margin-inline: auto; }
  .guide-row b { flex: none; width: 25px; height: 25px; }
  .section { padding-block: 52px; }
  .section-heading { display: block; margin-bottom: 27px; }
  .section-heading h2,.faq-heading h2 { font-size: 35px; }
  .section-heading > p { margin-top: 15px; font-size: 12px; }
  .features .container { display: block; }
  .features .section-heading { display: block; margin-bottom: 25px; }
  .features .section-heading h2 { font-size: 38px; }
  .features .section-heading > p { margin-inline: 0; }
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .feature-card,.feature-card:first-child { min-height: 0; padding: 22px 2px; }
  .line-icon { width: 43px; height: 43px; margin-bottom: 16px; font-size: 22px; }
  .feature-card h3 { font-size: 20px; }
  .feature-card p { font-size: 11px; line-height: 1.6; }
  .card-tag { font-size: 7px; }
  .home-rules .container { display: block; }
  .home-rules .section-heading h2 { max-width: 330px; font-size: 38px; }
  .home-rules .section-heading > p { margin-top: 18px; }
  .rule-flow { margin-top: 30px; }
  .rule-card { grid-template-columns: 34px 1fr 25px; gap: 0 15px; padding: 22px 0; }
  .rule-card > span { font-size: 24px; }
  .rule-card h3 { font-size: 24px; }
  .rule-card p { font-size: 12px; }
  .rule-suit { font-size: 26px; }
  .home-rules .section-link { margin-top: 25px; }
  .section-link-top { margin-top: 17px; margin-bottom: 0; }
  .video-grid { grid-template-columns: 1fr; gap: 30px; }
  .video-copy h3 { font-size: 24px; }
  .video-copy { padding-top: 17px; }
  .video-copy p { font-size: 12px; }
  .news-grid { grid-template-columns: 1fr; gap: 27px; }
  .home-news .cms-news-card { display: grid; grid-template-columns: 112px 1fr; gap: 18px; padding-bottom: 23px; border-bottom: 1px solid #bb996644; }
  .home-news .news-art { aspect-ratio: 1; height: auto; }
  .home-news .news-copy { padding: 0; }
  .home-news .news-copy h3 { font-size: 18px; min-height: 0; margin: 8px 0 0; }
  .home-news .news-copy p,.home-news .news-copy time { display: none; }
  .faq-grid { display: block; }
  .faq-heading { margin-bottom: 25px; }
  .faq-browser { padding: 16px; margin-bottom: 30px; }
  .faq-item button { font-size: 14px; min-height: 76px; gap: 12px; }
  .faq-answer p { font-size: 12px; }
  .final-cta { padding: 44px 0; }
  .final-cta-inner { display: flex; flex-direction: column; text-align: center; align-items: center; gap: 25px; }
  .final-cta h2 { font-size: 37px; }
  .final-cta .button { width: 100%; min-width: 0; max-width: 340px; padding-inline: 18px; font-size: 22px; }
  .site-footer { padding: 48px 0 100px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-brand,.footer-age { grid-column: 1/-1; }
  .footer-age { display: flex; align-items: center; gap: 23px; }
  .footer-age strong { flex: none; font-size: 36px; }
  .footer-age p { font-size: 11px; margin: 0; }
  .footer-bottom { margin-top: 30px; display: block; font-size: 10px; }
  .footer-bottom > div { margin-top: 14px; }
  .mobile-dock a { color: #d7babe; }
  .mobile-dock a.active { color: #e8c57b; }
  .mobile-dock a.active span { background: #71402c; color: #ffebae; }
}
@media (max-width: 375px) {
  .final-cta .button { font-size: 20px; }
  .trusted-hero-visual { height: 258px; }
  .trusted-hero-copy h1 { font-size: 36px; }
  .trusted-apk-button strong { font-size: 25px; }
  .trusted-download-meta { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
