/* =========================================
   RHINOCERO.IO
   WHITE RHINO TOKEN PAGE
   COMPLETE TOKEN PAGE DESIGN
========================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #080b08;
    color: #f1f3ed;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    padding-top: 80px;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}


/* =========================================
   NAVBAR
========================================= */

.navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 80px;

    display: flex;
    align-items: center;

    padding: 0 5%;

    z-index: 1000;

    background: rgba(8, 11, 8, 0.95);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(255,255,255,0.04);
}


/* =========================================
   LOGO
========================================= */

.logo {
    display: flex;
    align-items: center;

    height: 100%;

    flex-shrink: 0;
}

.logo img {
    display: block;

    width: 150px;
    height: auto;

    max-height: 55px;

    object-fit: contain;
}


/* =========================================
   NAVIGATION
========================================= */

.nav-links {
    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 32px;

    margin-left: auto;
}

.nav-links > a,
.dropdown-btn {

    display: flex;

    align-items: center;

    height: 80px;

    color: #f1f3ed;

    text-decoration: none;

    font-size: 15px;

    font-weight: 500;

    white-space: nowrap;

    background: none;

    border: none;

    cursor: pointer;

    transition: color 0.2s ease;
}

.nav-links > a:hover,
.dropdown-btn:hover {
    color: #b8d56e;
}


/* =========================================
   DROPDOWN
========================================= */

.dropdown {
    position: relative;

    height: 80px;

    display: flex;

    align-items: center;

    flex-shrink: 0;
}

.dropdown-btn {
    gap: 6px;
}

.dropdown-btn span {
    font-size: 16px;

    transition: transform 0.2s ease;
}

.dropdown:hover .dropdown-btn span {
    transform: rotate(180deg);
}


/* =========================================
   DROPDOWN MENU
========================================= */

.dropdown-menu {

    position: absolute;

    top: 80px;

    left: 50%;

    transform: translateX(-50%);

    min-width: 210px;

    padding: 10px 0;

    background: #101510;

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 8px;

    box-shadow:
        0 15px 40px rgba(0,0,0,0.35);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
}

.dropdown:hover .dropdown-menu {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}

.dropdown-menu a {

    display: block;

    padding: 12px 18px;

    color: #f1f3ed;

    font-size: 14px;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.dropdown-menu a:hover {

    background: rgba(184,213,110,0.08);

    color: #b8d56e;
}


/* =========================================
   HAMBURGER DISABLED
========================================= */

.menu-btn {
    display: none !important;
}


/* =========================================
   HERO
========================================= */

.token-hero {

    min-height: 100vh;

    display: flex;

    align-items: flex-end;

    position: relative;

    padding: 150px 8% 100px;

    overflow: hidden;
}

.white-rhino-hero {

    background:
        linear-gradient(
            90deg,
            rgba(5,8,5,.96),
            rgba(5,8,5,.55),
            rgba(5,8,5,.1)
        ),
        url("https://media.savetherhino.org/prod/uploads/2018/05/Dehorned-Rhino-SouthAfrica-c-Jason-Savage-Wild-Heart-Conservation.jpg?auto=format&fit=crop&w=2200&q=90")
        center / cover;
}

.token-hero::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            0deg,
            #080b08 0%,
            transparent 35%
        );

    pointer-events: none;
}

.token-hero-content {

    position: relative;

    z-index: 2;

    max-width: 800px;
}

.token-badge {

    display: inline-block;

    padding: 8px 14px;

    margin-bottom: 25px;

    border-radius: 50px;

    border: 1px solid rgba(184,213,110,.35);

    background: rgba(20,35,16,.65);

    color: #b8d56e;

    font-size: .7rem;

    font-weight: 700;

    letter-spacing: 1.5px;
}


/* =========================================
   TYPOGRAPHY
========================================= */

.eyebrow {

    color: #b8d56e;

    font-size: .7rem;

    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 15px;
}

.token-hero h1 {

    font-size: clamp(4rem, 10vw, 9rem);

    line-height: .82;

    letter-spacing: -7px;

    margin-bottom: 25px;
}

.token-hero h1 span {

    color: #b8d56e;
}

.scientific-name {

    color: #c6cbc2;

    font-style: italic;

    font-size: 1rem;

    margin-bottom: 25px;
}

.token-description {

    max-width: 560px;

    color: #aeb5aa;

    font-size: 1rem;

    margin-bottom: 32px;
}


/* =========================================
   BUTTONS
========================================= */

.token-buttons {

    display: flex;

    gap: 12px;

    flex-wrap: wrap;
}

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 13px 22px;

    border-radius: 7px;

    font-size: .85rem;

    font-weight: 700;

    transition: .25s ease;
}

