@import url('https://fonts.googleapis.com/css2?family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --ro-ink: #25170f;
    --ro-night: #17243a;
    --ro-night-2: #263a56;
    --ro-paper: #f6ead3;
    --ro-cream: #fff8e8;
    --ro-gold: #f0b94d;
    --ro-amber: #cf7834;
    --ro-leaf: #4f8a5a;
    --ro-coral: #c75b4a;
    --ro-sky: #3f88c5;
    --ro-line: rgba(105, 73, 36, 0.28);
    --ro-shadow: 0 18px 45px rgba(42, 28, 18, 0.18);
}

* {
    letter-spacing: 0;
}

html {
    scroll-behavior: smooth;
}

body,
html {
    min-height: 100%;
    font-family: "Prompt", sans-serif;
}

body {
    overflow-x: hidden;
    color: var(--ro-ink);
    background:
        radial-gradient(circle at 16% 12%, rgba(240, 185, 77, 0.22), transparent 28rem),
        radial-gradient(circle at 88% 6%, rgba(63, 136, 197, 0.18), transparent 24rem),
        linear-gradient(180deg, #fff8e8 0%, #f1dfbd 100%);
}

a {
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.site-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background:
        linear-gradient(180deg, rgba(30, 43, 67, 0.98), rgba(18, 28, 45, 0.96)),
        var(--ro-night);
    border-bottom: 1px solid rgba(240, 185, 77, 0.38);
    box-shadow: 0 10px 26px rgba(15, 22, 35, 0.28);
    backdrop-filter: blur(12px);
}

.site-navbar .container-fluid {
    position: relative;
}

.site-navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--ro-cream);
    font-weight: 800;
    text-transform: uppercase;
}

.site-navbar .navbar-brand img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 2px solid rgba(240, 185, 77, 0.72);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.site-navbar .site-menu-toggle {
    display: flex;
    width: 44px;
    height: 40px;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    border-color: rgba(255, 248, 232, 0.34);
    border-radius: 8px;
    padding: 0;
    background: rgba(255, 248, 232, 0.08);
}

.site-navbar .site-menu-lines {
    position: relative;
    width: 22px;
    height: 2px;
    background: var(--ro-cream);
    border-radius: 99px;
    filter: none;
}

.site-navbar .site-menu-lines::before,
.site-navbar .site-menu-lines::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: var(--ro-cream);
    border-radius: 99px;
}

.site-navbar .site-menu-lines::before {
    top: -7px;
}

.site-navbar .site-menu-lines::after {
    top: 7px;
}

.brand-mark {
    display: grid;
    line-height: 1.1;
}

.brand-mark small {
    color: #f6d891;
    font-weight: 500;
    text-transform: none;
}

.site-navbar .nav-link {
    position: relative;
    color: rgba(255, 248, 232, 0.82);
    border-radius: 8px;
    margin: 0 0.1rem;
    padding: 0.7rem 0.9rem;
    font-weight: 500;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus,
.site-navbar .nav-link.active {
    color: #fff;
    background: rgba(240, 185, 77, 0.16);
}

.site-navbar .nav-link.active::after {
    content: "";
    position: absolute;
    right: 0.85rem;
    bottom: 0.3rem;
    left: 0.85rem;
    height: 2px;
    background: linear-gradient(90deg, var(--ro-gold), var(--ro-coral));
    border-radius: 99px;
}

.site-navbar .dropdown-menu {
    border: 1px solid rgba(240, 185, 77, 0.26);
    border-radius: 8px;
    padding: 0.55rem;
    background: rgba(22, 32, 50, 0.98);
    box-shadow: var(--ro-shadow);
}

.site-navbar .dropdown-menu li .dropdown-item {
    border-radius: 8px;
    color: rgba(255, 248, 232, 0.86);
    font-size: 1rem;
    padding: 0.65rem 0.85rem;
}

.site-navbar .dropdown-menu li .dropdown-item:hover {
    color: #fff;
    background: rgba(240, 185, 77, 0.16);
}

.nav-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: flex-end;
}

