@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Sora:wght@100..800&display=swap');


:root {
    --primary-color: #9b111e;
    --secondary-color: #232323;
    --background-color: #080808;
    --text-color: #AFAFAF;
    --accent-light: #ff4d63;
    --border-color: rgba(155, 17, 30, 0.32);
    --surface: rgba(18, 18, 18, 0.74);
    --surface-soft: rgba(255, 255, 255, 0.055);
    --surface-hover: rgba(155, 17, 30, 0.16);
    --line-soft: rgba(255, 255, 255, 0.1);
}


body {
    margin: 0;
    padding: 0;
    font-family: "Sora", sans-serif;
    background-image:
        linear-gradient(135deg, rgba(0, 0, 0, 0.82), rgba(18, 10, 11, 0.72)),
        url(images/back-2.webp);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-color: var(--secondary-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-nav,
.banner-image,
.container,
.site-footer {
    opacity: 0;
    transform: translateY(18px);
}

.site-nav {
    transform: translateY(-14px);
}

.rules-ready .site-nav,
.rules-ready .banner-image,
.rules-ready .container,
.rules-ready .site-footer {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.rules-ready .banner-image {
    transition-delay: 0.04s;
}

.rules-ready .container {
    transition-delay: 0.1s;
}

.rules-ready .site-footer {
    transition-delay: 0.14s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.background {
    min-height: 100vh;
    flex: 1 0 auto;
    background:
        radial-gradient(circle at 15% 0%, rgba(155, 17, 30, 0.26), transparent 32%),
        radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.08), transparent 25%),
        rgba(8, 8, 8, 0.78);
}

.site-nav {
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 clamp(24px, 8vw, 160px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
}

.site-nav .logo {
    position: absolute;
    left: clamp(24px, 8vw, 160px);
    z-index: 21;
}

.site-nav .logo img {
    height: 42px;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.32));
}

.site-nav .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 46px;
    padding: 5px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(41, 30, 25, 0.34);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 16px 40px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.site-nav .nav-link {
    min-width: 98px;
    min-height: 36px;
    padding: 0 18px;
    color: #f7f7f7;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.site-nav .nav-link:hover {
    transform: translateY(-1px);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.site-nav .login-btn-back {
    position: absolute;
    right: clamp(24px, 8vw, 160px);
    z-index: 21;
}

.site-nav .login-btn {
    min-width: 142px;
    height: 44px;
    padding: 0 28px;
    background: #9b111e;
    color: #ffffff;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 12px 32px rgba(155, 17, 30, 0.32);
    transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
}

.site-nav .login-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 16px 38px rgba(155, 17, 30, 0.42);
}

.rules-mobile-toggle {
    display: none;
}

.container {
    margin: 0 auto;
    padding: 126px 20px 56px;
    width: min(1180px, calc(100% - 40px));
    flex: 1 0 auto;
}

.cp-page {
    min-height: 100vh;
}

.banner-image {
    position: relative;
    width: 100%;
    height: 360px;
    margin-bottom: -210px;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    filter: saturate(0.92) contrast(1.08) brightness(0.82);
    mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
    overflow: hidden;
}

.banner-image .background-marquee-track {
    display: flex;
    width: max-content;
    height: 100%;
    animation: rules-background-scroll-left 60s linear infinite;
    will-change: transform;
}

.banner-image .background-marquee-set {
    display: flex;
    height: 100%;
    flex: none;
}

.banner-image .background-marquee-set img {
    width: 100vw;
    height: 100%;
    flex: none;
    object-fit: cover;
    object-position: center;
}

@keyframes rules-background-scroll-left {
    0%, 9.5% { transform: translateX(0); }
    10%, 19.5% { transform: translateX(-5%); }
    20%, 29.5% { transform: translateX(-10%); }
    30%, 39.5% { transform: translateX(-15%); }
    40%, 49.5% { transform: translateX(-20%); }
    50%, 59.5% { transform: translateX(-25%); }
    60%, 69.5% { transform: translateX(-30%); }
    70%, 79.5% { transform: translateX(-35%); }
    80%, 89.5% { transform: translateX(-40%); }
    90%, 99.5% { transform: translateX(-45%); }
    100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .banner-image .background-marquee-track {
        animation: none;
    }
}

.banner-image + .container {
    padding-top: 0;
}

/* ========== HEADER ========== */
header {
    position: relative;
    margin-top: 0;
    padding: 0;
    margin-bottom: 22px;
    text-align: center;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

header h1 {
    font-size: clamp(2.1rem, 5vw, 4.8rem);
    color: #f8f8f8;
    margin: 0 auto;
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: 0;
    text-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
}

header h1 b,
header h2 b {
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(194, 33, 55, 0.5);
}

header h2 {
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    color: #ffffff;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 14px;
}


header .subtitle {
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
    line-height: 1.75;
    max-width: 920px;
}

header .hashtag {
    width: fit-content;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    margin: 22px 0 18px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(155, 17, 30, 0.35);
    background: rgba(155, 17, 30, 0.12);
    text-shadow: none;
}

header .tagline {
    font-size: 1rem;
    color: #f8f8f8;
    font-weight: 700;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 10px;
}

header .description {
    font-size: 0.98rem;
    color: var(--text-color);
    line-height: 1.7;
    max-width: 940px;
    margin-top: 10px;
}


/* ========== WARNING BOX ========== */
.warning-box {
    background: linear-gradient(135deg, rgba(155, 17, 30, 0.9) 0%, rgba(91, 8, 16, 0.92) 100%);
    padding: 24px 28px;
    border-radius: 14px;
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 18px 48px rgba(0, 0, 0, 0.3);
}

.warning-box h3 {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 1.5em;
}

.rule-heading-icon {
    width: 1em;
    height: 1em;
    margin-right: 10px;
    color: var(--primary-color);
    stroke: var(--primary-color);
    vertical-align: -0.16em;
    flex: 0 0 auto;
}

.warning-box h3 .rule-heading-icon {
    color: #ffbf3d;
    stroke: #ffbf3d;
    filter: drop-shadow(0 0 8px rgba(255, 191, 61, 0.45));
}

.warning-box p {
    color: #ffffff;
    line-height: 1.5;
}

.warning-box p strong {
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
    font-weight: 700;
}

/* ========== SECTIONS ========== */
.section {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
        var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 18px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 16px 48px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(14px) saturate(130%);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}


.section h2 {
    color: #f8f8f8;
    margin-bottom: 20px;
    font-size: 1.3em;
    border-bottom: 1px solid rgba(155, 17, 30, 0.44);
    padding-bottom: 12px;
    font-weight: 800;
}

.section h3 {
    color: #f8f8f8;
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 1em;
}

.section p,
.section li {
    margin-bottom: 12px;
    color: var(--text-color);
}

.subsection {
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid var(--line-soft);
    padding: 20px;
    border-radius: 14px;
    margin: 20px 0;
}

.rule-item {
    margin: 10px 0;
    padding: 12px 14px 12px 36px;
    position: relative;
    color: var(--text-color);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.055);
    line-height: 1.6;
}

.rule-item::before {
    content: "►";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.9em;
}

.rule-item::before {
    content: "";
    left: 14px;
    top: 20px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--primary-color);
    box-shadow: 0 0 14px rgba(155, 17, 30, 0.7);
}

