/* ReddyBook Club - Static Site Styles */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; max-width: 100vw; overflow-x: hidden; background: #0a0103; color: #f4f4f5; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* Marquee */
@keyframes marquee { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }
.animate-marquee { display: inline-block; animation: marquee 30s linear infinite; }

/* Odds flash */
@keyframes flashBlue { 0%, 100% { background-color: #bfe6f5; } 50% { background-color: #7dd3fc; box-shadow: inset 0 0 0 2px #0ea5e9; } }
@keyframes flashPink { 0%, 100% { background-color: #f6c9d3; } 50% { background-color: #f9a8d4; box-shadow: inset 0 0 0 2px #ec4899; } }
.flashBlue { animation: flashBlue 1.2s ease-in-out; }
.flashPink { animation: flashPink 1.2s ease-in-out; }

/* Pulse bar */
@keyframes pulseBar { 0%, 100% { transform: scaleX(0.4); opacity: 0.6; } 50% { transform: scaleX(1); opacity: 1; } }
.pulseBar { animation: pulseBar 1.4s ease-in-out infinite; transform-origin: left; }

/* Whatsapp ping */
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }
.ping { animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite; }

/* Shine */
@keyframes shine { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(200%); } }
.shine { animation: shine 2.6s ease-in-out infinite; }

/* Scrollbars */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #1a0408; }
::-webkit-scrollbar-thumb { background: #7f1d1d; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #b91c1c; }

/* Layout helpers */
.container-rb { width: 100%; max-width: 1600px; margin: 0 auto; }

/* Header */
.rb-header { position: sticky; top: 0; z-index: 40; background: linear-gradient(to bottom, #2a0b13, #1a0408); border-bottom: 1px solid rgba(127,29,29,0.4); }
.rb-header-row { display: flex; align-items: center; gap: 8px; padding: 0 8px; height: 56px; }
@media (min-width: 768px) { .rb-header-row { gap: 12px; padding: 0 20px; height: 64px; } }
.rb-logo { display: flex; align-items: baseline; gap: 2px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; flex-shrink: 0; }
@media (min-width: 640px) { .rb-logo { font-size: 20px; gap: 4px; } }
@media (min-width: 768px) { .rb-logo { font-size: 30px; } }
.rb-logo .red { color: #ef4444; }
.rb-logo .white { color: #f4f4f5; }
.rb-logo .club { font-size: 10px; color: #facc15; font-weight: 700; border: 1px solid rgba(250,204,21,0.6); padding: 0 4px; border-radius: 3px; margin-left: 4px; display: none; }
@media (min-width: 640px) { .rb-logo .club { display: inline-block; } }
.rb-search-wrap { flex: 1; max-width: 640px; margin: 0 auto; display: none; }
@media (min-width: 768px) { .rb-search-wrap { display: block; } }
.rb-search { position: relative; }
.rb-search input { width: 100%; height: 40px; border-radius: 6px; background: #fff; color: #27272a; padding: 0 48px 0 16px; outline: none; border: none; font-size: 14px; }
.rb-search input:focus { box-shadow: 0 0 0 2px #ef4444; }
.rb-search button { position: absolute; right: 4px; top: 4px; bottom: 4px; padding: 0 12px; border-radius: 4px; background: #b91c1c; color: white; border: none; }
.rb-search-mobile { display: block; padding: 0 8px 8px; }
@media (min-width: 768px) { .rb-search-mobile { display: none; } }
.rb-search-mobile input { width: 100%; height: 36px; border-radius: 6px; background: #fff; color: #27272a; padding: 0 44px 0 12px; font-size: 14px; outline: none; border: none; }
.rb-search-mobile button { position: absolute; right: 4px; top: 4px; bottom: 4px; padding: 0 12px; border-radius: 4px; background: #b91c1c; color: white; border: none; }
.rb-btn-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
@media (min-width: 768px) { .rb-btn-actions { gap: 8px; } }
.rb-btn { padding: 0 10px; height: 32px; border-radius: 4px; font-weight: 600; letter-spacing: 0.02em; font-size: 11px; border: 1px solid rgba(185,28,28,0.6); background: #1a0408; color: white; transition: background 0.2s; }
.rb-btn:hover { background: rgba(127,29,29,0.3); }
@media (min-width: 768px) { .rb-btn { padding: 0 16px; height: 36px; font-size: 14px; } }
.rb-btn-rules { background: #991b1b; border: none; display: none; }
.rb-btn-rules:hover { background: #b91c1c; }
@media (min-width: 768px) { .rb-btn-rules { display: inline-flex; align-items: center; } }
.rb-menu-btn { display: flex; align-items: center; padding: 4px; color: #e4e4e7; background: transparent; border: none; flex-shrink: 0; }
@media (min-width: 1024px) { .rb-menu-btn { display: none; } }

/* Sidebar */
.rb-sidebar { position: fixed; top: 0; left: 0; z-index: 40; width: 256px; height: 100vh; background: #0d0306; border-right: 1px solid rgba(69,10,12,0.6); transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; }
.rb-sidebar.open { transform: translateX(0); }
@media (min-width: 1024px) { .rb-sidebar { position: sticky; top: 64px; height: calc(100vh - 64px); transform: translateX(0); width: 240px; flex-shrink: 0; } }
.rb-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 30; }
.rb-overlay.show { display: block; }
@media (min-width: 1024px) { .rb-overlay.show { display: none; } }
.rb-side-header { padding: 12px; border-bottom: 1px solid rgba(69,10,12,0.6); }
.rb-side-link { display: flex; align-items: center; gap: 12px; padding: 12px 16px; font-size: 14px; color: #d4d4d8; border-left: 2px solid transparent; transition: all 0.2s; }
.rb-side-link:hover { background: rgba(69,10,12,0.3); color: white; }
.rb-side-link.active { border-left-color: #ef4444; background: rgba(127,29,29,0.2); color: white; }
.rb-side-cat { padding: 8px 12px; font-size: 11px; text-transform: uppercase; color: #71717a; letter-spacing: 0.15em; }
.rb-help { padding: 12px; margin: 16px 12px 12px; border-radius: 8px; background: linear-gradient(to bottom right, rgba(127,29,29,0.4), rgba(69,10,12,0.4)); border: 1px solid rgba(127,29,29,0.4); }
.rb-help a { display: block; text-align: center; font-size: 14px; padding: 8px; border-radius: 4px; background: #16a34a; color: white; font-weight: 600; }

/* Main */
.rb-layout { display: flex; }
.rb-main { flex: 1; min-width: 0; max-width: 100%; padding: 16px 12px; }
@media (min-width: 768px) { .rb-main { padding: 16px 20px; } }

/* Cards */
.rb-game-card { position: relative; overflow: hidden; border-radius: 8px; background: rgba(24,24,27,0.5); border: 1px solid #27272a; transition: all 0.3s; cursor: pointer; display: block; }
.rb-game-card:hover { border-color: rgba(239,68,68,0.6); }
.rb-game-card img { width: 100%; height: 112px; object-fit: cover; transition: transform 0.5s; }
@media (min-width: 768px) { .rb-game-card img { height: 128px; } }
.rb-game-card:hover img { transform: scale(1.05); }
.rb-game-card-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 8px; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); font-size: 11px; font-weight: 600; color: white; }

.rb-grid { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .rb-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .rb-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
@media (min-width: 1024px) { .rb-grid { grid-template-columns: repeat(6, 1fr); } }

.rb-section-title { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 6px; background: linear-gradient(to right, rgba(127,29,29,0.7), rgba(69,10,12,0.3)); border-left: 4px solid #dc2626; margin-bottom: 12px; }
.rb-section-title h2 { color: white; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 14px; margin: 0; }
.rb-section-title .icon { color: #fcd34d; }

/* Promo */
.rb-promo { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid #27272a; padding: 24px 20px; min-height: 180px; }
@media (min-width: 768px) { .rb-promo { padding: 40px 32px; min-height: 220px; } }
.rb-promo[data-tone="red"] { background: linear-gradient(to right, #7f1d1d, #b91c1c, #450a0a); }
.rb-promo[data-tone="amber"] { background: linear-gradient(to right, #92400e, #d97706, #451a03); }
.rb-promo[data-tone="purple"] { background: linear-gradient(to right, #581c87, #7e22ce, #2e1065); }
.rb-promo-tag { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; background: rgba(0,0,0,0.3); color: #fcd34d; font-size: 12px; font-weight: 600; letter-spacing: 0.15em; }
.rb-promo h2 { font-size: 24px; font-weight: 800; color: white; margin: 8px 0 4px; letter-spacing: -0.02em; }
@media (min-width: 768px) { .rb-promo h2 { font-size: 36px; } }
.rb-promo-cta { display: inline-block; padding: 10px 20px; border-radius: 6px; background: white; color: #18181b; font-weight: 700; transition: background 0.2s; }
.rb-promo-cta:hover { background: #fcd34d; }
.rb-promo-dots { display: flex; justify-content: center; gap: 6px; }
.rb-promo-dot { height: 6px; border-radius: 999px; background: rgba(255,255,255,0.4); width: 6px; transition: all 0.3s; }
.rb-promo-dot.active { background: white; width: 24px; }

/* Stats */
.rb-stats { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); margin-top: 16px; }
@media (min-width: 768px) { .rb-stats { grid-template-columns: repeat(4, 1fr); } }
.rb-stat { padding: 16px; border-radius: 8px; border: 1px solid #27272a; background: linear-gradient(to bottom right, rgba(24,24,27,0.8), #09090b); display: flex; align-items: center; gap: 12px; transition: border-color 0.2s; }
.rb-stat:hover { border-color: rgba(185,28,28,0.6); }
.rb-stat-icon { padding: 10px; border-radius: 8px; background: rgba(39,39,42,0.7); }
.rb-stat-num { font-size: 22px; font-weight: 800; color: white; font-variant-numeric: tabular-nums; }
@media (min-width: 768px) { .rb-stat-num { font-size: 26px; } }
.rb-stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: #a1a1aa; }

/* Marquee bar */
.rb-marquee { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 6px; background: rgba(24,24,27,0.6); border: 1px solid #27272a; margin-bottom: 16px; overflow: hidden; }
.rb-marquee-icon { color: #facc15; flex-shrink: 0; }

/* Events board */
.rb-board { border-radius: 6px; overflow: hidden; border: 1px solid #d4d4d8; box-shadow: 0 1px 3px rgba(0,0,0,0.1); background: white; margin-top: 24px; }
.rb-board-header { display: flex; align-items: center; gap: 12px; padding: 8px 12px; background: linear-gradient(to right, #b91c1c, #a81a1f, #7f1d1d); }
.rb-board-title { display: flex; align-items: center; gap: 8px; }
.rb-board-title .circle { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 999px; background: white; color: #b91c1c; }
.rb-board-title h2 { color: white; font-weight: 800; letter-spacing: 0.05em; font-size: 16px; margin: 0; }
@media (min-width: 768px) { .rb-board-title h2 { font-size: 18px; } }
.rb-board-pills { margin-left: auto; display: flex; gap: 8px; }
.rb-pill { display: inline-flex; align-items: center; gap: 4px; padding: 0 12px; height: 28px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.8); color: white; font-size: 12px; font-weight: 600; background: transparent; }
@media (min-width: 768px) { .rb-pill { padding: 0 16px; font-size: 14px; } }
.rb-pill:hover { background: rgba(255,255,255,0.1); }

.rb-event { background: white; border-bottom: 1px solid #e4e4e7; }
.rb-event-row { display: flex; align-items: center; gap: 8px; padding: 8px 12px; }
.rb-event-info { flex: 1; min-width: 0; }
.rb-event-title { color: #18181b; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 768px) { .rb-event-title { font-size: 16px; } }
.rb-event-league { font-size: 11px; text-transform: uppercase; color: #71717a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-event-meta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.rb-live { display: flex; flex-direction: column; align-items: center; }
.rb-live-text { font-size: 11px; font-weight: 700; color: #059669; line-height: 1; }
.rb-live-bar { margin-top: 2px; display: inline-block; width: 28px; height: 2px; background: #10b981; border-radius: 999px; }
.rb-event-date { display: flex; flex-direction: column; align-items: center; font-size: 11px; font-weight: 600; color: #dc2626; line-height: 1.2; }
.rb-event-flags { display: none; align-items: center; gap: 6px; }
@media (min-width: 768px) { .rb-event-flags { display: flex; } }
.rb-flag-bm { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 999px; font-size: 10px; font-weight: 700; background: #ec4899; color: white; }
.rb-flag-f { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 999px; font-size: 10px; font-weight: 700; color: #ec4899; }

.rb-odds { display: grid; grid-template-columns: repeat(6, 1fr); }
.rb-odd-cell { display: flex; align-items: center; justify-content: center; height: 48px; color: #18181b; font-weight: 700; font-size: 18px; border-right: 1px solid rgba(255,255,255,0.7); }
.rb-odd-cell:last-child { border-right: none; }
.rb-odd-blue { background-color: #bfe6f5; }
.rb-odd-pink { background-color: #f6c9d3; }

/* Floating WhatsApp */
.rb-wa { position: fixed; bottom: 24px; right: 24px; z-index: 50; }
.rb-wa-btn { position: relative; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 999px; background: #16a34a; color: white; box-shadow: 0 10px 25px rgba(20,83,45,0.4); transition: background 0.2s; }
.rb-wa-btn:hover { background: #15803d; }
.rb-wa-ping { position: absolute; inset: 0; border-radius: 999px; background: #22c55e; opacity: 0.6; }

/* Modals */
.rb-modal-bg { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,0.7); backdrop-filter: blur(4px); padding: 16px; }
.rb-modal-bg.open { display: flex; }
.rb-modal { position: relative; width: 100%; max-width: 384px; border-radius: 16px; border: 1px solid rgba(127,29,29,0.5); background: linear-gradient(to bottom, #1a0408, #0a0103); padding: 24px; box-shadow: 0 25px 50px rgba(0,0,0,0.5); }
.rb-modal-close { position: absolute; top: 12px; right: 12px; background: transparent; border: none; color: #d4d4d8; padding: 4px; }
.rb-modal-close:hover { color: white; }
.rb-modal h2 { margin: 12px 0 0; color: white; font-size: 20px; font-weight: 700; letter-spacing: 0.05em; }
.rb-modal p { color: #a1a1aa; font-size: 14px; line-height: 1.6; margin: 8px 0 0; }
.rb-modal-divider { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; margin: 20px 0; }
.rb-modal-divider .line { height: 1px; background: #3f3f46; }
.rb-modal-divider .text { font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: #71717a; }
.rb-modal-cta { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; border-radius: 8px; background: #16a34a; color: white; font-weight: 700; letter-spacing: 0.02em; overflow: hidden; border: none; }
.rb-modal-cta:hover { background: #22c55e; }
.rb-modal-info { margin-top: 12px; padding: 12px; border-radius: 8px; border: 1px solid #27272a; background: rgba(24,24,27,0.4); display: flex; gap: 8px; }
.rb-modal-info-text { font-size: 12px; color: #d4d4d8; line-height: 1.5; }
.rb-modal-switch { margin-top: 20px; text-align: center; font-size: 14px; color: #a1a1aa; }
.rb-modal-switch a { color: #f87171; font-weight: 600; cursor: pointer; }
.rb-modal-switch a:hover { color: #fca5a5; }

/* Footer */
.rb-footer { margin-top: 40px; border-top: 1px solid rgba(69,10,12,0.6); background: #0a0103; }
.rb-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 32px 12px; }
@media (min-width: 768px) { .rb-features { grid-template-columns: repeat(4, 1fr); padding: 32px 20px; } }
.rb-feature { padding: 16px; border-radius: 8px; border: 1px solid #27272a; background: rgba(24,24,27,0.5); transition: border-color 0.2s; }
.rb-feature:hover { border-color: rgba(185,28,28,0.6); }
.rb-feature-icon { color: #facc15; margin-bottom: 8px; }
.rb-feature h3 { color: white; font-weight: 600; margin: 0; font-size: 16px; }
.rb-feature p { font-size: 12px; color: #a1a1aa; margin: 4px 0 0; }
.rb-payments { padding: 24px 12px; border-top: 1px solid #18181b; text-align: center; }
.rb-payments-label { color: #a1a1aa; font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 12px; }
.rb-payments-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.rb-payment { padding: 8px 16px; border-radius: 6px; background: linear-gradient(to bottom, #27272a, #18181b); border: 1px solid #3f3f46; color: #e4e4e7; font-size: 14px; font-weight: 600; }
.rb-foot-grid { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 32px 12px; border-top: 1px solid #18181b; }
@media (min-width: 768px) { .rb-foot-grid { grid-template-columns: repeat(3, 1fr); padding: 32px 20px; } }
.rb-foot-grid h3 { color: white; font-weight: 600; margin: 0 0 8px; font-size: 16px; }
.rb-foot-grid p { font-size: 14px; color: #a1a1aa; margin: 0; line-height: 1.6; }
.rb-foot-grid ul { list-style: none; margin: 0; padding: 0; }
.rb-foot-grid li { font-size: 14px; color: #a1a1aa; padding: 3px 0; }
.rb-foot-grid li a:hover { color: white; }
.rb-foot-cta { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 6px; background: #16a34a; color: white; font-weight: 600; margin-top: 12px; }
.rb-foot-cta:hover { background: #22c55e; }
.rb-copyright { padding: 16px 12px; border-top: 1px solid #18181b; text-align: center; font-size: 12px; color: #71717a; }

/* Headings inside content (SEO pages) */
.rb-content { padding: 24px 16px; max-width: 960px; margin: 0 auto; }
.rb-content h1 { font-size: 28px; font-weight: 800; color: white; margin: 0 0 8px; line-height: 1.2; }
@media (min-width: 768px) { .rb-content h1 { font-size: 36px; } }
.rb-content h2 { font-size: 22px; font-weight: 700; color: white; margin: 28px 0 10px; }
.rb-content h3 { font-size: 18px; font-weight: 600; color: #fca5a5; margin: 20px 0 6px; }
.rb-content p { color: #d4d4d8; line-height: 1.7; font-size: 15px; margin: 0 0 12px; }
.rb-content ul, .rb-content ol { color: #d4d4d8; line-height: 1.8; font-size: 15px; padding-left: 22px; margin: 0 0 12px; }
.rb-content a.inline { color: #fca5a5; text-decoration: underline; }
.rb-breadcrumb { display: flex; gap: 6px; font-size: 12px; color: #a1a1aa; margin-bottom: 8px; }
.rb-breadcrumb a:hover { color: white; }
.rb-cta-card { margin: 24px 0; padding: 20px; border-radius: 12px; background: linear-gradient(to right, rgba(22,163,74,0.15), rgba(22,163,74,0.05)); border: 1px solid rgba(22,163,74,0.4); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.rb-cta-card-text { color: #e4e4e7; font-size: 16px; font-weight: 600; }
.rb-cta-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 8px; background: #16a34a; color: white; font-weight: 700; }
.rb-cta-btn:hover { background: #22c55e; }
.rb-faq details { background: rgba(24,24,27,0.5); border: 1px solid #27272a; border-radius: 8px; padding: 12px 16px; margin: 8px 0; }
.rb-faq details[open] { border-color: rgba(185,28,28,0.5); }
.rb-faq summary { color: white; font-weight: 600; cursor: pointer; list-style: none; position: relative; padding-right: 24px; }
.rb-faq summary::after { content: '+'; position: absolute; right: 0; top: 0; color: #ef4444; font-size: 20px; line-height: 1; }
.rb-faq details[open] summary::after { content: '−'; }
.rb-faq p { color: #a1a1aa; margin: 8px 0 0; }