.btn-ro-primary,
.btn-ro-secondary,
.btn-ro-ghost {
    border-radius: 8px;
    font-weight: 700;
}

.btn-ro-primary {
    color: #2a1609;
    background: linear-gradient(180deg, #ffd978, var(--ro-gold));
    border: 1px solid rgba(110, 71, 20, 0.42);
    box-shadow: 0 9px 18px rgba(207, 120, 52, 0.24);
}

.btn-ro-primary:hover,
.btn-ro-primary:focus {
    color: #1b1009;
    background: linear-gradient(180deg, #ffe39b, #f3bd54);
    transform: translateY(-1px);
}

.btn-ro-secondary {
    color: #fff;
    background: linear-gradient(180deg, #db705e, var(--ro-coral));
    border: 1px solid rgba(100, 42, 34, 0.32);
}

.btn-ro-secondary:hover,
.btn-ro-secondary:focus {
    color: #fff;
    background: linear-gradient(180deg, #e98272, #bf4e3d);
    transform: translateY(-1px);
}

.btn-ro-ghost {
    color: var(--ro-cream);
    background: rgba(255, 248, 232, 0.08);
    border: 1px solid rgba(255, 248, 232, 0.24);
}

.btn-ro-ghost:hover,
.btn-ro-ghost:focus {
    color: #fff;
    background: rgba(255, 248, 232, 0.16);
    border-color: rgba(240, 185, 77, 0.6);
}

.template-animation {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.template-animation .star-animation {
    z-index: 1;
    pointer-events: none;
    opacity: 0.42;
    mix-blend-mode: screen;
}

.bg-img {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background-image:
        linear-gradient(90deg, rgba(12, 20, 34, 0.84), rgba(18, 30, 49, 0.34) 46%, rgba(255, 248, 232, 0.02)),
        url("../img/bg-fantasy-hero.png");
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
}

.bg-img::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(180deg, rgba(23, 36, 58, 0.04), rgba(23, 36, 58, 0.18)),
        radial-gradient(circle at 72% 22%, rgba(102, 207, 255, 0.2), transparent 20rem),
        linear-gradient(0deg, rgba(18, 18, 28, 0.34), transparent 42%);
}

.bg-img > .container:not(.hero-grid) {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: inherit;
    align-items: center;
    justify-content: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.c-img {
    max-height: 520px;
    object-fit: contain;
    filter: drop-shadow(0 20px 34px rgba(40, 26, 18, 0.32));
    animation: floatAnimation 2.6s ease-in-out infinite;
    transition: opacity 0.12s, transform 0.2s;
}

.c-img:hover {
    opacity: 0.94;
    transform: translateY(-2px);
}

.ro-hero {
    min-height: 680px;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
    gap: 2.5rem;
    min-height: inherit;
    align-items: center;
    padding-top: 4.5rem;
    padding-bottom: 3.75rem;
}

.hero-copy {
    max-width: 720px;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.46);
}

.hero-eyebrow,
.section-kicker,
.card-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #4d2d09;
    background: linear-gradient(180deg, #fff1b7, #f4c65f);
    border: 1px solid rgba(104, 66, 22, 0.24);
    border-radius: 8px;
    padding: 0.42rem 0.72rem;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(67, 42, 20, 0.16);
}

.hero-title {
    margin: 1.1rem 0 1rem;
    color: #fff7d6;
    font-size: 3.7rem;
    line-height: 1.08;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-title span {
    white-space: nowrap;
}

.hero-lede {
    max-width: 620px;
    margin-bottom: 1.5rem;
    color: rgba(255, 248, 232, 0.9);
    font-size: 1.18rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    max-width: 680px;
}

.hero-stat {
    border: 1px solid rgba(255, 248, 232, 0.2);
    border-radius: 8px;
    padding: 0.9rem;
    background: rgba(17, 25, 40, 0.5);
    backdrop-filter: blur(10px);
}

.hero-stat strong {
    display: block;
    color: #ffdc7b;
    font-size: 1.25rem;
}

.hero-stat span {
    color: rgba(255, 248, 232, 0.82);
    font-size: 0.95rem;
}

.hero-art {
    position: relative;
    display: flex;
    align-items: end;
    justify-content: center;
}

.hero-art::before {
    content: "";
    position: absolute;
    right: 8%;
    bottom: 6%;
    left: 8%;
    height: 24px;
    border-radius: 50%;
    background: rgba(28, 17, 10, 0.26);
    filter: blur(8px);
}

.hero-mascot {
    position: relative;
    z-index: 1;
    width: min(100%, 430px);
    filter: drop-shadow(0 24px 34px rgba(28, 17, 10, 0.38));
}

.ro-section {
    position: relative;
    padding: 4rem 0;
}

.ro-section-surface,
.bg-body-secondary {
    background:
        linear-gradient(180deg, rgba(255, 248, 232, 0.94), rgba(244, 226, 194, 0.96)),
        var(--ro-paper) !important;
}

.bg-white {
    background:
        linear-gradient(180deg, #fffaf0, #fff3d7) !important;
}

.section-heading {
    margin-bottom: 2rem;
    text-align: center;
}

.section-heading h1,
.section-heading h2 {
    margin: 0.65rem 0 0.35rem;
    color: var(--ro-night);
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
}

.section-heading p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(37, 23, 15, 0.72);
    line-height: 1.8;
}

.bg-body-secondary .display-1 {
    color: var(--ro-night);
    font-size: 3rem;
    font-weight: 900 !important;
}

.bg-body-secondary .display-6 {
    color: var(--ro-coral) !important;
    font-weight: 700;
}

.quick-panel,
.ro-card,
.card {
    border: 1px solid var(--ro-line);
    border-radius: 8px !important;
    background:
        linear-gradient(180deg, rgba(255, 252, 241, 0.94), rgba(248, 234, 207, 0.96)),
        var(--ro-cream);
    box-shadow: var(--ro-shadow);
    overflow: hidden;
}

.quick-panel {
    padding: 1rem;
}

.quick-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 1rem;
    color: var(--ro-night);
    font-size: 1.35rem;
    font-weight: 900;
}

.quick-action {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-height: 72px;
    padding: 0.95rem 1rem;
    color: var(--ro-ink);
    text-decoration: none;
    border: 1px solid rgba(105, 73, 36, 0.18);
    border-radius: 8px;
    background: rgba(255, 248, 232, 0.76);
}

.quick-action + .quick-action {
    margin-top: 0.75rem;
}

.quick-action i {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #fff;
    border-radius: 8px;
    background: linear-gradient(180deg, var(--ro-sky), #2c6eaa);
    font-size: 1.35rem;
    flex: 0 0 auto;
}

.quick-action strong {
    display: block;
    color: var(--ro-night);
    font-size: 1.05rem;
}

.quick-action span {
    display: block;
    color: rgba(37, 23, 15, 0.68);
    font-size: 0.92rem;
}

.quick-action:hover {
    transform: translateY(-2px);
    color: var(--ro-ink);
    border-color: rgba(207, 120, 52, 0.46);
    box-shadow: 0 12px 24px rgba(74, 46, 22, 0.16);
}

.guide-menu {
    margin-top: 1rem;
    padding: 0;
    list-style: none;
}

.guide-menu a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.8rem 0.65rem;
    color: rgba(37, 23, 15, 0.78);
    text-decoration: none;
    border-top: 1px solid rgba(105, 73, 36, 0.14);
}

.guide-menu a:hover {
    color: var(--ro-coral);
    transform: translateX(2px);
}

.ro-carousel {
    position: relative;
    border: 1px solid rgba(105, 73, 36, 0.28);
    border-radius: 8px;
    overflow: hidden;
    background: #171f31;
    box-shadow: var(--ro-shadow);
}

.ro-carousel .carousel-item {
    min-height: 520px;
}

.ro-carousel img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center right;
}

.ro-slide-caption {
    position: absolute;
    left: 2rem;
    bottom: 2rem;
    z-index: 3;
    max-width: 520px;
    padding: 1.35rem;
    color: #fff;
    border: 1px solid rgba(255, 248, 232, 0.2);
    border-radius: 8px;
    background: rgba(17, 25, 40, 0.68);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px);
}

.ro-slide-caption h2 {
    margin: 0.55rem 0;
    color: #fff7d6;
    font-size: 2rem;
    font-weight: 900;
}

.ro-slide-caption p {
    margin: 0;
    color: rgba(255, 248, 232, 0.86);
    line-height: 1.7;
}

.carousel-indicators [data-bs-target] {
    width: 34px;
    height: 5px;
    border: 0;
    border-radius: 99px;
    background-color: rgba(255, 248, 232, 0.72);
}

.carousel-indicators .active {
    background-color: var(--ro-gold);
}

.news-card {
    height: 100%;
}

.news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-card .card-body {
    padding: 1.2rem;
}

.news-card h3 {
    color: var(--ro-night);
    font-size: 1.24rem;
    font-weight: 900;
}

.news-card p {
    color: rgba(37, 23, 15, 0.68);
    line-height: 1.7;
}

.news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.9rem;
    color: rgba(37, 23, 15, 0.58);
    border-top: 1px solid rgba(105, 73, 36, 0.14);
    font-size: 0.92rem;
}

.feature-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature-item {
    padding: 1rem;
    border: 1px solid rgba(105, 73, 36, 0.18);
    border-radius: 8px;
    background: rgba(255, 248, 232, 0.72);
}

.feature-item i {
    color: var(--ro-coral);
    font-size: 1.65rem;
}

.feature-item strong {
    display: block;
    margin-top: 0.45rem;
    color: var(--ro-night);
}

.feature-item span {
    display: block;
    color: rgba(37, 23, 15, 0.66);
    font-size: 0.92rem;
}

.table {
    --bs-table-bg: rgba(255, 250, 240, 0.9);
    --bs-table-striped-bg: rgba(240, 185, 77, 0.08);
    border-color: rgba(105, 73, 36, 0.18);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--ro-shadow);
}