.btn.primary {

    background: #b8d56e;

    color: #10140d;
}

.btn.primary:hover {

    transform: translateY(-2px);

    background: #d0e58f;
}

.btn.secondary {

    border: 1px solid rgba(255,255,255,.22);
}

.btn.secondary:hover {

    background: rgba(255,255,255,.08);
}


/* =========================================
   TOKEN SECTIONS
========================================= */

.token-section {

    padding: 120px 8%;
}

.dark-section {

    background: #101510;
}

.token-section-heading {

    max-width: 720px;

    margin-bottom: 55px;
}

.token-section-heading h2,
.tokenomics-header h2 {

    font-size: clamp(2.7rem, 6vw, 5.5rem);

    line-height: .95;

    letter-spacing: -4px;

    margin-bottom: 20px;
}

.token-section-heading h2 span,
.tokenomics-header h2 span {

    color: #b8d56e;
}

.token-section-heading > p:last-child {

    color: #8f978d;

    max-width: 600px;
}


/* =========================================
   TOKEN INFORMATION
========================================= */

.token-info-grid {

    display: grid;

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

    gap: 14px;
}

.info-box {

    min-height: 130px;

    padding: 25px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    background: #111611;

    border: 1px solid rgba(255,255,255,.07);

    border-radius: 14px;
}

.info-box span {

    color: #737b71;

    font-size: .68rem;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.info-box strong {

    font-size: 1.15rem;
}

.pending {

    color: #b8d56e;
}


/* =========================================
   TOKENOMICS
========================================= */

.tokenomics-header {

    display: grid;

    grid-template-columns: 1.2fr .8fr;

    gap: 60px;

    align-items: end;

    margin-bottom: 55px;
}

.tokenomics-header > p {

    color: #8f978d;
}

.allocation-grid {

    display: grid;

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

    gap: 16px;
}

.allocation-card {

    padding: 35px;

    background: #151b15;

    border: 1px solid rgba(255,255,255,.07);

    border-radius: 16px;
}

.allocation-card > span {

    color: #b8d56e;

    font-size: 2.7rem;

    font-weight: 800;
}

.allocation-card h3 {

    margin: 15px 0 8px;

    font-size: 1.25rem;
}

.allocation-card p {

    color: #858d83;

    font-size: .88rem;
}


/* =========================================
   CONSERVATION
========================================= */

.conservation-section {

    min-height: 700px;

    display: grid;

    grid-template-columns: 1fr 1fr;
}

.conservation-image {

    min-height: 600px;

    background:
        linear-gradient(
            0deg,
            rgba(8,11,8,.35),
            rgba(8,11,8,.05)
        ),
        url("https://images.unsplash.com/photo-1535338454770-8be927b5a00b?auto=format&fit=crop&w=1600&q=90")
        center / cover;
}

.conservation-content {

    padding: 100px 9%;

    display: flex;

    flex-direction: column;

    justify-content: center;

    background: #0d120e;
}

.conservation-content h2 {

    font-size: clamp(3rem, 5vw, 5rem);

    line-height: .95;

    letter-spacing: -4px;

    margin-bottom: 25px;
}

.conservation-content h2 span {

    color: #b8d56e;
}

.conservation-content > p:not(.eyebrow) {

    color: #969e94;

    margin-bottom: 18px;

    max-width: 550px;
}

.conservation-status {

    display: flex;

    flex-direction: column;

    gap: 5px;

    margin: 25px 0;

    padding: 18px;

    border-left: 2px solid #b8d56e;

    background: #141a14;
}

.conservation-status span {

    color: #737b71;

    font-size: .65rem;

    letter-spacing: 2px;
}

.conservation-status strong {

    color: #b8d56e;
}

.text-link {

    color: #b8d56e;

    font-size: .82rem;

    font-weight: 700;
}


/* =========================================
   WHERE TO BUY
========================================= */

.buy-section {

    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(184,213,110,0.08),
            transparent 35%
        ),
        #0a0e0a;
}

.buy-section::before {

    content: "";

    position: absolute;

    top: 0;
    left: 8%;

    width: 84%;
    height: 1px;

    background: rgba(184,213,110,0.18);
}

.buy-section .token-section-heading {

    position: relative;

    z-index: 2;

    max-width: 760px;

    margin-bottom: 55px;
}

.buy-section .token-section-heading > p:last-child {

    color: #858d83;

    max-width: 620px;
}


/* =========================================
   EXCHANGE GRID
========================================= */

