:root {
    --primary-color: #001f3f; /* Dark Blue */
    --secondary-color: #8b0000; /* Deep Red */
    --accent-color: #3498db;
    --text-color: #333;
    --bg-color: #ffffff;
    --card-bg: #ffffff;
    --border-color: #eeeeee;
    --footer-bg: #111111;
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --max-width: 1200px;
}

body.dark-theme {
    --text-color: #ecf0f1;
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --border-color: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: var(--transition);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 60px 0;
}

/* Advertisement Container Base */
.ad-container {
    margin: 40px 0;
    display: inline-flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden;
}

.ad-container::before {
    content: "ADVERTISEMENT";
    display: block;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    color: #888;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
    padding: 6px 15px;
    letter-spacing: 1.5px;
}

.ad-container.centered {
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.ad-container.right-aligned {
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: 0;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary { background: var(--primary-color); color: #fff; }
.btn-secondary { background: var(--secondary-color); color: #fff; }

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 30px;
    border-left: 5px solid var(--secondary-color);
    padding-left: 15px;
    color: var(--primary-color);
}

body.dark-theme .section-title {
    color: #fff;
}

/* Loader */
#loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-color);
    display: flex; justify-content: center; align-items: center;
    z-index: 9999;
}

.spinner {
    width: 40px; height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
