body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: url('us-flag.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

nav {
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav a {
    color: #ffd700;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.2s ease-in-out;
}

nav a:hover {
    color: #fff;
}

.wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
}

.container {
    background: rgba(0, 0, 0, 0.7);
    padding: 25px;
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
}

h1 {
    color: #ffd700;
    margin-top: 0;
    font-size: 2rem;
}

.countdown {
    font-size: 2em;
    margin: 20px 0;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #444;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #ff4c4c, #ffb347);
    width: 0%;
    transition: width 0.5s ease-in-out;
}

.quote {
    font-style: italic;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    margin-top: 20px;
}

.quote-box {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    margin-top: 15px;
    border-radius: 10px;
}

.quote-btn {
    background: #ffd700;
    color: #000;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.quote-btn:hover {
    background: #ffea70;
    box-shadow: 0 0 10px #ffd700;
}

.state-note {
    color: #ffd700;
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 18px;
    text-shadow: 1px 1px 4px #000;
}

.fx-layer {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2000;
}

.page-header {
    text-align: center;
    margin: 30px auto;
    font-size: 2.5rem;
    color: #ffd700;
    text-shadow: 2px 2px 5px #000;
    padding: 15px 25px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    backdrop-filter: blur(6px);
    display: inline-block;
}

.archive-tools {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 12px 14px;
    box-sizing: border-box;
    backdrop-filter: blur(6px);
}

.archive-search {
    flex: 1;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font: inherit;
    padding: 10px 12px;
    outline: none;
}

.archive-search::placeholder {
    color: rgba(255, 255, 255, 0.68);
}

.archive-search:focus {
    border-color: #ffd700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.18);
}

.archive-count {
    color: #ffd700;
    font-weight: 700;
    white-space: nowrap;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    padding: 40px;
    max-width: 1200px;
    margin: auto;
    flex: 1;
}

.archive-item {
    background: rgba(0, 0, 0, 0.75);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
}

.archive-item:hover {
    transform: scale(1.02);
}

.archive-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.archive-content {
    padding: 10px;
}

.archive-content a {
    color: #ffd700;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
}

.archive-content a:hover {
    color: #fff;
}

.archive-date {
    display: block;
    margin-top: 5px;
    color: #aeb8b5;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.archive-desc {
    font-size: 0.9rem;
    margin-top: 8px;
    color: #ddd;
}

.archive-empty {
    grid-column: 1 / -1;
    background: rgba(0, 0, 0, 0.72);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    color: #ddd;
    font-weight: 600;
}

footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 10px;
    text-align: center;
    font-size: 0.85em;
    color: #aaa;
}

footer a {
    color: #ffd700;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
}

@media (max-width: 600px) {
    nav a {
        margin: 0 8px;
        font-size: 0.9rem;
    }

    h1 {
        font-size: 1.6rem;
    }

    .countdown {
        font-size: 1.4rem;
    }
}

@media (max-width: 620px) {
    .archive-tools {
        flex-direction: column;
        align-items: stretch;
    }

    .archive-count {
        text-align: center;
    }

    .archive-grid {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }
}
