/* ============================
   GLOBAL PAGE BASE
============================ */
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f5f5f7;
    color: #2a2a2a;
}

/* Spacing around header/footer */
[data-include="header"] {
    margin-bottom: 20px;
}

[data-include="footer"] {
    margin-top: 40px;
}



/* ============================
   FULLSCREEN LOADER
============================ */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.4s ease;
}

.loader-spinner {
    width: 45px;
    height: 45px;
    border: 5px solid #ddd;
    border-top-color: #2c2c54;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#page-loader.hide {
    opacity: 0;
    pointer-events: none;
}



/* ============================
   CONTENT SECTION (MAIN BOX)
============================ */
.content-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 25px 25px 60px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.content-section h2 {
    font-size: 30px;
    margin-bottom: 15px;
    color: #2c2c54;
    font-weight: 700;
}

.content-section p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 20px;
}



/* ============================
   RAW TEXT BLOCK (OFFERS)
============================ */
.raw-content {
    white-space: pre-wrap; /* preserves line breaks */
    font-size: 17px;
    line-height: 1.7;
    color: #333;
    background: #fafafa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #2c2c54;
    overflow-x: auto;
    margin-top: 20px;
}



/* ============================
   LINKS INSIDE RAW CONTENT
============================ */
.raw-content a {
    color: #2c2c54;
    font-weight: bold;
    text-decoration: underline;
}



/* ============================
   MOBILE RESPONSIVE
============================ */
@media (max-width: 600px) {

    .content-section {
        padding: 18px;
        border-radius: 8px;
    }

    .content-section h2 {
        font-size: 26px;
    }

    .raw-content {
        font-size: 16px;
        padding: 15px;
    }
}
