

:root {

    --bg-deep:     #0d0907;
    --bg-base:     #1a120d;
    --bg-surface:  #241a13;
    --bg-card:     #2a1e15;

    --amber:       #e8943a;
    --amber-light: #f5b76b;
    --amber-glow:  rgba(232, 148, 58, 0.25);
    --orange:      #d4753a;
    --orange-dark: #a85a2a;
    --green:       #7ec86a;
    --green-dim:   #5aaa46;
    --cream:       #f4e8d9;
    --cream-muted: #c4b09a;
    --muted:       #9a8878;
    --text:        #f0e6da;
    --text-dim:    #bfad9e;


    --glass:       rgba(255, 235, 210, 0.04);
    --glass-border:rgba(255, 235, 210, 0.08);
    --glass-hover: rgba(255, 235, 210, 0.07);


    --shadow-sm:   0 2px 8px rgba(0,0,0,0.3);
    --shadow-md:   0 8px 32px rgba(0,0,0,0.4);
    --shadow-lg:   0 16px 64px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 40px var(--amber-glow);
}

.age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}
.age-gate::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(13, 9, 7, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: -1;
}
.age-gate.dismissed {
    opacity: 0;
    pointer-events: none;
}
.age-gate-box {
    position: relative;
    text-align: center;
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 16px 64px rgba(0,0,0,0.6), 0 0 60px var(--amber-glow);
}
.age-gate-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 1.2rem;
    box-shadow: var(--shadow-glow);
}
.age-gate-box h2 {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--amber-light) 0%, var(--amber) 40%, var(--orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.6rem;
}
.age-gate-box p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.5;
}
.age-gate-question {
    font-size: 1.15rem !important;
    font-weight: 700;
    color: var(--text) !important;
    margin-top: 1.2rem;
    margin-bottom: 1.4rem;
}
.age-gate-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}
.age-btn {
    padding: 0.75rem 2.2rem;
    font-size: 1.05rem;
    font-weight: 700;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.age-btn:hover {
    transform: translateY(-2px);
}
.age-btn--yes {
    color: #fff;
    background: linear-gradient(135deg, var(--amber) 0%, var(--orange) 100%);
    box-shadow: 0 4px 20px rgba(232, 148, 58, 0.35);
}
.age-btn--yes:hover {
    box-shadow: 0 6px 30px rgba(232, 148, 58, 0.5);
}
.age-btn--no {
    color: var(--text-dim);
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
}
.age-btn--no:hover {
    background: var(--bg-surface);
}

body.age-locked {
    overflow: hidden;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg-deep);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
}

.bg-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    background: url('background.png') center / cover no-repeat;
    opacity: 0.06;
    pointer-events: none;
    will-change: opacity;
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.bg-ambient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

#particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    will-change: transform;
}

.orb-1 {
    width: 500px; height: 500px;
    left: -150px; top: -150px;
    background: radial-gradient(circle, var(--orange) 0%, transparent 70%);
    animation: orbFloat1 12s ease-in-out infinite;
}
.orb-2 {
    width: 400px; height: 400px;
    right: -120px; top: 30%;
    background: radial-gradient(circle, var(--amber) 0%, transparent 70%);
    animation: orbFloat2 15s ease-in-out infinite;
}
.orb-3 {
    width: 350px; height: 350px;
    left: 30%; bottom: -100px;
    background: radial-gradient(circle, var(--orange-dark) 0%, transparent 70%);
    animation: orbFloat3 18s ease-in-out infinite;
}
.orb-4 {
    width: 250px; height: 250px;
    right: 20%; top: 10%;
    background: radial-gradient(circle, var(--green-dim) 0%, transparent 70%);
    opacity: 0.2;
    animation: orbFloat2 20s ease-in-out infinite reverse;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, 20px) scale(1.05); }
    66% { transform: translate(-20px, 10px) scale(0.95); }
}
@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-25px, 15px) scale(1.08); }
}
@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0); }
    40% { transform: translate(20px, -30px); }
    80% { transform: translate(-15px, -10px); }
}

.hero {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.server-icon-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: 0.5rem;
}

