/* General Styles */
body {
    font-family: 'Caveat', cursive, sans-serif;
    background-color: #f0f8ff;
    margin: 0;
    padding: 20px;
    text-align: center;
}

#explanation, #current_price {
    font-size: 1.4em;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px #ccc;
}

#explanation {
    color: #ff4500;
}

#TOC {
    font-size: 1.1em;
    background-color: #ffcc00;
    color: #333;
    border: none;
    padding: 10px 20px;
    margin-bottom: 20px;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.3s;
}

#TOC:hover {
    background-color: #ff9900;
}

#pic-example {
    margin: 20px auto;
    width: 80%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#example-hamster {
    width: 200px;
    height: 200px;
    margin: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

#example-hamster:hover {
    transform: scale(1.1);
}

#example-text, #guidelines, #charge_explanation, #why-over, #reason-why-over {
    font-size: 1.2em;
    margin: 10px 0;
    color: #555;
    text-shadow: 1px 1px 2px #eee;
}

#why-over {
    text-decoration: underline;
    color: #ff6600;
}

#Payment_button {
    font-family: 'Pacifico', cursive, sans-serif;
    display: inline-block;
    padding: 12px 24px;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    background-color: #34c924;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

#Payment_button:hover {
    background-color: #28a720;
    transform: scale(1.05);
}

#charge_explanation {
    margin: 20px auto;
    width: 80%;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

#Terms_and_Conditions {
    display: none;
    margin: 20px auto;
    width: 80%;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

#Terms_and_Conditions h2 {
    font-size: 1.4em;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

#Terms_and_Conditions p {
    font-size: 1.1em;
    color: #555;
    text-align: left;
}

/* Chessboard Styles */
#chessboard {
    display: grid;
    grid-template-columns: repeat(8, 10vw);
    grid-template-rows: repeat(8, 10vw);
    width: fit-content;
    margin: 20px auto;
    border: 3px solid #333;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.chessTile {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5vw;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
    border: 1px solid #555;
    box-shadow: none;
    transform: scale(1);
    cursor: pointer;
}

.whiteTile {
    background: linear-gradient(145deg, #ffdead, #ffffff);
    color: #333;
}

.blackTile {
    background: linear-gradient(145deg, #8b4513, #654321);
    color: white;
}

.chessTile:hover {
    box-shadow: 0px 4px 10px #ffcc00;
    transform: scale(1.05);
    z-index: 2;
}

.tileText {
    cursor: default;
    color: transparent;
    padding: 40%;
}

.tileText:hover {
    color: #333;
    visibility: visible;
}

.tile_ad_text {
    position: absolute;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* Article 11 Compliance */
#article11Compliance {
    margin-top: 10px;
    position: absolute;
    width: 100%;
    text-align: center;
}

#compliance_title {
    font-size: 2em;
    text-align: center;
    color: #ff4500;
}
