body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0b0b0b;
    color: white;
}


/* NAVIGATION */

.navbar {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    border-bottom: 1px solid #222;
}

.logo {
    font-size: 20px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
}

.nav-links a:hover {
    color: white;
}

.join-button {
    padding: 10px 18px;
    border: 1px solid #ff6a00;
    border-radius: 6px;
    background: transparent;
    color: #ff6a00;
    cursor: pointer;
}

.join-button:hover {
    background: #ff6a00;
    color: white;
}


/* HERO */

.hero {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    box-sizing: border-box;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 80px;
    margin: 0;
}

.hero p {
    font-size: 24px;
    color: #b8b8b8;
}

.hero button {
    margin-top: 25px;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    background: #ff6a00;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.hero button:hover {
    opacity: 0.85;
}

/* LIVE FIRE */

.live-fire {
    padding: 100px 50px;
    text-align: center;
}

.live-fire h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

.fire-subtitle {
    color: #999;
    margin-bottom: 50px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: auto;
}

.stat-card {
    background: #141414;
    border: 1px solid #222;
    border-radius: 15px;
    padding: 35px;
}

.stat-card h3 {
    color: #ff6a00;
}

.stat-card p {
    font-size: 32px;
    font-weight: bold;
}

/* LOG OF THE DAY */

.log-section {
    padding: 100px 50px;
    max-width: 1200px;
    margin: auto;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-heading span {
    font-size: 30px;
}

.section-heading h2 {
    font-size: 40px;
    margin: 0;
}

.section-description {
    color: #999;
    margin-bottom: 40px;
}

.log-card {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    background: #141414;
    border: 1px solid #292929;
    border-radius: 20px;
    padding: 50px;
}

.log-info {
    max-width: 650px;
}

.log-label {
    color: #ff6a00;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
}

.log-info h3 {
    font-size: 50px;
    margin: 15px 0;
}

.log-description {
    color: #aaa;
    font-size: 18px;
    line-height: 1.7;
}

.log-details {
    display: flex;
    gap: 60px;
    margin: 30px 0;
}

.log-details div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.log-details span {
    color: #777;
    font-size: 13px;
}

.log-details strong {
    font-size: 16px;
}

.log-button {
    padding: 14px 25px;
    background: #ff6a00;
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.log-rating {
    min-width: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-left: 1px solid #292929;
    padding-left: 40px;
}

.log-rating p {
    color: #777;
    font-size: 13px;
    letter-spacing: 2px;
}

.logs {
    font-size: 25px;
    margin: 15px 0;
}

.log-rating span {
    font-weight: bold;
}

.log-rating small {
    color: #666;
    text-align: center;
    margin-top: 15px;
}

/* FIRE SCHOOL */

.school-section {
    padding: 100px 50px;
    max-width: 1200px;
    margin: auto;
}

.school-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 45px;
}

.school-header > span {
    font-size: 35px;
}

.school-header h2 {
    margin: 0;
    font-size: 40px;
}

.school-header p {
    color: #999;
    margin-top: 8px;
}

.school-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.lesson-card {
    background: #141414;
    border: 1px solid #292929;
    border-radius: 18px;
    padding: 35px;
    transition: 0.3s;
}

.lesson-card:hover {
    transform: translateY(-5px);
    border-color: #ff6a00;
}

.lesson-icon {
    font-size: 35px;
}

.lesson-card h3 {
    font-size: 24px;
    margin: 20px 0 12px;
}

.lesson-card p {
    color: #999;
    line-height: 1.6;
}

.lesson-card a {
    display: inline-block;
    margin-top: 20px;
    color: #ff6a00;
    text-decoration: none;
    font-weight: bold;
}

/* CAMP TALK */

.camp-talk {
    padding: 100px 50px;
    max-width: 1200px;
    margin: auto;
}

.talk-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 45px;
}

.talk-header > span {
    font-size: 35px;
}

.talk-header h2 {
    margin: 0;
    font-size: 40px;
}

.talk-header p {
    color: #999;
    margin-top: 8px;
}

.talk-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;

    background: #141414;
    border: 1px solid #292929;
    border-radius: 20px;

    padding: 50px;
}

.question-label {
    color: #ff6a00;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
}

.talk-question h3 {
    font-size: 30px;
    line-height: 1.3;
    margin: 20px 0;
}

.talk-question p {
    color: #999;
}

.poll {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}

.poll-option {
    display: flex;
    justify-content: space-between;

    width: 100%;

    padding: 18px 20px;

    background: #0b0b0b;
    border: 1px solid #292929;
    border-radius: 10px;

    color: white;
    font-size: 15px;

    cursor: pointer;
}

.poll-option:hover {
    border-color: #ff6a00;
    background: #181818;
}

/* CAMPFIRE INDEX */

.index-section {
    padding: 100px 50px;
    max-width: 1200px;
    margin: auto;
}

.index-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 45px;
}

.section-label {
    color: #ff6a00;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
}

.index-header h2 {
    font-size: 40px;
    margin: 12px 0;
}

.index-header p {
    color: #999;
}

.view-all-button {
    padding: 12px 20px;
    background: transparent;
    border: 1px solid #333;
    border-radius: 8px;
    color: white;
    cursor: pointer;
}

.view-all-button:hover {
    border-color: #ff6a00;
    color: #ff6a00;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-card {
    background: #141414;
    border: 1px solid #292929;
    border-radius: 18px;
    padding: 30px;
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #ff6a00;
}

.project-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-icon {
    font-size: 30px;
}

.project-status {
    color: #ff6a00;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
}

.project-card h3 {
    font-size: 25px;
    margin: 25px 0 12px;
}

.project-card p {
    color: #999;
    line-height: 1.6;
    min-height: 75px;
}

.project-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #292929;
    padding-top: 20px;
    margin-top: 25px;
}

/* MOBILE RESPONSIVE DESIGN */

@media (max-width: 768px) {

    .navbar {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 30px 20px;
    }

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

    .hero p {
        font-size: 20px;
    }

    .live-fire {
        padding: 70px 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .log-section {
        padding: 70px 20px;
    }

    .log-card {
        flex-direction: column;
        padding: 30px;
    }

    .log-rating {
        border-left: none;
        border-top: 1px solid #292929;
        padding-left: 0;
        padding-top: 30px;
    }

    .school-section {
        padding: 70px 20px;
    }

    .school-grid {
        grid-template-columns: 1fr;
    }

    .camp-talk {
        padding: 70px 20px;
    }

    .talk-card {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 30px;
    }

    .index-section {
        padding: 70px 20px;
    }

    .index-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

}

/* FOOTER */

.footer {
    border-top: 1px solid #292929;
    padding: 70px 50px 30px;
    margin-top: 50px;
}

.footer-main {
    max-width: 1200px;
    margin: auto;

    display: flex;
    justify-content: space-between;
    gap: 80px;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand h2 {
    font-size: 25px;
}

.footer-brand p {
    color: #888;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 100px;
}

.footer-links div {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4 {
    font-size: 12px;
    color: #666;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: #ff6a00;
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0;

    padding-top: 25px;
    border-top: 1px solid #222;

    display: flex;
    justify-content: space-between;

    color: #555;
    font-size: 13px;
}

    .footer {
        padding: 60px 20px 25px;
    }

    .footer-main {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        gap: 50px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

    /* LOGS PAGE */

.logs-page {
    max-width: 1200px;
    margin: auto;
    padding: 100px 50px;
}

.logs-hero {
    text-align: center;
    margin-bottom: 60px;
}

.logs-hero h1 {
    font-size: 60px;
    margin: 15px 0;
}

.logs-hero p {
    color: #999;
    font-size: 18px;
}


/* SEARCH */

.logs-search {
    max-width: 600px;
    margin: auto;
}

.logs-search input {
    width: 100%;
    box-sizing: border-box;

    padding: 18px 20px;

    background: #141414;

    border: 1px solid #292929;
    border-radius: 10px;

    color: white;

    font-size: 16px;

    outline: none;
}

.logs-search input:focus {
    border-color: #ff6a00;
}


/* FILTERS */

.log-filters {
    display: flex;
    justify-content: center;
    gap: 12px;

    margin: 35px 0 50px;
}

.filter-button {
    padding: 10px 20px;

    background: transparent;

    border: 1px solid #292929;
    border-radius: 8px;

    color: #999;

    cursor: pointer;
}

.filter-button:hover,
.filter-button.active {
    border-color: #ff6a00;
    color: #ff6a00;
}


/* LOG GRID */

.logs-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}


/* LOG CARD */

.log-project-card {
    background: #141414;

    border: 1px solid #292929;

    border-radius: 18px;

    padding: 30px;

    transition: 0.3s;
}

.log-project-card:hover {
    transform: translateY(-5px);

    border-color: #ff6a00;
}

.log-project-card h2 {
    margin: 25px 0 12px;
}

.log-project-card p {
    color: #999;

    line-height: 1.6;

    min-height: 75px;
}

.project-rating {
    display: flex;

    justify-content: space-between;
    align-items: center;

    border-top: 1px solid #292929;

    padding-top: 20px;

    margin-top: 25px;
}

.view-log-button {
    width: 100%;

    margin-top: 25px;

    padding: 13px;

    background: #ff6a00;

    border: none;

    border-radius: 8px;

    color: white;

    cursor: pointer;

    font-weight: bold;
    
    display: block;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
}

   @media (max-width: 768px) {
    .logs-page {
        padding: 50px 16px;
        box-sizing: border-box;
        width: 100%;
    }

    .logs-hero h1 {
        font-size: 38px;
    }

    .logs-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .log-project-card {
        min-width: 0;
        box-sizing: border-box;
        padding: 22px;
    }

    .log-filters {
        flex-wrap: wrap;
        gap: 10px;
        margin: 25px 0 35px;
    }

    .filter-button {
        padding: 10px 16px;
    }

    .logs-search {
        width: 100%;
    }
}

    /* PROJECT PAGE */

.project-page {
    max-width: 1100px;
    margin: auto;
    padding: 100px 50px;
}

.project-header {
    max-width: 800px;
    margin-bottom: 70px;
}

.project-header h1 {
    font-size: 70px;
    margin: 15px 0;
}

.project-header p {
    color: #999;
    font-size: 20px;
    line-height: 1.6;
}

.project-header .project-status {
    display: inline-block;
    margin-top: 20px;
}


/* PROJECT CONTENT */

.project-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 70px;
}

.project-story h2 {
    font-size: 30px;
    margin-top: 0;
    margin-bottom: 15px;
}

.project-story p {
    color: #999;
    line-height: 1.8;
    font-size: 17px;
    margin-bottom: 50px;
}


/* REVIEW */

.project-review {
    background: #141414;
    border: 1px solid #292929;
    border-radius: 18px;
    padding: 35px;
    height: fit-content;
}

.project-review > span {
    color: #777;
    font-size: 13px;
    letter-spacing: 2px;
}

.big-rating {
    font-size: 28px;
    margin: 25px 0 15px;
}

.project-review h3 {
    font-size: 24px;
}

.project-review p {
    color: #888;
    line-height: 1.6;
}

.project-review small {
    color: #666;
}


/* BACK BUTTON */

.back-to-logs {
    display: inline-block;
    margin-top: 60px;

    color: #ff6a00;

    text-decoration: none;

    font-weight: bold;
}


/* MOBILE */

@media (max-width: 768px) {

    .project-page {
        padding: 70px 20px;
    }

    .project-header h1 {
        font-size: 48px;
    }

    .project-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

}


/* ==============================
   CAMPFIRE COMMUNITY PAGE
============================== */

.community-hero {
    max-width: 900px;
    margin: 0 auto;
    padding: 90px 24px 65px;
    text-align: center;
}

.community-hero .section-label {
    display: inline-block;
    color: #ff6a00;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.community-hero h1 {
    font-size: clamp(38px, 6vw, 64px);
    margin: 15px 0;
    line-height: 1.1;
}

.community-hero p {
    max-width: 680px;
    margin: 20px auto 30px;
    color: #b0b0b0;
    font-size: 18px;
    line-height: 1.7;
}

.community-hero .view-log-button {
    display: inline-block;
    width: auto;
    padding: 15px 25px;
    text-decoration: none;
}

.community-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px 80px;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 30px;
    align-items: start;
}

.discussion-feed h2 {
    font-size: 30px;
    margin: 0 0 10px;
}

.community-intro {
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 28px;
}

.discussion-card,
.sidebar-card {
    background: #141414;
    border: 1px solid #292929;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 18px;
}

.discussion-card {
    transition: border-color 0.2s, transform 0.2s;
}

.discussion-card:hover {
    border-color: #ff6a00;
    transform: translateY(-2px);
}

.discussion-category {
    display: inline-block;
    color: #ff8a33;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.discussion-card h3,
.sidebar-card h3 {
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.4;
}

.discussion-card p,
.sidebar-card p {
    color: #b0b0b0;
    line-height: 1.8;
    margin: 0 0 18px;
}

.discussion-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding-top: 15px;
    border-top: 1px solid #292929;
    color: #888;
    font-size: 13px;
}

.sidebar-card h3 {
    font-size: 19px;
}

.sidebar-card ul {
    padding-left: 20px;
    margin: 0;
}

.sidebar-card li {
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .community-hero {
        padding: 65px 20px 45px;
    }

    .community-hero p {
        font-size: 16px;
    }

    .community-layout {
        grid-template-columns: 1fr;
        padding: 15px 18px 50px;
        gap: 10px;
    }

    .discussion-card,
    .sidebar-card {
        padding: 20px;
    }

    .discussion-meta {
        flex-direction: column;
        gap: 8px;
    }
}


/* COMMUNITY NAVBAR LINK FIX */

.navbar .logo,
.navbar .logo:visited,
.navbar .nav-links a,
.navbar .nav-links a:visited,
.navbar .join-button,
.navbar .join-button:visited {
    text-decoration: none;
}

.navbar .logo,
.navbar .logo:visited {
    color: #ffffff;
}

.navbar .logo:hover {
    color: #ff6a00;
}

.navbar .join-button,
.navbar .join-button:visited {
    color: #ff6a00;
}

.navbar .nav-links a:hover {
    color: #ff6a00;
}


/* START A DISCUSSION FORM */

.start-discussion-card {
    background: #141414;
    border: 1px solid #292929;
    border-radius: 14px;
    padding: 26px;
    margin-bottom: 30px;
}

.start-discussion-card h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

.start-discussion-card > p {
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 24px;
}

#discussion-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#discussion-form label {
    color: #ddd;
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
}

#discussion-form input,
#discussion-form select,
#discussion-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    background: #0b0b0b;
    color: #fff;
    border: 1px solid #333;
    border-radius: 8px;
    font: inherit;
}

#discussion-form input:focus,
#discussion-form select:focus,
#discussion-form textarea:focus {
    outline: none;
    border-color: #ff6a00;
}

#discussion-form textarea {
    resize: vertical;
}

.publish-discussion-button {
    background: #ff6a00;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 15px 20px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
}

.publish-discussion-button:hover {
    background: #e65f00;
}


/* COMMENTS AND REPLIES */

.reply-button {
    background: transparent;
    color: #ff8a33;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 7px 12px;
    margin-top: 12px;
    cursor: pointer;
}

.reply-button:hover {
    border-color: #ff6a00;
}

.discussion-comments {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #292929;
}

.discussion-comments[hidden] {
    display: none;
}

.comment-item {
    margin: 12px 0;
    padding: 14px;
    background: #0b0b0b;
    border-left: 2px solid #ff6a00;
    border-radius: 6px;
}

.comment-item p {
    color: #ddd;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.comment-item small {
    color: #888;
}

.comment-replies {
    margin-left: 18px;
    padding-left: 12px;
    border-left: 1px solid #333;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}

.comment-form textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 12px;
    background: #0b0b0b;
    color: #fff;
    border: 1px solid #333;
    border-radius: 8px;
    font: inherit;
}

.comment-form textarea:focus {
    outline: none;
    border-color: #ff6a00;
}

.comment-form .publish-discussion-button {
    align-self: flex-start;
}


/* CAMPFIRE REACTIONS */

.reaction-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.reaction-button {
    background: #0b0b0b;
    color: #ddd;
    border: 1px solid #333;
    border-radius: 20px;
    padding: 8px 13px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.reaction-button:hover {
    border-color: #ff6a00;
}

.reaction-button.reacted {
    background: #2a190d;
    border-color: #ff6a00;
    color: #ff8a33;
}


/* CAMPFIRE MEMBER PROFILE */

.member-profile-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 24px;
}

.member-profile-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 28px;
    background: #141414;
    border: 1px solid #292929;
    border-radius: 14px;
}

.profile-heading {
    margin-bottom: 24px;
}

.profile-heading .section-label {
    color: #ff6a00;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.profile-heading h2 {
    margin: 12px 0;
    color: #fff;
}

.profile-heading p,
.profile-preview p {
    color: #aaa;
    margin-bottom: 0;
}

.profile-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 25px;
    padding: 18px;
    background: #0b0b0b;
    border-radius: 10px;
}

.profile-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: #292018;
    border: 1px solid #ff6a00;
    border-radius: 50%;
    font-size: 30px;
}

.profile-preview h3 {
    margin: 0 0 6px;
    color: #fff;
}

#profile-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#profile-form > label {
    color: #ddd;
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
}

#profile-name {
    box-sizing: border-box;
    width: 100%;
    padding: 14px;
    color: #fff;
    background: #0b0b0b;
    border: 1px solid #333;
    border-radius: 8px;
    font: inherit;
}

#profile-name:focus {
    outline: none;
    border-color: #ff6a00;
}

.avatar-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 5px 0 12px;
}

.avatar-choice {
    cursor: pointer;
}

.avatar-choice input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.avatar-choice span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #0b0b0b;
    border: 1px solid #333;
    border-radius: 10px;
    font-size: 25px;
}

.avatar-choice input:checked + span {
    border: 2px solid #ff6a00;
    background: #292018;
}

.avatar-choice input:focus-visible + span {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.profile-message {
    color: #ff8a33;
    font-size: 14px;
    margin: 4px 0 0;
}

@media (max-width: 600px) {
    .member-profile-section {
        padding: 20px 18px;
    }

    .member-profile-card {
        padding: 20px;
    }
}


/* MEMBER NAVIGATION PROFILE */

.member-nav {
    margin-left: auto;
    margin-right: 18px;
    position: relative;
}

.member-nav-button {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    background: #141414;
    color: #fff;
    border: 1px solid #333;
    border-radius: 24px;
    cursor: pointer;
    font: inherit;
}

.member-nav-button:hover {
    border-color: #ff6a00;
}

#nav-member-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #292018;
    border-radius: 50%;
    font-size: 18px;
}

#nav-member-name {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .member-nav-button {
        padding: 6px 9px;
        gap: 6px;
    }

    #nav-member-name {
        max-width: 80px;
    }
}