.server-icon {
    width: 140px;
    height: 140px;
    border-radius: 32px;
    object-fit: cover;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    animation: iconPulse 3s ease-in-out infinite;
}

.icon-ring {
    position: absolute;
    inset: -8px;
    border-radius: 38px;
    border: 2px solid var(--amber);
    opacity: 0.4;
    animation: ringPulse 3s ease-in-out infinite;
    z-index: 1;
}

.icon-glow {
    position: absolute;
    inset: -20px;
    border-radius: 50px;
    background: radial-gradient(circle, var(--amber-glow) 0%, transparent 70%);
    z-index: 0;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(232, 148, 58, 0.45),
                    var(--shadow-lg), var(--shadow-glow);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(232, 148, 58, 0),
                    var(--shadow-lg), var(--shadow-glow);
    }
}

@keyframes ringPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.15; transform: scale(1.06); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.1); }
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    line-height: 1.15;
}

.title-line {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--cream-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.title-accent {
    font-size: 3.6rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--amber-light) 0%, var(--amber) 40%, var(--orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 10px var(--amber-glow));
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-dim);
    max-width: 480px;
    line-height: 1.6;
}

.join-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 1rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--amber) 0%, var(--orange) 100%);
    border: none;
    border-radius: 16px;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 6px 25px rgba(232, 148, 58, 0.3),
                0 2px 8px rgba(0,0,0,0.3);
    animation: btnFloat 3s ease-in-out infinite;
    margin-top: 0.5rem;
}

.join-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 40px rgba(232, 148, 58, 0.45),
                0 4px 12px rgba(0,0,0,0.3);
}

.join-btn:active {
    transform: translateY(0) scale(0.98);
}

.join-btn .join-icon {
    flex-shrink: 0;
}

.btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%   { left: -100%; }
    50%  { left: 100%; }
    100% { left: 100%; }
}

@keyframes btnFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.join-btn:hover .btn-shimmer {
    animation-duration: 1.5s;
}

.join-btn-sm {
    padding: 0.8rem 2rem;
    font-size: 1rem;
    border-radius: 12px;
}

.member-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: var(--green);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(126, 200, 106, 0.5); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(126, 200, 106, 0); }
}

.scroll-hint {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: var(--muted);
    font-size: 0.85rem;
    animation: scrollBounce 2.5s ease-in-out infinite;
    cursor: pointer;
    transition: opacity 0.3s;
}

.scroll-hint:hover {
    color: var(--amber-light);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(8px); opacity: 1; }
}

.bots-section {
    position: relative;
    z-index: 2;
    padding: 5rem 0 4rem;
}

.section-heading {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.6rem;
}

.heading-decoration {
    display: inline-block;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--amber), transparent);
    border-radius: 2px;
}

.section-sub {
    text-align: center;
    color: var(--text-dim);
    font-size: 1.05rem;
    margin-bottom: 3rem;
}

.bots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.25rem;
}

.bot-card {
    position: relative;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 1.1rem 1.2rem 0.9rem;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto 1fr auto;
    column-gap: 0.6rem;
    row-gap: 0.35rem;
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.bot-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.35s ease, background 0.35s ease;
}

.bot-card:hover {
    transform: translateY(-6px);
    border-color: rgba(232, 148, 58, 0.2);
    background: var(--glass-hover);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, var(--amber-glow), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.bot-card:hover .card-glow {
    opacity: 0.15;
}

.bot-card h3 {
    grid-row: 1;
    grid-column: 1 / -1;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cream);
}

