/* =========================================================
   KAKOFIND — REPSNEWS / SUMMER SAVINGS FESTIVAL (REDESIGN 2026)
   Ciemna, premium baza marki + letnie akcenty (gold/orange/teal).
   "Hot Deals, Cool Rewards"  ☀️🌴🌊
   ========================================================= */

:root {
    --bg-main: #050505;
    --bg-card: #0f0f0f;
    --bg-card-2: #141414;
    --border-color: #262626;
    --line: rgba(255, 255, 255, 0.08);
    --primary: #E60000;
    --primary-hover: #ff2d2d;
    --gold: #FFB02E;
    --gold-soft: rgba(255, 176, 46, 0.12);
    --orange: #FF7A1A;
    --teal: #00D6A8;
    --green: #00E676;
    --purple: #9b7bff;
    --text-main: #FFFFFF;
    --text-muted: #9a9a9a;
    --ease-pop: cubic-bezier(0.2, 0.8, 0.2, 1);
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Poppins', sans-serif;
    margin: 0;
}

.rn-wrapper {
    max-width: 1320px;
    margin: 130px auto 80px;
    padding: 0 28px;
    position: relative;
}
.converter-page [hidden], .rn-wrapper [hidden] { display: none !important; }

/* =========================================================
   HERO / FESTIWAL
   ========================================================= */
.rn-hero {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    margin-bottom: 40px;
    padding: 46px 50px;
    background:
        radial-gradient(ellipse 70% 120% at 88% -10%, rgba(255, 176, 46, 0.18), transparent 60%),
        radial-gradient(ellipse 60% 120% at 0% 110%, rgba(0, 214, 168, 0.12), transparent 55%),
        linear-gradient(135deg, #1a0606 0%, #0b0b0b 55%, #07090f 100%);
    border: 1px solid var(--line);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 30px;
    isolation: isolate;
}
/* promienie słońca za maskotką */
.rn-hero__rays {
    position: absolute;
    right: -120px;
    top: 50%;
    width: 520px;
    height: 520px;
    transform: translateY(-50%);
    background: conic-gradient(from 0deg,
        rgba(255, 176, 46, 0.16) 0deg, transparent 18deg,
        rgba(255, 176, 46, 0.16) 36deg, transparent 54deg,
        rgba(255, 176, 46, 0.16) 72deg, transparent 90deg,
        rgba(255, 176, 46, 0.16) 108deg, transparent 126deg,
        rgba(255, 176, 46, 0.16) 144deg, transparent 162deg,
        rgba(255, 176, 46, 0.16) 180deg, transparent 198deg,
        rgba(255, 176, 46, 0.16) 216deg, transparent 234deg,
        rgba(255, 176, 46, 0.16) 252deg, transparent 270deg,
        rgba(255, 176, 46, 0.16) 288deg, transparent 306deg,
        rgba(255, 176, 46, 0.16) 324deg, transparent 342deg);
    border-radius: 50%;
    -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%);
    mask-image: radial-gradient(circle, #000 30%, transparent 70%);
    animation: spin 90s linear infinite;
    z-index: -1;
    pointer-events: none;
}
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }

.rn-hero__content { max-width: 640px; }

