:root {
    --primary-color: #21ce90;
    --text-on-primary: #ffffff;
    --background-color: #ffffff;
    --text-color: #333333;
}

body,
html {
    margin: 0;
    padding: 0;
    font-family: -apple-system, "system-ui", "Segoe UI Adjusted", "Segoe UI", "Liberation Sans", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    height: 100%;
    scroll-behavior: smooth;
}
.warning-banner {
    background-color: #ffcc00;
    color:#333;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    font-size: 1.1rem;
    z-index: 1001;
    position: sticky;
}



.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav {
    background-color: rgba(33, 206, 144, 0.95);
    color: var(--text-on-primary);
    padding: 0.5rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    nav ul {
        gap: 0rem;
    }

    nav a {
        font-size: 0.9rem;
        padding: 0.3rem 0.8rem;
    }
    table {
        margin-left: -1rem;
    }
}


nav a {
    color: var(--text-on-primary);
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.8;
}

.header {
    background-color: var(--primary-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.header h1 {
    font-size: 5rem;
    font-style: italic;
    margin: 0;
    letter-spacing: -2px;
    color: var(--text-on-primary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.header h2 {
    font-size: 2rem;
    margin: 1rem 0;
    font-weight: normal;
    color: var(--text-on-primary);
    opacity: 0.9;
}

.header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1rem auto;
    color: var(--text-on-primary);
    opacity: 0.8;
}

section {
    min-height: 30vh;
    padding: 4rem 0;
    background-color: var(--background-color);
}

h1,
h2,
h3 {
    color: var(--primary-color);
}


.baseline-marker {
    position: absolute;
    top: 0;
    left: 50%;
    height: 10px;
    width: 2px;
    background-color: #ff6b6b;
}

.details-section {
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 1rem;
    overflow: hidden;
}

.question {
    background: none;
    border: none;
    width: 100%;
    padding: 1rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-color);
    font-weight: bold;
}

.question:hover {
    background: #f1f3f5;
}


.answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1rem;
}


.answer.expanded {
    max-height: 100rem;
}

.token-section {
    margin-bottom: 1rem;
}

.token-section h4 {
    margin-bottom: 0.5rem;
}

.token-links {
    list-style: none;
    padding: 0;
}

.token-links li {
    margin-bottom: 0.5rem;
}

.token-links a,
.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
}

.token-links a:hover {
    text-decoration: underline;
}

#faq {
    background-color: #fcfcfc;
}

.faq-item {
    margin-bottom: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 1rem;
    overflow: hidden;
}

.faq-question {
    font-weight: bold;
    cursor: pointer;
    color: var(--primary-color);
}

.faq-answer {
    padding-left: 1rem;
}

.faq-answer ul {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-left: 1px solid #21ce90;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.faq-answer ul li {
    line-height: 2rem;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
}

.faq-answer li:before {
    content: "";
    position: relative;
    border-bottom: 1px solid var(--primary-color);
    display: inline-block;
    vertical-align: top;
    width: 0.7rem;
}

.faq-answer code {
    margin: 0 5px;
    padding: 2px 4px;
    color: hsl(210, 8%, 5%);
    background-color: hsl(210, 8%, 90%);
    border-radius: 4px;
    line-height: 1.5rem;
}

.faq-answer ul li span {
    font-size: 0.8em;
    color: gray;
    margin-left: 0.5em;
    vertical-align: top;
    text-decoration: underline;

}

footer {
    background-color: #333;
    color: var(--text-on-primary);
    padding: 2rem 0;
}

footer a {
    text-decoration: none;
}

footer svg {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
    filter: invert(42%) sepia(93%) saturate(1352%) hue-rotate(130deg) brightness(119%) contrast(119%);

}

footer svg:hover {
    filter: invert(42%) sepia(93%) saturate(1352%) hue-rotate(130deg) brightness(119%) contrast(119%) drop-shadow(2px 4px 6px black);
}

footer #desc {
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.08em;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    padding: 1rem 0;
}

footer #desc img {
    height: 32px;
    width: 32px;
    filter: saturate(0) grayscale(100%) brightness(200%) drop-shadow(2px 4px 6px black);

}

table {
    border-collapse: collapse;
    font-size: xx-small;
    margin-bottom: 1rem;
}

th,
td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

progress[value] {
    --w: max(15em, 55%);
    --color:
        /* the progress color */
        /* if < 30% "red" */
        linear-gradient(red 0 0) 0 / calc(var(--w)* .3 - 100%) 1px,
        /* if < 60% "orange" */
        linear-gradient(orange 0 0) 0 / calc(var(--w)* .6 - 100%) 1px,
        /* else "green" */
        var(--primary-color);
    ;
    --background: lightgrey;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    width: var(--w);
    margin: 0 10px;
    background: var(--background);
    mask: radial-gradient(circle closest-side, #000 98%, #0000 102%) 8.33% / 8.33% 100%, linear-gradient(90deg, #000 50%, #0000 0) 4.165% / 16.66% 100%;
}

progress[value]::-webkit-progress-bar {
    background: var(--background);
}

progress[value]::-webkit-progress-value {
    background: var(--color);
}

progress[value]::-moz-progress-bar {
    background: var(--color);
}

label {
    font-size: 20px;
    font-weight: bold;
    display: block;
    margin: 20px 0;
}



.stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 40px auto;
    max-width: 600px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}

#stats-value {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

#customGauge {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.gauge-levels {
    top: 40px;
    left: 0;
    width: 100%;
    height: 20px;
    display: flex;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.gauge-level {
    flex: 1;
    height: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: normal;
}

.gauge-levels .gauge-level:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-left-color: #d0d0d0;
    border-top-color: #d0d0d0;
    border-bottom-color: #e0e0e0;
    border-right-color: #e0e0e0;
}

.gauge-levels .gauge-level:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-left-color: #d0d0d0;
    border-top-color: #d0d0d0;
    border-bottom-color: #e0e0e0;
    border-right-color: #e0e0e0;
}

.gauge-bar {
    top: 40px;
    margin-top: 20px;
    left: 0;
    width: 100%;
    height: 4px;
    overflow: hidden;
    background: linear-gradient(to right, white, #21ce90);
}

#gauge-pointer {
    position: absolute;
    top: 10px;
    left: 83.33%;
    height: 60px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    transition: left 0.3s ease;
    transform: translateX(-50%);
    z-index: 1;
    background: none;
}

.gauge-label {
    text-align: center;
    font-size: 16px;
    color: #555;
    margin-top: 15px;
}