@charset "utf-8";
/* CSS Document */

/* ==========================================
   1. CORE RESET & COMPATIBILITY LAYER
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Font smoothing layer for smooth text across browsers */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body, html {
    height: 100%;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    overflow: hidden;
    
    /* Cross-Browser Flexbox rules to perfectly center the signup box */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

/* ==========================================
   2. VIDEO LAYOUT & RETINA MEDIA TINTS
   ========================================== */
.video-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -100;
    overflow: hidden;
}

.video-asset {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    /* Centers the stretching canvas contextually */
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.legacy-img-layer {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* This dark layer protects text from bright sports frames in the video background */
.video-overlay-tint {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.60); /* 60% opacity dark overlay */
    z-index: -90;
}

/* ==========================================
   3. CONTENT CONTAINER (Glassmorphic Blueprint)
   ========================================== */
.landing-interface-card {
    width: 90%;
    max-width: 480px;
    color: #ffffff;
    text-align: center;
    z-index: 10;
    background: rgba(255, 255, 255, 0.08); /* Semi-transparent layout */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    
    /* Hardware-accelerated blurs for Apple Safari & Chrome webkit layers */
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.card-inner-box {
    padding: 45px 35px;
}

.brand-heading {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.brand-subtext {
    font-size: 1.20rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 30px;
}

/* Clean, high-visibility placeholder that handles upcoming Tally layouts */
.mock-tally-trigger {
    width: 100%;
    padding: 16px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    background: #ff5722; /* High-contrast sports orange */
    border: none;
    border-radius: 8px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
    transition: all 0.2s ease-in-out;
}

.mock-tally-trigger:hover {
    background: #e64a19;
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
}

/* ==========================================
   4. DEVICE STABILITY & DATA-SAVER OVERRIDES
   ========================================== */
/* Triggers automatically on mobile screens, tablets, or low-power displays */
@media (max-width: 768px) {
    .video-asset {
        display: none !important; /* Shuts down heavy media streams completely to save battery */
    }
    
    body {
        /* Serves static background photo immediately for snappy mobile loading speeds */
        background-image: url('media/AdobeImg.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: scroll;
    }
    
    .landing-interface-card {
        background: rgba(15, 15, 15, 0.90); /* Solidifies card base for clear mobile contrast */
        border: 1px solid rgba(255, 255, 255, 0.1);
        -webkit-backdrop-filter: none;
        backdrop-filter: none; /* Disables blurs to protect low-end mobile graphics processing units */
    }
    
    .card-inner-box {
        padding: 30px 20px;
    }
    
    .brand-heading {
        font-size: 1.8rem;
    }
}