body {
    margin: 0; 
    padding: 0;
    overflow: hidden; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Nice Overlay on Body */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
}

/* Overlay Container */
#overlayContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.8);
}

#overlayContainer img {
    max-width: 70vw;
    max-height: 70vh;
    width: auto;
    height: auto;
    opacity: 0.7;
    display: block;
    border-radius: 15px;
}

/* 1. Video Container Styling with FIXED Fallback Image */
#myVideo {
    /* FIXED Fallback Image for all videos (Space Nebula) */
    background-image: url('overlay.jpg');
    background-size: cover; 
    background-position: center; 
    
    /* Full-Screen Positioning and Layering */
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%; 
    z-index: -1; 
    object-fit: cover;
    object-position: center;
}

/* BG Overlay */
#bgOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

/* 2. Combined Darker Grain/Pixel Overlay */
#myVideo::before {
    content: ''; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; 
    pointer-events: none; 

    /* --- Grain/Pixel Effect --- */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 500 500' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.5' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3C/rect%3E%3C/svg%3E");
    background-size: 150px; 
    filter: invert(1); 

    /* --- Darker Overlay & Blending --- */
    /* Increased opacity to 0.9 for a darker overlay */
    background-color: rgba(0, 0, 0, 0.9); 
    
    mix-blend-mode: overlay; 
    opacity: 1; 
}

/* 2.5. Raw Xerox Scan Overlay */
#myVideo::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;

    /* --- Xerox Scan Effect --- */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 500 500' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='xeroxFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.1' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23xeroxFilter)'/%3C/rect%3E%3C/svg%3E");
    background-size: 200px;
    filter: contrast(1000%) brightness(50%) invert(1);

    mix-blend-mode: multiply;
    opacity: 0.4;
}


/* 3. Content Styling */
.content {
    position: relative; 
    z-index: 1; 
    
    /* Center the content */
    height: 100vh; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    /* Text styling for readability */
    color: white; 
    font-family: Arial, sans-serif;
    text-align: center;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8); 
}

.content h1 {
    font-size: 3em;
}

.content p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.content button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.2); 
    border: 2px solid white;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 5px;
}

.content button:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

/* Social Links */
.social-links {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    opacity: 0.5;
}

.social-links a {
    color: white;
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
    padding: 10px;
}

.social-links a:hover {
    color: #ccc;
}

/* Responsive for social links */
@media (max-width: 768px) {
    .social-links {
        flex-direction: column;
        gap: 10px;
    }
    #overlayContainer img {
        max-height: 50vh;
    }
}




.site-footer {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: min(92vw, 560px);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    pointer-events: none;
}

.site-footer .footer-logo {
    width: 74px;
    max-width: 18vw;
    height: auto;
    opacity: 0.66;
    border-radius: 0;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.85));
}

.site-footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 11px;
    line-height: 1.5;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

@media (max-width: 768px) {
    .site-footer {
        bottom: 14px;
        gap: 8px;
    }

    .site-footer .footer-logo {
        width: 58px;
        max-width: 22vw;
    }

    .site-footer p {
        font-size: 10px;
    }
}

.collab-page {
    min-height: 100vh;
    overflow: auto;
    color: white;
    background-color: #050505;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.68)), url('collab-bg.png');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}

.collab-page::before {
    background: radial-gradient(circle at center 32%, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.55) 72%, rgba(0, 0, 0, 0.86) 100%);
}

.collab-shell {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 18px;
    box-sizing: border-box;
}

.collab-card {
    width: min(900px, 100%);
    padding: 42px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.46), rgba(8, 8, 8, 0.7));
    box-shadow: 0 30px 110px rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(8px);
    text-align: center;
}

.collab-hero-logo {
    display: flex;
    justify-content: center;
    margin: 4px 0 34px;
}

.collab-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.collab-brand img {
    width: min(420px, 78vw);
    height: auto;
    opacity: 0.94;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.95));
}

.collab-card h1 {
    position: relative;
    display: inline-block;
    margin: 0;
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(36px, 7vw, 76px);
    font-style: italic;
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: 0.015em;
    text-transform: none;
    text-shadow: 0 0 18px rgba(255,255,255,0.22), 0 10px 34px rgba(0,0,0,0.96);
}

.collab-card h1::after {
    content: '';
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: -14px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.74), transparent);
    box-shadow: 0 0 16px rgba(255,255,255,0.45);
}

.collab-intro {
    max-width: 640px;
    margin: 34px auto 30px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.6;
}

.collab-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.collab-form label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.collab-form input,
.collab-form select,
.collab-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font: inherit;
    font-size: 15px;
    letter-spacing: normal;
    text-transform: none;
    padding: 13px 14px;
    outline: none;
}

.collab-form select option {
    color: #111;
}

.collab-form textarea {
    resize: vertical;
    min-height: 140px;
}

.collab-form input:focus,
.collab-form select:focus,
.collab-form textarea:focus {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.12);
}

.full-width {
    grid-column: 1 / -1;
}

.collab-form button {
    align-self: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #111;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    padding: 14px 22px;
    text-transform: uppercase;
}

.collab-form button:hover {
    background: white;
}

.form-status {
    min-height: 22px;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    letter-spacing: normal;
    text-transform: none;
}

.form-status.success {
    color: #b7f7c9;
}

.form-status.error {
    color: #ffb4b4;
}

@media (max-width: 720px) {
    .collab-shell {
        align-items: flex-start;
        padding: 24px 14px;
    }

    .collab-card {
        padding: 28px 18px;
        border-radius: 18px;
    }

    .collab-brand img {
        width: min(300px, 78vw);
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .collab-form button {
        width: 100%;
    }
}