/* ========== CATEGORY NAVIGATION ========== */
.category-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.nav-item {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
        rgba(16, 16, 16, 0.76);
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid var(--line-soft);
    text-align: center;
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 82px;
    height: 100%;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
}

.nav-item:hover {
    transform: translateY(-3px);
    border-color: rgba(155, 17, 30, 0.58);
    background:
        linear-gradient(135deg, rgba(155, 17, 30, 0.32), rgba(255, 255, 255, 0.04)),
        rgba(16, 16, 16, 0.82);
    box-shadow: 0 16px 38px rgba(155, 17, 30, 0.18), 0 14px 36px rgba(0, 0, 0, 0.28);
}

.nav-item h4 {
    color: #f8f8f8;
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    line-height: 1.2;
    min-height: 24px;
    text-align: center;
}

.nav-item .rule-heading-icon {
    width: 22px;
    height: 22px;
    margin-right: 0;
}

ul {
    list-style: none;
}

strong {
    color: var(--primary-color);
    font-weight: 600;
}

.highlight {
    background: rgba(194, 33, 55, 0.3);
    padding: 3px 8px;
    border-radius: 5px;
    color: var(--accent-light);
    font-weight: bold;
}

/* ========== MAIN CATEGORY DROPDOWN ========== */
.main-category {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02)),
        rgba(18, 18, 18, 0.72);
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 18px 54px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px) saturate(130%);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
}

.category-header {
    padding: 20px 22px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.25s ease;
}

.category-header:hover {
    background: rgba(155, 17, 30, 0.14);
}