.member-profile-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 1000;
    width: 200px;
    padding: 14px;
    background: #141414;
    border: 1px solid #333;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.member-profile-menu button {
    width: 100%;
    padding: 10px;
    color: #fff;
    background: #292018;
    border: 1px solid #ff6a00;
    border-radius: 6px;
    cursor: pointer;
}

.member-profile-menu button:hover {
    background: #3a2414;
}

.member-profile-menu p {
    color: #aaa;
    font-size: 13px;
    margin-bottom: 0;
}


/* CAMPFIRE NAVIGATION SPACING FIX */

.navbar .logo {
    display: inline-flex;
    align-items: center;
    margin-right: 40px;
    flex-shrink: 0;
}

.navbar .nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.navbar .nav-links a {
    margin-left: 0;
}



/* CAMPFIRE NAVBAR - CENTERED LAYOUT */

.navbar {
    display: flex;
    align-items: center;
    position: relative;
    flex-wrap: nowrap;
    gap: 18px;
}

.navbar .logo {
    flex-shrink: 0;
    margin-right: auto;
}

.navbar .nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 32px;
    white-space: nowrap;
}

.navbar .member-nav {
    margin-left: 0;
    margin-right: 0;
    position: relative;
    flex-shrink: 0;
}

.navbar > .join-button {
    margin-left: 0;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .navbar {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .navbar .nav-links {
        position: static;
        transform: none;
        order: 3;
        width: 100%;
        justify-content: center;
    }
}


/* FIX JOIN THE CAMP BUTTON */

.navbar .join-button,
.navbar .join-button:hover,
.navbar .join-button:focus,
.navbar .join-button:active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #ff6a00;
    border: 1px solid #ff6a00;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 9px;
    cursor: pointer;
    outline-offset: 4px;
}

.navbar .join-button:hover {
    background: #ff6a00;
    color: #ffffff;
}


/* CAMPFIRE DISCUSSION FEED IMPROVEMENTS */

#discussion-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.discussion-card {
    padding: 24px;
    border: 1px solid rgba(255, 106, 0, 0.18);
    border-radius: 16px;
    background: #151515;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.discussion-card:hover {
    border-color: rgba(255, 106, 0, 0.55);
    transform: translateY(-2px);
}

.discussion-card h3 {
    margin: 10px 0;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.4;
}

.discussion-card p {
    color: #c9c9c9;
    line-height: 1.7;
}

.discussion-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    color: #999999;
    font-size: 13px;
}

.reaction-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #292929;
}

.reaction-bar button,
.comment-toggle {
    padding: 8px 12px;
    border: 1px solid #333333;
    border-radius: 20px;
    background: #202020;
    color: #e5e5e5;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.reaction-bar button:hover,
.comment-toggle:hover {
    border-color: #ff6a00;
    background: #2a211b;
}

.comment-toggle {
    margin-top: 14px;
}

@media (max-width: 600px) {
    .discussion-card {
        padding: 18px;
    }

    .discussion-card h3 {
        font-size: 18px;
    }

    .reaction-bar {
        gap: 8px;
    }
}


/* DISCUSSION SEARCH AND SORT CONTROLS */

.discussion-controls {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: center;
}

#discussion-search {
    flex: 1;
    min-width: 0;
    padding: 13px 15px;
    border: 1px solid #333333;
    border-radius: 10px;
    background: #151515;
    color: #ffffff;
    font-size: 14px;
    outline: none;
}

#discussion-search:focus,
#discussion-sort:focus {
    border-color: #ff6a00;
}

#discussion-sort {
    padding: 13px 12px;
    border: 1px solid #333333;
    border-radius: 10px;
    background: #151515;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    outline: none;
}

@media (max-width: 600px) {
    .discussion-controls {
        flex-direction: column;
        align-items: stretch;
    }

    #discussion-search,
    #discussion-sort {
        width: 100%;
        box-sizing: border-box;
    }
}


/* CAMPFIRE DISCUSSION CATEGORY FILTERS */

.discussion-category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.category-filter {
    padding: 9px 14px;
    border: 1px solid #333333;
    border-radius: 20px;
    background: #191919;
    color: #c9c9c9;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-filter:hover {
    border-color: #ff6a00;
    color: #ffffff;
}

.category-filter.active {
    background: #ff6a00;
    border-color: #ff6a00;
    color: #ffffff;
}


/* FIX CAMPFIRE DISCUSSION CONTROLS LAYOUT */

.discussion-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 16px;
}

#discussion-search {
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

#discussion-sort {
    width: auto;
    min-width: 145px;
    box-sizing: border-box;
}

.discussion-category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
    width: 100%;
}

@media (max-width: 600px) {
    .discussion-controls {
        grid-template-columns: 1fr;
    }

    #discussion-sort {
        width: 100%;
    }
}


/* CAMPFIRE DISCUSSION TOOLBAR CARD */

.discussion-controls,
.discussion-category-filters {
    box-sizing: border-box;
    width: 100%;
}

.discussion-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px;
    gap: 12px;
    align-items: center;
    padding: 16px;
    margin-bottom: 0;
    background: #151515;
    border: 1px solid #303030;
    border-radius: 14px 14px 0 0;
}

.discussion-category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 16px 16px;
    margin-bottom: 22px;
    background: #151515;
    border: 1px solid #303030;
    border-top: none;
    border-radius: 0 0 14px 14px;
}

#discussion-search {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

#discussion-sort {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.category-filter {
    white-space: nowrap;
}

@media (max-width: 600px) {
    .discussion-controls {
        grid-template-columns: 1fr;
    }

    .discussion-category-filters {
        gap: 8px;
    }

    .category-filter {
        white-space: normal;
    }
}


/* CAMPFIRE TOOLBAR LAYOUT FIX */

.discussion-controls {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 16px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background: #151515 !important;
    border: 1px solid #303030 !important;
    border-radius: 14px 14px 0 0 !important;
}

#discussion-search {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

#discussion-sort {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.discussion-category-filters {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 0 16px 16px !important;
    margin: 0 0 22px !important;
    box-sizing: border-box !important;
    background: #151515 !important;
    border: 1px solid #303030 !important;
    border-top: none !important;
    border-radius: 0 0 14px 14px !important;
}

.category-filter {
    width: auto !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
}


/* SPACE BETWEEN THE POST FORM AND CAMP TALK */

#discussions .discussion-feed {
    margin-top: 24px;
}

#discussions .discussion-feed > h2 {
    margin-top: 0;
}

#discussions .discussion-feed > p {
    margin-bottom: 24px;
}

.discussion-controls {
    margin-top: 12px !important;
}


/* SPACE BETWEEN FILTERS AND DISCUSSION POSTS */

#discussion-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}


/* Official Ember Forum Card */
.official-forum-card {
    max-width: 1100px;
    margin: 32px auto;
    padding: 32px;
    background: #171717;
    border: 1px solid #ff6a00;
    border-radius: 16px;
    box-sizing: border-box;
}

.official-forum-content {
    max-width: 650px;
}

.forum-label {
    color: #ff6a00;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1.5px;
}

.official-forum-card h2 {
    margin: 12px 0;
    color: #ffffff;
}

.official-forum-card p {
    color: #bdbdbd;
    line-height: 1.7;
}

.official-forum-link {
    display: inline-block;
    margin-top: 12px;
    padding: 12px 18px;
    background: #ff6a00;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
}

.official-forum-link:hover {
    opacity: 0.85;
}

@media (max-width: 700px) {
    .official-forum-card {
        margin: 24px 16px;
        padding: 22px;
    }
}


/* ========================================
   CAMPFIRE COMMUNITY DASHBOARD
======================================== */

.community-dashboard {
    display: grid;
    grid-template-columns: 235px minmax(0, 1fr) 285px;
    gap: 22px;
    max-width: 1500px;
    margin: 30px auto;
    padding: 0 24px;
    align-items: start;
    color: #f5f5f5;
}

.dashboard-left,
.dashboard-main,
.dashboard-right {
    min-width: 0;
}

.dashboard-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 20px;
}

.dashboard-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: #151515;
    border: 1px solid #292929;
    border-radius: 14px;
}

.dashboard-brand > span {
    font-size: 30px;
}

.dashboard-brand strong,
.dashboard-brand small {
    display: block;
}

.dashboard-brand strong {
    letter-spacing: 1px;
}

.dashboard-brand small {
    margin-top: 4px;
    color: #999;
    font-size: 12px;
}

.dashboard-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    background: #151515;
    border: 1px solid #292929;
    border-radius: 14px;
}

.dashboard-menu a {
    display: block;
    padding: 13px 12px;
    border-radius: 8px;
    color: #c7c7c7;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.dashboard-menu a:hover,
.dashboard-menu a.active {
    background: #ff6a00;
    color: #ffffff;
}

.dashboard-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dashboard-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px;
    background: #151515;
    border: 1px solid #292929;
    border-radius: 14px;
}

.dashboard-heading h2 {
    margin: 8px 0;
    font-size: 28px;
}

.dashboard-heading p {
    margin: 0;
    color: #aaa;
    line-height: 1.6;
}

.dashboard-heading .view-log-button {
    flex-shrink: 0;
}

.dashboard-main .discussion-controls,
.dashboard-main .start-discussion-card,
.dashboard-main #discussion-list > * {
    width: 100%;
    box-sizing: border-box;
}

.dashboard-main .discussion-controls,
.dashboard-main .start-discussion-card {
    margin: 0;
}

.dashboard-main #discussion-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.dashboard-main .discussion-card {
    background: #1b1c24;
    border: 1px solid #292a34;
    border-radius: 14px;
    padding: 24px;
}

.dashboard-main .discussion-card h3 {
    color: #ffffff;
}

.dashboard-right {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sidebar-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 12px 4px;
}

.sidebar-heading h3 {
    margin: 0;
    font-size: 18px;
}

.sidebar-heading span {
    color: #999;
    font-size: 10px;
    letter-spacing: 1px;
}

.popular-discussion,
.dashboard-right .sidebar-card {
    padding: 20px;
    background: #191a22;
    border: 1px solid #292a34;
    border-radius: 14px;
}

.popular-discussion h4 {
    margin: 14px 0 10px;
    line-height: 1.5;
    color: #ffffff;
}

.popular-discussion p,
.dashboard-right .sidebar-card p {
    color: #b5b5b5;
    line-height: 1.7;
    font-size: 14px;
}

.popular-discussion > a {
    color: #ff8a38;
    text-decoration: none;
    font-size: 13px;
}

.dashboard-right .official-forum-link {
    text-align: center;
}

.community-dashboard .member-profile-section {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.community-dashboard .member-profile-card {
    padding: 20px;
    box-sizing: border-box;
}

.community-dashboard input,
.community-dashboard textarea,
.community-dashboard select {
    max-width: 100%;
    box-sizing: border-box;
}

.community-dashboard .discussion-category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Tablet */
@media (max-width: 1100px) {
    .community-dashboard {
        grid-template-columns: 200px minmax(0, 1fr);
    }

    .dashboard-right {
        grid-column: 2;
    }

    .dashboard-left {
        grid-row: 1 / span 2;
    }
}

/* Mobile */
@media (max-width: 700px) {
    .community-dashboard {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        margin: 20px auto;
        padding: 0 14px;
    }

    .dashboard-left,
    .dashboard-main,
    .dashboard-right {
        grid-column: 1;
        grid-row: auto;
        position: static;
    }

    .dashboard-heading {
        padding: 18px;
    }

    .dashboard-heading h2 {
        font-size: 23px;
    }

    .dashboard-main .discussion-card {
        padding: 18px;
    }
}



/* Restore the cleaner Camp Member profile layout */
.community-dashboard .member-profile-card {
    padding: 24px 20px;
    border-radius: 14px;
}

.community-dashboard .member-profile-card .profile-heading h2,
.community-dashboard .member-profile-card h2 {
    font-size: 22px;
    line-height: 1.35;
    overflow-wrap: normal;
    word-break: normal;
}

.community-dashboard .member-profile-card .profile-heading p,
.community-dashboard .member-profile-card > p {
    line-height: 1.6;
}

.community-dashboard .profile-preview {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    margin: 16px 0 22px;
    border-radius: 12px;
}

.community-dashboard .profile-preview h3 {
    margin: 0 0 6px;
    overflow-wrap: anywhere;
}

.community-dashboard .profile-preview p {
    margin: 0;
    line-height: 1.4;
}

.community-dashboard #profile-name {
    width: 100%;
    min-width: 0;
}

.community-dashboard .avatar-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0 20px;
}

.community-dashboard .avatar-choice {
    min-width: 0;
}

.community-dashboard #profile-form > label {
    display: block;
    margin: 14px 0 8px;
}

.community-dashboard #profile-form > button {
    width: 100%;
}

@media (max-width: 1100px) and (min-width: 701px) {
    .community-dashboard .member-profile-card {
        padding: 18px 14px;
    }

    .community-dashboard .member-profile-card h2 {
        font-size: 20px;
    }
}


/* Profile section below the community hero */
.community-hero + .member-profile-section {
    max-width: 1100px;
    margin: 28px auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.community-hero + .member-profile-section .member-profile-card {
    width: 100%;
    padding: 28px;
    box-sizing: border-box;
}

.community-hero + .member-profile-section #profile-form {
    max-width: 650px;
}

.community-hero + .member-profile-section .profile-preview {
    max-width: 400px;
}

@media (max-width: 700px) {
    .community-hero + .member-profile-section {
        padding: 0 14px;
        margin: 20px auto;
    }

    .community-hero + .member-profile-section .member-profile-card {
        padding: 20px;
    }
}


/* Add breathing room between Popular Questions cards */
#popular-discussions-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#popular-discussions-list .popular-discussion {
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

/* Space out the right sidebar sections */
.dashboard-right {
    gap: 18px;
}


/* Author and date on Popular Questions cards */
.popular-discussion-author {
    margin: 10px 0 4px;
    color: #f0f0f0;
    font-size: 13px;
    font-weight: 600;
}

.popular-discussion-date {
    margin: 0 0 10px;
    color: #92929d;
    font-size: 12px;
}

.popular-discussion-stats {
    color: #b5b5b5;
    font-size: 13px;
    line-height: 1.5;
}


/* CAMPFIRE SIGN-UP AND LOGIN POPUP */
.campfire-auth-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(6px);
    overflow-y: auto;
}

.campfire-auth-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin: auto;
    padding: 36px 30px;
    background: #151515;
    border: 1px solid #ff6a00;
    border-radius: 20px;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.6);
    color: #ffffff;
    box-sizing: border-box;
}

.campfire-auth-close {
    position: absolute;
    top: 12px;
    right: 16px;
    border: none;
    background: transparent;
    color: #aaaaaa;
    font-size: 30px;
    cursor: pointer;
}

.campfire-auth-flame {
    text-align: center;
    font-size: 42px;
    margin-bottom: 10px;
}

.campfire-auth-eyebrow {
    color: #ff6a00;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    text-align: center;
}

#campfire-auth-title {
    margin: 12px 0;
    text-align: center;
    font-size: 30px;
}

.campfire-auth-description {
    margin-bottom: 26px;
    color: #bdbdbd;
    text-align: center;
    line-height: 1.6;
}

#campfire-auth-form label {
    display: block;
    margin: 16px 0 8px;
    color: #dddddd;
    font-size: 14px;
}

#campfire-auth-form input {
    display: block;
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #393939;
    border-radius: 9px;
    background: #0d0d0d;
    color: #ffffff;
    font-size: 15px;
    box-sizing: border-box;
}

#campfire-auth-form input:focus {
    outline: 1px solid #ff6a00;
    border-color: #ff6a00;
}

#campfire-auth-submit {
    width: 100%;
    margin-top: 24px;
    padding: 14px;
    cursor: pointer;
}

#campfire-auth-submit:disabled {
    opacity: 0.6;
    cursor: wait;
}

#campfire-auth-message {
    min-height: 20px;
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.campfire-auth-switch {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    border: none;
    background: transparent;
    color: #ff8a26;
    cursor: pointer;
    font-size: 14px;
}

.campfire-auth-switch:hover {
    color: #ffffff;
}

@media (max-width: 480px) {
    .campfire-auth-card {
        padding: 32px 20px;
    }

    #campfire-auth-title {
        font-size: 25px;
    }
}


.discussion-edit-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0;
    padding: 18px;
    background: #0b0b0b;
    border: 1px solid #ff6a00;
    border-radius: 10px;
}

.discussion-edit-form[hidden] {
    display: none;
}

.discussion-edit-form label {
    color: #f5f5f5;
    font-weight: 600;
    margin-top: 4px;
}

.discussion-edit-form input,
.discussion-edit-form select,
.discussion-edit-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    background: #171717;
    color: #ffffff;
    border: 1px solid #393939;
    border-radius: 7px;
    font: inherit;
}

.discussion-edit-form input:focus,
.discussion-edit-form select:focus,
.discussion-edit-form textarea:focus {
    outline: none;
    border-color: #ff6a00;
}

.discussion-edit-form button {
    width: fit-content;
    cursor: pointer;
    margin-top: 6px;
}

.discussion-edit-form .cancel-edit-button {
    padding: 10px 18px;
    color: #ffffff;
    background: #292929;
    border: 1px solid #484848;
    border-radius: 7px;
}

.discussion-edit-form button:disabled {
    opacity: 0.6;
    cursor: wait;
}


/* CAMPFIRE inline delete confirmation */
.delete-confirmation {
    margin: 14px 0;
    padding: 16px;
    background: #101010;
    border: 1px solid #ff6a00;
    border-radius: 10px;
}

.delete-confirmation[hidden] {
    display: none;
}

.delete-confirmation p {
    margin: 0 0 14px;
    color: #f1f1f1;
    line-height: 1.6;
}

.delete-confirmation button {
    padding: 10px 14px;
    margin: 0 8px 6px 0;
    border-radius: 7px;
    cursor: pointer;
    font: inherit;
}

.delete-confirmation .confirm-delete-button {
    background: #ff6a00;
    border: 1px solid #ff6a00;
    color: #fff;
    font-weight: 600;
}

.delete-confirmation .cancel-delete-button {
    background: #242424;
    border: 1px solid #444;
    color: #fff;
}

.delete-confirmation button:disabled {
    opacity: 0.6;
    cursor: wait;
}

.delete-confirmation .delete-status {
    margin: 8px 0 0;
    color: #ffb078;
    overflow-wrap: anywhere;
}


.delete-comment-button {
    margin-left: 8px;
    padding: 6px 10px;
    color: #ff8b5a;
    background: transparent;
    border: 1px solid #554034;
    border-radius: 6px;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
}

.delete-comment-button:hover {
    background: #2a1a12;
    border-color: #ff6a00;
}

.delete-comment-button[hidden] {
    display: none;
}