.rn-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-soft);
    color: var(--gold);
    border: 1px solid rgba(255, 176, 46, 0.32);
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.rn-main-title {
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 900;
    letter-spacing: -2px;
    margin: 0 0 6px;
    text-transform: uppercase;
    line-height: 0.95;
}
.text-red { color: var(--primary); }
.rn-sun-title {
    display: block;
    font-size: clamp(1.05rem, 2.4vw, 1.5rem);
    font-weight: 800;
    margin: 6px 0 12px;
    background: linear-gradient(90deg, var(--gold), var(--orange) 50%, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.3px;
}
.rn-main-desc {
    color: #cfcfcf;
    font-size: 1.02rem;
    line-height: 1.6;
    margin: 0 0 22px;
    max-width: 560px;
}

/* pasek z kodem + CTA w hero */
.rn-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.rn-hero-code {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px dashed rgba(255, 176, 46, 0.55);
    border-radius: 12px;
    padding: 10px 10px 10px 18px;
}
.rn-hero-code .lbl { font-size: 0.66rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.rn-hero-code .val { font-family: monospace; font-size: 1.45rem; font-weight: 900; color: var(--gold); letter-spacing: 2px; line-height: 1.1; }
.rn-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, var(--primary), var(--orange));
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 14px 22px;
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(230, 0, 0, 0.35);
    transition: transform 0.2s var(--ease-pop), box-shadow 0.25s;
}
.rn-hero-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(255, 122, 26, 0.45); }
.rn-hero-cta img { width: 20px; border-radius: 4px; }
/* wariant "ghost" — cross-link do strony /kupony (szybkie kopiowanie kodów) */
.rn-hero-cta--alt {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: none;
}
.rn-hero-cta--alt:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}
.rn-hero-cta--alt i { color: var(--gold); }

.rn-hero__mascot {
    position: relative;
    width: 250px;
    flex-shrink: 0;
}
.rn-hero__mascot img {
    width: 100%;
    filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.7));
    animation: floatY 5s ease-in-out infinite;
}
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.rn-hero__mascot::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 50%; transform: translateX(-50%);
    width: 70%; height: 26px;
    background: radial-gradient(ellipse, rgba(0,0,0,0.55), transparent 70%);
    filter: blur(6px);
}
/* pływające emoji */
.rn-float { position: absolute; font-size: 1.6rem; animation: floatY 6s ease-in-out infinite; z-index: -1; opacity: 0.9; }
.rn-float--1 { top: 8%; right: 6%; animation-delay: 0s; }
.rn-float--2 { bottom: 12%; right: 30%; animation-delay: 1.2s; font-size: 1.3rem; }
.rn-float--3 { top: 18%; right: 38%; animation-delay: 2s; font-size: 1.1rem; }

/* =========================================================
   LAYOUT
   ========================================================= */
.rn-layout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 28px;
    align-items: start;
}
.rn-feed { min-width: 0; }

/* =========================================================
   KARTA ARTYKUŁU
   ========================================================= */
