* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===== Base / Layout ===== */
html, body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #0F0F0F;
    color: #F1F1F1;
}

header {
    width: 100%;
    background-color: #0A0A0A;
    border-bottom: 1px solid #1F1F1F;
    padding: 20px 40px;
    box-sizing: border-box;
}

main {
    max-width: 1800px;
    width: 100%;
    margin: 0 auto;
    padding: 32px 24px;
    flex-grow: 1;
    overflow-y: auto;
    padding-bottom: 40px;
}

/* ===== Header / Branding ===== */
.header-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 1px;
    color: #FFFFFF;
    text-decoration: none;
}

.logo-cyan {
    color: #00FFFF;
}

.badge {
    font-size: 12px;
    font-family: monospace;
    background-color: #272727;
    padding: 6px 12px;
    border-radius: 12px;
    border: 1px solid #3F3F3F;
    color: #00FFFF;
    font-weight: bold;
}

.btn-download-launcher {
    font-size: 12px;
    font-family: monospace;
    font-weight: bold;
    color: #00FFFF;
    background-color: rgba(0, 255, 255, 0.05);
    padding: 8px 18px;
    border-radius: 20px;
    border: 1.5px solid #00FFFF;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
}

.btn-download-launcher:hover {
    background-color: #00FFFF;
    color: #0F0F0F;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
    transform: scale(1.03);
}

/* ===== Alerts / Notices ===== */
.info-alert-banner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background-color: #1F1F1F;
    border-left: 4px solid #00FFFF;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 32px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.alert-text-box {
    font-size: 13.5px;
    color: #AAAAAA;
    line-height: 1.5;
    font-family: system-ui, -apple-system, sans-serif;
}

.alert-highlight {
    color: #00FFFF;
    font-weight: bold;
    font-family: monospace;
    letter-spacing: 0.5px;
}

/* ===== Gallery / Cards ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px 16px;
}

.yt-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.yt-thumb-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 12px;
    background-color: #272727;
    transition: border-radius 0.2s ease;
}

.yt-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease-in-out;
}

.yt-card:hover .yt-thumb-container {
    border-radius: 4px;
}

.yt-card:hover .yt-thumb-img {
    transform: scale(1.03);
}

.time-tag {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(0, 0, 0, 0.85);
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-family: monospace;
    font-weight: bold;
    color: #FFFFFF;
}

.meta-container {
    display: flex;
    gap: 12px;
    padding: 0 4px;
    width: 100%;
}

.avatar-box {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #272727;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    overflow: hidden;
}

.video-title {
    font-size: 14px;
    font-weight: 500;
    color: #F1F1F1;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s ease;
}

.yt-card:hover .video-title {
    color: #00FFFF;
}

.tech-info {
    font-size: 11px;
    color: #717171;
    font-family: monospace;
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2px;
}

.cyan-ver {
    color: #00FFFF;
    font-weight: bold;
}

/* ===== Footer / Fixed UI ===== */
.footer-container {
    width: 100%;
    background-color: #0A0A0A;
    border-top: 1px solid #1F1F1F;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: monospace;
    font-size: 12px;
    color: #555555;
    flex-shrink: 0;
    z-index: 10;
    box-sizing: border-box;
}

.mp-footer-logo {
    height: 20px;
    width: auto;
    filter: grayscale(100%) opacity(40%);
    transition: filter 0.2s ease-in-out;
}

.footer-container:hover .mp-footer-logo {
    filter: grayscale(0%) opacity(80%);
}

.payment-badge-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.secure-text {
    color: #444444;
    font-size: 11px;
}

.btn-floating-donation {
    position: fixed;
    bottom: 84px;
    right: 40px;
    z-index: 100;
    font-size: 13px;
    font-family: monospace;
    font-weight: bold;
    color: #00FFFF;
    background-color: #1F1F1F;
    padding: 12px 20px;
    border-radius: 50px;
    border: 2px solid #00FFFF;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.2s ease-in-out;
}

.btn-floating-donation:hover {
    background-color: #00FFFF;
    color: #0F0F0F;
    box-shadow: 0 0 20px #00FFFF;
    transform: translateY(-3px) scale(1.04);
}

@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 20px;
    }
    
    .btn-floating-donation {
        bottom: 120px; 
    }
}