:root{
    --bg:#0b0f14;
    --panel:#171c24;
    --panel-light:#202734;
    --accent:#e5a00d;
    --text:#ffffff;
    --muted:#9aa4b2;
    --border:#2a313d;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:"Segoe UI",Arial,sans-serif;
    color:var(--text);
    min-height:100vh;
    position:relative;
	padding-bottom:70px;
}

body::before{
    content:"";
    position:fixed;
    inset:0;
    background: radial-gradient(
        circle at top,
        #1b2534 0%,
        #10151d 40%,
        #0b0f14 100%
    );
    z-index:-1;
}

.container{
    width:98%;
    max-width:1500px;
    margin:auto;
    padding:15px;
}

/* ===========================
   HEADER
=========================== */

header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:15px;
}

header .title{
    font-size:30px;
    font-weight:700;
    color:var(--accent);
}

/* ===========================
   SERVICES
=========================== */

.services{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.service{

    display:flex;
    align-items:center;
    gap:8px;

    padding:8px 14px;

    border-radius:999px;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    transition:.25s;
}

.service:hover{

    background:rgba(255,255,255,.10);

    transform:translateY(-2px);

}

/* ===========================
   LIBRARY COUNTS
=========================== */

.library{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:14px;
    margin-bottom:20px;
}

.count-card{
    background: linear-gradient(180deg,var(--card),var(--card2));
    border-left:4px solid #e5a00d;   /* Orange accent */
    border-radius:14px;
    padding:10px 14px;
    display:flex;
    align-items:center;
    gap:12px;
    box-shadow:0 10px 25px rgba(0,0,0,.35);
    transition:all .25s ease;
}

.count-card:hover{
    transform:translateY(-4px);
    box-shadow:0 14px 30px rgba(0,0,0,.45);
    border-left-color:#ffb300;
}

.icon{
    font-size:24px;
}

.count{
    font-size:28px;
    font-weight:700;
    line-height:1;
}

.label{
    font-size:13px;
    color:var(--muted);
    margin-left:auto;
}

/* ===========================
   MOVIES / TV
=========================== */

/* ===========================
   TOP STATS
=========================== */

.stats-row{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
    margin-bottom:20px;

}

.stat-card{

    display:flex;
    align-items:center;
    justify-content:center;

    gap:12px;

    background:var(--panel);

    border-radius:16px;

    padding:18px;

    box-shadow:0 8px 20px rgba(0,0,0,.35);

}

.stat-icon{

    font-size:28px;

}

.stat-number{

    font-size:28px;

    font-weight:700;

}

.stat-label{

    color:var(--muted);

    font-size:15px;

}

.media-row{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:15px;

}

.media-panel{

    background:var(--panel);

    border-radius:18px;

    padding:16px;

    box-shadow:0 8px 20px rgba(0,0,0,.35);

}

.media-panel h2{

    font-size:22px;

    color:var(--accent);

    margin-bottom:12px;

}

/* ===========================
   POSTERS
=========================== */

.poster-grid{
    display:flex;
    justify-content:center;
    align-items:flex-start;
    gap:10px;
    flex-wrap:wrap;
}

.poster .meta{
    margin-top:4px;
    text-align:center;
    font-size:12px;
    color:var(--muted);
}

.poster-image{
    position:relative;
}

.poster-badge{
    position:absolute;
    bottom:8px;
    right:8px;          /* Move to bottom-right */

    background:rgba(229, 160, 13, 0.8); /* 80% opacity */
    color:#111;

    padding:3px 8px;
    border-radius:999px;

    font-size:11px;
    font-weight:700;

    box-shadow:0 4px 12px rgba(0,0,0,.4);

    backdrop-filter:blur(4px); /* Optional: gives a frosted-glass effect */
}

.poster{
    flex:0 0 150px;
    min-width:0;
}

.poster:hover{
    transform:translateY(-5px) scale(1.04);
}

.poster img{
    width:100%;
    aspect-ratio:2/3;
    object-fit:cover;
    border-radius:10px;
    background:var(--panel-light);
    box-shadow:0 6px 18px rgba(0,0,0,.45);
    transition:.25s;
}

.poster:hover img{
    box-shadow:0 14px 28px rgba(0,0,0,.6);
}

.poster .title{
    margin-top:6px;
    width:100%;
    text-align:center;
    font-size:13px;
    font-weight:600;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
}

/* ===========================
   FOOTER
=========================== */

.status-footer{
    position: fixed;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 60px;

    background: var(--panel);
    border-top: 1px solid var(--border);

    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;

    text-align: center;

    z-index: 1000;
    box-shadow: 0 -4px 12px rgba(0,0,0,.35);
}

.footer-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    color: var(--muted);
    font-size: .85rem;
    line-height: 1.2;

    gap: 2px;
}

/* SINGLE CLEAN RULE FOR ALL VALUES */
.footer-stat span {
    color: var(--text);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    margin-top: 0; /* important: removes vertical drift */
}

.bin-household {
    color: #ffb84a !important;
}

.bin-recycling {
    color: #4aa3ff !important;
}

.bin-garden {
    color: #7ad97a !important;
}

/* ===========================
   TABLETS
=========================== */

@media (max-width:1100px){

    .media-row{
        grid-template-columns:1fr;
    }

}

/* ===========================
   PHONES
=========================== */

.summary-bar{

    display:flex;
    align-items:center;
    justify-content:space-around;

    background:var(--panel);

    border-radius:16px;

    padding:12px 24px;

    margin-bottom:20px;

    border:1px solid var(--border);

    box-shadow:0 8px 20px rgba(0,0,0,.35);

}

.summary-value {
    font-size: 18px;
    font-weight: 700;
}

.summary-item{

    display:flex;
    align-items:center;

    gap:10px;

    font-size:20px;
    font-weight:700;

}

.summary-icon{

    font-size:24px;

}

.summary-label{

    font-size:16px;
    font-weight:400;
    color:var(--muted);

}

.summary-value{

    color:#fff;
    font-size:16px;
}

@media (max-width:700px){

    header{
        flex-direction:column;
        align-items:flex-start;
        gap:12px;
    }

	.stats-row{
		grid-template-columns:1fr;
	}

    .poster-grid{
        gap:8px;
    }

    .count{
        font-size:42px;
    }

    .service{
        font-size:14px;
        padding:6px 12px;
    }

}

/* ===========================
   BIN COLLECTION
=========================== */

.bin-panel{

    margin-top:20px;

    background:var(--panel);

    border-radius:18px;

    padding:18px;

    box-shadow:0 8px 20px rgba(0,0,0,.35);

    text-align:center;

}

.bin-panel h2{

    font-size:22px;

    color:var(--accent);

    margin-bottom:12px;

}

#binDay{

    font-size:20px;

    font-weight:600;

    color:var(--text);

}