.rn-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.75);
}
.hot-drop::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold), var(--teal));
}
.rn-card-glow {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 60%; height: 120px;
    background: radial-gradient(ellipse, rgba(255, 176, 46, 0.12) 0%, transparent 70%);
    pointer-events: none;
}
.rn-card-header { padding: 38px 40px 24px; border-bottom: 1px solid var(--border-color); }
.rn-tags { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.rn-tag { padding: 6px 13px; border-radius: 8px; font-size: 0.76rem; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.rn-tag.hot { background: linear-gradient(90deg, var(--primary), var(--orange)); color: #fff; box-shadow: 0 0 16px rgba(255, 122, 26, 0.4); }
.rn-tag.date { background: rgba(255, 255, 255, 0.05); color: var(--text-muted); border: 1px solid var(--border-color); }
.rn-tag.new-tag { background: var(--gold-soft); color: var(--gold); border: 1px solid rgba(255, 176, 46, 0.3); }
.rn-article-title { font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin: 0; font-weight: 800; line-height: 1.18; }
.rn-article-sub { color: var(--text-muted); font-size: 0.85rem; margin: 10px 0 0; display: inline-flex; align-items: center; gap: 8px; }

.rn-content { padding: 36px 40px; }
.rn-intro { color: #ddd; font-size: 1.06rem; line-height: 1.65; margin: 0 0 34px; }

/* =========================================================
   BLOKI WYDARZEŃ (akcent przez --accent)
   ========================================================= */
.rn-block {
    --accent: var(--primary);
    --accent-soft: rgba(230, 0, 0, 0.1);
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 26px 26px 28px;
    margin-bottom: 22px;
    transition: border-color 0.25s, transform 0.25s;
}
.rn-block::before {
    content: '';
    position: absolute; left: 0; top: 22px; bottom: 22px;
    width: 3px; border-radius: 3px;
    background: var(--accent);
}
.rn-block:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--border-color)); }
.rn-block--gold   { --accent: var(--gold);   --accent-soft: var(--gold-soft); }
.rn-block--orange { --accent: var(--orange); --accent-soft: rgba(255, 122, 26, 0.12); }
.rn-block--teal   { --accent: var(--teal);   --accent-soft: rgba(0, 214, 168, 0.12); }
.rn-block--purple { --accent: var(--purple); --accent-soft: rgba(155, 123, 255, 0.12); }

.rn-block-title { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.rn-icon-box {
    width: 46px; height: 46px; border-radius: 13px;
    background: var(--accent-soft);
    color: var(--accent);
    display: grid; place-items: center;
    font-size: 1.2rem;
    border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
    flex-shrink: 0;
}
.rn-block-title h4 { font-size: 1.18rem; margin: 0; font-weight: 700; color: #fff; line-height: 1.3; }
.rn-text { color: #cccccc; font-size: 0.98rem; line-height: 1.62; margin-bottom: 14px; }
.rn-text:last-child { margin-bottom: 0; }
.rn-text strong { color: #fff; }

/* alerty */
.rn-alert {
    background: var(--accent-soft);
    border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
    border-left: 4px solid var(--accent);
    padding: 14px 18px; border-radius: 0 12px 12px 0;
    color: #d8d8d8; font-size: 0.9rem; line-height: 1.55;
}
.rn-alert strong { color: #fff; }

/* kroki "jak to działa" */
.rn-steps { display: grid; gap: 10px; margin-top: 16px; }
.rn-step {
    display: flex; align-items: center; gap: 14px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-color);
    border-radius: 12px; padding: 12px 16px;
}
.rn-step__num {
    flex: none; width: 30px; height: 30px; border-radius: 50%;
    background: var(--accent-soft); color: var(--accent);
    border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
    display: grid; place-items: center; font-weight: 800; font-size: 0.9rem;
}
.rn-step span { color: #ccc; font-size: 0.92rem; }

/* kod kuponu */
.rn-code-box {
    display: flex; align-items: center; justify-content: space-between;
    background: #000;
    border: 1px dashed color-mix(in srgb, var(--accent) 60%, #444);
    border-radius: 14px; padding: 16px 22px; margin: 20px 0; gap: 16px;
}
.code-label { font-size: 0.72rem; color: var(--text-muted); font-weight: 600; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.code-value { font-family: monospace; font-size: 1.8rem; font-weight: 900; color: var(--accent); letter-spacing: 2px; }

/* przyciski */
.rn-copy-btn {
    background: var(--accent); color: #fff; border: none; padding: 12px 22px;
    border-radius: 10px; font-weight: 700; cursor: pointer; transition: 0.25s var(--ease-pop);
    font-family: 'Poppins', sans-serif; white-space: nowrap; flex-shrink: 0;
    display: inline-flex; align-items: center; gap: 8px;
}
.rn-copy-btn:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 40%, transparent); }
.rn-copy-btn.copied { background: var(--green) !important; color: #000 !important; box-shadow: 0 0 18px rgba(0, 230, 118, 0.4) !important; }

.rn-register-row { margin-top: 22px; text-align: center; }
.rn-register-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border-color));
    color: #fff; text-decoration: none; font-weight: 700; font-size: 0.95rem;
    padding: 13px 24px; border-radius: 12px; transition: 0.25s var(--ease-pop);
}
.rn-register-btn:hover { background: var(--accent-soft); transform: translateY(-2px); border-color: var(--accent); }
.rn-register-btn img { width: 20px; border-radius: 4px; }

/* siatka ticketów (coupon pack) */
.rn-tickets-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 13px; margin: 18px 0; }
.rn-ticket {
    background: linear-gradient(135deg, #181818, #0f0f0f);
    border: 1px solid var(--border-color); border-radius: 12px; padding: 16px 12px; text-align: center;
    position: relative; overflow: hidden; transition: transform 0.25s var(--ease-pop), border-color 0.25s;
}
.rn-ticket::before, .rn-ticket::after {
    content: ''; position: absolute; top: 50%; transform: translateY(-50%);
    width: 16px; height: 16px; background: var(--bg-card); border-radius: 50%;
}
.rn-ticket::before { left: -8px; }
.rn-ticket::after { right: -8px; }
.rn-ticket:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 50%, var(--border-color)); }
.rn-ticket .val { color: var(--accent); font-size: 1.32rem; font-weight: 900; margin-bottom: 5px; }
.rn-ticket .cond { color: var(--text-muted); font-size: 0.72rem; text-transform: uppercase; font-weight: 600; letter-spacing: 0.3px; }
.rn-ticket.feat { border-color: var(--accent); background: linear-gradient(135deg, var(--accent-soft), #0f0f0f); }

.rn-mascot-inline { float: right; width: 110px; margin: 0 0 10px 20px; filter: drop-shadow(0 14px 24px rgba(0,0,0,0.6)); }

/* tiery poleceń */
.rn-tiers { display: flex; flex-direction: column; gap: 9px; margin-top: 18px; }
.rn-tier {
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border-color);
    padding: 14px 18px; border-radius: 12px; transition: 0.25s;
}
.rn-tier:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--border-color)); transform: translateX(3px); }
.rn-tier span { color: #ddd; font-weight: 600; }
.rn-tier strong { color: var(--accent); font-size: 1.18rem; font-weight: 800; }
.rn-tier.max { border-color: var(--accent); background: var(--accent-soft); }

/* podium leaderboard */
.rn-podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; margin: 20px 0 14px; }
.rn-podium__place {
    border-radius: 14px; padding: 18px 10px 16px; text-align: center;
    border: 1px solid var(--border-color); background: rgba(255, 255, 255, 0.025);
    position: relative;
}
.rn-podium__medal { font-size: 1.6rem; display: block; margin-bottom: 6px; }
.rn-podium__amt { font-weight: 900; font-size: 1.25rem; }
.rn-podium__lbl { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }
.rn-podium__place.p1 { background: linear-gradient(180deg, rgba(255, 176, 46, 0.18), transparent); border-color: var(--gold); transform: translateY(-12px); }
.rn-podium__place.p1 .rn-podium__amt { color: var(--gold); }
.rn-podium__place.p2 { border-color: rgba(200, 200, 220, 0.4); }
.rn-podium__place.p2 .rn-podium__amt { color: #d8d8e6; }
.rn-podium__place.p3 { border-color: rgba(205, 127, 50, 0.5); }
.rn-podium__place.p3 .rn-podium__amt { color: #cd7f32; }

.rn-rank-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin-top: 10px; }
.rn-rank {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border-color);
    border-radius: 10px; padding: 9px 13px; font-size: 0.85rem;
}
.rn-rank b { color: var(--text-muted); }
.rn-rank span { color: var(--gold); font-weight: 800; }

