/* ==============================
   General page
   ============================== */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: #804040;
    color: #181414;
    font-family: Arial, Helvetica, sans-serif;
}

.page {
    width: min(900px, 92%);
    margin: 0 auto;
    padding: 40px 0 80px;
}


/* ==============================
   Main poster
   ============================== */

.poster {
    text-align: center;
}

.poster h1,
.poster h2 {
    margin: 0;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.poster h1 {
    font-size: clamp(2.2rem, 7vw, 4.5rem);
    margin-bottom: 25px;
}

.poster h2 {
    font-size: clamp(1.6rem, 5vw, 3.2rem);
    margin-top: 25px;
}

.main-image {
    display: block;
    width: min(100%, 700px);
    height: auto;
    margin: 0 auto;

    border: 12px solid #e0d0c0;
    border-radius: 6px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.subtitle {
    margin: 12px 0 0;
    color: #e0d0c0;
    font-size: 1rem;
    font-style: italic;
}


/* ==============================
   Wallet area
   ============================== */

.wallets {
    margin-top: 70px;
}

.wallets h3 {
    margin: 0 0 25px;
    text-align: center;

    color: #e0d0c0;
    font-size: 1.8rem;
    letter-spacing: 0.08em;
}

/* ==============================
   Wallet sections
   ============================== */

.wallet {
    margin-bottom: 18px;

    background-color: #e0d0c0;

    border: 2px solid #604840;
    border-radius: 6px;

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);

    overflow: hidden;
}

.wallet summary {
    padding: 20px 24px;

    cursor: pointer;
    list-style: none;

    background-color: #e0d0c0;

    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 0.05em;

    transition: background-color 0.15s ease;
}

.wallet summary::-webkit-details-marker {
    display: none;
}

.wallet summary::after {
    content: "▸";

    float: right;

    color: #d87850;
    font-size: 1.3rem;
    font-weight: 900;
}

.wallet[open] summary {
    border-bottom: 2px solid #604840;
}

.wallet[open] summary::after {
    content: "▾";
}

.wallet summary:hover {
    background-color: #f0e0d0;
}

.wallet summary::-webkit-details-marker {
    display: none;
}

.wallet summary::after {
    content: "▸";
    float: right;
    font-size: 1.2rem;
}

.wallet[open] summary::after {
    content: "▾";
}

.wallet-content {
    padding: 5px 24px 30px;
    text-align: center;
}

.network-name {
    margin: 0 0 15px;
    color: #604840;
    font-size: 1rem;
    font-weight: bold;
}

.wallet-address {
    margin: 0 auto 15px;
    padding: 12px;

    max-width: 600px;

    background-color: #f0e0d0;
    border: 1px solid #c0a090;
    border-radius: 4px;

    font-family: "Courier New", Courier, monospace;
    font-size: 0.95rem;

    overflow-wrap: anywhere;
}

.copy-button {
    display: block;
    margin: 0 auto 25px;

    padding: 11px 22px;

    border: none;
    border-radius: 4px;

    background-color: #d87850;
    color: #181414;

    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.04em;

    cursor: pointer;
}

.copy-button:hover {
    background-color: #e08a68;
}

.qr-code {
    display: block;
    width: 197px;
    height: 197px;
    margin: 0 auto;
}

/* ==============================
   Kyrvessa Clicker
   ============================== */

#kyrvessa-clicker {
    position: fixed;

    right: 20px;
    bottom: 20px;

    width: 150px;
    height: 150px;

    z-index: 1000;

    cursor: pointer;
    user-select: none;

    filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.25));

    transition: transform 0.1s ease;
}

#kyrvessa-clicker:hover {
    transform: scale(1.04);
}

#kyrvessa-clicker:active {
    transform: scale(0.95);
}

#kyrvessa-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    pointer-events: none;
}

/* ==============================
   Thank You Section
   ============================== */

.thank-you {
    margin-top: 70px;
    padding: 40px 20px 60px;

    text-align: center;
}

.thank-you h2 {
    margin: 0 auto 10px;

    max-width: 800px;

    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-align: center;
}

.thank-you p {
    margin: 0 0 30px;

    font-size: 1.1rem;
    font-style: italic;
    text-align: center;
}

.thank-you-image {
    display: block;

    width: 100%;
    max-width: 650px;
    height: auto;

    margin: 0 auto;

    border: 2px solid #604840;
    border-radius: 6px;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}


@media (max-width: 600px) {

    .thank-you {
        margin-top: 50px;
        padding: 30px 10px 40px;
    }

    .thank-you h2 {
        font-size: 1.4rem;
    }

    .thank-you p {
        font-size: 1rem;
    }

}