.table thead th {
    color: #fff;
    background: var(--ro-night);
    border-color: rgba(255, 248, 232, 0.12);
}

.alert {
    border-radius: 8px;
    border: 1px solid rgba(63, 136, 197, 0.24);
}

.alert-primary {
    color: #143858;
    background: linear-gradient(180deg, rgba(195, 225, 248, 0.95), rgba(226, 241, 255, 0.95));
}

.form-control,
.form-select,
.img-thumbnail {
    border-radius: 8px;
    border-color: rgba(105, 73, 36, 0.24);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--ro-gold);
    box-shadow: 0 0 0 0.2rem rgba(240, 185, 77, 0.25);
}

.list-group-item {
    border-color: rgba(105, 73, 36, 0.14);
    background: rgba(255, 248, 232, 0.78);
}

.bg-footer {
    position: relative;
    min-height: auto;
    padding: 5rem 0;
    overflow: hidden;
    background-image:
        linear-gradient(90deg, rgba(7, 13, 28, 0.88), rgba(14, 28, 52, 0.38)),
        url("../img/bg-fantasy-footer.png");
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
}

.footer-panel {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
    padding: 1.5rem;
    color: var(--ro-cream);
    border: 1px solid rgba(255, 248, 232, 0.18);
    border-radius: 8px;
    background: rgba(17, 25, 40, 0.7);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px);
}