/* lista zasad */
.rn-rules { display: grid; gap: 10px; margin-top: 16px; counter-reset: rule; }
.rn-rule {
    display: flex; gap: 12px; align-items: flex-start;
    color: #c8c8c8; font-size: 0.9rem; line-height: 1.5;
    background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border-color);
    border-radius: 12px; padding: 13px 16px;
}
.rn-rule i { color: var(--accent); margin-top: 2px; flex: none; }

.rn-outro {
    margin-top: 26px; text-align: center; padding: 26px;
    border-radius: 18px;
    background: radial-gradient(ellipse at top, rgba(255, 176, 46, 0.1), transparent 70%), rgba(255, 255, 255, 0.02);
    border: 1px solid var(--line);
}
.rn-outro h4 { font-size: 1.35rem; margin: 0 0 6px; font-weight: 800; }
.rn-outro p { color: var(--text-muted); margin: 0; font-size: 0.95rem; }

.rn-micro-text { font-size: 0.82rem; color: var(--text-muted); margin-top: 14px; line-height: 1.5; }
.rn-micro-text strong { color: #ddd; }

/* =========================================================
   SIDEBAR
   ========================================================= */
.rn-sidebar { position: sticky; top: 110px; }

.rn-sidebar-cta {
    background: linear-gradient(135deg, #1a0a00 0%, #0d0d0d 100%);
    border: 1px solid rgba(255, 176, 46, 0.35);
    border-radius: 18px; padding: 22px; margin-bottom: 16px;
    text-align: center; position: relative; overflow: hidden;
    box-shadow: 0 0 25px rgba(255, 176, 46, 0.08), 0 8px 25px rgba(0, 0, 0, 0.5);
}
.rn-sidebar-cta::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 80%; height: 70px; background: radial-gradient(ellipse, rgba(255, 176, 46, 0.16), transparent 70%); pointer-events: none;
}
.rn-sidebar-cta-text { font-size: 0.88rem; color: #ddd; margin: 0 0 14px; font-weight: 600; }
.rn-sidebar-cta-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; box-sizing: border-box;
    background: linear-gradient(90deg, var(--primary), var(--orange));
    color: #fff; text-decoration: none; font-family: 'Poppins', sans-serif;
    font-weight: 800; font-size: 1rem; padding: 14px 20px; border-radius: 12px;
    transition: 0.25s var(--ease-pop); box-shadow: 0 6px 22px rgba(230, 0, 0, 0.35);
}
.rn-sidebar-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255, 122, 26, 0.5); }
.rn-sidebar-cta-btn img { width: 22px; border-radius: 4px; flex-shrink: 0; }
.rn-sidebar-cta-sub { font-size: 0.74rem; color: var(--text-muted); margin: 10px 0 0; }