.category-header h2 {
    color: #f8f8f8;
    font-size: 1.3em;
    margin: 0;
    border: none;
    padding: 0;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.category-arrow {
    transition: transform 0.3s ease;
    color: var(--primary-color);
    font-size: 1.15em;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.category-arrow svg,
.action-arrow svg {
    width: 22px;
    height: 22px;
}

.category-arrow.open {
    transform: rotate(90deg);
}

.category-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 18px;
    transition: max-height 0.34s ease, padding 0.34s ease;
}

.category-content.open {
    padding: 18px;
}

/* ========== ACTION DROPDOWN ========== */
.action-dropdown {
    background: rgba(0, 0, 0, 0.24);
    border-radius: 14px;
    margin: 14px 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.action-dropdown:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 28px rgba(155, 17, 30, 0.16);
}

.action-header {
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    transition: background 0.25s ease;
}

.action-header:hover {
    background: rgba(155, 17, 30, 0.16);
}

.action-header h4 {
    color: #f8f8f8;
    font-size: 1.2em;
    margin: 0;
    font-weight: 800;
    display: flex;
    align-items: center;
}

.action-arrow {
    transition: transform 0.3s ease;
    color: var(--primary-color);
    font-size: 1.3em;
    font-weight: bold;
}

.action-arrow.open {
    transform: rotate(90deg);
}

.action-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.28s ease, padding 0.28s ease;
}

.action-content.open {
    padding: 22px;
}

/* ========== PARTICIPANTS BOX ========== */
.participants-box {
    background: rgba(194, 33, 55, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    border: 1px solid var(--border-color);
}

.participant-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15em;
    color: #ffffff;
}

.participant-item span {
    font-size: 1.3em;
}

.participant-icon {
    width: 22px;
    height: 22px;
    color: var(--primary-color);
    stroke: var(--primary-color);
}

.participant-item strong {
    color: #f8f8f8;
    font-weight: 600;
}

/* ========== ACTION RULES ========== */
.action-rules {
    margin-top: 20px;
}

.action-rules li {
    padding-left: 30px;
    position: relative;
    color: var(--text-color);
    line-height: 1.7;
}

.action-rules li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2em;
}

.action-rules li ul {
    margin-top: 10px;
}

.action-rules li ul li::before {
    content: "○";
    color: var(--accent-light);
}

/* ========== OBS BOX ========== */
.obs-box {
    background: rgba(194, 33, 55, 0.2);
    padding: 15px 20px;
    margin-top: 20px;
    border-radius: 8px;
}

.obs-box strong {
    color: var(--accent-light);
    font-size: 1.1em;
}

/* ========== FOOTER ========== */
.footer {
    display: none;
}

.footer:has(.back-to-rules) {
    display: block;
    padding: 20px;
    text-align: center;
}

.footer:has(.back-to-rules) p:not(:has(.back-to-rules)) {
    display: none;
}

.back-to-rules {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    min-width: 190px;
    min-height: 44px;
    padding: 0 28px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #f7f7f7;
    background: rgba(41, 30, 25, 0.34);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 24px rgba(0, 0, 0, 0.16);
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.back-to-rules:hover {
    transform: translateY(-1px);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
}

.site-footer {
    position: relative;
    padding: 0 20px;
    width: 100%;
    min-height: 100px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #272727;
    text-align: center;
    font-size: 0.8rem;
    color: #f8f8f8;
}

.site-footer .footer-rights {
    position: absolute;
    left: 50%;
    margin: 0;
    font-size: 0.7rem;
    white-space: nowrap;
    transform: translateX(-50%);
}

.site-footer .redes-sociais {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 40px;
}

.site-footer .redes-sociais img {
    height: 25px;
    transition: ease-in-out 0.3s;
}

.site-footer .redes-sociais .youtube-icon {
    height: 32px;
}

.site-footer .redes-sociais a {
    margin: 0 10px;
    transition: ease-in-out 0.3s;
}

.site-footer .redes-sociais a:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 2px rgba(225, 225, 225, 1));
}

.site-footer .footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 40px;
}

.site-footer .footer-logo img {
    height: 50px;
}

/* Css Scroll */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #444444;
}

/* ========== CÓDIGO PENAL ========== */
.cp-intro {
    font-size: 1em;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 24px;
}

.cp-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.cp-stat {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px 20px;
    min-width: 120px;
}

.cp-stat strong {
    display: block;
    font-size: 1.6em;
    color: #f8f8f8;
    font-weight: 700;
}

.cp-stat span {
    font-size: 0.85em;
    color: var(--text-color);
}