/* CAMPFIRE Logs — square token discovery grid */
#logs-container.logs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    align-items: stretch;
    width: 100%;
}

#logs-container .log-project-card {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    aspect-ratio: 1 / 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    border: 1px solid #292929;
    border-radius: 16px;
    background: #141414;
}

#logs-container .log-project-card h2 {
    margin: 0;
    font-size: 20px;
}

#logs-container .log-project-card > p {
    margin: 0;
}

#logs-container .log-project-card .project-live-metrics {
    font-size: 12px;
    line-height: 1.6;
    color: #b5b5b5;
}

#logs-container .log-project-card .view-log-button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: auto;
    padding: 12px;
    text-align: center;
    border-radius: 8px;
}

#logs-container .project-icon {
    width: 76px;
    height: 76px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 14px;
    background: #202020;
}

#logs-container .project-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: inherit;
}


/* CAMPFIRE token discovery cards — layout refinement */
#logs-container.logs-grid {
    width: min(100% - 32px, 1200px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 18px;
    align-items: stretch;
}

#logs-container .log-project-card {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    aspect-ratio: 1 / 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    overflow: hidden;
    border: 1px solid #292929;
    border-radius: 16px;
    background: #141414;
}

#logs-container .project-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}

#logs-container .project-icon {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background: #202020;
    font-size: 28px;
}

#logs-container .project-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#logs-container .project-status {
    font-size: 10px;
    text-align: right;
    overflow-wrap: anywhere;
}

#logs-container .log-project-card h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#logs-container .log-project-card > p:not(.project-live-metrics) {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

#logs-container .log-project-card .project-live-metrics {
    margin: auto 0 0;
    font-size: 11px;
    line-height: 1.5;
    color: #b5b5b5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

#logs-container .log-project-card .view-log-button {
    display: block;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
    margin-top: 0;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
}

@media (max-width: 540px) {
    
#logs-container.logs-grid {
    width: min(100% - 40px, 1400px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    align-items: stretch;
}


    
#logs-container .log-project-card {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    aspect-ratio: 1 / 1;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    border: 1px solid #292929;
    border-radius: 18px;
    background: #141414;
}


    #logs-container .project-icon {
    width: 80px;
    height: 80px;
    flex: 0 0 80px;
}

    #logs-container .log-project-card h2 {
        font-size: 15px;
    }
}


/* CAMPFIRE live token cards */
#logs-container .log-project-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
    min-width: 0;
}

#logs-container .project-token-name {
    display: block;
    margin: 0;
    color: #ffffff;
    font-size: 22px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

#logs-container .project-live-metrics {
    margin-top: auto;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

#logs-container .view-log-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
    flex-shrink: 0;
    margin-top: 8px;
    padding: 10px;
    border-radius: 8px;
    background: #ff7200;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

#logs-container .view-log-button:hover {
    background: #ff8a24;
}


/* Make token tickers clear and readable */
#logs-container .project-token-name {
    display: block;
    width: 100%;
    margin: 4px 0 8px;
    padding: 0;
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.3px;
    white-space: normal;
    overflow: visible;
    overflow-wrap: anywhere;
    text-overflow: clip;
    text-shadow: none;
    position: relative;
    z-index: 1;
}


#logs-container .log-project-card {
    overflow: visible;
}

#logs-container .project-top {
    flex-shrink: 0;
}

#logs-container .project-live-metrics {
    flex-shrink: 0;
}


/* CAMPFIRE project profile refinements */

#project-name {
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.12;
    letter-spacing: -1px;
    overflow-wrap: anywhere;
    margin-bottom: 12px;
}

#project-description {
    max-width: 720px;
    color: #b8b8b8;
    font-size: 16px;
    line-height: 1.8;
}

#project-status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 14px;
    padding: 7px 12px;
    border: 1px solid #663500;
    border-radius: 999px;
    background: #211306;
    color: #ff8a24;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

#project-what,
#project-story,
#project-stands-out {
    color: #bdbdbd;
    font-size: 14px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

#project-rating {
    color: #ff8a24;
    font-size: 23px;
    line-height: 1.6;
    letter-spacing: 3px;
    overflow-wrap: anywhere;
}

#project-score {
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.5;
}

@media (max-width: 600px) {
    #project-name {
        font-size: 34px;
    }

    #project-description {
        font-size: 14px;
    }

    #project-what,
    #project-story,
    #project-stands-out {
        font-size: 13px;
    }
}


/* CAMPFIRE SCORE — project rating card */
.project-review {
    background: linear-gradient(145deg, #191510, #111111);
    border: 1px solid #49321f;
    border-radius: 18px;
    padding: 28px;
    height: fit-content;
    box-sizing: border-box;
}

.project-review .review-label {
    display: block;
    color: #ff8a33;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.campfire-rating-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.campfire-score-details {
    flex: 1;
    min-width: 0;
}

.campfire-score-details h3 {
    margin: 0;
    color: #ff963d;
    font-size: 21px;
    line-height: 1.4;
}

.project-review .big-rating {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 4px;
    flex-shrink: 0;
    margin: 0;
    font-size: 25px;
    white-space: nowrap;
}

.campfire-rating-description {
    margin: 24px 0 12px;
    color: #b5aaa0;
    font-size: 14px;
    line-height: 1.7;
}

.campfire-rating-disclaimer {
    display: block;
    color: #80756b;
    font-size: 12px;
}

@media (max-width: 480px) {
    .project-review {
        padding: 22px;
    }

    .campfire-rating-row {
        gap: 10px;
    }

    .campfire-score-details h3 {
        font-size: 17px;
    }

    .project-review .big-rating {
        font-size: 20px;
        gap: 2px;
    }
}


/* CAMPFIRE PROJECT PAGE */
.project-page {
    width: min(100% - 32px, 830px);
    margin: 20px auto;
    padding: 18px;
    box-sizing: border-box;
    background: #101010;
    border-radius: 16px;
    color: #f5f5f5;
}

.project-page .project-header {
    padding: 16px;
    margin-bottom: 14px;
    background: #191919;
    border: 1px solid #37302a;
    border-radius: 12px;
}

.project-page .section-label {
    color: #ff7900;
    font-weight: bold;
}

.project-page .project-header h1 {
    margin: 10px 0 4px;
}

.project-page .project-header p {
    color: #bcbcbc;
    margin: 0 0 14px;
}

.project-trade-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}

.project-trade-buttons a {
    display: block;
    padding: 12px;
    border: 1px solid #ff7900;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    line-height: 1.8;
}

.project-buy-button {
    background: #ff7900;
    color: #111;
}

.project-sell-button {
    background: #191919;
    color: #ff7900;
}

.project-page .project-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.project-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.project-metric,
.project-stands-out-card {
    padding: 14px;
    border-radius: 10px;
    background: #191919;
    box-sizing: border-box;
    min-width: 0;
}

.project-metric {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.project-metric > span {
    color: #ff8a20;
    font-size: 13px;
}

.project-metric strong {
    font-size: 19px;
    overflow-wrap: anywhere;
}

.metric-rating {
    font-size: 16px;
    white-space: nowrap;
}

.project-stands-out-card h2 {
    margin: 2px 0 16px;
    font-size: 18px;
}

.project-stands-out-card h3 {
    color: #ff8a20;
    font-size: 16px;
    margin: 0 0 10px;
}

.project-stands-out-card p {
    color: #ccc;
    line-height: 1.6;
    margin: 0;
}

.project-page .project-review {
    background: #191919;
    border: 1px solid #49321f;
    border-radius: 10px;
    padding: 14px;
    box-sizing: border-box;
}

.project-page .review-label {
    display: block;
    color: #ff8a20;
    font-weight: bold;
    margin-bottom: 20px;
}

.project-page .campfire-rating-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.project-page .campfire-score-details {
    min-width: 0;
}

.project-page .campfire-score-details h3 {
    color: #ff963d;
    margin: 0 0 5px;
    font-size: 20px;
}

.project-page .campfire-activity-label {
    color: #bcbcbc;
    margin: 0;
}

.project-page .big-rating {
    margin: 0;
    font-size: 16px;
    white-space: nowrap;
}

.project-page .campfire-rating-description {
    border-top: 1px solid #49321f;
    padding-top: 18px;
    margin: 20px 0 10px;
    color: #ccc;
    line-height: 1.6;
}

.project-page .campfire-rating-disclaimer {
    color: #80756b;
}

@media (max-width: 480px) {
    .project-page {
        width: calc(100% - 16px);
        padding: 10px;
    }

    .project-page .campfire-rating-row {
        flex-wrap: wrap;
    }

    .project-page .big-rating {
        font-size: 14px;
    }

    .project-page .campfire-score-details h3 {
        font-size: 17px;
    }
}


/* CAMPFIRE MODULE FILTER */
.logs-module-filter {
    width: 100%;
    max-width: 420px;
    margin: 24px auto 0;
}

#module-filter {
    width: 100%;
    padding: 14px 16px;
    background: #151515;
    color: #ffffff;
    border: 1px solid #303030;
    border-radius: 10px;
    font-size: 15px;
    cursor: pointer;
    outline: none;
}

#module-filter:focus {
    border-color: #ff7900;
}

#module-filter option {
    background: #151515;
    color: #ffffff;
}


/* CAMPFIRE TRANSPARENCY SECTION */
.transparency-section {
    max-width: 1100px;
    margin: 60px auto 30px;
    padding: 28px;
    color: #f8f3e8;
    background: #17130f;
    border: 1px solid #49382b;
    border-radius: 20px;
}

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

.transparency-eyebrow {
    color: #ffad55;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: bold;
}

.transparency-heading h2 {
    margin: 10px 0;
}

.transparency-heading > p:last-child,
.transparency-note {
    color: #b8a99a;
    line-height: 1.6;
}

.transparency-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.transparency-card,
.transparency-rewards {
    padding: 20px;
    background: #211b17;
    border: 1px solid #49382b;
    border-radius: 14px;
}

.transparency-card span {
    display: block;
    color: #b8a99a;
    font-size: 13px;
}

.transparency-card strong {
    display: block;
    margin-top: 10px;
    color: #ffad55;
    font-size: 24px;
    overflow-wrap: anywhere;
}

.transparency-rewards {
    margin-top: 18px;
}

.transparency-rewards p {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.transparency-rewards p span,
.transparency-rewards p strong {
    color: #ffad55;
    overflow-wrap: anywhere;
}

.transparency-link {
    display: inline-block;
    margin-top: 20px;
    color: #ffad55;
    text-decoration: none;
}

.transparency-link:hover {
    text-decoration: underline;
}

@media (max-width: 700px) {
    .transparency-section {
        margin: 35px 12px;
        padding: 18px;
    }

    .transparency-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .transparency-grid {
        grid-template-columns: 1fr;
    }
}


/* CAMPFIRE TRANSPARENCY — REFERENCE DESIGN */
.cf-transparency {
    box-sizing: border-box;
    width: min(100% - 40px, 912px);
    margin: 38px auto 30px;
    color: #17120d;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}

.cf-transparency *,
.cf-transparency *::before,
.cf-transparency *::after {
    box-sizing: border-box;
}

.cf-feed {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    min-height: 22px;
    font-size: 10px;
}

.cf-feed > span {
    font-weight: 600;
}

.cf-feed > span i {
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 5px;
    border-radius: 50%;
    background: #269b5b;
    vertical-align: middle;
}

.cf-feed small {
    text-align: center;
    color: #827666;
    font-size: 10px;
}

.cf-feed button {
    border: 1px solid #cbb99b;
    background: transparent;
    color: #594b39;
    border-radius: 5px;
    padding: 7px 10px;
    font: inherit;
    font-size: 10px;
    cursor: pointer;
}

.cf-market-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid #251b12;
    border-radius: 9px;
    overflow: hidden;
    background: #fffdf8;
}

.cf-market-stat {
    min-width: 0;
    min-height: 96px;
    padding: 20px 18px;
    border-right: 1px solid #ddcfb8;
}

.cf-market-stat:last-child {
    border-right: 0;
}

.cf-market-stat span {
    display: block;
    margin-bottom: 10px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .3px;
}

.cf-market-stat strong {
    display: block;
    font-size: clamp(18px, 2.4vw, 27px);
    font-weight: 700;
    letter-spacing: -.5px;
    overflow-wrap: anywhere;
}

.cf-rewards-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 16px;
    margin-top: 16px;
}

.cf-rewards-card,
.cf-setup-card,
.cf-receipts-card {
    min-width: 0;
    border: 1px solid #ddc9a5;
    border-radius: 11px;
}

.cf-rewards-card {
    padding: 24px;
    background: #ffe39b;
}

.cf-eyebrow {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.cf-rewards-total {
    display: block;
    margin: 22px 0 0;
    font-size: clamp(34px, 4.7vw, 54px);
    line-height: 1;
    letter-spacing: 1px;
    overflow-wrap: anywhere;
}

.cf-rewards-unit {
    display: block;
    margin: 5px 0 13px;
    font-size: 14px;
    letter-spacing: 1px;
}

.cf-rewards-card > p {
    max-width: 350px;
    margin: 0;
    font-size: 11px;
    line-height: 1.8;
}

.cf-rewards-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 17px;
    padding-top: 16px;
    border-top: 1px solid #d6b96e;
    font-size: 9px;
}

.cf-rewards-bottom a,
.cf-transparency-footer a {
    color: inherit;
    text-decoration: none;
}

.cf-rewards-bottom a {
    font-weight: 700;
    white-space: nowrap;
}

.cf-setup-card {
    padding: 23px;
    background: #fffdf8;
}

.cf-setup-card > .cf-eyebrow {
    margin-bottom: 17px;
}

.cf-setup-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid #eadfcb;
}

.cf-setup-row span {
    color: #392d20;
}

.cf-setup-row b {
    text-align: right;
    font-size: 11px;
    overflow-wrap: anywhere;
}

.cf-setup-note {
    margin: 14px 0 0;
    color: #827666;
    font-size: 10px;
    line-height: 1.6;
}

.cf-receipts-card {
    margin-top: 30px;
    padding: 20px 18px 24px;
    background: #fffdf8;
}

.cf-receipts-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid #251b12;
}

.cf-receipts-heading h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.cf-receipts-heading span {
    color: #827666;
    font-size: 10px;
    text-align: right;
}

.cf-receipts-list {
    padding-top: 22px;
    color: #a08c77;
    font-size: 10px;
    line-height: 1.7;
}

.cf-transparency-footnote {
    margin: 20px 0 36px;
    color: #a08c77;
    font-size: 10px;
    line-height: 1.6;
}

.cf-transparency-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    color: #a08c77;
    font-size: 10px;
}

.cf-transparency-footer a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 650px) {
    .cf-transparency {
        width: calc(100% - 24px);
    }

    .cf-feed {
        grid-template-columns: 1fr auto;
    }

    .cf-feed small {
        grid-column: 1 / -1;
        grid-row: 2;
        text-align: left;
    }

    .cf-market-stat {
        min-height: 82px;
        padding: 15px 10px;
    }

    .cf-rewards-layout {
        grid-template-columns: 1fr;
    }

    .cf-rewards-card,
    .cf-setup-card {
        padding: 20px;
    }

    .cf-receipts-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .cf-receipts-heading span {
        text-align: left;
    }
}


/* CAMPFIRE TRANSPARENCY — WEBSITE COLOUR MATCH */

#campfire-transparency {
    background: transparent;
    color: var(--text-color, inherit);
}

/* Feed and refresh button */
#campfire-transparency .cf-feed,
#campfire-transparency .cf-feed small {
    color: var(--text-color, inherit);
}

#campfire-transparency .cf-feed > span i {
    background: #35a66a;
}

#campfire-transparency .cf-feed button {
    color: inherit;
    border-color: var(--border-color, #49382b);
    background: var(--card-bg, transparent);
}

/* Market statistics */
#campfire-transparency .cf-market-grid {
    background: var(--card-bg, #211b17);
    border-color: var(--border-color, #49382b);
}

#campfire-transparency .cf-market-stat {
    border-color: var(--border-color, #49382b);
}

#campfire-transparency .cf-market-stat span {
    color: var(--muted-text, inherit);
}

#campfire-transparency .cf-market-stat strong {
    color: var(--text-color, inherit);
}

/* Holder rewards panel — retain the signature Campfire orange */
#campfire-transparency .cf-rewards-card {
    background: var(--accent-color, #ffad55);
    border-color: var(--accent-color, #ffad55);
    color: #21150c;
}

#campfire-transparency .cf-rewards-bottom {
    border-color: rgba(33, 21, 12, 0.25);
}

/* Setup and receipts panels */
#campfire-transparency .cf-setup-card,
#campfire-transparency .cf-receipts-card {
    background: var(--card-bg, #211b17);
    border-color: var(--border-color, #49382b);
    color: var(--text-color, inherit);
}

#campfire-transparency .cf-setup-row {
    border-color: var(--border-color, #49382b);
}

#campfire-transparency .cf-setup-row span,
#campfire-transparency .cf-setup-note,
#campfire-transparency .cf-receipts-heading span,
#campfire-transparency .cf-receipts-list,
#campfire-transparency .cf-transparency-footnote,
#campfire-transparency .cf-transparency-footer {
    color: var(--muted-text, #b8a99a);
}

#campfire-transparency .cf-receipts-heading {
    border-color: var(--border-color, #49382b);
}

#campfire-transparency .cf-transparency-footer a,
#campfire-transparency .cf-rewards-bottom a,
#campfire-transparency .cf-transparency-footer {
    color: var(--muted-text, #b8a99a);
}

#campfire-transparency .cf-transparency-footer a,
#campfire-transparency .cf-rewards-bottom a {
    text-decoration-color: var(--accent-color, #ffad55);
}

/* Mobile spacing */
@media (max-width: 650px) {
    #campfire-transparency {
        margin-top: 35px;
    }
}


/* CAMPFIRE TRANSPARENCY INTRO */
.cf-transparency-intro {
    width: min(100% - 40px, 912px);
    margin: 55px auto 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    color: #21170f;
}

.cf-intro-content {
    max-width: 590px;
}

.cf-intro-eyebrow {
    margin: 0 0 12px;
    color: #b96a27;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.cf-intro-content h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 43px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.8px;
}

.cf-intro-content h2 span {
    color: #bd702e;
}

.cf-intro-description {
    max-width: 540px;
    margin: 18px 0 0;
    color: #806e5b;
    font-size: 12px;
    line-height: 1.8;
}

.cf-intro-link {
    flex-shrink: 0;
    color: #6c3b17;
    font-size: 11px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
    white-space: nowrap;
}

.cf-intro-link span {
    margin-left: 5px;
    color: #c8752c;
}

