/* ===================================
   RESET & BASE STYLES
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    position: relative;
}

/* ===================================
   BACKGROUND VIDEO
   =================================== */

.background-video {
    /* Position behind all content */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    
    /* Fill viewport while maintaining aspect ratio */
    object-fit: cover;
    
    /* IMPORTANT: Favor bottom-left when cropping */
    object-position: left bottom;
    
    /* Remove any video controls */
    pointer-events: none;
}

/* ===================================
   LOGIN BUTTON
   =================================== */

.login-btn {
    /* Positioning */
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
    
    /* Styling */
    padding: 12px 28px;
    background-color: rgba(255, 255, 255, 0.95);
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    
    /* Subtle shadow for depth */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    
    /* Smooth transitions */
    transition: all 0.3s ease;
}

.login-btn:hover {
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.login-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* ===================================
   RESPONSIVE ADJUSTMENTS
   =================================== */

/* Mobile-first: adjust button for smaller screens */
@media (max-width: 768px) {
    .login-btn {
        top: 16px;
        right: 16px;
        padding: 10px 24px;
        font-size: 14px;
    }
    
    /* Video already set to bottom-left globally */
}

/* Extra small devices */
@media (max-width: 480px) {
    .login-btn {
        top: 12px;
        right: 12px;
        padding: 8px 20px;
        font-size: 13px;
    }
}
