/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Full-width Header */
.full-width-header {
    width: 100%;
    background-color: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

.full-width-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.subtitle {
    color: #7f8c8d;
    font-size: 1.1rem;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Status Cards */
.status-card {
    padding: 35px 25px;
    margin-bottom: 25px;
    text-align: center;
    background-color: white;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.status-card h2 {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.status-badge {
    display: inline-block;
    padding: 22px 45px;
    border-radius: 14px;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 10px 0;
    transition: all 0.2s ease;
}

.status-badge.yes {
    background-color: #27ae60;
    color: white;
    box-shadow: 0 4px 16px rgba(39, 174, 96, 0.25);
}

.status-badge.no {
    background-color: #e74c3c;
    color: white;
    box-shadow: 0 4px 16px rgba(231, 76, 60, 0.25);
}

.date {
    font-size: 1.2rem;
    color: #555;
    margin-top: 15px;
}

.countdown {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-top: 10px;
    font-weight: 500;
}

.hidden {
    display: none;
}

/* Ad Spots */
.ad-spot {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}

.ad-horizontal {
    width: 100%;
    max-width: 800px;
}

.ad-horizontal .adsbygoogle {
    display: block;
    min-height: 90px;
}

.ad-placeholder {
    background-color: #ecf0f1;
    border: 2px dashed #bdc3c7;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #95a5a6;
    font-size: 0.9rem;
}

.ad-horizontal .ad-placeholder {
    width: 728px;
    height: 90px;
    max-width: 100%;
}

/* Side Ad Banners (Desktop only) */
.ad-sidebar {
    position: fixed;
    top: 20px;
    padding: 20px;
    display: none;
    z-index: 10;
    width: 200px;
}

.ad-sidebar .adsbygoogle {
    display: block;
    width: 160px;
    min-height: 600px;
}

.ad-sidebar-left {
    left: 20px;
}

.ad-sidebar-right {
    right: 20px;
}

.ad-skyscraper {
    width: 160px;
    height: 600px;
    background-color: #ecf0f1;
    border: 2px dashed #bdc3c7;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #95a5a6;
    font-size: 0.9rem;
}

/* Show side ads on larger screens */
@media (min-width: 1200px) {
    .ad-sidebar {
        display: block;
    }
}

/* Calendar Section */
.calendar-section {
    padding: 35px 25px;
    margin: 30px 0;
    background-color: white;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.calendar-section h2 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}


.trading-sundays-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    padding: 0;
}

.trading-sundays-list li {
    background-color: rgba(39, 174, 96, 0.06);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(39, 174, 96, 0.15);
    font-size: 1rem;
    color: #333;
    transition: all 0.2s ease;
}

.trading-sundays-list li:hover {
    background-color: rgba(39, 174, 96, 0.12);
    border-color: rgba(39, 174, 96, 0.3);
    transform: translateY(-2px);
}

.trading-sundays-list li.past {
    opacity: 0.45;
    border-color: rgba(149, 165, 166, 0.15);
    background-color: rgba(149, 165, 166, 0.04);
}

.trading-sundays-list li.past:hover {
    background-color: rgba(149, 165, 166, 0.08);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-top: auto;
}

.footer-note {
    margin-top: 10px;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .ad-sidebar {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .full-width-header {
        padding: 30px 20px;
    }

    .full-width-header h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .status-card {
        padding: 25px 20px;
        border-radius: 16px;
    }

    .status-card h2 {
        font-size: 0.95rem;
    }

    .status-badge {
        padding: 18px 35px;
        font-size: 1.9rem;
    }

    .date {
        font-size: 1rem;
    }

    .countdown {
        font-size: 1rem;
    }

    .ad-horizontal {
        max-width: 100%;
    }

    .ad-horizontal .adsbygoogle {
        min-height: 50px;
    }

    .ad-horizontal .ad-placeholder {
        width: 320px;
        height: 50px;
    }

    .calendar-section {
        padding: 25px 20px;
        border-radius: 16px;
    }

    .calendar-section h2 {
        font-size: 1.2rem;
    }

    .trading-sundays-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .trading-sundays-list li {
        padding: 14px;
        font-size: 0.95rem;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .full-width-header h1 {
        font-size: 1.7rem;
    }

    .status-badge {
        font-size: 1.8rem;
        padding: 18px 30px;
    }

    .ad-horizontal .ad-placeholder {
        width: 100%;
        max-width: 320px;
    }
}