@media (max-width: 600px) {
    .cf-transparency-intro {
        width: calc(100% - 24px);
        margin-top: 38px;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .cf-intro-content h2 {
        font-size: 34px;
        letter-spacing: -1px;
    }
}


/* CAMPFIRE INDEX TOKEN IMAGES */
#campfire-index .project-token-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    overflow: hidden;
    border-radius: 50%;
    background: #211b17;
    border: 1px solid #38302a;
    flex-shrink: 0;
}

#campfire-index .index-token-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

#campfire-index .project-icon:not(.project-token-image) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
}


/* LIVE FIRE — CAMPFIRE TRANSPARENCY COLOUR THEME */

#live-fire {
    background: transparent;
    color: #fff8eb;
}

/* Section heading */
#live-fire .live-fire-heading h2 {
    color: #fff8eb;
}

#live-fire .live-fire-heading p {
    color: #b8a99a;
}

/* Four statistic cards */
#live-fire .live-fire-card {
    background: #211b17;
    border: 1px solid #49382b;
    border-radius: 14px;
    color: #fff8eb;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

#live-fire .live-fire-card:hover {
    border-color: #bd702e;
    transform: translateY(-3px);
}

/* Orange card titles */
#live-fire .live-fire-card h3 {
    color: #ffad55;
}

/* Large statistic values */
#live-fire .live-fire-card strong {
    color: #fff8eb;
}

/* Last-updated text */
#live-fire .live-fire-updated {
    color: #b8a99a;
}

/* Responsive spacing */
@media (max-width: 900px) {
    #live-fire .live-fire-grid {
        gap: 16px;
    }
}


/* LIVE FIRE — FIXED CAMPFIRE LAYOUT */

#live-fire {
    display: block;
    width: calc(100% - 48px);
    max-width: 1800px;
    margin: 60px auto;
    padding: 0;
    color: #fff8eb;
    background: transparent;
}

#live-fire .live-fire-heading {
    text-align: center;
    margin-bottom: 44px;
}

#live-fire .live-fire-heading h2 {
    margin: 0 0 16px;
    color: #fff8eb;
    font-size: clamp(32px, 4vw, 58px);
    font-weight: 800;
}

#live-fire .live-fire-heading p {
    margin: 0;
    color: #b8a99a;
    font-size: 18px;
}

/* Keep all four cards in one row on desktop */
#live-fire .live-fire-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px;
    width: 100%;
}

/* Individual statistic cards */
#live-fire .live-fire-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 260px;
    padding: 32px 18px;
    background: #211b17;
    border: 1px solid #49382b;
    border-radius: 20px;
    text-align: center;
    color: #fff8eb;
}

#live-fire .live-fire-card h3 {
    margin: 0 0 48px;
    color: #ff8a24;
    font-size: clamp(18px, 1.5vw, 25px);
    font-weight: 700;
}

#live-fire .live-fire-card strong {
    display: block;
    color: #fff8eb;
    font-size: clamp(28px, 2.5vw, 46px);
    font-weight: 800;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

#live-fire .live-fire-card:hover {
    border-color: #bd702e;
}

#live-fire .live-fire-updated {
    margin-top: 16px;
    color: #b8a99a;
    text-align: right;
    font-size: 11px;
}

/* Tablet */
@media (max-width: 1000px) {
    #live-fire .live-fire-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px;
    }
}

/* Mobile */
@media (max-width: 520px) {
    #live-fire {
        width: calc(100% - 24px);
        margin: 40px auto;
    }

    #live-fire .live-fire-grid {
        grid-template-columns: 1fr !important;
    }

    #live-fire .live-fire-card {
        min-height: 180px;
    }

    #live-fire .live-fire-card h3 {
        margin-bottom: 28px;
    }
}


/* LOG OF THE DAY TOKEN IMAGE */
.log-token-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 12px 0;
}

.log-token-heading h3 {
    margin: 0;
}

#log-token-image {
    width: 76px;
    height: 76px;
    object-fit: contain;
    border-radius: 50%;
    background: #211b17;
    border: 1px solid #49382b;
    flex-shrink: 0;
}

#log-token-image[hidden] {
    display: none;
}



/* CAMP TALK LIVE POLL */
#camp-talk-options {
    display: grid;
    gap: 12px;
}

#camp-talk .poll-option {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 14px;
    width: 100%;
    text-align: left;
    padding: 16px;
    overflow: hidden;
    border: 1px solid #49382b;
    border-radius: 12px;
    background: #211b17;
    color: #fff4e6;
    cursor: pointer;
}

#camp-talk .poll-option.selected {
    border-color: #ff8a24;
    background: #302014;
}

#camp-talk .poll-option:disabled {
    cursor: default;
}

#camp-talk .poll-token-name {
    font-weight: 700;
}

#camp-talk .percentage {
    color: #e7b58c;
    font-size: 0.85rem;
}

#camp-talk .poll-progress {
    grid-column: 1 / -1;
    display: block;
    height: 5px;
    background: #403127;
    border-radius: 99px;
    overflow: hidden;
}

#camp-talk .poll-progress-fill {
    display: block;
    height: 100%;
    background: #ff8a24;
    border-radius: inherit;
    transition: width 0.25s ease;
}

.camp-talk-vote-form {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.camp-talk-vote-form label {
    color: #e7b58c;
    font-size: 0.8rem;
    font-weight: 700;
}

#camp-talk-reason {
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    color: #fff4e6;
    background: #171310;
    border: 1px solid #49382b;
    border-radius: 10px;
    font: inherit;
    resize: vertical;
}

#camp-talk-submit {
    justify-self: start;
    padding: 12px 20px;
    color: #1b120b;
    background: #ff8a24;
    border: 0;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

#camp-talk-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

#camp-talk-feedback,
#camp-talk-status {
    font-size: 0.9rem;
    color: #e7b58c;
}


/* CAMP TALK — BALANCED TWO-COLUMN LAYOUT */

#camp-talk {
    width: min(1500px, calc(100% - 48px));
    margin: 60px auto;
}

#camp-talk .talk-header {
    margin-bottom: 28px;
    align-items: center;
}

#camp-talk .talk-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    grid-template-areas:
        "question poll"
        "form poll";
    align-items: start;
    column-gap: 48px;
    row-gap: 28px;
    padding: clamp(24px, 4vw, 56px);
    box-sizing: border-box;
    width: 100%;
}

#camp-talk .talk-question {
    grid-area: question;
    min-width: 0;
}

#camp-talk .talk-question h3 {
    max-width: 620px;
    line-height: 1.3;
    margin: 22px 0 16px;
}

#camp-talk .talk-question p {
    line-height: 1.6;
}

#camp-talk #camp-talk-status {
    margin-top: 16px;
}

#camp-talk #camp-talk-options {
    grid-area: poll;
    width: 100%;
    min-width: 0;
    display: grid;
    gap: 14px;
    align-self: center;
}

#camp-talk .poll-option {
    width: 100%;
    min-height: 76px;
    box-sizing: border-box;
    padding: 18px 20px;
}

#camp-talk .poll-token-name {
    overflow-wrap: anywhere;
}

#camp-talk .camp-talk-vote-form {
    grid-area: form;
    width: 100%;
    min-width: 0;
    margin-top: 0;
    display: grid;
    align-content: start;
    gap: 12px;
}

#camp-talk #camp-talk-reason {
    min-height: 110px;
    width: 100%;
    box-sizing: border-box;
}

#camp-talk #camp-talk-submit {
    min-height: 46px;
    padding: 12px 24px;
}

#camp-talk #camp-talk-feedback {
    overflow-wrap: anywhere;
    line-height: 1.5;
}

/* TABLETS */
@media (max-width: 900px) {
    #camp-talk .talk-card {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 24px;
        padding: 28px;
    }

    #camp-talk .poll-option {
        padding: 15px;
    }
}

/* MOBILE */
@media (max-width: 650px) {
    #camp-talk {
        width: calc(100% - 28px);
        margin: 36px auto;
    }

    #camp-talk .talk-card {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "question"
            "poll"
            "form";
        gap: 28px;
        padding: 22px 18px;
    }

    #camp-talk .talk-question h3 {
        font-size: clamp(24px, 6vw, 32px);
        margin-top: 16px;
    }

    #camp-talk #camp-talk-options {
        align-self: auto;
    }

    #camp-talk .poll-option {
        min-height: 70px;
    }

    #camp-talk .camp-talk-vote-form {
        margin-top: 0;
    }
}


/* CAMP TALK — FINAL LAYOUT CORRECTION */

#camp-talk .talk-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
        "question poll"
        "form poll";
    column-gap: clamp(32px, 5vw, 80px);
    row-gap: 30px;
    align-items: center;
    min-height: 540px;
}

#camp-talk .talk-question {
    align-self: end;
}

#camp-talk #camp-talk-options {
    width: 100%;
    align-self: center;
    justify-self: stretch;
}

#camp-talk .poll-option {
    width: 100%;
    min-height: 82px;
    padding: 20px 24px;
}

#camp-talk .camp-talk-vote-form {
    align-self: start;
    margin-top: 0;
}

#camp-talk #camp-talk-reason {
    min-height: 105px;
}

#camp-talk .poll-progress {
    height: 6px;
}

/* Stack neatly on smaller screens */
@media (max-width: 650px) {
    #camp-talk .talk-card {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "question"
            "poll"
            "form";
        min-height: 0;
        gap: 26px;
    }

    #camp-talk .talk-question {
        align-self: auto;
    }

    #camp-talk #camp-talk-options {
        width: 100%;
    }

    #camp-talk .poll-option {
        min-height: 72px;
        padding: 16px;
    }
}


/* CAMP TALK — FILL THE RIGHT COLUMN EVENLY */

#camp-talk #camp-talk-options {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    justify-items: stretch;
    gap: 16px;
    width: 100%;
    min-width: 0;
}

#camp-talk #camp-talk-options .poll-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    min-width: 0;
    min-height: 88px;
    box-sizing: border-box;
    padding: 20px 26px;
    align-items: center;
    gap: 12px 20px;
}

#camp-talk #camp-talk-options .poll-option .poll-token-name {
    min-width: 0;
    overflow-wrap: anywhere;
}

#camp-talk #camp-talk-options .poll-option .percentage {
    white-space: nowrap;
    text-align: right;
}

#camp-talk #camp-talk-options .poll-progress {
    grid-column: 1 / -1;
    width: 100%;
    height: 6px;
    box-sizing: border-box;
}

/* Give the right column the full available width */
#camp-talk .talk-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

@media (max-width: 650px) {
    #camp-talk #camp-talk-options .poll-option {
        min-height: 76px;
        padding: 16px;
    }
}


/* OFFICIAL CAMPFIRE BRAND LOGO */

.navbar .logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.campfire-brand-logo {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
}

.navbar .logo span {
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff4e6;
}

@media (max-width: 600px) {
    .campfire-brand-logo {
        width: 34px;
        height: 34px;
    }

    .navbar .logo {
        gap: 7px;
    }
}


.navbar .logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.campfire-brand-logo {
    display: block;
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 50%;
}

.navbar .logo span {
    display: inline-block;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff4e6;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .campfire-brand-logo {
        width: 32px;
        height: 32px;
    }

    .navbar .logo {
        gap: 7px;
    }
}


.hero-logo-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-logo-heading img {
    width: 75px;
    height: 75px;
    object-fit: contain;
    border-radius: 50%;
}

.hero-logo-heading span {
    display: inline-block;
}

@media (max-width: 600px) {
    .hero-logo-heading {
        gap: 12px;
    }

    .hero-logo-heading img {
        width: 50px;
        height: 50px;
    }
}


/* CAMPFIRE — NEW HERO DESIGN */

body {
    background: #fff9e9;
    color: #21180e;
}

.hero {
    padding: 28px 24px 48px;
    background: #fff9e9;
}

.hero-banner {
    width: 100%;
    max-width: 1200px;
    min-height: 430px;
    margin: 0 auto;
    padding: 56px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 32px;
    overflow: hidden;
    border: 1px solid #e6ae22;
    border-radius: 18px;
    background: linear-gradient(135deg, #ffda24, #ffb51b 65%, #e98716);
    color: #21170b;
}

.hero-content {
    max-width: 600px;
    text-align: left;
}

.hero-eyebrow {
    margin: 0 0 22px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-content h1 {
    margin: 0 0 22px;
    font-size: clamp(42px, 5.3vw, 76px);
    line-height: 0.94;
    font-weight: 950;
    letter-spacing: -2px;
    color: #20170c;
}

.hero-content h1 span {
    color: #fff9e9;
    -webkit-text-stroke: 1px #20170c;
    text-shadow: 2px 2px 0 #20170c;
}

.hero-description {
    max-width: 440px;
    margin: 0 0 26px;
    color: #302315;
    font-size: 16px;
    line-height: 1.65;
}

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.hero-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 15px 20px;
    border-radius: 9px;
    background: #24190d;
    color: #fff8e8;
    text-decoration: none;
    font-weight: 750;
    box-shadow: 4px 4px 0 #d58d12;
}

.hero-primary-btn:hover {
    transform: translateY(-2px);
}

.hero-secondary-btn {
    color: #24190d;
    font-size: 13px;
    font-weight: 750;
    text-underline-offset: 5px;
}

.hero-visual {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    border-radius: 14px;
    background: radial-gradient(
        circle at center,
        rgba(255, 247, 174, 0.9),
        rgba(255, 168, 19, 0.25) 65%,
        transparent 75%
    );
}

.hero-campfire-logo {
    display: block;
    width: min(100%, 260px);
    height: 260px;
    object-fit: contain;
    border-radius: 16px;
    mix-blend-mode: multiply;


}

.hero-visual-caption {
    padding: 10px 14px;
    border: 1px solid rgba(43, 28, 10, 0.25);
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

@media (max-width: 760px) {
    .hero {
        padding: 18px 14px 32px;
    }

    .hero-banner {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 30px 24px;
    }

    .hero-content h1 {
        font-size: clamp(38px, 10vw, 58px);
    }

    .hero-visual {
        min-height: 210px;
    }

    .hero-campfire-logo {
        width: 180px;
        height: 180px;
    }
}


/* CAMPFIRE HERO — RESTORE ORIGINAL BRAND COLORS */

body {
    background: #0b0b0b;
    color: #ffffff;
}

.hero {
    background: #0b0b0b;
}

.hero-banner {
    background: linear-gradient(135deg, #17110d, #25160e 65%, #301a0c);
    border: 1px solid #5b3218;
    color: #ffffff;
}

.hero-eyebrow {
    color: #ff8a24;
}

.hero-content h1 {
    color: #ffffff;
}

.hero-content h1 span {
    color: #ff8a24;
    -webkit-text-stroke: 0;
    text-shadow: none;
}

.hero-description {
    color: #ded6ce;
}

.hero-primary-btn {
    background: #ff7900;
    color: #ffffff;
    box-shadow: 4px 4px 0 #713500;
}

.hero-primary-btn:hover {
    background: #ff8f24;
}

.hero-secondary-btn {
    color: #ff9a45;
}

.hero-visual {
    background: radial-gradient(
        circle at center,
        rgba(255, 121, 0, 0.18),
        rgba(255, 121, 0, 0.04) 60%,
        transparent 75%
    );
}

.hero-visual-caption {
    color: #ffb36d;
    border-color: #684126;
    background: rgba(11, 11, 11, 0.55);
}


.navbar {
    background: #0b0b0b;
    border-bottom: 1px solid #292421;
}

.navbar .logo span {
    color: #fff4e6;
}

.nav-links a {
    color: #ded6ce;
}

.nav-links a:hover {
    color: #ff8a24;
}

.join-button {
    color: #ff8a24;
    border-color: #ff7900;
}


/* CAMPFIRE TOKEN INFORMATION BAR */

.campfire-token-info {
    width: calc(100% - 48px);
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 20px 28px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid #38271b;
    color: #fff4e6;
}

.campfire-token-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.campfire-token-label {
    color: #ff963d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

#campfire-contract-address {
    color: #d8c9bc;
    font-family: monospace;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.campfire-copy-address {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: transparent;
    border: 1px solid #6a472f;
    border-radius: 8px;
    color: #fff4e6;
    cursor: pointer;
}

.campfire-copy-address:hover {
    border-color: #ff7900;
    color: #ff963d;
}

@media (max-width: 600px) {
    .campfire-token-info {
        width: calc(100% - 28px);
        padding: 18px 4px;
        align-items: flex-start;
        gap: 14px;
    }

    .campfire-token-info #campfire-contract-address {
        font-size: 10px;
    }

    .campfire-copy-address {
        padding: 10px;
        font-size: 12px;
    }
}


/* Logo beside the Campfire Community heading */
.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #ff8a24;
    text-align: left;
}

.hero-eyebrow-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex-shrink: 0;
}

.hero-eyebrow span {
    display: inline-block;
}

@media (max-width: 600px) {
    .hero-eyebrow {
        gap: 10px;
        font-size: 11px;
    }

    .hero-eyebrow-logo {
        width: 32px;
        height: 32px;
    }
}


/* CAMPFIRE COMPACT FOOTER */

.campfire-footer {
    width: calc(100% - 48px);
    max-width: 1100px;
    margin: 60px auto 0;
    padding: 0;
    background: #0b0b0b;
    color: #f5eee6;
    font-family: inherit;
    font-size: 12px;
}

/* Top row */
.campfire-footer .footer-top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid #302720;
}

.campfire-footer .footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff4e6;
    text-decoration: none;
    font-size: 18px;
    font-weight: 850;
    white-space: nowrap;
}

.campfire-footer .footer-brand img {
    display: block;
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.campfire-footer .footer-tagline {
    margin: 0;
    color: #b7aaa0;
    font-size: 12px;
    line-height: 1.7;
}

.campfire-footer .footer-fire-icon {
    font-size: 23px;
}

/* Middle row */
.campfire-footer .footer-middle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 0;
    border-bottom: 1px solid #302720;
}

.campfire-footer .footer-navigation,
.campfire-footer .footer-external-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.campfire-footer .footer-middle a {
    color: #f5eee6;
    text-decoration: none;
    font-size: 11px;
    transition: color 0.2s ease;
}

.campfire-footer .footer-middle a:hover {
    color: #ff8a24;
}

.campfire-footer .footer-external-links {
    justify-content: flex-end;
}

/* Bottom row */
.campfire-footer .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0 24px;
}

.campfire-footer .footer-bottom p {
    max-width: 680px;
    margin: 0;
    color: #a99c92;
    font-size: 10px;
    line-height: 1.7;
}

.campfire-footer .footer-signoff {
    color: #ff963d;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
    white-space: nowrap;
}