.rn-sidebar-widget {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: 20px; padding: 24px; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    position: relative;
}
.widget-title {
    margin: 0 0 18px; font-size: 1.15rem; color: var(--text-main);
    display: flex; align-items: center; gap: 10px;
    border-bottom: 1px solid var(--border-color); padding-bottom: 15px; font-weight: 700;
}
.widget-title i { color: var(--gold); }

.rn-sidebar-scroll-area {
    display: block; height: 500px; max-height: 66vh;
    overflow-y: scroll; overflow-x: hidden; padding-right: 8px; box-sizing: border-box;
    -webkit-overflow-scrolling: touch; scroll-behavior: smooth;
    scrollbar-width: thin; scrollbar-color: rgba(255, 176, 46, 0.45) rgba(255, 255, 255, 0.04);
}
.rn-sidebar-scroll-area::-webkit-scrollbar { width: 5px; }
.rn-sidebar-scroll-area::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.04); border-radius: 10px; }
.rn-sidebar-scroll-area::-webkit-scrollbar-thumb { background: rgba(255, 176, 46, 0.45); border-radius: 10px; }
.rn-sidebar-scroll-area::-webkit-scrollbar-thumb:hover { background: rgba(255, 176, 46, 0.85); }

.rn-side-coupon {
    --accent: var(--primary);
    background: rgba(255, 255, 255, 0.02); border: 1px dashed var(--border-color);
    border-radius: 13px; padding: 16px; margin-bottom: 14px; transition: all 0.25s var(--ease-pop);
}
.rn-side-coupon:last-child { margin-bottom: 0; }
.rn-side-coupon:not(.expired-coupon):hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); background: rgba(255, 255, 255, 0.04); transform: translateY(-2px); }
.rn-side-coupon.feat { --accent: var(--gold); border-style: solid; border-color: var(--gold); background: linear-gradient(160deg, var(--gold-soft), rgba(255,255,255,0.02)); box-shadow: 0 0 22px rgba(255, 176, 46, 0.1); }