.bot-card--sub h3 {
    background: linear-gradient(135deg, #ffd700 0%, #f5b76b 30%, #ffd700 60%, #e8943a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 100%;
    animation: goldShimmer 4s ease-in-out infinite;
}

@keyframes goldShimmer {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

.bot-card p {
    grid-row: 2;
    grid-column: 1 / -1;
    font-size: 0.88rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.bot-emoji {
    grid-row: 3;
    grid-column: 1;
    align-self: center;
    font-size: 1.5rem;
    line-height: 1;
    animation: emojiIdle 5s ease-in-out infinite;
}

.bot-card:nth-child(2n) .bot-emoji { animation-delay: -1s; }
.bot-card:nth-child(3n) .bot-emoji { animation-delay: -2s; }
.bot-card:nth-child(4n) .bot-emoji { animation-delay: -3s; }

@keyframes emojiIdle {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-3deg) scale(1.05); }
    75% { transform: rotate(3deg) scale(1.05); }
}

.card-tags {
    grid-row: 3;
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-self: end;
    align-self: center;
    margin-top: 0.3rem;
}

.card-tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--amber-light);
    background: rgba(232, 148, 58, 0.1);
    border: 1px solid rgba(232, 148, 58, 0.15);
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-tag.tag-bot {
    color: var(--green);
    background: rgba(126, 200, 106, 0.1);
    border-color: rgba(126, 200, 106, 0.2);
}

.cta-banner {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
}

.cta-inner {
    text-align: center;
    background: linear-gradient(135deg, rgba(232, 148, 58, 0.08), rgba(212, 117, 58, 0.05));
    border: 1px solid rgba(232, 148, 58, 0.12);
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-md);
}

.cta-inner h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--cream);
    margin-bottom: 0.5rem;
}

.cta-inner p {
    color: var(--text-dim);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.site-footer {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--cream);
}

.footer-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    object-fit: cover;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--amber-light);
}

.footer-sep {
    color: rgba(255,235,210,0.15);
}

.footer-copy {
    color: var(--muted);
    font-size: 0.8rem;
    opacity: 0.6;
}

.no-cookies-footer {
    font-size: 0.8rem;
    color: var(--green-dim);
    opacity: 0.85;
}

@media (max-width: 900px) {
    .title-accent {
        font-size: 2.8rem;
    }
    .bots-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 1.5rem;
    }
    .title-line {
        font-size: 1rem;
    }
    .title-accent {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .join-btn {
        padding: 0.85rem 2rem;
        font-size: 1.05rem;
    }
    .server-icon-wrapper {
        width: 110px;
        height: 110px;
    }
    .server-icon {
        width: 110px;
        height: 110px;
        border-radius: 26px;
    }
    .icon-ring {
        inset: -6px;
        border-radius: 32px;
    }
    .bots-grid {
        grid-template-columns: 1fr;
    }
    .section-heading {
        font-size: 1.6rem;
    }
    .cta-inner {
        padding: 2rem 1.2rem;
    }
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 400px) {
    .title-accent {
        font-size: 1.8rem;
    }
    .join-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        border-radius: 12px;
    }
}

.resident-card-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 4rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.rcs-section-title {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--amber-light) 0%, var(--amber) 40%, var(--orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rcs-section-desc {
    font-size: 0.95rem;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
}
.resident-card-showcase.visible {
    opacity: 1;
    transform: translateY(0);
}

.bot-card--preview-link {
    cursor: pointer;
}
.bot-card--preview-link .preview-hint {
    grid-column: 1 / -1;
    display: block;
    margin-top: 0.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--amber);
    opacity: 0.7;
    transition: opacity 0.25s ease;
}
.bot-card--preview-link:hover .preview-hint {
    opacity: 1;
}