.cp-crime {
    padding: 16px 18px 16px 25px;
    margin: 12px 0;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
}

.cp-crime-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
    margin-bottom: 8px;
}

.cp-art {
    font-size: 0.85em;
    font-weight: 700;
    color: var(--accent-light);
    letter-spacing: 0.02em;
}

.cp-nome {
    color: #f8f8f8;
    font-weight: 600;
}

.cp-desc {
    margin: 0 0 12px 0;
    padding-left: 0;
    color: var(--text-color);
    line-height: 1.55;
    font-size: 0.95em;
}

.cp-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.cp-pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.8em;
    font-weight: 600;
}

.cp-pill-multa {
    background: rgba(194, 33, 55, 0.2);
    color: var(--accent-light);
    border: 1px solid var(--border-color);
}

.cp-pill-prisao {
    background: rgba(255, 255, 255, 0.08);
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cp-pill-muted {
    background: rgba(255, 255, 255, 0.05);
    color: #888;
    font-weight: 500;
}

.cp-badge {
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cp-badge-warn {
    color: #ffb020;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .site-nav {
        height: auto;
        padding: 18px;
        justify-content: space-between;
        position: absolute;
    }

    .site-nav .logo {
        position: static;
    }

    .site-nav .logo img {
        height: 38px;
    }

    .site-nav .nav-links {
        display: none;
    }

    .site-nav .login-btn-back {
        display: none;
    }

    .rules-mobile-toggle {
        position: fixed;
        top: 18px;
        right: 18px;
        z-index: 22;
        width: 50px;
        height: 50px;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        cursor: pointer;
    }

    .rules-mobile-toggle span {
        display: block;
        width: 28px;
        height: 3px;
        border-radius: 999px;
        background: #f8f8f8;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .site-nav.mobile-open .rules-mobile-toggle span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .site-nav.mobile-open .rules-mobile-toggle span:nth-child(2) {
        opacity: 0;
    }

    .site-nav.mobile-open .rules-mobile-toggle span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .site-nav.mobile-open .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        width: min(360px, 86vw);
        height: 100vh;
        padding: 108px 24px 30px;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 10px;
        border: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0;
        background:
            linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
            rgba(18, 18, 18, 0.94);
        box-shadow: -18px 0 50px rgba(0, 0, 0, 0.32);
        backdrop-filter: blur(20px) saturate(130%);
        -webkit-backdrop-filter: blur(20px) saturate(130%);
    }

    .site-nav.mobile-open .nav-links::before {
        content: "NAVEGAÇÃO";
        position: absolute;
        top: 42px;
        left: 24px;
        color: rgba(248, 248, 248, 0.72);
        font-family: "Plus Jakarta Sans", sans-serif;
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.14em;
    }

    .site-nav.mobile-open .nav-link {
        width: 100%;
        min-height: 54px;
        padding: 0 18px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.045);
        justify-content: flex-start;
        font-size: 1rem;
        transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    }

    .site-nav.mobile-open .nav-link:hover {
        transform: translateX(4px);
        border-color: rgba(155, 17, 30, 0.58);
        background: rgba(155, 17, 30, 0.22);
    }

    .container {
        padding: 15px;
        width: calc(100% - 24px);
    }

    .banner-image {
        height: 300px;
        margin-bottom: -190px;
    }

    header {
        margin-top: 104px;
        padding: 0 8px;
    }

    header h1 {
        font-size: clamp(2.2rem, 12vw, 3.4rem);
    }

    header .subtitle {
        font-size: 1.1em;
    }

    header .hashtag {
        font-size: 1.5em;
    }

    .section h2,
    .category-header h2 {
        font-size: 1.5em;
    }

    .category-nav {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .nav-item {
        min-height: 62px;
        padding: 14px 16px;
    }

    .participants-box {
        flex-direction: column;
        gap: 15px;
    }

    .site-footer {
        flex-direction: column;
        gap: 18px;
        padding: 28px 20px;
    }

    .site-footer .redes-sociais {
        display: none;
    }

    .site-footer .footer-logo {
        order: 1;
        margin: 0;
    }

    .site-footer .footer-rights {
        order: 2;
        position: static;
        font-size: 0.7rem;
        transform: none;
    }

    .site-footer .redes-sociais,
    .site-footer .footer-logo {
        margin: 0;
    }
}

/* ========== BUSCA NAS REGRAS ========== */
#regras-search.regras-search.section {
    width: min(820px, 100%);
    margin: 0 auto 34px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