.footer-panel img {
    max-height: 300px;
}

.footer-panel h2 {
    color: #fff7d6;
    font-size: 2rem;
    font-weight: 900;
}

.footer-panel p {
    color: rgba(255, 248, 232, 0.86);
    font-size: 1.05rem;
    line-height: 1.9;
}

.site-footer-bar {
    padding: 1.5rem 0;
    color: rgba(255, 248, 232, 0.82);
    background: linear-gradient(180deg, #111927, #0b111d);
    border-top: 1px solid rgba(240, 185, 77, 0.26);
}

.floating-actions {
    z-index: 1050;
}

.icon-fab {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(105, 73, 36, 0.2) !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 26px rgba(31, 20, 12, 0.24) !important;
}

.scroll-to-top-btn {
    display: none;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.scroll-to-top-btn.show {
    display: flex;
    opacity: 1;
}

@keyframes floatAnimation {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(0, 10px);
    }
    100% {
        transform: translate(0, 0);
    }
}

@media (max-width: 1199.98px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-copy,
    .hero-lede {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-art {
        order: -1;
    }

    .hero-mascot {
        max-width: 320px;
    }
}

@media (min-width: 1400px) {
    .site-navbar .site-menu-toggle {
        display: none !important;
    }
}

@media (max-width: 1399.98px) {
    .site-navbar,
    .site-navbar .container-fluid {
        width: 100vw;
        max-width: 100vw;
    }

    .site-navbar .site-menu-toggle {
        display: flex !important;
        position: fixed !important;
        top: 0.85rem !important;
        right: 0.75rem !important;
        transform: none !important;
        z-index: 2000 !important;
    }

    .site-navbar .navbar-collapse {
        flex-basis: 100%;
        flex-grow: 1;
        padding-top: 0.75rem;
    }

    .site-navbar .navbar-brand {
        padding-right: 3.5rem;
    }
}

@media (max-width: 991.98px) {
    .nav-actions {
        justify-content: flex-start;
        padding: 0.75rem 0 0.25rem;
    }

    .ro-carousel .carousel-item,
    .ro-carousel img {
        height: 430px;
        min-height: 430px;
    }

    .feature-strip {
        grid-template-columns: 1fr;
    }

    .footer-panel {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .bg-img,
    .ro-hero {
        min-height: 620px;
    }

    .hero-grid {
        padding-top: 3rem;
        padding-bottom: 2.5rem;
    }

    .hero-title {
        font-size: 2.55rem;
    }

    .hero-lede {
        font-size: 1rem;
    }

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

    .ro-section {
        padding: 3rem 0;
    }

    .section-heading h1,
    .section-heading h2,
    .bg-body-secondary .display-1 {
        font-size: 2.2rem;
    }

    .ro-carousel .carousel-item,
    .ro-carousel img {
        height: 380px;
        min-height: 380px;
    }

    .ro-slide-caption {
        right: 1rem;
        bottom: 1rem;
        left: 1rem;
        padding: 1rem;
    }

    .ro-slide-caption h2 {
        font-size: 1.5rem;
    }

    .news-card img {
        height: 190px;
    }
}

@media (max-width: 575.98px) {
    .site-navbar .site-menu-toggle {
        display: none !important;
    }

    .site-navbar .navbar-collapse {
        display: block !important;
        width: 100%;
        padding-top: 0.65rem;
    }

    .site-navbar .navbar-nav {
        gap: 0.2rem;
    }

    .site-navbar .nav-link {
        padding: 0.55rem 0.65rem;
        font-size: 0.92rem;
    }

    .site-navbar .nav-link.active::after {
        right: 0.65rem;
        left: 0.65rem;
    }

    .nav-actions .btn {
        flex: 1 1 100%;
        padding: 0.55rem 0.75rem;
        font-size: 0.88rem !important;
    }

    .nav-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .site-navbar .navbar-brand img {
        width: 38px;
        height: 38px;
    }

    .brand-mark {
        font-size: 0.92rem;
    }

    .brand-mark small {
        font-size: 0.72rem;
    }

    .hero-title {
        font-size: 1.95rem;
    }

    .hero-title span {
        display: block;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .quick-action {
        min-height: 64px;
    }
}