/* Mobile layout */
@media (max-width: 700px) {
    .campfire-footer {
        width: calc(100% - 32px);
        margin-top: 40px;
    }

    .campfire-footer .footer-top {
        grid-template-columns: 1fr auto;
        gap: 14px;
    }

    .campfire-footer .footer-tagline {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .campfire-footer .footer-fire-icon {
        grid-column: 2;
        grid-row: 1;
    }

    .campfire-footer .footer-middle {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .campfire-footer .footer-navigation,
    .campfire-footer .footer-external-links {
        justify-content: flex-start;
        gap: 16px;
    }

    .campfire-footer .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
}


/* HOMEPAGE SECTION DIVIDERS */

:root {
    --section-divider: #302720;
}

/* Add subtle separators between homepage sections */
body > section,
body > main > section,
main > section {
    border-bottom: 1px solid var(--section-divider);
}

/* Keep the hero visually distinct */
.hero {
    border-bottom: 1px solid var(--section-divider);
    padding-bottom: 48px;
}

/* Give each section breathing room */
#camp-talk,
#campfire-index,
#campfire-transparency,
#live-fire,
#log-of-the-day {
    position: relative;
    padding-bottom: 48px;
    margin-bottom: 40px;
}

/* Prevent duplicate lines on nested elements */
#camp-talk,
#campfire-index,
#campfire-transparency,
#live-fire,
#log-of-the-day {
    border-bottom: 1px solid var(--section-divider);
}

/* Match the existing dark design */
#camp-talk,
#campfire-index,
#campfire-transparency,
#live-fire,
#log-of-the-day {
    background-color: transparent;
}


/* RESPONSIVE CAMPFIRE NAVIGATION */

.navbar {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 4%;
    position: relative;
    z-index: 100;
}

.navbar .logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}

.navbar .logo img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 2vw, 32px);
}

.nav-links a {
    color: #eee5dc;
    text-decoration: none;
    white-space: nowrap;
}

.nav-links a:hover {
    color: #ff8a24;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid #6a472f;
    border-radius: 8px;
    color: #ff8a24;
    padding: 9px 12px;
    font-size: 22px;
    cursor: pointer;
}

.join-button {
    flex-shrink: 0;
}

/* Tablet and phone */
@media (max-width: 800px) {
    .navbar {
        gap: 12px;
        padding: 12px 16px;
    }

    .navbar .logo {
        gap: 7px;
    }

    .navbar .logo img {
        width: 32px;
        height: 32px;
    }

    .navbar .logo span {
        font-size: 17px;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        padding: 18px 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #11100e;
        border: 1px solid #38271b;
        border-radius: 0 0 12px 12px;
        box-sizing: border-box;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    }

    .nav-links.mobile-menu-open {
        display: flex;
    }

    .nav-links a {
        padding: 13px 4px;
        white-space: normal;
        border-bottom: 1px solid #302720;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .join-button {
        padding: 10px 12px;
        font-size: 12px;
        white-space: nowrap;
    }
}

/* Very narrow phones */
@media (max-width: 380px) {
    .navbar {
        padding: 10px;
        gap: 8px;
    }

    .navbar .logo span {
        font-size: 14px;
    }

    .navbar .logo img {
        width: 28px;
        height: 28px;
    }

    .join-button {
        padding: 9px;
        font-size: 11px;
    }

    .mobile-menu-toggle {
        padding: 7px 9px;
        font-size: 19px;
    }
}


/* MOBILE NAVIGATION — LAYOUT FIX */

@media (max-width: 800px) {
    .navbar {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        padding: 12px;
    }

    .navbar .logo {
        min-width: 0;
        flex: 1 1 auto;
        gap: 6px;
    }

    .navbar .logo img {
        width: 28px;
        height: 28px;
        flex-shrink: 0;
    }

    .navbar .logo span {
        font-size: 14px;
        letter-spacing: 0.5px;
        white-space: nowrap;
    }

    .mobile-menu-toggle {
        flex-shrink: 0;
        width: 42px;
        height: 42px;
        padding: 0;
        margin: 0;
        font-size: 22px;
    }

    .navbar .join-button {
        flex: 0 1 auto;
        min-width: 0;
        max-width: 112px;
        box-sizing: border-box;
        padding: 10px 8px;
        margin: 0;
        font-size: 11px;
        white-space: nowrap;
    }

    /* Compact dropdown that stays inside the screen */
    .navbar .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 8px 16px;
        gap: 0;
        align-items: stretch;
        background: #11100e;
        border: 1px solid #38271b;
        border-radius: 0 0 12px 12px;
        z-index: 999;
    }

    .navbar .nav-links.mobile-menu-open {
        display: flex;
        flex-direction: column;
    }

    .navbar .nav-links a {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 12px 4px;
        margin: 0;
        text-align: left;
        line-height: 1.4;
        border-bottom: 1px solid #302720;
        white-space: normal;
    }

    .navbar .nav-links a:last-child {
        border-bottom: none;
    }
}

@media (max-width: 380px) {
    .navbar .logo span {
        font-size: 12px;
    }

    .navbar .join-button {
        max-width: 96px;
        font-size: 10px;
        padding: 9px 6px;
    }

    .mobile-menu-toggle {
        width: 36px;
        height: 36px;
    }
}


/* PREVENT HORIZONTAL OVERFLOW ON MOBILE */

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

img,
video,
iframe {
    max-width: 100%;
}

@media (max-width: 800px) {
    .hero {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 16px 12px 28px;
    }

    .hero-banner {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        padding: 24px 18px;
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .hero-content {
        width: 100%;
        min-width: 0;
    }

    .hero-content h1 {
        font-size: clamp(34px, 9vw, 48px);
        letter-spacing: -1px;
        overflow-wrap: anywhere;
    }

    .hero-description {
        max-width: 100%;
        font-size: 15px;
        overflow-wrap: anywhere;
    }

    .hero-buttons {
        gap: 14px;
    }

    .hero-visual {
        width: 100%;
        min-width: 0;
        min-height: 180px;
    }
}


/* FIX: HIDE MOBILE NAVIGATION UNTIL CLICKED */

@media (max-width: 800px) {
    .navbar .nav-links {
        display: none !important;
    }

    .navbar .nav-links.mobile-menu-open {
        display: flex !important;
        flex-direction: column;
    }
}


/* CAMP TALK — MOBILE RESPONSIVE FIX */

@media (max-width: 800px) {

    #camp-talk {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 24px 14px 40px;
    }

    #camp-talk .talk-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        padding: 20px 16px;
        gap: 24px;
    }

    /* Give voting options full width */
    #camp-talk #camp-talk-options {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: 100%;
        min-width: 0;
        gap: 12px;
    }

    /* Each token voting card */
    #camp-talk #camp-talk-options .poll-option {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 76px;
        box-sizing: border-box;
        padding: 14px 16px;
        gap: 10px;
        text-align: left;
    }

    /* Token name */
    #camp-talk .poll-token-name {
        min-width: 0;
        font-size: 14px;
        font-weight: 700;
        overflow-wrap: normal;
        word-break: normal;
    }

    /* Vote count */
    #camp-talk .percentage {
        font-size: 11px;
        white-space: nowrap;
        text-align: right;
    }

    /* Progress bar */
    #camp-talk .poll-progress {
        grid-column: 1 / -1;
        width: 100%;
        height: 6px;
    }

    /* Voting reason box */
    #camp-talk #camp-talk-reason {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        min-height: 100px;
        font-size: 14px;
    }

    /* Prevent long text from widening the card */
    #camp-talk .talk-card > * {
        min-width: 0;
    }
}


/* CAMPFIRE HERO — MOBILE SPACING FIX */

@media (max-width: 800px) {
    .hero {
        margin: 0;
        padding: 24px 10px 32px;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-banner {
        width: 100%;
        max-width: 100%;
        min-height: auto;
        margin: 0 auto;
        padding: 24px 16px;
        box-sizing: border-box;
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        border-radius: 16px;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        text-align: left;
    }

    .hero-eyebrow {
        gap: 8px;
        margin-bottom: 18px;
        font-size: 10px;
        letter-spacing: 1px;
    }

    .hero-eyebrow-logo {
        width: 30px;
        height: 30px;
    }

    .hero-content h1 {
        margin-bottom: 16px;
        font-size: clamp(32px, 8.5vw, 42px);
        line-height: 0.98;
        letter-spacing: -1px;
        overflow-wrap: normal;
    }

    .hero-description {
        margin-bottom: 20px;
        font-size: 14px;
        line-height: 1.65;
    }

    .hero-buttons {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .hero-primary-btn {
        padding: 12px 14px;
        font-size: 12px;
    }

    .hero-secondary-btn {
        font-size: 11px;
    }

    .hero-visual {
        width: 100%;
        min-height: 150px;
        gap: 12px;
        background: radial-gradient(
            circle at center,
            rgba(255, 121, 0, 0.22),
            rgba(255, 121, 0, 0.05) 70%,
            transparent 100%
        );
    }

    .hero-campfire-logo {
        width: 130px;
        height: 130px;
        mix-blend-mode: normal;
    }

    .hero-visual-caption {
        font-size: 9px;
        padding: 9px 11px;
    }
}


@media (max-width: 800px) {
    .hero {
        min-height: 0 !important;
        height: auto !important;
    }

    .hero-banner {
        min-height: 0 !important;
    }
}


@media (max-width: 800px) {
    #nav-links {
        display: none !important;
    }

    #nav-links.mobile-menu-open {
        display: flex !important;
        flex-direction: column;
    }
}


/* ========================================
   CAMPFIRE ABOUT PAGE
======================================== */

.about-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    box-sizing: border-box;
    color: #fff4e6;
}

.about-page section {
    border-bottom: 1px solid #302720;
}

/* HERO */
.about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: center;
    gap: 40px;
    padding: 56px 40px;
    background: linear-gradient(135deg, #17110d, #25160e 70%, #301a0c);
    border: 1px solid #493021;
    border-radius: 18px;
    overflow: hidden;
}

.about-eyebrow,
.about-section-label {
    color: #ff8a24;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.about-hero h1 {
    margin: 22px 0;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 0.98;
    letter-spacing: -2px;
    color: #fff4e6;
}

.about-hero h1 span,
.about-section h2 span,
.about-cta h2 span {
    color: #ff8a24;
}

.about-intro {
    max-width: 540px;
    color: #cfc2b6;
    font-size: 15px;
    line-height: 1.8;
}

.about-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
}

.about-primary-button,
.about-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 17px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 750;
}

.about-primary-button {
    background: #ff7900;
    color: #ffffff;
}

.about-primary-button:hover {
    background: #ff963d;
}

.about-secondary-button {
    border: 1px solid #62432e;
    color: #fff4e6;
}

.about-secondary-button:hover {
    border-color: #ff8a24;
    color: #ff963d;
}

.about-hero-art {
    min-width: 0;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    border-radius: 14px;
    background: radial-gradient(
        circle,
        rgba(255, 121, 0, 0.18),
        transparent 72%
    );
}

.about-hero-art img {
    width: min(100%, 270px);
    height: 270px;
    object-fit: contain;
}

.about-hero-art p {
    color: #ff963d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-align: center;
}

/* GENERAL SECTIONS */
.about-section {
    padding: 64px 20px;
}

.about-section h2,
.about-cta h2 {
    margin: 14px 0 24px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
    letter-spacing: -1px;
}

.about-section-text {
    max-width: 780px;
    color: #cfc2b6;
    font-size: 15px;
    line-height: 1.9;
}

/* PURPOSE CARDS */
.about-purpose-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.about-purpose-card {
    padding: 24px 20px;
    background: #15110e;
    border: 1px solid #38271b;
    border-radius: 12px;
}

.about-card-number {
    color: #ff8a24;
    font-size: 12px;
    font-weight: 800;
}

.about-purpose-card h3,
.about-principles-grid h3 {
    margin: 18px 0 10px;
    color: #fff4e6;
    font-size: 17px;
}

.about-purpose-card p,
.about-principles-grid p {
    margin: 0;
    color: #b9aaa0;
    font-size: 13px;
    line-height: 1.8;
}

/* BLUEPRINT */
.about-blueprint-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.about-blueprint-list article {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
    background: #15110e;
    border: 1px solid #38271b;
    border-radius: 12px;
}

.blueprint-emoji {
    font-size: 27px;
}

.about-blueprint-list h3 {
    margin: 0 0 10px;
    font-size: 16px;
}

.about-blueprint-list p {
    margin: 0;
    color: #b9aaa0;
    font-size: 13px;
    line-height: 1.8;
}

/* PRINCIPLES */
.about-principles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-top: 28px;
}

.about-principles-grid > div {
    padding-top: 18px;
    border-top: 2px solid #ff7900;
}

/* FINAL CTA */
.about-cta {
    margin: 36px 0 10px;
    padding: 44px 28px;
    text-align: center;
    background: linear-gradient(135deg, #17110d, #24160e);
    border: 1px solid #493021;
    border-radius: 16px;
}

.about-cta h2 {
    margin-bottom: 16px;
}

.about-cta > p:not(.about-section-label) {
    max-width: 560px;
    margin: 0 auto;
    color: #cfc2b6;
    font-size: 14px;
    line-height: 1.8;
}

.about-cta .about-actions {
    justify-content: center;
}

/* TABLET */
@media (max-width: 900px) {
    .about-hero {
        grid-template-columns: minmax(0, 1fr);
        padding: 36px 28px;
        gap: 20px;
    }

    .about-hero-art {
        min-height: 220px;
    }

    .about-hero-art img {
        width: 190px;
        height: 190px;
    }

    .about-purpose-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-blueprint-list {
        grid-template-columns: 1fr;
    }
}

/* MOBILE */
@media (max-width: 600px) {
    .about-page {
        padding: 16px 12px;
    }

    .about-hero {
        padding: 28px 18px;
        gap: 14px;
        border-radius: 14px;
    }

    .about-hero h1 {
        font-size: clamp(34px, 9vw, 46px);
        letter-spacing: -1px;
    }

    .about-intro {
        font-size: 14px;
    }

    .about-hero-art {
        min-height: 170px;
    }

    .about-hero-art img {
        width: 150px;
        height: 150px;
    }

    .about-section {
        padding: 42px 4px;
    }

    .about-section h2,
    .about-cta h2 {
        font-size: 32px;
    }

    .about-purpose-grid,
    .about-principles-grid {
        grid-template-columns: 1fr;
    }

    .about-purpose-card {
        padding: 20px;
    }

    .about-cta {
        padding: 34px 18px;
    }

    .about-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .about-primary-button,
    .about-secondary-button {
        width: 100%;
        box-sizing: border-box;
    }
}


/* Fix the brightness of the homepage Campfire logo */
.hero-visual .hero-campfire-logo {
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    object-fit: contain;
}


.section-number {
    color: #ff861a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 16px 14px;
    padding: 0;
    display: block;
    line-height: 1.5;
}

.section-number::after {
    content: none !important;
    display: none !important;
}


/* CAMPFIRE LOGS PAGINATION */

.logs-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;

    width: fit-content;
    max-width: calc(100% - 32px);
    margin: 42px auto 70px;
    padding: 14px 18px;

    background: linear-gradient(145deg, #17120e, #0b0b0b);
    border: 1px solid rgba(255, 115, 0, 0.45);
    border-radius: 22px;

    box-shadow:
        0 0 18px rgba(255, 115, 0, 0.12),
        inset 0 0 18px rgba(255, 115, 0, 0.035);
}

.pagination-button {
    min-width: 145px;
    padding: 15px 22px;

    border: 1px solid #ff7900;
    border-radius: 13px;

    background: linear-gradient(135deg, #ff8a00, #ff6500);
    color: #ffffff;

    font-size: 16px;
    font-weight: 700;
    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.pagination-button:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 0 18px rgba(255, 115, 0, 0.4);
}

.pagination-button:disabled {
    background: #29211c;
    color: #81766e;
    border-color: #3a3029;
    cursor: not-allowed;
    opacity: 0.85;
}

#logs-page-info {
    min-width: 125px;
    text-align: center;
    color: #f5eee8;
    font-size: 17px;
    font-weight: 600;
    white-space: nowrap;
}

#logs-page-info .current-page {
    color: #ff7900;
}

/* Mobile layout */
@media (max-width: 560px) {
    .logs-pagination {
        gap: 10px;
        padding: 10px;
        margin-top: 32px;
        margin-bottom: 48px;
    }

    .pagination-button {
        min-width: 0;
        padding: 12px 10px;
        font-size: 13px;
    }

    #logs-page-info {
        min-width: 85px;
        font-size: 13px;
    }
}



/* =====================================
   CAMPFIRE LOG CARDS — PREMIUM ORANGE
===================================== */

.logs-grid .log-project-card {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 100% 100%,
            rgba(255, 115, 0, 0.09),
            transparent 45%
        ),
        linear-gradient(145deg, #171412, #101010);

    border: 1px solid rgba(255, 125, 20, 0.32);
    border-radius: 20px;

    padding: 26px;
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.25),
        inset 0 0 20px rgba(255, 115, 0, 0.025);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

/* Orange glow when hovering over a card */
.logs-grid .log-project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 125, 20, 0.85);

    box-shadow:
        0 0 22px rgba(255, 115, 0, 0.13),
        0 10px 28px rgba(0, 0, 0, 0.35);
}

/* Project name */
.logs-grid .log-project-card h2 {
    color: #fffaf5;
    font-weight: 800;
    letter-spacing: 0.3px;
}

/* Project description and market information */
.logs-grid .log-project-card p {
    color: #c9c0b8;
    line-height: 1.65;
}

/* Category badge */
.logs-grid .log-project-card .project-status {
    color: #ff8514;
    font-weight: 800;
    letter-spacing: 1px;
}

/* Project icon / token image */
.logs-grid .log-project-card .project-icon {
    border-radius: 15px;
    overflow: hidden;
}

/* View Log button */
.logs-grid .log-project-card .view-log-button,
.logs-grid .log-project-card a.view-log-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 52px;
    margin-top: 24px;
    padding: 14px 18px;

    background: linear-gradient(135deg, #ff8a00, #ff6500);
    color: #ffffff;

    border: 1px solid rgba(255, 175, 80, 0.35);
    border-radius: 12px;

    font-size: 16px;
    font-weight: 800;
    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.logs-grid .log-project-card .view-log-button:hover,
.logs-grid .log-project-card a.view-log-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);

    box-shadow:
        0 0 18px rgba(255, 115, 0, 0.3);
}

/* Small-screen adjustments */
@media (max-width: 560px) {
    .logs-grid .log-project-card {
        padding: 20px;
        border-radius: 16px;
    }
}



/* CAMPFIRE — STRONGER PREMIUM LOG CARDS */