#regras-search .regras-search-title {
    display: none;
}

#regras-search .regras-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

#regras-search .regras-search-icon {
    position: absolute;
    left: 22px;
    width: 22px;
    height: 22px;
    color: #ffffff;
    stroke: #ffffff;
    z-index: 2;
}

#regras-search .regras-search-label {
    position: absolute;
    left: 56px;
    z-index: 2;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.02rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.8);
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,.55), #ffffff, rgba(255,255,255,.55));
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: search-shine 2.4s linear infinite;
}

@keyframes search-shine {
    0% {
        background-position: 120% 0;
    }

    100% {
        background-position: -120% 0;
    }
}

#regras-search .regras-search-input {
    width: 100%;
    min-height: 58px;
    padding: 0 52px 0 148px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
        rgba(13, 13, 13, 0.62);
    color: #f8f8f8;
    font-family: inherit;
    font-size: 1.02rem;
    outline: none;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 22px 60px rgba(0, 0, 0, 0.3);
    transition: border-color 0.2s, box-shadow 0.2s;
}

#regras-search .regras-search-input::-webkit-search-decoration,
#regras-search .regras-search-input::-webkit-search-cancel-button,
#regras-search .regras-search-input::-webkit-search-results-button,
#regras-search .regras-search-input::-webkit-search-results-decoration {
    display: none;
}

#regras-search .regras-search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(155, 17, 30, 0.25), 0 14px 34px rgba(0, 0, 0, 0.22);
}

#regras-search .regras-search-input::placeholder {
    color: rgba(175, 175, 175, 0.75);
}

#regras-search .regras-search-clear {
    position: absolute;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #f8f8f8;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

#regras-search .regras-search-clear[hidden] {
    display: none !important;
}

#regras-search .regras-search-clear svg {
    width: 18px;
    height: 18px;
}

#regras-search .regras-search-clear:hover {
    background: rgba(155, 17, 30, 0.45);
}

#regras-search .regras-search-hint {
    display: none;
}

#regras-search .regras-search-results {
    margin-top: 16px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

#regras-search .regras-search-results[hidden],
#regras-search .regras-search-results:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

#regras-search .regras-search-results-head {
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(155, 17, 30, 0.42) 0%, rgba(80, 8, 15, 0.25) 100%);
    border-bottom: 1px solid var(--border-color);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
}

#regras-search .regras-search-list {
    list-style: none;
    margin: 0;
    padding: 8px;
    max-height: 420px;
    overflow-y: auto;
}

#regras-search .regras-search-item {
    list-style: none;
    margin: 0 0 8px 0;
    padding: 0;
    border: none;
}

#regras-search .regras-search-item:last-child {
    margin-bottom: 0;
}

#regras-search a.regras-search-link,
#regras-search a.regras-search-link:visited,
#regras-search a.regras-search-link:hover,
#regras-search a.regras-search-link:active {
    display: block;
    padding: 14px 16px;
    text-decoration: none;
    color: #f0f0f0;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

#regras-search a.regras-search-link:hover {
    background: rgba(155, 17, 30, 0.18);
    border-color: rgba(155, 17, 30, 0.5);
    transform: translateX(4px);
}

#regras-search .regras-search-link-page {
    display: block;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 6px;
    font-size: 0.95rem;
}

#regras-search .regras-search-link-section {
    display: block;
    font-size: 0.8rem;
    color: var(--text-color);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

#regras-search .regras-search-link-text {
    display: block;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #e8e8e8;
    margin: 0;
}

#regras-search .regras-search-empty {
    padding: 20px 18px;
    color: var(--text-color);
    line-height: 1.5;
}

#regras-search mark.regras-search-highlight {
    background: rgba(230, 57, 80, 0.45);
    color: #fff;
    padding: 1px 4px;
    border-radius: 3px;
}

.regras-search-hidden {
    display: none !important;
}

.regras-search-match {
    outline: 2px solid rgba(230, 57, 80, 0.55);
    outline-offset: 3px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    #regras-search.regras-search.section {
        padding: 12px;
        margin-bottom: 26px;
    }

    #regras-search .regras-search-input {
        font-size: 0.95rem;
        min-height: 54px;
        padding: 0 44px 0 136px;
    }

    #regras-search .regras-search-icon {
        left: 18px;
        width: 20px;
        height: 20px;
    }

    #regras-search .regras-search-label {
        left: 48px;
        font-size: 0.94rem;
    }

    #regras-search .regras-search-list {
        max-height: 320px;
    }
}
