/* ============================= */
/* RESET */
/* ============================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
   background:#000000;
    color:#d4b896;
    font-family:'Crimson Pro',serif;
    min-height:100vh;
}

/* ============================= */
/* NAVBAR */
/* ============================= */

.navbar{

    position:sticky;

    top:0;

    z-index:999;

    height:70px;

    background:#000;

    border-bottom:2px solid #c8923a;

    display:grid;

    grid-template-columns:280px 1fr 280px;

    align-items:center;

    padding:0 40px;

}

/* Logo */

.logo{

    display:flex;

    align-items:center;

    gap:12px;

    justify-self:start;

}

.star{

    font-size:34px;

}

.brand h2{

    color:#c8923a;

    font-family:'Rye', serif;

    font-size:24px;

}

.brand span{

    color:#777;

    font-size:13px;

    letter-spacing:4px;

}

/* Menu */

.menu{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:35px;

}

.nav-btn{

    color:#d4b896;

    text-decoration:none;

    font-size:16px;

    padding:22px 0;

    position:relative;

    transition:.3s;

}

.nav-btn::after{

    content:"";

    position:absolute;

    left:50%;

    bottom:12px;

    width:0;

    height:2px;

    background:#68ce24;

    transform:translateX(-50%);

    transition:.3s;

}

.nav-btn:hover{

    color:#68ce24;

}

.nav-btn:hover::after{

    width:100%;

}

.nav-btn.active{

    color:#68ce24;

}

.nav-btn.active::after{

    width:100%;

}

/* Busca */

.search-box{

    display:flex;

    justify-content:flex-end;

}

.search-box input{

    width:220px;

    padding:10px 15px;

    border:1px solid #c8923a;

    background:#111;

    color:#fff;

    border-radius:25px;

    outline:none;

}

.search-box input::placeholder{

    color:#777;

}

/* ============================= */
/* HERO */
/* ============================= */

.hero{

    width:100%;

    display:flex;

    justify-content:center;

    align-items:center;

}

.hero-content{

     width:100%;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:50px;

    background-size:cover;

    background-position:center;

    position:relative;

}

.hero-content::before{

    content:"";

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.55);

}

.hero-content>*{

    position:relative;

    z-index:2;

}

.hero h1{

    font-family:'Rye';

    font-size:55px;

    color:#ca9c03;

}

.hero p{

    margin-top:20px;

    max-width:850px;

    color:#ffffff;

    line-height:1.8;

}

.home-hero .hero-content{
    min-height: calc(77vh - 9px);

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    padding:120px 40px 80px;

    background-image:url("img/banner_novo.png");
    background-size:cover;
    background-position:left center;
    background-repeat:no-repeat;

}


