body{
    font-family: Fira+Sans, serif;
    display: block;
    padding: 40px 40px;
    background: black;
    color: #ffe8b6;
}

a{
    text-decoration: none;
    color: #ffe8b6;
}

main{
    padding: 10px 30px;
}

a:hover{
    color: #DD2E44FF
}

.connect-button{
    display: inline-block;
    float: right;

    border: none;
    background: black;
}

.header-title{
    display: inline-block;
    float: left;
    font-weight: bolder;
    font-size: 35px;
    white-space: nowrap;
}

.header-title > a > span{
    color: #5C913BFF;
}

.btn{
    border-radius: 30px;
    margin-bottom: 10px;
}

.btn-outline-dark{
    border: 1px lightgrey solid;
    height: 40px;
}

.rating-container{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding-bottom: 50px;
}

.rating-image{
    max-width: 40%;
    margin-left: auto;
}

.rating-title{
    font-weight: bolder;
    width: 60%;
    font-size: 50px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.main-title > span{
    color: #DD2E44FF;
}

.wallets-container{
    display: block;
}

.wallet{
    height: fit-content;
    border: 1px solid white;
    border-radius: 30em;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 2vh;
    margin-bottom: 1vw;
    padding: 1vw 1vw;
}

.wallets-header{
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 2vh;
    padding: 1vw 1vw;
}

.wallet > .wallet-number{
    font-family: monospace;
}

.wallet-index{
    display: flex;
    flex-grow: 1;
}

.wallet-number{
    display: flex;
    flex-grow: 2;
}

.wallet-activity{
    display: flex;
    flex-grow: 3;
}

.wallet-seeds{
    display: flex;
    flex-grow: 3;
}

.wallet-points{
    display: flex;
    flex-grow: 1;
}

.main-claim-connection-container{
    width: fit-content;
    display: flex;
    padding-top: 25px;
    padding-bottom: 50px;
    margin-left: auto;
    margin-right: auto;
}

.main-image{
    position: relative;
    max-height: 546px;
}

.main-text-container{
    margin-left: 10%;
    margin-top: auto;
    margin-bottom: auto;
}

.main-title{
    font-weight: bolder;
    width: 50%;
    font-size: 50px;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
}

.main-title > span{
    color: #DD2E44FF;
}

.main-text{
    width: 50%;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 50px;
    text-align: justify;
    font-size: 20px;
}

.main-button{
    width: 50%;
    display: block;
    border-radius: 100px;
    border: none;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 10px;
    text-align: center;
    font-size: 23px;
    background-color: #5C913BFF;
    color: white;
}

.main-button:hover{
    background-color: #DD2E44FF;
}

.main-button:disabled{
    background-color: rgba(221, 46, 68, 0.5);
}

footer{
    margin: auto;
    padding: 50px;
}

footer > div{
    display: inline-block;
}

footer > .footer-card{
    margin-right: 50px;
    float: right;
    text-align: center;
}

footer > .text-decoration-none{
    float: left;
}

.footer > div > ul {
    list-style-type: none;
}

.footer-title{
    display: inline-block;
    float: left;
    font-weight: bolder;
    font-size: 35px;
    white-space: nowrap;
    margin-left: auto;
    margin-right: auto;
}

.rewards-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
    gap: 1vw;
}

.rewards-container > div{
    width: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px lightgrey solid;
    border-radius: 30px;
    padding: 1vw 2vw;
    text-align: center;
}

.current-reward{
    border: 1px solid red;
    text-align: center;
}

.icon{
    font-size: 5vh;
}

.total{
    border: none;
}

.reward_link{
    text-align: center;
    margin-bottom: 10px;
}

/* History page */
.history-content {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.history-hero {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px 0 50px;
}

.history-hero-image {
    max-height: 320px;
    flex-shrink: 0;
}

.history-hero-text {
    flex: 1;
}

.history-lead {
    font-size: 18px;
    line-height: 1.6;
    color: #ffe8b6;
    margin-top: 15px;
}

.history-section {
    margin-bottom: 45px;
}

.history-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #5C913B;
    margin-bottom: 15px;
}

.history-text {
    font-size: 17px;
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 12px;
}

.history-text:last-child {
    margin-bottom: 0;
}

.history-text code {
    background: rgba(92, 145, 59, 0.2);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.95em;
}

.history-contract a {
    word-break: break-all;
}

.history-images-row {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    max-width: 800px;
}

.history-image-half {
    width: 50%;
    max-width: 260px;
    max-height: 200px;
    height: auto;
    object-fit: contain;
}

.history-open-league-img {
    justify-content: flex-start;
    max-width: 100%;
}

.history-image-single {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 140px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

.history-sources {
    padding-bottom: 60px;
}

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

.history-links li {
    margin-bottom: 10px;
}

.history-links a {
    color: #5C913B;
}

.history-links a:hover {
    color: #DD2E44;
}

/* Inline links — clearly visible and clickable */
.history-link {
    color: #5C913B !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.history-link:hover {
    color: #DD2E44 !important;
}

.season-block {
    margin-bottom: 28px;
}

/* Seasons — card layout */
.history-seasons {
    margin-bottom: 60px;
}

.seasons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.season-card {
    background: rgba(92, 145, 59, 0.08);
    border: 1px solid rgba(92, 145, 59, 0.25);
    border-radius: 16px;
    padding: 24px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.season-card:hover {
    border-color: rgba(92, 145, 59, 0.45);
    box-shadow: 0 4px 20px rgba(92, 145, 59, 0.1);
}

.season-card-header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 12px;
}

.season-badge {
    font-size: 18px;
    font-weight: 700;
    color: #5C913B;
    letter-spacing: 0.02em;
}

.season-year {
    font-size: 14px;
    color: rgba(255, 232, 182, 0.6);
    font-weight: 500;
}

.season-dates {
    font-size: 15px;
    color: rgba(255, 232, 182, 0.9);
    margin-bottom: 10px;
    font-weight: 500;
}

.season-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #ffe8b6;
    margin-bottom: 16px;
}

.season-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.season-details-link {
    color: #5C913B !important;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
}

.season-details-link:hover {
    color: #DD2E44 !important;
}

.season-archive-btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 100px;
    background-color: #5C913B;
    color: white !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s;
}

.season-archive-btn:hover {
    background-color: #c62828 !important;
    color: white !important;
}

.season-card-coming {
    border-style: dashed;
    opacity: 0.9;
}

.season-card-coming .season-desc {
    margin-bottom: 0;
}

.archive-btn {
    display: inline-block !important;
    width: auto !important;
    padding: 12px 28px !important;
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    text-decoration: none;
    cursor: pointer;
    color: white !important;
}

.archive-btn:hover {
    color: white !important;
    background-color: #c62828 !important;
}

.archive-hero {
    text-align: center;
    padding: 40px 0 50px;
}

.archive-hero .main-title {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

.archive-meta {
    color: #5C913B;
    font-size: 18px;
    margin-bottom: 20px;
}

.archive-back {
    display: inline-block !important;
    width: auto !important;
    padding: 12px 28px !important;
    margin-top: 20px;
    text-decoration: none;
}

.archive-stats {
    margin-bottom: 20px;
}

.archive-table-wrapper {
    margin-top: 20px;
}