.exchange-grid {

    position: relative;

    z-index: 2;

    display: grid;

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

    gap: 16px;

    max-width: 1200px;

    margin: 0 auto;
}

.exchange-card {

    position: relative;

    min-height: 280px;

    padding: 30px;

    display: flex;

    flex-direction: column;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.055),
            rgba(255,255,255,0.018)
        );

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 16px;

    overflow: hidden;

    transition:
        transform .3s ease,
        border-color .3s ease,
        background .3s ease;
}

.exchange-card::after {

    content: "";

    position: absolute;

    width: 120px;
    height: 120px;

    right: -55px;
    bottom: -55px;

    border-radius: 50%;

    background: rgba(184,213,110,.06);

    transition: .3s ease;
}

.exchange-card:hover {

    transform: translateY(-6px);

    border-color: rgba(184,213,110,.35);

    background:
        linear-gradient(
            145deg,
            rgba(184,213,110,.08),
            rgba(255,255,255,.025)
        );
}

.exchange-card:hover::after {

    transform: scale(1.4);
}


/* =========================================
   EXCHANGE ICON
========================================= */

.exchange-icon {

    width: 58px;
    height: 58px;

    display: flex;

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

    margin-bottom: 28px;

    border-radius: 14px;

    background: #151d14;

    border: 1px solid rgba(184,213,110,.2);

    color: #b8d56e;

    font-size: .72rem;

    font-weight: 800;

    letter-spacing: 1.5px;
}


/* =========================================
   EXCHANGE INFORMATION
========================================= */

.exchange-info {

    position: relative;

    z-index: 2;
}

.exchange-info h3 {

    margin-bottom: 7px;

    font-size: 1.25rem;

    color: #f1f3ed;
}

.exchange-info span {

    color: #737b71;

    font-size: .75rem;

    letter-spacing: 1px;
}

.exchange-btn {

    position: relative;

    z-index: 3;

    width: 100%;

    margin-top: auto;
}

.coming-soon-exchange {

    opacity: .55;
}

.coming-soon-exchange:hover {

    opacity: .8;
}

.exchange-status {

    position: relative;

    z-index: 2;

    display: inline-block;

    margin-top: auto;

    padding-top: 18px;

    color: #737b71;

    font-size: .65rem;

    font-weight: 700;

    letter-spacing: 2px;
}


/* =========================================
   TRANSPARENCY
========================================= */

.transparency-grid {

    display: grid;

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

    gap: 16px;
}

.transparency-card {

    padding: 30px;

    border: 1px solid rgba(255,255,255,.07);

    background: #111611;

    border-radius: 14px;
}

.transparency-card span {

    display: block;

    color: #737b71;

    font-size: .65rem;

    letter-spacing: 2px;

    margin-bottom: 25px;
}

.transparency-card strong {

    display: block;

    color: #b8d56e;

    margin-bottom: 10px;
}

.transparency-card p {

    color: #828a80;

    font-size: .85rem;
}


/* =========================================
   FINAL CTA
========================================= */

.token-cta {

    padding: 150px 8%;

    text-align: center;

    background:
        radial-gradient(
            circle at center,
            #1d291b,
            #080b08 65%
        );
}

.token-cta h2 {

    font-size: clamp(3rem, 7vw, 6.5rem);

    line-height: .9;

    letter-spacing: -5px;

    margin-bottom: 25px;
}

.token-cta h2 span {

    color: #b8d56e;
}

.token-cta > p:not(.eyebrow) {

    max-width: 550px;

    margin: 0 auto 30px;

    color: #90988e;
}


/* =========================================
   FOOTER
========================================= */

footer {

    padding: 55px 8% 25px;

    background: #050705;

    border-top: 1px solid rgba(255,255,255,.06);
}

.footer-logo {

    font-weight: 800;

    font-size: 1.2rem;
}

footer > p {

    color: #697067;

    margin: 10px 0 35px;
}