.rules-hero .hero-content{

    background: linear-gradient(#3afa29, #000);

    height: 220px;

}

.regulations-hero .hero-content{

    background: linear-gradient(#3afa29, #000);

    height: 220px;

}

.lore-hero .hero-content{

    background: linear-gradient(#3afa29, #000);

    height: 220px;

}

.team-hero .hero-content{

    background: linear-gradient(#3afa29, #000);

    height: 220px;

}

/* ============================= */
/* LAYOUT */
/* ============================= */

.container{

    display:flex;

    height:calc(100vh - 180px);
}

/* ============================= */
/* SIDEBAR */
/* ============================= */



.sidebar-title{

    color:#ca9c03;

    font-family:'Rye';

    font-size:18px;

    text-align:center;

    margin-bottom:20px;

    border-bottom:1px solid #000000;

    padding-bottom:15px;

}

.category-btn{

    width:100%;

    display:flex;

    align-items:center;

    gap:12px;

    padding:14px 16px;

    margin-bottom:10px;

    background:#000000;

    border:1px solid #ca9c03;

    border-radius:8px;

    color:#ffffff;

    cursor:pointer;

    transition:.25s;

    text-align:left;

    font-size:15px;

}

.category-btn:hover{

    background:#000000;

    border-color:#c8923a;

    transform:translateX(5px);

}

.category-btn.active{

    border-color: #3afa29;

    color:#207c17;

    background:rgba(77, 190, 25, 0.137);

    font-weight: bold;
}

.chapter-number{

    width:32px;

    height:32px;

    border-radius:50%;

    background:#c8923a;

    color:#000;

    display:flex;

    align-items:center;

    justify-content:center;

    font-weight:bold;

    flex-shrink:0;

}

/* ============================= */
/* CONTEÚDO */
/* ============================= */

.content{

    
    width:100%;

    padding:60px;

    background:#000;

    color:#fff;

}

#ruleContent{

    display:flex;

    flex-direction:column;

    gap:25px;

}

.rule-card{

    background:#111111;

    border:1px solid #2d2d2d;

    border-left:5px solid #68ce24;

    border-radius:10px;

    padding:28px;

    transition:.3s;

    box-shadow:0 10px 25px rgba(0,0,0,.25);

}

.rule-card:hover{

    transform:translateY(-4px);

    border-left-color:#c8923a;

    box-shadow:0 15px 35px rgba(0,0,0,.45);

}

.rule-card h3{

    display:flex;

    align-items:center;

    gap:12px;

    color:#c8923a;

    font-family:'Rye';

    font-size:24px;

    margin-bottom:18px;

}

.rule-card h3 span{

    font-size:22px;

}

.rule-card ul{

    list-style:none;

    margin:0;

    padding:0;

}

.rule-card li{

    position:relative;

    padding-left:28px;

    margin-bottom:14px;

    line-height:1.8;

    color:#dddddd;

}

.rule-card li::before{

    content:"✔";

    position:absolute;

    left:0;

    color:#68ce24;

    font-weight:bold;

}

/* ============================= */
/* CARTAZ */
/* ============================= */

.poster{

    background:#427222d5;

    border:1px solid #24360b;

    border-top:3px solid #8cee30;

    padding:30px;

    margin-bottom:35px;

    text-align:center;
}

.poster span{

    color:#f7be04;

    letter-spacing:4px;

    text-transform:uppercase;

    font-size:12px;
    
    font-weight: bold;
}

.poster h2{

    margin-top:10px;

    font-family:'Rye';

    color:#f3f3f2;

    font-size:30px;
}

.poster p{

    margin-top:12px;

    color:#ffc506;

    font-weight: bold;
}

/* ============================= */
/* SEÇÕES */
/* ============================= */

.section{

    margin-bottom:35px;
    margin-left: 20px;
}

.section h3{

    color:#c8923a;

    margin-bottom:12px;

    text-transform:uppercase;

    letter-spacing:3px;

    font-size:15px;
}

.section ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

.section li{

     display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 18px;

    color: #c4a882;

    font-size: 18px;
    line-height: 1.7;
}

.section li::before{

    content: "›";

    color: #39a024;

    font-size: 24px;

    font-weight: bold;

    flex-shrink: 0;
}

/* ============================= */
/* FOOTER */
/* ============================= */

footer{

    margin-top:50px;

    padding-top:25px;

    padding-bottom: 25px;

    border-top:1px solid #ca9c03;

    color:#ffffff;

    text-align:center;

    font-style:italic;
}

/* ============================= */
/* SCROLL */
/* ============================= */

::-webkit-scrollbar{

    width:6px;
}

::-webkit-scrollbar-track{

    background:#000000;
}

::-webkit-scrollbar-thumb{

    background:#68ce24;
}

::-webkit-scrollbar-thumb:hover{

    background:#0a460d;
}

/* ============================= */
/* RESPONSIVO */
/* ============================= */

@media(max-width:900px){

    .sidebar{

        width:210px;
    }

    .content{

        padding:25px;
    }

}

@media(max-width:700px){

    .container{

        flex-direction:column;
    }

    .sidebar{

        width:100%;

        height:230px;
    }

    .navbar{
        display:flex;
        flex-direction:column;
        align-items:stretch;
        height:auto;
        padding:14px 18px;
    }

    .logo{
        justify-content:center;
    }

    .menu{
        width:100%;
        justify-content:center;
        flex-wrap:wrap;
        gap:6px 18px;
        margin:12px 0 4px;
    }

    .nav-btn{
        padding:8px 0;
        font-size:14px;
    }

    .nav-btn::after{
        bottom:2px;
    }

    .search-box{

        width:100%;
    }

    .search-box input{

        width:100%;
    }

    .hero-content{
        padding:35px 20px;
    }

    .rules-hero .hero-content,
    .regulations-hero .hero-content,
    .lore-hero .hero-content,
    .team-hero .hero-content{
        height:auto;
        min-height:220px;
    }

    .hero h1{
        font-size:38px;
        line-height:1.2;
    }

    .content{
        padding:20px;
    }

}

.rule-topic{
    margin-top:18px;
    padding:22px 26px 18px;
    border-bottom:1px solid rgba(200,146,58,.55);
    background:linear-gradient(90deg, rgba(200,146,58,.12), transparent 70%);
}

.rule-topic:first-child{
    margin-top:0;
}

.rule-topic span{
    color:#68ce24;
    font-size:11px;
    font-weight:700;
    letter-spacing:3px;
    text-transform:uppercase;
}

.rule-topic h2{
    margin:8px 0 0;
    color:#c8923a;
    font-family:'Rye';
    font-size:30px;
}

.buttons{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:20px;

    margin-top:35px;

    flex-wrap:wrap;

}

.buttons{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:20px;

    margin-top:35px;

    flex-wrap:wrap;

}

.discord-btn{

    display:flex;

    justify-content:center;

    align-items:center;

    min-width:170px;

    height:50px;

    background:#68ce24;

    color:#ffffff;

    text-decoration:none;

    font-weight:bold;

    border-radius:8px;

    transition:.3s;

}

.discord-btn:hover{

    box-shadow:0 0 30px rgba(104,206,36,.45);

    transform:translateY(-3px);

}

.social-buttons{

    margin-top:25px;

    display:flex;

    justify-content:center;

}

.discord-btn,.instagram-btn{

    display:flex;

    align-items:center;

    gap:12px;

    padding:14px 28px;

    background-color: #ca9c03;

    color:#1e7a15;

    text-decoration:none;

    font-weight:bold;

    border-radius:8px;

    transition:.3s;
}

.instagram-btn i{

    font-size:22px;

}

.instagram-btn:hover{

    transform:translateY(-3px);

    box-shadow:0 0 30px rgba(104,206,36,.45);

}

.lore{

    max-width:1200px;

    margin:auto;

    padding:70px 30px;

}

.lore-intro{

    text-align:center;

    margin-bottom:70px;

}

.lore-intro h2{

    font-family:'Rye';

    color:#c8923a;

    font-size:40px;

    margin-bottom:20px;

}

.lore-intro p{

    max-width:850px;

    margin:auto;

    line-height:2;

    color:#d8d8d8;

}

.timeline{

    position:relative;

    margin-top:40px;

}

.timeline::before{

    content:"";

    position:absolute;

    left:22px;

    top:0;

    bottom:0;

    width:3px;

    background:#68ce24;

}

.chapter{

    position:relative;

    margin-left:60px;

    margin-bottom:60px;

    padding:30px;

    background:#111;

    border-radius:10px;

    border-left:5px solid #68ce24;

}

.chapter::before{

    content:"";

    position:absolute;

    width:18px;

    height:18px;

    background:#68ce24;

    border-radius:50%;

    left:-48px;

    top:35px;

}

.chapter span{

    color:#c8923a;

    letter-spacing:3px;

    font-size:12px;

}

.chapter h3{

    margin:12px 0;

    font-family:'Rye';

    color:#fff;

    font-size:30px;

}

.chapter p{

    line-height:1.9;

    color:#ccc;

}

.regulations{

    max-width:1300px;

    margin:auto;

    padding:60px 40px;

}

.intro-card{

    background:#121212;

    border-left:5px solid #68ce24;

    border-radius:10px;

    padding:35px;

    margin-bottom:40px;

}

.intro-card h2{

    font-family:'Rye';

    color:#c8923a;

    margin-bottom:15px;

}

.intro-card p{

    line-height:1.8;

    color:#ddd;

}

.regulations{

    max-width:1300px;

    margin:auto;

    padding:50px;

}

.regulations-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:20px;

    margin-bottom:40px;

}

.regulation-card{

    background:#111;

    border:1px solid #2a2a2a;

    border-left:5px solid #68ce24;

    border-radius:8px;

    padding:25px;

    cursor:pointer;

    transition:.3s;

}

.regulation-card:hover{

    transform:translateY(-5px);

    border-left-color:#c8923a;

}

.regulation-card h3{

    color:#c8923a;

    font-family:'Rye';

    margin-bottom:15px;

}

.regulation-card p{

    color:#ddd;

    line-height:1.7;

}

#regulationContent{

    display:flex;

    flex-direction:column;

    gap:25px;

}

/* ============================= */
/* GRID DAS LORES */
/* ============================= */

.lore-grid{
    display:grid;
    grid-template-columns:repeat(3, 280px);
    justify-content:center;
    gap:25px;
    padding:40px 20px;
}

/* ============================= */
/* CARD */
/* ============================= */

.lore-card{

    width:100%;
    min-height:220px;

    display:flex;
    flex-direction:column;

    padding:22px;

    background:#1d140d;

    border:2px solid #c8923a;
    border-radius:10px;

    transition:.3s;

}

.lore-card:hover{

    transform:translateY(-8px);

    border-color:#68ce24;

    box-shadow:0 0 25px rgba(104,206,36,.25);

}

/* ============================= */
/* ÍCONE */
/* ============================= */

.lore-icon{

    font-size:30px;

    margin-bottom:18px;

}

/* ============================= */
/* TÍTULO */
/* ============================= */

.lore-card h2{

    font-family:'Rye';

    color:#c8923a;

    font-size:24px;

    margin-bottom:12px;

}

/* ============================= */
/* DESCRIÇÃO */
/* ============================= */

.lore-card p{

    color:#d2c6b5;

    font-size:15px;

    line-height:1.7;

    margin-bottom:20px;

}

/* ============================= */
/* BOTÃO */
/* ============================= */

.read-btn{

    display:block;

    width:100%;

    margin-top:auto;

    padding:12px;

    background:#68ce24;

    color:#000;

    text-align:center;

    text-decoration:none;

    font-weight:bold;

    border-radius:6px;

    transition:.25s;

}

.read-btn:hover{

    background:#8cee30;

    transform:translateY(-2px);

}

/* ============================= */
/* RESPONSIVO */
/* ============================= */

@media(max-width:1000px){

    .lore-grid{

        grid-template-columns:repeat(2,280px);

    }

}

@media(max-width:650px){

    .lore-grid{
        grid-template-columns:minmax(0, 1fr);
        padding:28px 20px;

    }

    .lore-card{
        min-height:0;
    }

    .lore-book{
        margin:20px auto;
        padding:24px 20px;
        font-size:16px;
    }

    .lore-book h2{
        font-size:25px;
    }

}

/* =========================================================
   IDENTIDADE VISUAL CACTUS RP — 2026
   ========================================================= */

:root{
    --cactus-gold:#e19c3d;
    --cactus-gold-soft:#f2bd68;
    --cactus-white:#f5f5f5;
    --cactus-silver:#dcdcdc;
    --cactus-gray:#bfbfbf;
    --cactus-sand:#bea88a;
    --cactus-ink:#080807;
    --cactus-panel:rgba(19,17,14,.94);
    --cactus-line:rgba(225,156,61,.35);
}

body{
    background:
        linear-gradient(rgba(5,5,4,.94),rgba(5,5,4,.97)),
        url("img/brand/desert-bg.png") center top/cover fixed;
    color:var(--cactus-sand);
}

body::before{
    content:"";
    position:fixed;
    inset:0;
    z-index:-1;
    pointer-events:none;
    background:
        radial-gradient(circle at 50% 0,rgba(225,156,61,.10),transparent 38%),
        repeating-linear-gradient(100deg,transparent 0 14px,rgba(255,255,255,.008) 15px);
}

.navbar{
    height:84px;
    grid-template-columns:190px 1fr 190px;
    padding:0 34px;
    background:rgba(6,6,5,.92);
    border-bottom:1px solid rgba(225,156,61,.65);
    box-shadow:0 14px 36px rgba(0,0,0,.48);
    backdrop-filter:blur(14px);
}

.logo{
    min-width:150px;
}

.star{
    width:152px;
    height:60px;
    flex:0 0 auto;
    font-size:0;
    background:url("img/brand/logo-horizontal.png") left center/contain no-repeat;
    filter:drop-shadow(0 5px 10px rgba(0,0,0,.75));
}

.brand{
    display:none;
}

.menu{
    gap:clamp(18px,2.5vw,40px);
}

.nav-btn{
    color:var(--cactus-silver);
    padding:31px 0 27px;
    font-size:15px;
    letter-spacing:.025em;
}

.nav-btn::after{
    bottom:20px;
    height:2px;
    background:var(--cactus-gold);
    box-shadow:0 0 12px rgba(225,156,61,.7);
}

.nav-btn:hover,
.nav-btn.active{
    color:var(--cactus-gold-soft);
}

.hero-content{
    overflow:hidden;
}

.home-hero .hero-content{
    min-height:calc(100vh - 84px);
    padding:130px 40px 95px;
    background-image:
        linear-gradient(90deg,rgba(5,4,3,.78),rgba(5,4,3,.20) 50%,rgba(5,4,3,.68)),
        linear-gradient(0deg,rgba(5,4,3,.88),transparent 48%),
        url("img/brand/banner-gold-clean.png");
    background-position:center;
}

.home-hero .hero-content::before{
    background:linear-gradient(90deg,rgba(0,0,0,.28),transparent 55%,rgba(0,0,0,.20));
}

.rules-hero .hero-content,
.regulations-hero .hero-content,
.lore-hero .hero-content,
.team-hero .hero-content,
.regulation-hero .hero-content{
    height:280px;
    background:
        linear-gradient(90deg,rgba(6,5,4,.80),rgba(6,5,4,.42),rgba(6,5,4,.80)),
        url("img/brand/desert-bg.png") center 48%/cover no-repeat;
    border-bottom:1px solid rgba(225,156,61,.6);
    box-shadow:inset 0 -70px 70px rgba(0,0,0,.75);
}

.hero-content::before{
    background:linear-gradient(0deg,rgba(5,5,4,.88),rgba(5,5,4,.20) 62%,rgba(5,5,4,.58));
}

.hero h1{
    color:var(--cactus-white);
    font-size:clamp(38px,4.5vw,62px);
    letter-spacing:.025em;
    text-shadow:0 3px 0 rgba(0,0,0,.8),0 0 28px rgba(225,156,61,.32);
}

.hero p{
    color:var(--cactus-silver);
    font-size:17px;
}

.subtitle{
    color:var(--cactus-gold);
    font-weight:700;
    letter-spacing:.28em;
    text-transform:uppercase;
}

.content,
.regulations{
    width:min(1180px,calc(100% - 40px));
    margin:0 auto;
    padding:58px 0 76px;
}

.container{
    min-height:calc(100vh - 364px);
    height:auto;
}

.sidebar{
    background:rgba(12,11,9,.96);
    border-right:1px solid var(--cactus-line);
}

.sidebar-title,
.intro-card h2,
.regulation-card h3,
.lore-card h2,
.rule-card h3,
.lore-book h2{
    color:var(--cactus-gold-soft);
}

.intro-card,
.rule-card,
.regulation-card,
.lore-card,
.lore-book,
.founder-card,
.about-text{
    background:
        linear-gradient(145deg,rgba(30,25,19,.95),rgba(13,12,10,.98));
    border:1px solid var(--cactus-line);
    box-shadow:0 16px 40px rgba(0,0,0,.34),inset 0 1px rgba(255,255,255,.025);
}

.rule-card,
.regulation-card,
.lore-card{
    position:relative;
    overflow:hidden;
    border-radius:16px;
}

.rule-card::before,
.regulation-card::before,
.lore-card::before{
    content:"";
    position:absolute;
    inset:0 auto 0 0;
    width:3px;
    background:linear-gradient(var(--cactus-gold-soft),#83511a);
}

.rule-card:hover,
.regulation-card:hover,
.lore-card:hover{
    transform:translateY(-5px);
    border-color:rgba(225,156,61,.72);
    box-shadow:0 20px 48px rgba(0,0,0,.48),0 0 24px rgba(225,156,61,.08);
}

.rule-card li,
.regulation-card p,
.lore-card p,
.intro-card p,
.lore-book p,
.about-text p{
    color:#d8d0c5;
}

.rule-card li::before{
    color:#68ce24;
    text-shadow:0 0 10px rgba(104,206,36,.28);
}

.regulations-grid,
.lore-grid{
    grid-template-columns:repeat(auto-fit,minmax(270px,1fr));
    gap:24px;
}

.lore-grid{
    width:min(1120px,calc(100% - 40px));
    margin:0 auto;
    padding:58px 0 78px;
}

.lore-card{
    min-height:245px;
    padding:26px;
    border-width:1px;
}

.read-btn,
.rule-btn,
.discord-btn,
.instagram-btn{
    background:linear-gradient(135deg,var(--cactus-gold-soft),var(--cactus-gold));
    color:#171008;
    border:1px solid #f0bd70;
    box-shadow:0 8px 22px rgba(225,156,61,.18);
}

.read-btn:hover,
.rule-btn:hover,
.discord-btn:hover,
.instagram-btn:hover{
    background:var(--cactus-white);
    color:#0c0b09;
    border-color:var(--cactus-white);
}

#regulationContent{
    scroll-margin-top:110px;
}

.regulation-tabs{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    position:sticky;
    top:96px;
    z-index:30;
    padding:10px;
    margin-bottom:8px;
    background:rgba(9,8,7,.88);
    border:1px solid var(--cactus-line);
    border-radius:16px;
    backdrop-filter:blur(14px);
    box-shadow:0 14px 34px rgba(0,0,0,.34);
}

.regulation-tab{
    min-height:48px;
    padding:11px 16px;
    border:1px solid rgba(190,168,138,.22);
    border-radius:10px;
    background:rgba(255,255,255,.035);
    color:var(--cactus-silver);
    font:600 15px 'Crimson Pro',serif;
    cursor:pointer;
    transition:.25s ease;
}

.regulation-tab:hover{
    color:var(--cactus-white);
    border-color:rgba(225,156,61,.5);
}

.regulation-tab.active{
    background:linear-gradient(135deg,var(--cactus-gold-soft),var(--cactus-gold));
    color:#15100a;
    border-color:var(--cactus-gold-soft);
    box-shadow:0 7px 22px rgba(225,156,61,.20);
}

.rule-card[hidden]{
    display:none!important;
}

footer{
    color:var(--cactus-sand);
    background:#080807;
    border-top:1px solid var(--cactus-line);
}

@media(max-width:1100px){
    .navbar{
        grid-template-columns:150px 1fr;
        padding:0 24px;
    }

    .menu{
        justify-content:flex-end;
        gap:20px;
    }

    .star{
        width:132px;
    }
}

@media(max-width:900px){
    .navbar{
        height:auto;
        min-height:76px;
        grid-template-columns:1fr;
        padding:10px 18px 0;
    }

    .logo{
        justify-self:center;
    }

    .star{
        width:125px;
        height:48px;
    }

    .menu{
        width:100%;
        justify-content:flex-start;
        gap:24px;
        overflow-x:auto;
        scrollbar-width:none;
    }

    .menu::-webkit-scrollbar{
        display:none;
    }

    .nav-btn{
        flex:0 0 auto;
        padding:17px 0 15px;
        white-space:nowrap;
    }

    .nav-btn::after{
        bottom:8px;
    }

    .home-hero .hero-content{
        min-height:72vh;
        background-position:center;
    }

    .regulation-tabs{
        top:116px;
    }
}

@media(max-width:650px){
    .content,
    .regulations,
    .lore-grid{
        width:min(100% - 28px,1180px);
        padding-top:34px;
    }

    .hero-content{
        padding:42px 18px;
    }

    .rules-hero .hero-content,
    .regulations-hero .hero-content,
    .lore-hero .hero-content,
    .team-hero .hero-content,
    .regulation-hero .hero-content{
        height:240px;
    }

    .hero h1{
        font-size:34px;
    }

    .hero p{
        font-size:15px;
        line-height:1.55;
    }

    .regulation-tabs{
        position:static;
        grid-template-columns:1fr;
    }

    .regulation-tab{
        min-height:44px;
    }

    .rule-card,
    .lore-card,
    .regulation-card{
        padding:22px 20px;
    }
}

.lore-book{

    max-width:900px;

    margin:50px auto;

    padding:50px;

    background:#18130f;

    border:1px solid #5a4426;

    border-top:5px solid #c8923a;

    border-radius:12px;

    box-shadow:0 0 30px rgba(0,0,0,.6);

    margin-bottom: 40px;

}

.lore-book h2{

    font-family:'Rye';

    color:#c8923a;

    font-size:34px;

    margin:45px 0 20px;

}

.lore-book p{

    color:#d8d1c4;

    line-height:2;

    text-align:justify;

    font-size:18px;

    margin-bottom: 20px;

}

.lore-book hr{

    border:none;

    border-top:1px solid #5f4727;

    margin:40px 0;

}

.paragraph-space{
    height:30px;
}

.lore-image {
    display: block;

    width: 100%;
    max-width: 500px;

    height: auto;

    margin: 40px auto;

    border: 2px solid #c8923a;
    border-radius: 8px;

    box-shadow: 0 5px 20px rgba(0,0,0,.5);
}

.team-about{

    max-width:1100px;

    margin:0 auto;

    padding:70px 30px;

}


/* FUNDADOR */

.founder-card{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:40px;

    padding:35px;

    background:#000000;

    border:2px solid #c8923a;

    border-radius:12px;

    margin-bottom:70px;

}

.founder-photo{

    width:180px;

    height:180px;

    object-fit:cover;

    border-radius:50%;

    border:4px solid #c8923a;

}

.founder-info{

    text-align:left;

}

.founder-label{

    color:#68ce24;

    font-size:13px;

    letter-spacing:4px;

    font-weight:bold;

}

.founder-info h2{

    font-family:'Rye';

    color:#c8923a;

    font-size:38px;

    margin:10px 0;

}

.founder-info p{

    color:#d2c6b5;

    font-size:17px;

}


/* TEXTO */

.about-text{

    max-width:850px;

    margin:0 auto;

    text-align:center;

}

.about-text .subtitle{

    color:#68ce24;

}

.about-text h2{

    font-family:'Rye';

    color:#c8923a;

    font-size:32px;

    margin:15px 0 30px;

}

.about-text p{

    color:#d2c6b5;

    font-size:18px;

    line-height:1.9;

    margin-bottom:20px;

}


/* CELULAR */

@media(max-width:700px){

    .founder-card{

        flex-direction:column;

        text-align:center;

    }

    .founder-info{

        text-align:center;

    }

}

.rule-btn{

    display:inline-block;

    margin-top:12px;

    padding:10px 18px;

    background:#68ce24;

    color:#000;

    text-decoration:none;

    font-weight:bold;

    border-radius:6px;

    transition:.3s;

}

.rule-btn:hover{

    background:#8cee30;

    transform:translateY(-2px);

}

.banner-e {
    display: block;

    width: 100%;
    max-width: 400px;

    height: auto;

    margin: 40px auto;

    

    box-shadow: 0 5px 20px rgba(0,0,0,.5);
}

/* Cactus RP - FelipeNader - 2026 */

body::before {
    content: "FelipeNader";
    position: fixed;
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    user-select: none;
}

/* Ajustes finais da identidade visual (mantidos no fim da cascata) */
.lore-book,
.founder-card,
.about-text{
    background:linear-gradient(145deg,rgba(30,25,19,.96),rgba(13,12,10,.99));
    border-color:var(--cactus-line);
    box-shadow:0 16px 40px rgba(0,0,0,.34),inset 0 1px rgba(255,255,255,.025);
}

.lore-book{
    border-top:4px solid var(--cactus-gold);
}

.lore-book h2,
.founder-info h2,
.about-text h2,
.founder-label{
    color:var(--cactus-gold-soft);
}

.lore-book p,
.founder-info p,
.about-text p{
    color:#d8d0c5;
}

.rule-btn{
    background:linear-gradient(135deg,var(--cactus-gold-soft),var(--cactus-gold));
    color:#171008;
    border:1px solid #f0bd70;
    box-shadow:0 8px 22px rgba(225,156,61,.18);
}

.rule-btn:hover{
    background:var(--cactus-white);
    color:#0c0b09;
    border-color:var(--cactus-white);
}

@media(max-width:900px){
    .menu{
        flex-wrap:nowrap;
    }
}

.poster{
    background:linear-gradient(145deg,rgba(29,24,18,.97),rgba(12,11,9,.99));
    border:1px solid var(--cactus-line);
    border-top:3px solid var(--cactus-gold);
    border-radius:14px;
    box-shadow:0 16px 38px rgba(0,0,0,.32);
}

.poster span,
.poster p,
.section li::before,
.about-text .subtitle{
    color:var(--cactus-gold-soft);
}

.poster p{
    font-weight:500;
}

::-webkit-scrollbar-thumb{
    background:var(--cactus-gold);
}

::-webkit-scrollbar-thumb:hover{
    background:var(--cactus-gold-soft);
}

/* Hierarquia da liderança */
.leadership{
    margin:0 0 76px;
}

.leadership-heading{
    margin-bottom:26px;
}

.leadership-heading h2{
    margin:10px 0 8px;
    color:var(--cactus-white);
    font:clamp(30px,4vw,44px) 'Rye',serif;
}

.leadership-heading p{
    color:#d8d0c5;
    font-size:17px;
    line-height:1.6;
}

.leadership-founder{
    position:relative;
    justify-content:flex-start;
    margin-bottom:18px;
    overflow:hidden;
    background:linear-gradient(120deg,rgba(31,26,19,.98),rgba(8,8,7,.99));
    box-shadow:0 18px 42px rgba(0,0,0,.34);
}

.leadership-founder::before{
    content:"01";
    position:absolute;
    right:28px;
    color:rgba(225,156,61,.07);
    font:92px 'Rye',serif;
}

.leadership-groups{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.leadership-rank{
    --role-color:var(--cactus-gold);
    display:grid;
    grid-template-columns:minmax(210px,260px) minmax(0,1fr);
    gap:22px;
    padding:24px;
    background:linear-gradient(145deg,rgba(25,22,18,.97),rgba(10,9,8,.99));
    border:1px solid var(--cactus-line);
    border-left:4px solid var(--role-color);
    border-radius:16px;
    box-shadow:0 16px 38px rgba(0,0,0,.28);
}

.leadership-rank[data-rank="DIR"]{
    --role-color:#e19c3d;
}

.leadership-rank[data-rank="DEV"]{
    --role-color:#9d52d9;
}

.leadership-rank-heading{
    display:flex;
    justify-content:center;
    flex-direction:column;
    padding-right:20px;
    border-right:1px solid rgba(190,168,138,.16);
}

.leadership-rank-label{
    color:var(--role-color);
    font:20px 'Rye',serif;
    letter-spacing:.08em;
}

.leadership-rank-heading p{
    margin-top:9px;
    color:var(--cactus-gray);
    font-size:14px;
    line-height:1.5;
}

.leadership-members{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:14px;
}

.leadership-loading{
    width:100%;
}

/* Equipe sincronizada com o Discord */
.live-team{
    margin:0 0 76px;
}

.live-team-heading{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:28px;
    margin-bottom:26px;
}

.live-team-heading h2{
    margin:10px 0 8px;
    color:var(--cactus-white);
    font:clamp(28px,4vw,42px) 'Rye',serif;
}

.live-team-heading p{
    max-width:680px;
    color:#d8d0c5;
    font-size:17px;
    line-height:1.6;
}

.team-sync-status{
    display:flex;
    align-items:center;
    flex:0 0 auto;
    gap:9px;
    padding:10px 14px;
    color:#cbd7c5;
    background:rgba(104,206,36,.07);
    border:1px solid rgba(104,206,36,.26);
    border-radius:999px;
    font-size:14px;
}

.team-sync-dot{
    width:8px;
    height:8px;
    background:#68ce24;
    border-radius:50%;
    box-shadow:0 0 10px rgba(104,206,36,.7);
}

.team-sync-status.error{
    color:#e4b8b3;
    background:rgba(190,54,40,.08);
    border-color:rgba(190,54,40,.32);
}

.team-sync-status.error .team-sync-dot{
    background:#c84b3e;
    box-shadow:0 0 10px rgba(200,75,62,.5);
}

.team-tabs{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    padding:10px;
    margin-bottom:26px;
    background:rgba(9,8,7,.88);
    border:1px solid var(--cactus-line);
    border-radius:16px;
}

.team-tab{
    min-height:50px;
    padding:12px 20px;
    border:1px solid rgba(190,168,138,.20);
    border-radius:10px;
    background:rgba(255,255,255,.035);
    color:var(--cactus-silver);
    font:600 17px 'Crimson Pro',serif;
    cursor:pointer;
    transition:.25s ease;
}

.team-tab:hover{
    color:var(--cactus-white);
    border-color:rgba(225,156,61,.50);
}

.team-tab.active{
    color:#171008;
    background:linear-gradient(135deg,var(--cactus-gold-soft),var(--cactus-gold));
    border-color:var(--cactus-gold-soft);
    box-shadow:0 8px 24px rgba(225,156,61,.18);
}

.team-groups{
    display:flex;
    flex-direction:column;
    gap:24px;
}

.discord-role-group{
    --role-color:var(--cactus-gold);
    padding:24px;
    background:linear-gradient(145deg,rgba(28,24,19,.96),rgba(12,11,9,.99));
    border:1px solid var(--cactus-line);
    border-left:4px solid var(--role-color);
    border-radius:16px;
    box-shadow:0 16px 38px rgba(0,0,0,.28);
}

.discord-role-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding-bottom:18px;
    margin-bottom:20px;
    border-bottom:1px solid rgba(190,168,138,.16);
}

.discord-role-title{
    display:flex;
    align-items:center;
    gap:12px;
}

.discord-role-title h3{
    color:var(--cactus-gold-soft);
    font:22px 'Rye',serif;
}

.discord-role-color{
    width:11px;
    height:11px;
    flex:0 0 auto;
    background:var(--role-color);
    border-radius:50%;
    box-shadow:0 0 12px color-mix(in srgb,var(--role-color),transparent 35%);
}

.discord-role-count{
    color:var(--cactus-gray);
    font-size:14px;
}

.discord-members-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:14px;
}