.logs-grid .log-project-card {
    background:
        radial-gradient(
            circle at 100% 100%,
            rgba(255, 112, 0, 0.13),
            transparent 48%
        ),
        linear-gradient(145deg, #191512, #0e0d0c) !important;

    border: 1px solid rgba(255, 119, 0, 0.65) !important;
    border-radius: 20px !important;

    box-shadow:
        0 0 12px rgba(255, 105, 0, 0.08),
        inset 0 0 24px rgba(255, 105, 0, 0.035) !important;

    transition: transform 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease;
}

.logs-grid .log-project-card:hover {
    transform: translateY(-5px);

    border-color: #ff8500 !important;

    box-shadow:
        0 0 24px rgba(255, 112, 0, 0.22),
        0 12px 28px rgba(0, 0, 0, 0.35) !important;
}

/* Token images */
.logs-grid .log-project-card .project-icon {
    border-radius: 15px;
    overflow: hidden;
}

.logs-grid .log-project-card .project-icon img {
    border-radius: 15px;
}

/* Project names */
.logs-grid .log-project-card .project-token-name,
.logs-grid .log-project-card h2 {
    color: #fffaf5 !important;
    font-weight: 800;
}

/* Orange category labels */
.logs-grid .log-project-card .project-status {
    color: #ff8500 !important;
    font-weight: 800;
    letter-spacing: 1px;
}

/* Market information */
.logs-grid .log-project-card .project-live-metrics {
    color: #d0c6bd !important;
    line-height: 1.7;
}

/* Orange action button */
.logs-grid .log-project-card a.view-log-button {
    background: linear-gradient(135deg, #ff8a00, #ff6500) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 180, 90, 0.45) !important;
    border-radius: 12px !important;
    font-weight: 800;

    box-shadow: 0 3px 10px rgba(255, 105, 0, 0.12);
}

.logs-grid .log-project-card a.view-log-button:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 20px rgba(255, 112, 0, 0.3);
}


/* CAMPFIRE PROJECT METRICS */

.logs-grid .project-live-metrics {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 18px;
    color: #d0c6bd;
}

.logs-grid .project-metric-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    line-height: 1.4;
}

.logs-grid .project-metric-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    min-width: 20px;
    color: #ff8514;
    font-size: 20px;
    font-weight: 800;
}

.logs-grid .project-metric-row span:last-child {
    overflow-wrap: anywhere;
}


/* =====================================
   CAMPFIRE — PREMIUM LOG OF THE DAY
===================================== */

#log-of-the-day .log-card {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(260px, 0.8fr);
    align-items: stretch;
    gap: 0;
    padding: 60px;
    background:
        radial-gradient(
            ellipse at 15% 100%,
            rgba(255, 106, 0, 0.07),
            transparent 45%
        ),
        #141414;
    border: 1px solid #292929;
    border-radius: 26px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

#log-of-the-day .log-info {
    max-width: none;
    min-width: 0;
    padding-right: 55px;
}

#log-of-the-day .log-label {
    display: block;
    margin-bottom: 22px;
    color: #ff6a00;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 2px;
}

#log-of-the-day .log-token-heading {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

#log-of-the-day #log-token-image {
    width: 94px;
    height: 94px;
    object-fit: cover;
    border-radius: 50%;
    background: #fff8ef;
}

#log-of-the-day .log-info h3 {
    margin: 0;
    font-size: clamp(36px, 4vw, 60px);
    line-height: 1.1;
    font-weight: 850;
    overflow-wrap: anywhere;
}

#log-of-the-day .log-description {
    margin: 24px 0 34px;
    color: #c1b8b0;
    font-size: 21px;
    line-height: 1.75;
}

#log-of-the-day .log-details {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    margin: 0 0 36px;
}

#log-of-the-day .log-details div {
    gap: 8px;
}

#log-of-the-day .log-details span {
    color: #8d8580;
    font-size: 15px;
}

#log-of-the-day .log-details strong {
    color: #fff;
    font-size: 18px;
    line-height: 1.5;
}

#log-of-the-day .log-button {
    min-width: 163px;
    padding: 17px 25px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(115deg, #ff7900, #ff6500);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 5px 18px rgba(255, 106, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#log-of-the-day .log-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 106, 0, 0.28);
}

#log-of-the-day .log-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    min-width: 0;
    padding: 35px 0 35px 45px;
    border-top: 0;
    border-left: 1px solid #292929;
    text-align: center;
}

#log-of-the-day .log-rating p {
    margin: 0;
    color: #888078;
    font-size: 15px;
    letter-spacing: 2px;
}

#log-of-the-day #log-token-rating-icons {
    font-size: 27px;
    letter-spacing: 5px;
    line-height: 1.6;
}

#log-of-the-day #log-token-rating {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

#log-of-the-day .log-rating small {
    max-width: 300px;
    color: #888078;
    font-size: 14px;
    line-height: 1.7;
}

/* Mobile layout */
@media (max-width: 760px) {
    #log-of-the-day .log-card {
        grid-template-columns: 1fr;
        padding: 28px 22px;
        border-radius: 20px;
    }

    #log-of-the-day .log-info {
        padding-right: 0;
    }

    #log-of-the-day .log-token-heading {
        gap: 16px;
    }

    #log-of-the-day #log-token-image {
        width: 68px;
        height: 68px;
    }

    #log-of-the-day .log-info h3 {
        font-size: 36px;
    }

    #log-of-the-day .log-description {
        font-size: 17px;
        line-height: 1.65;
    }

    #log-of-the-day .log-details {
        gap: 20px;
    }

    #log-of-the-day .log-rating {
        margin-top: 35px;
        padding: 30px 0 0;
        border-left: 0;
        border-top: 1px solid #292929;
    }
}


/* =========================================
   LOG OF THE DAY — REFERENCE DESIGN FINISH
========================================= */

#log-of-the-day {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(ellipse at 90% 0%, rgba(255, 95, 0, .10), transparent 34%),
        radial-gradient(ellipse at 5% 100%, rgba(255, 90, 0, .07), transparent 38%);
}

#log-of-the-day .section-heading h2 .day-highlight {
    color: #ff7900;
    text-shadow: 0 0 24px rgba(255, 105, 0, .45);
}

#log-of-the-day .log-card {
    position: relative;
    grid-template-columns: minmax(0, 1.8fr) minmax(280px, .85fr);
    gap: 0;
    padding: 50px 60px;
    background:
        radial-gradient(ellipse at 5% 100%, rgba(255, 91, 0, .12), transparent 50%),
        linear-gradient(125deg, #17120e 0%, #100e0c 55%, #17100b 100%);
    border: 1px solid #ff7900;
    border-radius: 25px;
    box-shadow:
        0 0 0 1px rgba(255, 120, 0, .10),
        0 0 28px rgba(255, 100, 0, .13),
        0 20px 60px rgba(0, 0, 0, .4);
}

#log-of-the-day .log-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
        linear-gradient(130deg, transparent 65%, rgba(255, 94, 0, .06));
}

#log-of-the-day .log-info {
    position: relative;
    z-index: 1;
    padding-right: 55px;
}

#log-of-the-day .log-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 11px 18px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 121, 0, .7);
    border-radius: 30px;
    background: rgba(255, 105, 0, .09);
    color: #ff850c;
    font-size: 15px;
    letter-spacing: 2px;
}

#log-of-the-day .log-label::before {
    content: "🔥";
    font-size: 18px;
    letter-spacing: 0;
}

#log-of-the-day .log-token-heading {
    gap: 24px;
    margin-bottom: 20px;
}

#log-of-the-day #log-token-image {
    flex-shrink: 0;
    width: 108px;
    height: 108px;
    border-radius: 23px;
    box-shadow: 0 0 22px rgba(255, 105, 0, .12);
}

#log-of-the-day .log-info h3 {
    font-size: clamp(40px, 4vw, 62px);
    letter-spacing: -1.5px;
    text-shadow: 0 0 24px rgba(255, 120, 0, .10);
}

#log-of-the-day .log-description {
    max-width: 900px;
    margin: 24px 0 30px;
    color: #e0d1c4;
    font-size: 21px;
    line-height: 1.75;
}

#log-of-the-day .log-details {
    align-items: stretch;
    gap: 30px;
    margin: 0 0 34px;
}

#log-of-the-day .log-details > div {
    position: relative;
    display: grid;
    grid-template-columns: 42px auto;
    grid-template-rows: auto auto;
    align-content: center;
    column-gap: 12px;
    row-gap: 6px;
    min-width: 130px;
}


/* Text-style icons for Module and Activity */
#log-of-the-day .log-details > div::before {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
    content: "";
    width: 28px;
    height: 28px;
    background: #ff7900;
    filter: drop-shadow(0 0 8px rgba(255, 105, 0, 0.4));
}

/* Module icon */
#log-of-the-day .log-details > div:first-child::before {
    content: "⬡";
    background: none;
    font-family: Arial, sans-serif;
    font-size: 34px;
    font-weight: bold;
    line-height: 28px;
}

/* Activity icon */
#log-of-the-day .log-details > div:nth-child(2)::before {
    content: "";
    background: linear-gradient(
        to right,
        #ff7900 0 6px,
        transparent 6px 10px,
        #ff7900 10px 16px,
        transparent 16px 20px,
        #ff7900 20px 26px
    );
    clip-path: polygon(
        0 55%, 22% 55%, 22% 100%,
        42% 100%, 42% 30%, 64% 30%,
        64% 100%, 84% 100%, 84% 0,
        100% 0, 100% 100%, 0 100%
    );
}


#log-of-the-day .log-details span,
#log-of-the-day .log-details strong {
    grid-column: 2;
}

#log-of-the-day .log-details strong {
    color: #fff;
    font-size: 18px;
}

#log-of-the-day .log-button {
    position: relative;
    z-index: 1;
    min-width: 220px;
    padding: 19px 28px;
    border-radius: 16px;
    background: linear-gradient(115deg, #ff8a00, #ff5d00);
    box-shadow:
        0 0 20px rgba(255, 105, 0, .22),
        inset 0 1px rgba(255, 255, 255, .2);
    font-size: 19px;
}

#log-of-the-day .log-button::after {
    content: " →";
    font-size: 22px;
}

#log-of-the-day .log-rating {
    position: relative;
    z-index: 1;
    padding: 45px 0 45px 45px;
    border-left: 1px solid rgba(255, 121, 0, .3);
    gap: 22px;
}

#log-of-the-day .log-rating p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    color: #ff8a00;
    font-weight: 800;
    letter-spacing: 4px;
}

#log-of-the-day .log-rating p::before,
#log-of-the-day .log-rating p::after {
    content: "";
    flex: 1;
    max-width: 65px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff7900);
}

#log-of-the-day .log-rating p::after {
    background: linear-gradient(90deg, #ff7900, transparent);
}

#log-of-the-day #log-token-rating-icons {
    font-size: 34px;
    letter-spacing: 4px;
    filter: drop-shadow(0 0 8px rgba(255, 110, 0, .2));
}

#log-of-the-day #log-token-rating {
    font-size: 22px;
}

#log-of-the-day .log-rating small {
    box-sizing: border-box;
    width: 100%;
    max-width: 440px;
    padding: 18px 22px;
    border: 1px solid rgba(255, 105, 0, .4);
    border-radius: 18px;
    background: rgba(255, 90, 0, .045);
    color: #bdb0a6;
    font-size: 16px;
    line-height: 1.7;
}

@media (max-width: 760px) {
    #log-of-the-day .log-card {
        grid-template-columns: 1fr;
        padding: 28px 22px;
    }

    #log-of-the-day .log-info {
        padding-right: 0;
    }

    #log-of-the-day .log-token-heading {
        gap: 16px;
    }

    #log-of-the-day #log-token-image {
        width: 76px;
        height: 76px;
    }

    #log-of-the-day .log-info h3 {
        font-size: 36px;
    }

    #log-of-the-day .log-description {
        font-size: 17px;
    }

    #log-of-the-day .log-details {
        gap: 22px;
    }

    #log-of-the-day .log-rating {
        margin-top: 30px;
        padding: 30px 0 0;
        border-left: 0;
        border-top: 1px solid rgba(255, 121, 0, .3);
    }
}


/* LOG OF THE DAY — decorative campfire artwork */
#log-of-the-day {
    position: relative;
    isolation: isolate;
}

#log-of-the-day::before {
    content: "";
    position: absolute;
    top: -75px;
    right: -20px;
    width: min(58%, 880px);
    height: 310px;
    background-image: url("images/campfire-fire-logs-artwork.png");
    background-repeat: no-repeat;
    background-position: right top;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
    opacity: 0.95;
}

/* Keep the heading and featured card above the artwork */
#log-of-the-day > * {
    position: relative;
    z-index: 1;
}


/* CAMPFIRE — blend the fire artwork into Log of the Day */
#log-of-the-day {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

#log-of-the-day::before {
    content: "";
    position: absolute;
    top: -30px;
    right: -20px;
    width: min(65%, 950px);
    height: 440px;

    background-image: url("images/campfire-background.png");
    background-repeat: no-repeat;
    background-position: top right;
    background-size: cover;

    opacity: 0.72;
    pointer-events: none;
    z-index: -1;

    -webkit-mask-image: linear-gradient(
        to left,
        black 35%,
        rgba(0, 0, 0, 0.65) 65%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to left,
        black 35%,
        rgba(0, 0, 0, 0.65) 65%,
        transparent 100%
    );
}

#log-of-the-day .log-card {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    #log-of-the-day::before {
        width: 100%;
        height: 300px;
        right: -10px;
        opacity: 0.45;
    }
}


#camp-talk {
    position: relative;
    isolation: isolate;
    padding: 80px 24px;
    background:
        linear-gradient(
            rgba(9, 8, 7, 0.35),
            rgba(9, 8, 7, 0.35)
        ),
        url("images/camp-talk-background.png") center center / cover no-repeat,
        #090807;
}



/* CAMP TALK — reference-inspired live poll styling */


#camp-talk {
    position: relative;
    isolation: isolate;
    padding: 80px 24px;
    background:
        linear-gradient(
            rgba(9, 8, 7, 0.15),
            rgba(9, 8, 7, 0.15)
        ),
        url("images/camp-talk-background.png") center center / cover no-repeat,
        #090807;
}


#camp-talk .talk-card {
    background: linear-gradient(
        135deg,
        rgba(31, 20, 13, 0.97),
        rgba(14, 12, 11, 0.98)
    );
    border: 1px solid rgba(255, 115, 0, 0.75);
    border-radius: 28px;
    box-shadow:
        0 0 35px rgba(255, 100, 0, 0.12),
        inset 0 0 35px rgba(255, 115, 0, 0.035);
}

#camp-talk .poll-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    width: 100%;
    padding: 20px;
    text-align: left;
    color: #fff;
    background: rgba(48, 29, 17, 0.72);
    border: 1px solid rgba(255, 119, 0, 0.55);
    border-radius: 18px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease,
                transform 0.2s ease, box-shadow 0.2s ease;
}

#camp-talk .poll-option:hover,
#camp-talk .poll-option.selected {
    border-color: #ff8700;
    background: rgba(75, 39, 15, 0.85);
    box-shadow: 0 0 20px rgba(255, 110, 0, 0.14);
    transform: translateY(-2px);
}

#camp-talk .poll-option:disabled {
    cursor: default;
    transform: none;
}

#camp-talk .poll-option-content {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    width: 100%;
}

#camp-talk .poll-token-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    background: #24170e;
    border: 1px solid rgba(255, 145, 35, 0.45);
    box-shadow: 0 0 14px rgba(255, 105, 0, 0.14);
}

#camp-talk .poll-token-image-fallback {
    display: none;
}

#camp-talk .poll-token-name {
    min-width: 0;
    font-size: 16px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

#camp-talk .percentage {
    color: #ffb16e;
    font-size: 14px;
    text-align: right;
    white-space: nowrap;
}

#camp-talk .poll-progress {
    display: block;
    width: 100%;
    height: 8px;
    overflow: hidden;
    background: #493426;
    border-radius: 99px;
}

#camp-talk .poll-progress-fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #ff7900, #ffbd32);
    border-radius: inherit;
    transition: width 0.35s ease;
}

@media (max-width: 600px) {
    #camp-talk .poll-option {
        padding: 14px;
    }

    #camp-talk .poll-option-content {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
    }

    #camp-talk .poll-token-image {
        width: 44px;
        height: 44px;
    }

    #camp-talk .percentage {
        grid-column: 2;
        text-align: left;
        white-space: normal;
    }
}


/* CAMP TALK — PROJECT IMAGE AND TICKER LAYOUT */

#camp-talk-options .poll-option {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 12px 16px;
    width: 100%;
    min-height: 112px;
    padding: 18px 24px;
    box-sizing: border-box;
    text-align: left;
}

#camp-talk-options .poll-token-image {
    grid-column: 1;
    grid-row: 1;
    width: 58px;
    height: 58px;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    border: 1px solid rgba(255, 130, 0, 0.65);
    background: #24170f;
}

#camp-talk-options .poll-token-name {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#camp-talk-options .poll-option .percentage {
    grid-column: 3;
    grid-row: 1;
    color: #ffb36c;
    font-size: 15px;
    white-space: nowrap;
    text-align: right;
}

#camp-talk-options .poll-progress {
    grid-column: 1 / -1;
    grid-row: 2;
    display: block;
    width: 100%;
    height: 7px;
    overflow: hidden;
    border-radius: 20px;
    background: #493326;
}

#camp-talk-options .poll-progress-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ff8a00, #ff5100);
    transition: width 0.3s ease;
}

@media (max-width: 600px) {
    #camp-talk-options .poll-option {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 10px 12px;
        padding: 15px;
    }

    #camp-talk-options .poll-token-image {
        width: 44px;
        height: 44px;
    }

    #camp-talk-options .poll-token-name {
        font-size: 16px;
    }

    #camp-talk-options .poll-option .percentage {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
        text-align: left;
        font-size: 13px;
    }

    #camp-talk-options .poll-progress {
        grid-column: 1 / -1;
        grid-row: 3;
    }
}


/* CAMPFIRE — LIVE FIRE DESIGN */
#live-fire {
    position: relative;
    isolation: isolate;
    padding: 80px 3%;
    overflow: hidden;
    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(255, 91, 0, 0.16),
            transparent 55%
        ),
        #090807;
}

#live-fire h2 {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    color: #fff5e8;
    text-transform: uppercase;
    margin-bottom: 16px;
    text-shadow: 0 0 25px rgba(255, 100, 0, 0.2);
}

#live-fire .live-fire-subtitle {
    text-align: center;
    color: #b9aca0;
    font-size: 1.15rem;
    margin-bottom: 55px;
}

#live-fire .live-fire-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

#live-fire .live-fire-card {
    position: relative;
    min-width: 0;
    min-height: 330px;
    padding: 35px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    border: 1px solid rgba(255, 119, 24, 0.65);
    border-radius: 26px;
    background:
        radial-gradient(
            ellipse at bottom,
            rgba(255, 83, 0, 0.2),
            transparent 58%
        ),
        linear-gradient(145deg, #25140c, #100c09 75%);
    box-shadow:
        inset 0 0 30px rgba(255, 90, 0, 0.07),
        0 0 24px rgba(255, 75, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#live-fire .live-fire-card:hover {
    transform: translateY(-6px);
    box-shadow:
        inset 0 0 35px rgba(255, 90, 0, 0.12),
        0 0 28px rgba(255, 90, 0, 0.2);
}

#live-fire .live-fire-card h3 {
    color: #ff8a26;
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 28px;
}