.footer-bottom {

    padding-top: 20px;

    border-top: 1px solid rgba(255,255,255,.06);

    color: #555d53;

    font-size: .72rem;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .navbar {

        padding: 0 4%;
    }

    .nav-links {

        gap: 18px;
    }

    .nav-links > a,
    .dropdown-btn {

        font-size: 13px;
    }

    .logo img {

        width: 130px;
    }

    .token-info-grid,
    .transparency-grid {

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

    .tokenomics-header {

        grid-template-columns: 1fr;
    }

    .conservation-section {

        grid-template-columns: 1fr;
    }

    .conservation-image {

        min-height: 500px;
    }

    .exchange-grid {

        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================
   MOBILE NAVIGATION
========================================= */

@media (max-width: 750px) {

    .navbar {

        height: auto;

        min-height: 80px;

        padding: 12px 5%;

        flex-direction: column;

        align-items: stretch;

        gap: 8px;
    }

    .logo {

        height: 45px;

        justify-content: center;
    }

    .logo img {

        width: 135px;

        max-height: 45px;
    }

    /*
       The navigation stays visible.
       It does NOT become a hamburger menu.
       Users can swipe horizontally on phones.
    */

    .nav-links {

        width: 100%;

        display: flex;

        justify-content: flex-start;

        align-items: center;

        gap: 24px;

        margin: 0;

        overflow-x: auto;

        overflow-y: visible;

        padding: 0 2px 6px;

        scrollbar-width: none;

        -webkit-overflow-scrolling: touch;
    }

    .nav-links::-webkit-scrollbar {

        display: none;
    }

    .nav-links > a,
    .dropdown-btn {

        height: 42px;

        flex-shrink: 0;

        font-size: 13px;
    }

    .dropdown {

        height: 42px;

        flex-shrink: 0;
    }

    /*
       Dropdown opens downward on mobile.
    */

    .dropdown-menu {

        position: fixed;

        top: 118px;

        left: 50%;

        transform: translateX(-50%);

        width: min(90vw, 280px);

        max-height: 60vh;

        overflow-y: auto;

        z-index: 2000;
    }

    .dropdown:hover .dropdown-menu {

        opacity: 0;

        visibility: hidden;

        pointer-events: none;
    }

    /*
       Keep dropdown usable with touch.
       The button can be tapped and focused.
    */

    .dropdown:focus-within .dropdown-menu {

        opacity: 1;

        visibility: visible;

        pointer-events: auto;
    }

    body {

        padding-top: 125px;
    }


    /* HERO */

    .token-hero {

        min-height: 85vh;

        padding: 100px 6% 70px;
    }

    .token-hero h1 {

        font-size: 4.8rem;

        letter-spacing: -4px;
    }


    /* SECTIONS */

    .token-section {

        padding: 85px 6%;
    }

    .token-section-heading h2,
    .tokenomics-header h2 {

        letter-spacing: -3px;
    }


    /* INFORMATION */

    .token-info-grid {

        grid-template-columns: 1fr 1fr;
    }


    /* TOKENOMICS */

    .allocation-grid {

        grid-template-columns: 1fr;
    }


    /* CONSERVATION */

    .conservation-section {

        grid-template-columns: 1fr;
    }

    .conservation-image {

        min-height: 400px;
    }

    .conservation-content {

        padding: 75px 6%;
    }


    /* TRANSPARENCY */

    .transparency-grid {

        grid-template-columns: 1fr 1fr;
    }


    /* EXCHANGES */

    .exchange-grid {

        grid-template-columns: 1fr;
    }


    /* CTA */

    .token-cta {

        padding: 100px 6%;
    }
}


/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 500px) {

    .navbar {

        padding: 10px 4%;
    }

    .logo {

        height: 42px;
    }

    .logo img {

        width: 125px;
    }

    .nav-links {

        gap: 20px;

        padding-bottom: 5px;
    }

    .nav-links > a,
    .dropdown-btn {

        font-size: 12px;

        height: 40px;
    }

    .dropdown {

        height: 40px;
    }

    .dropdown-menu {

        top: 115px;

        width: 88vw;
    }

    body {

        padding-top: 120px;
    }


    /* HERO */

    .token-hero {

        min-height: 82vh;

        padding: 90px 6% 60px;
    }

    .token-hero h1 {

        font-size: 4rem;

        letter-spacing: -3px;
    }

    .token-description {

        font-size: .92rem;
    }


    /* BUTTONS */

    .token-buttons {

        flex-direction: column;
    }

    .token-buttons .btn {

        width: 100%;
    }


    /* TOKEN INFORMATION */

    .token-info-grid {

        grid-template-columns: 1fr;
    }


    /* TRANSPARENCY */

    .transparency-grid {

        grid-template-columns: 1fr;
    }


    /* CONSERVATION */

    .conservation-image {

        min-height: 350px;
    }

    .conservation-content {

        padding: 65px 6%;
    }


    /* CTA */

    .token-cta h2 {

        letter-spacing: -3px;
    }
}


/* =========================================
   VERY SMALL PHONES
========================================= */

@media (max-width: 360px) {

    .nav-links {

        gap: 16px;
    }

    .nav-links > a,
    .dropdown-btn {

        font-size: 11px;
    }

    .token-hero h1 {

        font-size: 3.5rem;
    }
}