.rcs-parallax-layer {
    width: 100%;
    max-width: 520px;
    will-change: transform;
    transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

.rcs-flip-root {
    position: relative;
    width: 100%;
    cursor: pointer;

}

.rcs-face {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.35s ease, transform 0.4s ease;
}

.rcs-front {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    z-index: 2;
}

.rcs-back {
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    z-index: 1;
    height: 100%;
}

.rcs-back .rcs-embed {
    height: 100%;
}
.rcs-back .rcs-embed-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rcs-backside-image {
    flex: 1;
    width: 100%;
    min-height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-top: 0.6rem;
}

.rcs-flip-root.flipped .rcs-front {
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
}

.rcs-flip-root.flipped .rcs-back {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.rcs-embed {
    display: flex;
    border-radius: 4px;
    overflow: hidden;
    font-family: 'Whitney', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.9rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.45);
    user-select: none;
}

.rcs-embed--gold  { background: #2b2d31; }
.rcs-embed--purple { background: #2b2d31; }

.rcs-embed-accent {
    width: 4px;
    flex-shrink: 0;
    border-radius: 4px 0 0 4px;
}
.rcs-embed-accent--gold   { background: #f0b132; }
.rcs-embed-accent--purple { background: #9b59b6; }

.rcs-embed-body {
    flex: 1;
    padding: 0.7rem 1rem 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
}

.rcs-embed-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.4rem;
}

.rcs-embed-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.rcs-embed-icons {
    font-size: 1.1rem;
    margin: 0.15rem 0 0.2rem;
}

.rcs-embed-user {
    font-size: 1.05rem;
    font-weight: 600;
    color: #dbdee1;
}

.rcs-avatar {
    width: 112px;
    height: 112px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.rcs-mention { color: #5865f2; }
.rcs-species  { color: #dbdee1; }

.rcs-section-label {
    font-weight: 700;
    color: #dbdee1;
    text-decoration: underline;
    margin-top: 0.35rem;
    font-size: 0.88rem;
}

.rcs-list {
    list-style: disc;
    padding-left: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.rcs-list li { color: #b5bac1; font-size: 0.85rem; }

.rcs-inline {
    font-size: 0.85rem;
    color: #b5bac1;
}

.rcs-key { font-weight: 600; color: #dbdee1; }
.rcs-val { color: #b5bac1; }

.rcs-role {
    display: inline-block;
    padding: 0 4px;
    border-radius: 3px;
    font-size: 0.83rem;
    font-weight: 600;
}
.rcs-role--pink   { background: rgba(235, 69, 158, 0.15); color: #e879a0; }
.rcs-role--purple { background: rgba(155, 89, 182, 0.15); color: #b27fe0; }
.rcs-role--blue   { background: rgba(88, 101, 242, 0.15); color: #7289da; }
.rcs-role--red    { background: rgba(231, 76, 60, 0.15);  color: #e74c3c; }
.rcs-role--gold   { background: rgba(240, 177, 50, 0.15); color: #f0b132; }
.rcs-role--green  { background: rgba(87, 242, 135, 0.12); color: #57f287; }

.rcs-link {
    color: #00aff4;
    cursor: pointer;
    font-size: 0.83rem;
}

.rcs-rank-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.6rem;
    background: #1e1f22;
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
}

.rcs-rank-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 3px solid #7289da;
    object-fit: cover;
    flex-shrink: 0;
}

.rcs-rank-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
}

.rcs-rank-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.rcs-rank-level {
    font-size: 0.8rem;
    color: #b5bac1;
}

.rcs-rank-stats {
    display: flex;
    gap: 0.8rem;
    font-size: 0.78rem;
    color: #b5bac1;
}

.rcs-xp-bar-wrap {
    width: 100%;
    height: 6px;
    background: #3a3c40;
    border-radius: 3px;
    overflow: hidden;
    margin: 0.15rem 0;
}

.rcs-xp-bar {
    height: 100%;
    background: linear-gradient(90deg, #7289da, #b27fe0);
    border-radius: 3px;
    transition: width 1s ease;
}

.rcs-rank-sub {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.78rem;
    color: #b5bac1;
}

.rcs-rank-badge {
    background: #5865f2;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 4px;
}

.rcs-embed-footer {
    margin-top: 0.6rem;
    font-size: 0.72rem;
    color: #72767d;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 0.4rem;
}

.rcs-back-section {
    margin-top: 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
}

.rcs-back-heading {
    font-size: 0.93rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.15rem;
}

.rcs-flip-hint {
    font-size: 0.78rem;
    color: var(--muted);
    opacity: 0.7;
    letter-spacing: 0.04em;
    text-align: center;
    pointer-events: none;
    transition: opacity 0.3s;
}

@media (max-width: 640px) {
    .rcs-parallax-layer { max-width: 100%; }
}

::selection {
    background: rgba(232, 148, 58, 0.3);
    color: #fff;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--orange-dark);
}

.no-cookies-hint {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    background: rgba(13, 9, 7, 0.78);
    border: 1px solid rgba(126, 200, 106, 0.25);
    color: var(--green);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0.8;
    transition: opacity 0.2s;
    user-select: none;
}
.no-cookies-hint:hover { opacity: 1; }