#live-fire .live-fire-card .live-fire-value {
    color: #fff4e5;
    font-size: clamp(2rem, 3vw, 3.5rem);
    line-height: 1.15;
    font-weight: 900;
    overflow-wrap: anywhere;
}

#live-fire .live-fire-updated {
    color: #c4b2a1;
    text-align: right;
    margin-top: 24px;
    font-size: 0.9rem;
}

@media (max-width: 1000px) {
    #live-fire .live-fire-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    #live-fire {
        padding: 55px 5%;
    }

    #live-fire .live-fire-grid {
        grid-template-columns: 1fr;
    }

    #live-fire .live-fire-card {
        min-height: 240px;
    }
}


/* ===================================
   CAMPFIRE — LIVE FIRE REDESIGN
   =================================== */

#live-fire.live-fire-section {
    position: relative;
    isolation: isolate;
    padding: 75px 3%;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 0%,
            rgba(255, 80, 0, 0.18), transparent 55%),
        #090807;
}

/* Warm ambient glow behind the cards */
#live-fire.live-fire-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 0% 70%,
            rgba(255, 73, 0, 0.13), transparent 38%),
        radial-gradient(ellipse at 100% 70%,
            rgba(255, 105, 0, 0.12), transparent 38%);
}

#live-fire .live-fire-heading {
    text-align: center;
    margin: 0 auto 55px;
}

#live-fire .live-fire-heading h2 {
    color: #fff5e8;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 16px;
    text-shadow: 0 0 28px rgba(255, 95, 0, 0.2);
}

#live-fire .live-fire-heading p {
    color: #c0b2a5;
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin: 0;
}

#live-fire .live-fire-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
}

#live-fire .live-fire-card {
    position: relative;
    isolation: isolate;
    min-width: 0;
    min-height: 330px;
    padding: 36px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    border: 1px solid rgba(255, 119, 24, 0.72);
    border-radius: 26px;
    background:
        radial-gradient(ellipse at bottom,
            rgba(255, 74, 0, 0.22), transparent 60%),
        linear-gradient(145deg, #25150d, #100b08 75%);
    box-shadow:
        inset 0 0 35px rgba(255, 91, 0, 0.07),
        0 0 22px rgba(255, 75, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#live-fire .live-fire-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg,
        transparent, #ff5a00, #ffb52e, #ff5a00, transparent);
    opacity: 0.8;
}

#live-fire .live-fire-card:hover {
    transform: translateY(-5px);
    box-shadow:
        inset 0 0 35px rgba(255, 91, 0, 0.12),
        0 0 30px rgba(255, 88, 0, 0.2);
}

#live-fire .live-fire-card h3 {
    color: #ff8c2b;
    font-size: clamp(1.1rem, 1.6vw, 1.45rem);
    font-weight: 800;
    margin: 0 0 28px;
}

#live-fire .live-fire-card strong {
    display: block;
    max-width: 100%;
    color: #fff4e6;
    font-size: clamp(2rem, 3vw, 3.5rem);
    line-height: 1.2;
    font-weight: 900;
    overflow-wrap: anywhere;
    text-shadow: 0 0 20px rgba(255, 119, 24, 0.12);
}

#live-fire .live-fire-updated {
    margin-top: 24px;
    color: #c4b2a1;
    text-align: right;
    font-size: 0.9rem;
}

/* Tablet */
@media (max-width: 1000px) {
    #live-fire .live-fire-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 560px) {
    #live-fire.live-fire-section {
        padding: 50px 5%;
    }

    #live-fire .live-fire-heading {
        margin-bottom: 35px;
    }

    #live-fire .live-fire-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    #live-fire .live-fire-card {
        min-height: 230px;
    }
}



/* LIVE FIRE — REFERENCE MATCH FINISHING LAYER */

#live-fire.live-fire-section {
    background:
        linear-gradient(
            180deg,
            rgba(8, 6, 5, 0.24) 0%,
            rgba(8, 6, 5, 0.18) 55%,
            rgba(8, 6, 5, 0.08) 100%
        ),
        url("images/camp-talk-background.png") center center / cover no-repeat,
        #090807;
    padding: 65px 3% 48px;
}

#live-fire .live-fire-heading {
    margin-bottom: 32px;
}

#live-fire .live-fire-heading h2 {
    letter-spacing: 2px;
}

#live-fire .live-fire-heading h2::after {
    content: "";
    display: block;
    width: 95px;
    height: 5px;
    margin: 22px auto 0;
    border-radius: 10px;
    background: linear-gradient(90deg, #ff6500, #ffc04a, #ff6500);
    box-shadow: 0 0 16px rgba(255, 100, 0, 0.8);
}

#live-fire .live-fire-grid {
    gap: 22px;
}

#live-fire .live-fire-card {
    min-height: 465px;
    justify-content: flex-start;
    padding: 24px 16px 35px;
    background:
        linear-gradient(
            180deg,
            rgba(31, 13, 6, 0.78) 0%,
            rgba(25, 11, 5, 0.86) 65%,
            rgba(13, 8, 5, 0.76) 100%
        ),
        url("images/camp-talk-background.png") center bottom / auto 100% no-repeat,
        #160c07;
    border: 1px solid #ff8a27;
    border-radius: 25px;
    box-shadow:
        inset 0 0 25px rgba(255, 85, 0, 0.08),
        0 0 15px rgba(255, 75, 0, 0.1);
}

/* Large illustrations above the card labels */
#live-fire .live-fire-card::before {
    display: block;
    flex: 0 0 150px;
    width: 100%;
    height: 150px;
    margin-bottom: 4px;
    font-size: 5.5rem;
    line-height: 150px;
    text-align: center;
    filter: drop-shadow(0 0 15px rgba(255, 105, 0, 0.3));
}

#live-fire .live-fire-card:nth-child(1)::before {
    content: "🪵";
}

#live-fire .live-fire-card:nth-child(2)::before {
    content: "🎓";
}

#live-fire .live-fire-card:nth-child(3)::before {
    content: "💵";
}

#live-fire .live-fire-card:nth-child(4)::before {
    content: "🔥";
}

#live-fire .live-fire-card h3 {
    margin: 0 0 24px;
    padding: 9px 20px;
    border: 1px solid rgba(255, 126, 28, 0.18);
    border-radius: 30px;
    background: rgba(70, 34, 13, 0.62);
    font-size: 1.25rem;
}

#live-fire .live-fire-card strong {
    margin-top: 0;
    font-size: clamp(2.2rem, 3vw, 3.4rem);
}

#live-fire .live-fire-card::after {
    height: 5px;
    background: linear-gradient(
        90deg,
        transparent,
        #ff5700,
        #ffb52e,
        #ff5700,
        transparent
    );
    box-shadow: 0 0 15px rgba(255, 91, 0, 0.6);
}

#live-fire .live-fire-updated {
    margin-top: 24px;
}

@media (max-width: 560px) {
    #live-fire .live-fire-card {
        min-height: 340px;
    }

    #live-fire .live-fire-card::before {
        flex-basis: 110px;
        height: 110px;
        line-height: 110px;
        font-size: 4.5rem;
    }
}


/* LIVE FIRE — MODERATE CARD SIZING */

#live-fire.live-fire-section {
    padding: 55px 3% 35px;
}

#live-fire .live-fire-heading {
    margin-bottom: 30px;
}

#live-fire .live-fire-grid {
    gap: 18px;
}

#live-fire .live-fire-card {
    min-height: 350px;
    padding: 18px 14px 26px;
    border-radius: 22px;
}

#live-fire .live-fire-card::before {
    flex: 0 0 105px;
    height: 105px;
    line-height: 105px;
    font-size: 4.2rem;
    margin-bottom: 5px;
}

#live-fire .live-fire-card h3 {
    margin-bottom: 20px;
    padding: 8px 17px;
    font-size: 1.1rem;
}

#live-fire .live-fire-card strong {
    font-size: clamp(2rem, 2.7vw, 3rem);
}

#live-fire .live-fire-updated {
    margin-top: 18px;
}


/* CAMPFIRE INDEX — FIRE-THEMED DESIGN */

#campfire-index {
    position: relative;
    isolation: isolate;
    padding: 75px 4% 85px;
    overflow: hidden;
    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(255, 91, 0, 0.12),
            transparent 55%
        ),
        #0b0908;
}

/* Section heading */
#campfire-index .section-heading {
    margin-bottom: 48px;
}

#campfire-index h2 {
    color: #fff5e9;
    letter-spacing: -1.5px;
}

#campfire-index .section-description {
    color: #b8aaa0;
}

/* Project card layout */
#campfire-index .campfire-index-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* Individual project cards */
#campfire-index .index-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 340px;
    padding: 30px;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            rgba(40, 23, 15, 0.96),
            rgba(17, 15, 14, 0.98) 65%
        );
    border: 1px solid rgba(255, 119, 24, 0.3);
    border-radius: 22px;
    box-shadow: inset 0 1px rgba(255, 180, 90, 0.04);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

#campfire-index .index-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 119, 24, 0.85);
    box-shadow: 0 12px 35px rgba(255, 79, 0, 0.1);
}

/* Project logo and status */
#campfire-index .index-card img {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid rgba(255, 137, 38, 0.45);
    background: #21150f;
}

#campfire-index .index-card h3 {
    margin-top: 26px;
    color: #fff7ed;
    font-size: 1.65rem;
    overflow-wrap: anywhere;
}

#campfire-index .index-card p {
    color: #b9aaa0;
    line-height: 1.7;
}

/* Status label */
#campfire-index .index-card .index-status {
    color: #ff821c;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Score and bottom details */
#campfire-index .index-card .index-footer {
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* View all logs button */
#campfire-index a {
    transition: border-color 0.2s ease, color 0.2s ease;
}

#campfire-index a:hover {
    color: #ff8a24;
    border-color: rgba(255, 125, 25, 0.65);
}

/* Tablet */
@media (max-width: 1000px) {
    #campfire-index .campfire-index-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #campfire-index .index-card {
        min-height: 310px;
        padding: 24px;
    }
}

/* Mobile */
@media (max-width: 650px) {
    #campfire-index {
        padding: 48px 5% 55px;
    }

    #campfire-index .campfire-index-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    #campfire-index .index-card {
        min-height: 270px;
        padding: 23px;
        border-radius: 18px;
    }

    #campfire-index .index-card h3 {
        font-size: 1.4rem;
    }
}


/* =========================================
   CAMPFIRE INDEX — EMBER FIRE THEME
   ========================================= */

#campfire-index-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 38px;
}

/* Style each dynamic project card */
#campfire-index-grid > * {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 350px;
    padding: 28px;
    overflow: hidden;
    color: #fff5e9;
    background:
        radial-gradient(
            ellipse at 50% 115%,
            rgba(255, 75, 0, 0.20),
            transparent 55%
        ),
        linear-gradient(
            145deg,
            rgba(35, 20, 13, 0.98),
            rgba(15, 13, 12, 0.99) 65%
        );
    border: 1px solid rgba(255, 112, 17, 0.48);
    border-radius: 22px;
    box-shadow:
        inset 0 1px 0 rgba(255, 174, 80, 0.08),
        0 8px 28px rgba(0, 0, 0, 0.18);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

/* Orange glow along the bottom of each card */
#campfire-index-grid > *::after {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: 0;
    left: 12%;
    width: 76%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        #ff6500,
        #ffb02e,
        #ff6500,
        transparent
    );
    box-shadow: 0 0 15px rgba(255, 91, 0, 0.55);
}

/* Hover effect */
#campfire-index-grid > *:hover {
    transform: translateY(-5px);
    border-color: #ff821b;
    box-shadow:
        0 12px 35px rgba(255, 75, 0, 0.12),
        inset 0 0 25px rgba(255, 92, 0, 0.035);
}

/* Project logos */
#campfire-index-grid img {
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid rgba(255, 145, 46, 0.5);
    background: #24160f;
    box-shadow: 0 0 20px rgba(255, 91, 0, 0.12);
}

/* Project names */
#campfire-index-grid h3 {
    margin-top: 25px;
    color: #fff7ed;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    overflow-wrap: anywhere;
}

/* Descriptions */
#campfire-index-grid p {
    color: #b9aaa0;
    line-height: 1.7;
}

/* Orange labels such as BURNING, NEW and GROWING */
#campfire-index-grid .index-status {
    color: #ff851b;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

/* Tablet */
@media (max-width: 1000px) {
    #campfire-index-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    #campfire-index-grid > * {
        min-height: 320px;
        padding: 23px;
    }
}

/* Mobile */
@media (max-width: 620px) {
    #campfire-index-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    #campfire-index-grid > * {
        min-height: 280px;
        padding: 22px;
        border-radius: 18px;
    }
}



/* CAMPFIRE INDEX — MATCH LOG OF THE DAY BACKGROUND */

#campfire-index {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            rgba(8, 7, 7, 0.35),
            rgba(8, 7, 7, 0.18) 55%,
            rgba(8, 7, 7, 0.45)
        ),
        url("images/camp-talk-background.png") center center / cover no-repeat;
}

/* Give the section a warm fire glow */
#campfire-index::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(
        ellipse at 50% 35%,
        rgba(255, 83, 0, 0.12),
        transparent 65%
    );
}

/* Fire-lit project cards */
#campfire-index-grid > * {
    background:
        linear-gradient(
            180deg,
            rgba(28, 16, 11, 0.82),
            rgba(12, 10, 9, 0.91)
        ),
        url("images/camp-talk-background.png") center / cover no-repeat;
    border: 1px solid rgba(255, 119, 24, 0.6);
    box-shadow:
        inset 0 0 35px rgba(255, 82, 0, 0.07),
        0 8px 24px rgba(0, 0, 0, 0.25);
}

/* Brighter border on hover */
#campfire-index-grid > *:hover {
    border-color: #ff8a24;
    box-shadow:
        0 0 25px rgba(255, 91, 0, 0.15),
        inset 0 0 35px rgba(255, 82, 0, 0.1);
}

/* Rating row: log icons and score */
#campfire-index-grid > * > :last-child {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 155, 72, 0.22);
}

/* Keep rating details clear against the background */
#campfire-index-grid > * > :last-child img {
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 113, 22, 0.4));
}

@media (max-width: 650px) {
    #campfire-index {
        background-position: center;
    }
}



/* CAMPFIRE LOGS PAGE — FIRE BACKGROUND */

body:has(.logs-page) {
    background: #090807;
}

.logs-page {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    background:
        linear-gradient(
            180deg,
            rgba(8, 7, 7, 0.55) 0%,
            rgba(8, 7, 7, 0.35) 45%,
            rgba(8, 7, 7, 0.7) 100%
        ),
        url("images/camp-talk-background.png") center top / cover fixed no-repeat;
}

/* Keep the content readable over the fire */
.logs-page .log-card,
.logs-page .project-card {
    background: rgba(18, 14, 12, 0.88);
    border-color: rgba(255, 120, 24, 0.4);
    backdrop-filter: blur(5px);
}


/* LOGS PAGE — MOBILE FIRE BACKGROUND FIX */
@media (max-width: 768px) {
    .logs-page {
        background-image:
            linear-gradient(
                180deg,
                rgba(8, 7, 7, 0.30) 0%,
                rgba(8, 7, 7, 0.20) 45%,
                rgba(8, 7, 7, 0.45) 100%
            ),
            url("images/camp-talk-background.png");

        background-position: center top;
        background-size: auto, auto 100%;
        background-repeat: no-repeat;
        background-attachment: scroll;
    }

    .logs-page .log-card,
    .logs-page .project-card {
        background: rgba(18, 14, 12, 0.82);
        border-color: rgba(255, 120, 24, 0.55);
    }
}


/* CAMPFIRE PROJECT PAGE — FIRE BACKGROUND */

body:has(#project-detail) {
    background: #090807;
}

#project-detail {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    background:
        linear-gradient(
            180deg,
            rgba(8, 7, 7, 0.45) 0%,
            rgba(8, 7, 7, 0.28) 50%,
            rgba(8, 7, 7, 0.55) 100%
        ),
        url("images/camp-talk-background.png") center top / cover no-repeat;
}

/* Keep project details readable */
#project-detail > * {
    position: relative;
}

#project-detail .project-card,
#project-detail .project-info-card,
#project-detail .project-stat,
#project-detail .project-metric {
    background-color: rgba(24, 19, 16, 0.88);
    border-color: rgba(255, 119, 24, 0.32);
    backdrop-filter: blur(5px);
}

/* Mobile background */
@media (max-width: 768px) {
    #project-detail {
        background-attachment: scroll;
        background-position: center top;
        background-size: auto, auto 100%;
    }
}


/* PROJECT PAGE — BACKGROUND IMAGE ONLY */

body:has(main.project-page) {
    background-color: #090807;
    background-image: url("images/campfire-background.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

main.project-page {
    background: transparent !important;
}

/* Mobile */
@media (max-width: 768px) {
    body:has(main.project-page) {
        background-position: center top;
        background-attachment: scroll;
        background-size: auto 100vh;
    }
}



/* =========================================
   CAMPFIRE PROJECT PAGE — INDEX THEME
   Styling only; preserve existing functionality
========================================= */

main.project-page {
    width: min(900px, calc(100% - 36px));
    margin: 32px auto 70px;
    padding: 0;
    background: transparent !important;
    color: #fff3e5;
}

/* Main project information card */
.project-page .project-header {
    background:
        radial-gradient(
            ellipse at 15% 100%,
            rgba(255, 102, 0, 0.13),
            transparent 55%
        ),
        linear-gradient(145deg, #24150e 0%, #15100d 55%, #0d0c0b 100%);
    border: 1px solid rgba(255, 115, 0, 0.55);
    border-radius: 26px;
    padding: 32px;
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 160, 55, 0.06);
}

.project-page .section-label,
.project-page .review-label {
    color: #ff7900;
    letter-spacing: 2px;
    font-weight: 800;
}

.project-page #project-name {
    color: #fff4e8;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 850;
    letter-spacing: -1.5px;
    margin: 18px 0;
}

.project-page #project-description {
    color: #c5b7aa;
    line-height: 1.8;
    font-size: 16px;
}

.project-page .project-status {
    display: inline-block;
    margin: 18px 0;
    padding: 9px 17px;
    border: 1px solid rgba(255, 115, 0, 0.4);
    border-radius: 999px;
    background: rgba(255, 115, 0, 0.09);
    color: #ff8a22;
    font-weight: 800;
}