.side-coupon-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.side-badge {
    font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 6px;
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    color: var(--accent);
    border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
}
.side-coupon-header > i { color: var(--accent); }
.side-coupon-code {
    font-family: monospace; font-size: 1.5rem; font-weight: 900; color: var(--accent);
    letter-spacing: 1px; text-align: center; margin: 12px 0; word-break: break-word;
}
.side-coupon-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.45; text-align: center; margin-bottom: 12px; }
.side-action-buttons { display: flex; gap: 8px; width: 100%; }
.rn-copy-btn.side {
    flex: 1; padding: 10px 8px; font-size: 0.84rem; justify-content: center;
    background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-color); color: var(--text-main);
}
.rn-copy-btn.side:not(:disabled):hover { background: color-mix(in srgb, var(--accent) 16%, transparent); border-color: var(--accent); box-shadow: none; transform: none; filter: none; }
.rn-link-btn {
    display: grid; place-items: center; background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color); border-radius: 9px; width: 42px; flex-shrink: 0;
    transition: all 0.25s var(--ease-pop); text-decoration: none;
}
.rn-link-btn:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--accent); transform: translateY(-2px); }
.rn-link-btn img { width: 20px; height: 20px; border-radius: 4px; object-fit: contain; }

/* wygasłe */
.expired-divider {
    color: var(--text-muted); font-size: 0.72rem; font-weight: 700; text-align: center;
    margin: 22px 0 15px; position: relative; text-transform: uppercase; letter-spacing: 1px;
}
.expired-divider::before, .expired-divider::after { content: ""; position: absolute; top: 50%; width: 22%; height: 1px; background: var(--border-color); }
.expired-divider::before { left: 5px; } .expired-divider::after { right: 5px; }
.expired-coupon { filter: grayscale(100%); opacity: 0.4; border-color: #333; }
.expired-coupon .side-coupon-code { text-decoration: line-through; color: #888; }
.expired-coupon .side-badge { border-color: #555; color: #aaa; background: rgba(255, 255, 255, 0.05); }
.expired-coupon i { color: #888 !important; }
.expired-coupon .rn-copy-btn.side:disabled { cursor: not-allowed; opacity: 0.7; background: transparent; color: #666; }

/* =========================================================
   REVEAL
   ========================================================= */
.rn-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s var(--ease-pop); }
.rn-reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   RWD
   ========================================================= */
@media (max-width: 1100px) {
    .rn-layout-grid { grid-template-columns: 1fr; }
    .rn-sidebar { position: static; margin-top: 6px; }
    .rn-sidebar-scroll-area { height: auto; max-height: 520px; }
}
@media (max-width: 820px) {
    .rn-hero { grid-template-columns: 1fr; text-align: center; padding: 38px 26px; }
    .rn-hero__content { max-width: none; }
    .rn-hero__actions { justify-content: center; }
    .rn-hero__mascot { width: 180px; margin: 6px auto 0; }
    .rn-hero__rays { right: 50%; transform: translate(50%, -50%); top: 38%; }
    .rn-badge-top { margin-left: auto; margin-right: auto; }
}
@media (max-width: 768px) {
    .rn-wrapper { margin-top: 95px; padding: 0 14px; }
    .rn-card-header { padding: 28px 20px; }
    .rn-content { padding: 24px 18px; }
    .rn-block { padding: 22px 18px; }
    .rn-code-box { flex-direction: column; gap: 14px; text-align: center; }
    .rn-code-box .rn-copy-btn { width: 100%; box-sizing: border-box; justify-content: center; }
    .rn-mascot-inline { display: none; }
    .rn-block-title h4 { font-size: 1.05rem; }
    .rn-podium__place.p1 { transform: none; }
}
@media (max-width: 480px) {
    .rn-tickets-grid { grid-template-columns: repeat(2, 1fr); }
    .rn-podium { gap: 8px; }
    .rn-podium__amt { font-size: 1rem; }
    .rn-hero-code .val { font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .rn-reveal { opacity: 1; transform: none; }
}