.discord-member-card{
    display:flex;
    align-items:center;
    gap:17px;
    min-width:0;
    padding:17px;
    background:rgba(255,255,255,.025);
    border:1px solid rgba(190,168,138,.14);
    border-radius:13px;
    transition:.25s ease;
}

.discord-member-card:hover{
    transform:translateY(-3px);
    background:rgba(225,156,61,.045);
    border-color:rgba(225,156,61,.42);
}

.discord-member-avatar{
    width:82px;
    height:82px;
    flex:0 0 auto;
    object-fit:cover;
    border:3px solid var(--role-color);
    border-radius:50%;
    background:#0b0a09;
    box-shadow:0 8px 20px rgba(0,0,0,.40);
}

.discord-member-content{
    min-width:0;
}

.discord-member-badges{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin-bottom:8px;
}

.discord-rank-badge,
.discord-role-badge{
    display:inline-flex;
    align-items:center;
    min-height:22px;
    padding:3px 8px;
    border-radius:999px;
    font-size:11px;
    font-weight:700;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.discord-rank-badge{
    color:#161009;
    background:var(--cactus-gold);
}

.discord-role-badge{
    max-width:210px;
    overflow:hidden;
    color:var(--cactus-silver);
    background:color-mix(in srgb,var(--role-color),transparent 82%);
    border:1px solid color-mix(in srgb,var(--role-color),transparent 58%);
    text-overflow:ellipsis;
    white-space:nowrap;
}

.discord-member-content h4{
    overflow:hidden;
    color:var(--cactus-white);
    font:23px 'Rye',serif;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.discord-username{
    overflow:hidden;
    margin-top:5px;
    color:var(--cactus-gray);
    font-size:14px;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.team-loading,
.team-empty,
.team-error{
    padding:44px 24px;
    color:var(--cactus-sand);
    background:rgba(18,16,13,.85);
    border:1px dashed var(--cactus-line);
    border-radius:14px;
    text-align:center;
}

.team-loading-icon{
    display:block;
    margin-bottom:12px;
    font-size:30px;
    animation:teamPulse 1.6s ease-in-out infinite;
}

.team-retry{
    margin-top:16px;
    padding:10px 18px;
    color:#171008;
    background:var(--cactus-gold);
    border:0;
    border-radius:8px;
    font-weight:700;
    cursor:pointer;
}

@keyframes teamPulse{
    50%{ transform:scale(1.12); filter:drop-shadow(0 0 10px rgba(225,156,61,.5)); }
}

@media(max-width:760px){
    .leadership-rank{
        grid-template-columns:1fr;
    }

    .leadership-rank-heading{
        padding:0 0 16px;
        border-right:0;
        border-bottom:1px solid rgba(190,168,138,.16);
    }

    .leadership-founder::before{
        display:none;
    }

    .live-team-heading{
        align-items:flex-start;
        flex-direction:column;
    }

    .team-sync-status{
        flex:0 1 auto;
    }

    .discord-role-group{
        padding:19px 16px;
    }

    .discord-role-header{
        align-items:flex-start;
        flex-direction:column;
        gap:8px;
    }

    .discord-role-title h3{
        font-size:18px;
    }

    .discord-members-grid{
        grid-template-columns:minmax(0,1fr);
    }
}

@media(max-width:430px){
    .leadership-rank{
        padding:19px 16px;
    }

    .leadership-members{
        grid-template-columns:minmax(0,1fr);
    }

    .team-tabs{
        grid-template-columns:1fr;
    }

    .discord-member-avatar{
        width:68px;
        height:68px;
    }

    .discord-member-content h4{
        font-size:19px;
    }

    .discord-role-badge{
        max-width:165px;
    }
}

/* =====================================================
   REGRAS — CORREÇÃO RESPONSIVA PARA CELULARES
   Mantido ao final para prevalecer sobre estilos antigos.
   ===================================================== */
@media(max-width:700px){
    body{
        overflow-x:hidden;
    }

    .navbar{
        position:relative;
        display:flex;
        flex-direction:column;
        align-items:stretch;
        width:100%;
        min-height:0;
        padding:10px 14px 14px;
    }

    .logo{
        min-width:0;
        justify-content:center;
    }

    .star{
        width:190px;
        height:54px;
        background-position:center;
    }

    .menu{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        width:100%;
        gap:2px 12px;
        margin:8px 0 10px;
        overflow:visible;
    }

    .menu .nav-btn{
        min-width:0;
        padding:10px 4px;
        font-size:14px;
        line-height:1.2;
        text-align:center;
        white-space:normal;
    }

    .menu .nav-btn:last-child{
        grid-column:1 / -1;
    }

    .menu .nav-btn::after{
        bottom:3px;
    }

    .search-box{
        width:100%;
    }

    .search-box input{
        width:100%;
        min-height:46px;
        padding:11px 16px;
        font-size:16px;
    }

    .container{
        display:block;
        width:100%;
        height:auto;
        min-height:0;
        overflow:visible;
    }

    .sidebar{
        position:static;
        width:100%;
        height:auto;
        max-height:none;
        padding:16px 14px 20px;
        overflow:visible;
        border-right:0;
        border-bottom:1px solid var(--cactus-line);
    }

    .sidebar-title{
        margin-bottom:12px;
        padding-bottom:10px;
        font-size:16px;
    }

    #categoryList{
        display:grid;
        grid-template-columns:minmax(0,1fr);
        gap:10px;
    }

    .category-btn{
        min-height:56px;
        margin:0;
        padding:11px 14px;
        gap:12px;
        font-size:16px;
        line-height:1.25;
    }

    .category-btn:hover{
        transform:none;
    }

    .chapter-number{
        width:36px;
        height:36px;
        font-size:14px;
    }

    .content{
        width:calc(100% - 28px);
        margin:0 auto;
        padding:28px 0 54px;
    }

    .poster{
        width:100%;
        margin-bottom:24px;
        padding:24px 16px;
        border-radius:12px;
    }

    .poster span{
        display:block;
        letter-spacing:2px;
        line-height:1.55;
        overflow-wrap:anywhere;
    }

    .poster h2{
        font-size:clamp(26px,9vw,36px);
        line-height:1.18;
        overflow-wrap:anywhere;
    }

    .poster p{
        font-size:15px;
        line-height:1.45;
    }

    #ruleContent{
        gap:16px;
    }

    .rule-topic{
        margin-top:12px;
        padding:18px 16px 15px;
    }

    .rule-topic span{
        display:block;
        letter-spacing:2px;
        line-height:1.55;
        overflow-wrap:anywhere;
    }

    .rule-topic h2{
        font-size:25px;
        line-height:1.25;
        overflow-wrap:anywhere;
    }

    .rule-card{
        padding:20px 16px;
        border-radius:12px;
    }

    .rule-card h3{
        align-items:flex-start;
        font-size:20px;
        line-height:1.3;
    }

    .rule-card li{
        padding-left:24px;
        font-size:16px;
        line-height:1.65;
        overflow-wrap:anywhere;
    }
}

@media(max-width:380px){
    .menu .nav-btn{
        font-size:13px;
    }

    .content{
        width:calc(100% - 20px);
    }

    .sidebar{
        padding-right:10px;
        padding-left:10px;
    }
}