/* Buy and sell buttons */
.project-page .project-trade-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.project-page .project-buy-button,
.project-page .project-sell-button {
    min-height: 66px;
    border: 1px solid #ff7900;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-page .project-buy-button {
    background: linear-gradient(110deg, #ff8a00, #ff6500);
    color: #1a0d05;
}

.project-page .project-sell-button {
    background: rgba(255, 115, 0, 0.04);
    color: #ff8a22;
}

.project-page .project-buy-button:hover,
.project-page .project-sell-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 22px rgba(255, 102, 0, 0.16);
}

/* Market cap, volume, holders and score cards */
.project-page .project-content {
    margin-top: 16px;
}

.project-page .project-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.project-page .project-metric {
    min-width: 0;
    padding: 20px;
    border: 1px solid rgba(255, 125, 25, 0.24);
    border-radius: 17px;
    background: linear-gradient(
        145deg,
        rgba(39, 24, 16, 0.97),
        rgba(18, 15, 13, 0.97)
    );
    box-shadow: inset 0 1px 0 rgba(255, 170, 70, 0.035);
}

.project-page .project-metric > span {
    display: block;
    color: #ff8a22;
    margin-bottom: 9px;
}

.project-page .project-metric strong {
    color: #fff2e4;
    font-size: 22px;
    overflow-wrap: anywhere;
}

/* What stands out and score/review panels */
.project-page .project-stands-out-card,
.project-page .project-review {
    margin-top: 14px;
    padding: 24px;
    border: 1px solid rgba(255, 125, 25, 0.35);
    border-radius: 19px;
    background:
        radial-gradient(
            ellipse at 0% 100%,
            rgba(255, 100, 0, 0.09),
            transparent 60%
        ),
        linear-gradient(145deg, #21150f, #100e0c);
    color: #fff0e2;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
}

.project-page .project-stands-out-card h2,
.project-page .project-stands-out-card h3,
.project-page .project-review h2,
.project-page .project-review h3 {
    color: #fff3e5;
}

.project-page .project-stands-out-card p,
.project-page .project-review p {
    color: #c5b7aa;
    line-height: 1.75;
}

.project-page .project-review {
    border-color: rgba(255, 125, 25, 0.45);
}

/* Rating icons */
.project-page .metric-rating,
.project-page .campfire-rating-row,
.project-page .campfire-score-details {
    color: #ff8a22;
}

/* Back link */
.project-page a[href*="logs.html"] {
    color: #ff8a22;
}

/* Smaller screens */
@media (max-width: 600px) {
    main.project-page {
        width: calc(100% - 24px);
        margin: 18px auto 40px;
    }

    .project-page .project-header {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .project-page .project-metrics {
        gap: 9px;
    }

    .project-page .project-metric {
        padding: 15px 12px;
    }

    .project-page .project-metric strong {
        font-size: 18px;
    }

    .project-page .project-stands-out-card,
    .project-page .project-review {
        padding: 19px 16px;
    }

    .project-page .project-trade-buttons {
        gap: 9px;
    }
}


/* FIX: Align all project-page cards consistently */

main.project-page {
    width: min(900px, calc(100% - 36px));
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

main.project-page .project-header,
main.project-page .project-content,
main.project-page .project-stands-out-card,
main.project-page .project-review {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

main.project-page .project-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

main.project-page .project-metrics {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    box-sizing: border-box;
}

main.project-page .project-metric,
main.project-page .project-stands-out-card,
main.project-page .project-review {
    min-width: 0;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
}

main.project-page .project-stands-out-card,
main.project-page .project-review {
    width: 100%;
}

@media (max-width: 600px) {
    main.project-page {
        width: calc(100% - 24px);
    }

    main.project-page .project-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }
}


/* Slightly dim the fire background on the project page */
body:has(main.project-page)::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    pointer-events: none;
    z-index: -1;
}

/* Project logo beside its name */
.project-title-row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 18px 0;
}

.project-token-image {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(255, 128, 0, 0.65);
    box-shadow: 0 0 22px rgba(255, 100, 0, 0.15);
    flex-shrink: 0;
}

.project-title-row h1 {
    margin: 0;
}

@media (max-width: 600px) {
    .project-token-image {
        width: 54px;
        height: 54px;
        border-radius: 12px;
    }

    .project-title-row {
        gap: 12px;
    }
}


/* CAMPFIRE PROJECT HERO CARD */
main.project-page .project-header {
    background: linear-gradient(
        135deg,
        rgba(43, 23, 12, 0.96),
        rgba(15, 11, 9, 0.96)
    );
    border: 1px solid rgba(255, 125, 0, 0.65);
    border-radius: 22px;
    padding: 28px;
    margin-bottom: 18px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
}

/* PROJECT NAME AND IMAGE */
main.project-page .project-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

main.project-page .project-token-image {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(255, 125, 0, 0.45);
    flex-shrink: 0;
}

/* PROJECT DESCRIPTION */
main.project-page #project-description {
    color: #d3c1b1;
    font-size: 16px;
    line-height: 1.8;
    margin: 12px 0 20px;
}

/* PROJECT STATUS */
main.project-page .project-status {
    display: inline-block;
    color: #ff8500;
    background: rgba(255, 125, 0, 0.08);
    border: 1px solid rgba(255, 125, 0, 0.4);
    border-radius: 999px;
    padding: 7px 13px;
    margin-bottom: 20px;
    font-weight: 700;
}

/* BUY AND SELL BUTTONS */
main.project-page .project-trade-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 4px;
}

main.project-page .project-buy-button,
main.project-page .project-sell-button {
    min-width: 0;
    min-height: 76px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 12px;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease;
}

main.project-page .project-buy-button {
    background: linear-gradient(100deg, #ff8500, #ff6500);
    border: 1px solid #ff8500;
    color: #160b03;
}

main.project-page .project-sell-button {
    background: rgba(255, 125, 0, 0.04);
    border: 1px solid #ff8500;
    color: #ff8500;
}

main.project-page .project-buy-button:hover,
main.project-page .project-sell-button:hover {
    transform: translateY(-2px);
}

/* MOBILE LAYOUT */
@media (max-width: 600px) {
    main.project-page .project-header {
        padding: 20px 16px;
        border-radius: 17px;
    }

    main.project-page .project-token-image {
        width: 52px;
        height: 52px;
    }

    main.project-page .project-trade-buttons {
        gap: 8px;
    }

    main.project-page .project-buy-button,
    main.project-page .project-sell-button {
        min-height: 66px;
        padding: 10px 6px;
        font-size: 13px;
    }
}


/* CAMPFIRE COMMUNITY PAGE BACKGROUND */
body:has(.community-page) {
    background:
        linear-gradient(
            rgba(8, 6, 5, 0.58),
            rgba(8, 6, 5, 0.68)
        ),
        url("images/campfire-background.png") center center / cover fixed no-repeat;

    background-color: #0b0806;
    min-height: 100vh;
}

/* Keep community content above the background */
body:has(.community-page) .community-page {
    position: relative;
    z-index: 1;
}

/* Make community cards fit the CAMPFIRE theme */
body:has(.community-page) .community-page .card,
body:has(.community-page) .community-page .community-card {
    background: linear-gradient(
        135deg,
        rgba(35, 21, 13, 0.94),
        rgba(15, 12, 10, 0.94)
    );
    border: 1px solid rgba(255, 125, 0, 0.4);
    border-radius: 18px;
}



/* =========================================
   CAMPFIRE COMMUNITY — FIRE BACKGROUND
========================================= */

body:has(.community-dashboard) {
    background-color: #090706;
    background-image:
        linear-gradient(
            rgba(8, 6, 5, 0.55),
            rgba(8, 6, 5, 0.68)
        ),
        url("images/campfire-background.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Keep the community sections transparent
   so the background can show through */

body:has(.community-dashboard) .community-hero,
body:has(.community-dashboard) .community-layout,
body:has(.community-dashboard) .community-dashboard,
body:has(.community-dashboard) .dashboard-main,
body:has(.community-dashboard) .dashboard-left,
body:has(.community-dashboard) .dashboard-right {
    background-color: transparent;
}

/* Warm CAMPFIRE styling for cards */

body:has(.community-dashboard) .discussion-card,
body:has(.community-dashboard) .sidebar-card,
body:has(.community-dashboard) .start-discussion-card,
body:has(.community-dashboard) .member-profile-card,
body:has(.community-dashboard) .official-forum-card {
    background: linear-gradient(
        135deg,
        rgba(36, 23, 15, 0.94),
        rgba(14, 11, 9, 0.96)
    );
    border: 1px solid rgba(255, 125, 0, 0.35);
    border-radius: 16px;
}

/* Match the orange CAMPFIRE theme */

body:has(.community-dashboard) .section-label,
body:has(.community-dashboard) .forum-label,
body:has(.community-dashboard) .sidebar-card h3 {
    color: #ff8500;
}

/* Make the page comfortable on smaller screens */

@media (max-width: 768px) {
    body:has(.community-dashboard) {
        background-attachment: scroll;
        background-position: center top;
    }
}


/* =========================================
   CAMPFIRE COMMUNITY — UNIFIED ORANGE BORDERS
========================================= */

body:has(.community-dashboard) .community-hero,
body:has(.community-dashboard) .member-profile-card,
body:has(.community-dashboard) .official-forum-card,
body:has(.community-dashboard) .dashboard-brand,
body:has(.community-dashboard) .dashboard-menu,
body:has(.community-dashboard) .dashboard-left .sidebar-card,
body:has(.community-dashboard) .dashboard-main,
body:has(.community-dashboard) .dashboard-right .sidebar-card,
body:has(.community-dashboard) .start-discussion-card,
body:has(.community-dashboard) #discussion-list > *,
body:has(.community-dashboard) #popular-discussions-list > *,
body:has(.community-dashboard) .dashboard-heading,
body:has(.community-dashboard) .discussion-controls,
body:has(.community-dashboard) .discussion-controls input,
body:has(.community-dashboard) .discussion-controls select,
body:has(.community-dashboard) .discussion-category-filters {
    border: 1px solid rgba(255, 125, 0, 0.55);
    border-radius: 16px;
    box-sizing: border-box;
}

/* Consistent warm, dark card backgrounds */

body:has(.community-dashboard) .dashboard-brand,
body:has(.community-dashboard) .dashboard-menu,
body:has(.community-dashboard) .dashboard-main,
body:has(.community-dashboard) .discussion-controls,
body:has(.community-dashboard) .dashboard-heading {
    background: linear-gradient(
        135deg,
        rgba(35, 22, 14, 0.94),
        rgba(14, 11, 9, 0.96)
    );
}

/* Discussion cards */

body:has(.community-dashboard) #discussion-list > *,
body:has(.community-dashboard) #popular-discussions-list > * {
    background: linear-gradient(
        135deg,
        rgba(35, 22, 14, 0.96),
        rgba(14, 11, 9, 0.97)
    );
    padding: 18px;
    margin-bottom: 14px;
}

/* Keep the main panels separated */

body:has(.community-dashboard) .dashboard-main {
    padding: 22px;
    border-radius: 18px;
}

body:has(.community-dashboard) .discussion-controls {
    padding: 14px;
    margin-bottom: 18px;
}

body:has(.community-dashboard) .dashboard-menu {
    padding: 12px;
}

/* Orange hover effect */

body:has(.community-dashboard) .discussion-controls input:focus,
body:has(.community-dashboard) .discussion-controls select:focus {
    outline: none;
    border-color: #ff8500;
    box-shadow: 0 0 0 2px rgba(255, 133, 0, 0.12);
}


/* Remove border from the Community hero only */
body:has(.community-dashboard) .community-hero {
    border: none !important;
    outline: none !important;
    box-shadow: none;
}



/* =====================================
   CAMPFIRE MEME GENERATOR
===================================== */

.meme-generator-section {
    max-width: 1400px;
    margin: 80px auto;
    padding: 60px 30px;
    color: #fff2e5;
    background: rgba(12, 8, 6, 0.88);
    border: 1px solid rgba(255, 115, 0, 0.55);
    border-radius: 24px;
    box-sizing: border-box;
}

.meme-generator-heading {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 40px;
}

.meme-generator-heading h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin: 14px 0;
    color: #fff2e5;
}

.meme-generator-heading p {
    color: #c9b9ac;
    line-height: 1.7;
}

.meme-generator-layout {
    display: grid;
    grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.4fr);
    gap: 24px;
    align-items: start;
}

.meme-expression-panel,
.meme-workspace {
    min-width: 0;
    padding: 22px;
    background: rgba(24, 17, 13, 0.95);
    border: 1px solid rgba(255, 115, 0, 0.4);
    border-radius: 18px;
    box-sizing: border-box;
}

.meme-expression-panel h3 {
    margin-top: 0;
    color: #ff8500;
}

.meme-expression-panel > p {
    color: #bcaea3;
    font-size: 14px;
}

.meme-expression-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.meme-expression {
    min-width: 0;
    padding: 8px;
    color: #f9e8d8;
    background: #17110d;
    border: 1px solid #493020;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s;
}

.meme-expression:hover {
    border-color: #ff8500;
    transform: translateY(-2px);
}

.meme-expression.active {
    border: 2px solid #ff8500;
    background: #2a180d;
}

.meme-expression img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
}

.meme-expression span {
    display: block;
    padding-top: 8px;
    font-size: 13px;
    font-weight: 700;
}

.meme-canvas {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #090706;
    border-radius: 12px;
    isolation: isolate;
}

.meme-canvas > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.meme-caption {
    position: absolute;
    left: 4%;
    width: 92%;
    color: white;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: clamp(16px, 2.4vw, 30px);
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    overflow-wrap: anywhere;
    line-height: 1.15;
    text-shadow:
        2px 2px 0 #000,
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000,
        0 3px 5px #000;
    z-index: 2;
}

.meme-caption-top {
    top: 4%;
}

.meme-caption-bottom {
    bottom: 7%;
}

.meme-watermark {
    position: absolute;
    right: 10px;
    bottom: 8px;
    z-index: 3;
    padding: 5px 8px;
    color: #fff;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
}

.meme-caption-controls {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.meme-caption-controls label {
    color: #ff9a28;
    font-size: 13px;
    font-weight: 700;
}

.meme-caption-controls input {
    width: 100%;
    padding: 13px;
    color: #fff2e5;
    background: #100c09;
    border: 1px solid #59371f;
    border-radius: 9px;
    box-sizing: border-box;
    font: inherit;
}

.meme-caption-controls input:focus {
    outline: 2px solid #ff8500;
    outline-offset: 2px;
}

#meme-download {
    margin-top: 10px;
    cursor: pointer;
}

#meme-generator-message {
    color: #ffbd7a;
    font-size: 13px;
}

@media (max-width: 800px) {
    .meme-generator-section {
        margin: 40px 12px;
        padding: 35px 16px;
    }

    .meme-generator-layout {
        grid-template-columns: 1fr;
    }

    .meme-expression-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .meme-expression {
        padding: 5px;
    }

    .meme-expression span {
        font-size: 11px;
    }
}

@media (max-width: 450px) {
    .meme-expression-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* CAMPFIRE MEME SIZE CONTROLS */
.meme-size-control {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    align-items: center;
    margin: 14px 0;
}

.meme-size-control label {
    color: #f5f5f5;
    font-weight: 600;
}

.meme-size-control input[type="range"] {
    grid-column: 1;
    width: 100%;
    accent-color: #ff7a18;
    cursor: pointer;
}

.meme-size-control span {
    grid-column: 2;
    grid-row: 2;
    color: #ff9a3c;
    font-weight: 700;
}

.meme-drag-tip {
    color: #c5c5c5;
    font-size: 13px;
    margin-top: 12px;
}

/* MAKE CAPTIONS MOVABLE */
.meme-caption {
    cursor: grab;
    touch-action: none;
    user-select: none;
}

.meme-caption:active {
    cursor: grabbing;
}

.meme-caption.is-dragging {
    outline: 1px dashed #ff7a18;
    outline-offset: 4px;
}

.meme-watermark {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 5;
    display: flex;
    align-items: center;
}

.meme-watermark img {
    width: 85px;
    height: auto;
    max-height: 45px;
    object-fit: contain;
    opacity: 0.9;
}
/* CAMPFIRE LOGS — MOBILE CARD SPACING FIX */
@media (max-width: 768px) {
    .logs-grid {
        align-items: start;
    }

    .log-project-card {
        height: auto;
        min-height: 0;
        padding: 22px;
        box-sizing: border-box;
    }

    .log-project-card h2 {
        margin: 16px 0 10px;
        font-size: 22px;
    }

    .log-project-card p {
        min-height: 0;
        line-height: 1.6;
    }

    .log-project-card .project-rating {
        margin-top: 18px;
        padding-top: 16px;
    }

    .log-project-card .view-log-button {
        margin-top: 18px;
    }
}

/* CAMPFIRE LOGS — FIX MOBILE METRICS VISIBILITY */
@media (max-width: 768px) {
    #logs-container .log-project-card {
        aspect-ratio: auto !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        box-sizing: border-box !important;
    }

    #logs-container .log-project-card .project-live-metrics {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        margin: 12px 0 0 !important;
        overflow: visible !important;
        max-height: none !important;
        height: auto !important;
        -webkit-line-clamp: unset !important;
        line-clamp: unset !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    #logs-container .log-project-card .view-log-button {
        margin-top: 8px !important;
        flex-shrink: 0 !important;
    }
}

/* Community page: mobile navigation layout */
@media (max-width: 600px) {
body:has(.community-dashboard) .navbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    padding: 10px;
    box-sizing: border-box;
    width: 100%;

    }

    body:has(.community-dashboard) .navbar > .logo {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    body:has(.community-dashboard) .navbar > .logo img {
        width: 25px;
        height: 25px;
        object-fit: contain;
        flex-shrink: 0;
    }

    body:has(.community-dashboard) .navbar > .logo span {
        font-size: 12px;
        white-space: nowrap;
    }

    body:has(.community-dashboard) .mobile-menu-toggle {
        order: 2;
        flex: 0 0 auto;
        padding: 7px;
        margin: 0;
    }

    body:has(.community-dashboard) .member-nav {
        order: 3;
        flex: 0 1 105px;
        min-width: 0;
    }

    body:has(.community-dashboard) .member-nav-button {
        width: 100%;
        max-width: 105px;
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 4px;
        padding: 7px;
        box-sizing: border-box;
    }

    body:has(.community-dashboard) #nav-member-avatar {
        flex-shrink: 0;
    }

    body:has(.community-dashboard) #nav-member-name {
        flex: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    
body:has(.community-dashboard) .join-button {
    order: 4;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 10px;
    margin: 0;
    font-size: 10px;
    line-height: 1.2;
    white-space: nowrap;
    box-sizing: border-box;
}


    body:has(.community-dashboard) .nav-links {
        order: 5;
        flex-basis: 100%;
        width: 100%;
    }
}
