/* ---------------------------------------------
   DARK MODE LOGIN TEST PAGE (ISOLATED)
--------------------------------------------- */

/* BODY = FLEX COLUMN LAYOUT */
/* BODY = FLEX COLUMN LAYOUT */
body.ts-login-dark {
    margin: 0;
    padding: 0;
    background: #0d0d0d;
    color: #fff;
    min-height: 100vh;
    font-family: 'Inter', system-ui, sans-serif;
    display: flex;
    flex-direction: column;
}

/* WRAPPER = CENTERED BOTH WAYS INSIDE BODY */
.ts-login-wrapper {
    flex: 1; /* fills available height */
    display: flex;
    justify-content: center;      /* center horizontally */
    align-items: center;          /* center vertically */
    gap: 120px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;               /* center wrapper itself */
}


/* ---------------------------------------------
   LEFT SIDE HERO SECTION
--------------------------------------------- */

.ts-login-left {
    max-width: 520px;
    color: #fff;
}

.ts-login-hero-logo {
    width: 260px;
    margin-bottom: 20px;
}

.ts-login-hero-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 16px;
    color: #fff;
}

.ts-login-hero-sub {
    font-size: 20px;
    color: #ccc;
    margin-bottom: 24px;
    line-height: 1.5;
}

.ts-login-hero-list {
    list-style: none;
    padding: 0;
}

.ts-login-hero-list li {
    font-size: 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #eee;
}

/* ---------------------------------------------
   LOGIN CARD (RIGHT SIDE)
--------------------------------------------- */

.ts-login-card {
    background: #100f0f;
    padding: 30px;
    border-radius: 12px;
    width: 380px;
    box-shadow: 0 0 25px rgba(0,0,0,0.4);
    border: 1px solid #1f1f1f;
    text-align: center;
}

.ts-login-logo {
    position: relative;
    width: 150px;      /* bigger */
    height: 200px;     /* bigger */
    margin: 0 auto 10px auto; /* tighter spacing */
}


.ts-login-logo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.5s ease;
}

#card-angry {
    opacity: 1;
}

#card-logo {
    opacity: 0;
    position: absolute;
    top: 0px; /* raise the hand */
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.ts-login-card h2 {
    margin-bottom: 10px; /* reduce spacing */
}

.ts-login-input {
    margin-top: 5px; /* reduce spacing */
    margin-bottom: 10px;
}


.ts-login-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

/* Inputs */
.ts-login-input {
    width: 100%;
    padding: 12px 0; /* keep vertical padding only */
    text-indent: 14px; /* pushes text right without breaking layout */
    border-radius: 8px;
    border: 1px solid #333;
    background: #0f0f0f;
    color: #fff;
    margin-bottom: 15px;
    font-size: 16px;
    box-sizing: border-box;
}


.ts-login-input:focus {
    border-color: #f97316;
    outline: none;
}

/* Button */
.ts-login-btn {
    width: 100%;
    background: #f97316;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
}

.ts-login-btn:hover {
    background: #ff7f1a;
}

/* ---------------------------------------------
   FOOTER (NORMAL FLOW, NO ABSOLUTE)
--------------------------------------------- */

.ts-footer {
    width: 100%;
    text-align: center;
    padding: 15px 0;
    margin-top: 20px;
    color: #777;
    font-size: 13px;
}

.ts-legal-links {
    margin-top: 8px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.ts-legal-links a {
    color: #f97316;
    font-size: 13px;
    text-decoration: none;
    opacity: 0.9;
}

.ts-legal-links a:hover {
    opacity: 1;
    text-decoration: underline;
}


/* Intro Overlay */
#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 1;
    transition: opacity 0.6s ease-out;
}

/* Angry Face */
#intro-face {
    width: 180px;
    opacity: 0;
    transform: scale(0.2);
    animation: faceIntro 2.8s forwards ease-out, faceFlicker 0.15s 1.2s 6 alternate ease-in-out;
}


/* Splatter Flash */
#intro-splatter {
    position: absolute;
    width: 600px;
    height: 600px;
    background: #f97316;
    border-radius: 50%;
    opacity: 0;
    filter: blur(80px);
    animation: splatterFlash 0.6s 1.8s forwards ease-out;
}

#intro-overlay {
    position: fixed;
    z-index: 9999999 !important;
}

/* Face Animation */
@keyframes faceIntro {
    0% {
        opacity: 0;
        transform: scale(0.2);
    }
    20% {
        opacity: 1;
        transform: scale(0.6);
    }
    50% {
        transform: scale(1.4);
    }
    75% {
        transform: scale(2.4);
        opacity: 1;
    }
    100% {
        transform: scale(4.5);
        opacity: 0;
    }
}


/* Splatter Flash Animation */
@keyframes splatterFlash {
    0% { opacity: 0; transform: scale(0.4); }
    40% { opacity: 0.9; transform: scale(1.6); }
    100% { opacity: 0; transform: scale(3.2); }
}

@keyframes faceFlicker {
    0% { opacity: 1; transform: scale(1.35); }
    50% { opacity: 0.4; transform: scale(1.32); }
    100% { opacity: 1; transform: scale(1.36); }
}
/*LOGO Bouncer*/
#bounce-logo {
    position: absolute;
    width: 140px;
    opacity: 0.25;
    pointer-events: none;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#ts-bg-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    width: 60%;
    pointer-events: none;
    filter: blur(0.3px);
    animation: tsGlitch 4s infinite;
}
@keyframes tsGlitch {
    0% { transform: translate(-50%, -50%) scale(1); }
    10% { transform: translate(-50.2%, -50.1%) scale(1.01); }
    11% { transform: translate(-49.8%, -50.3%) scale(0.99); }
    12% { transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.08; }
    51% { opacity: 0.12; }
    52% { opacity: 0.08; }
}
/* ================================
   CONTACT + SUCCESS PAGE WRAPPER
   ================================ */
.ts-contact-wrapper,
.ts-success-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* ================================
   CENTERED ANGRY FACE IMAGE
   ================================ */
#card-angry {
    display: block;
    margin: 0 auto 20px auto;
    width: 140px;
    height: auto;
}

/* ================================
   CONTACT FORM STYLING
   ================================ */
.ts-contact-form {
    margin-top: 25px;
    text-align: left;
}

.ts-contact-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #fff;
}

.ts-contact-form input,
.ts-contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 18px;
    border: 1px solid #333;
    border-radius: 6px;
    background: #111;
    color: #fff;
    font-size: 15px;
}

.ts-contact-form input:focus,
.ts-contact-form textarea:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 6px #f97316;
}

/* ================================
   CONTACT FORM SUBMIT BUTTON
   ================================ */
.ts-contact-form .ts-btn {
    width: 100%;
    padding: 12px;
    background: #f97316;
    border: none;
    border-radius: 6px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.ts-contact-form .ts-btn:hover {
    background: #ff8b3a;
}

/* ================================
   ALTERNATE CONTACT TEXT
   ================================ */
.ts-contact-alt {
    margin-top: 25px;
    color: #ccc;
    font-size: 14px;
    text-align: center;
}

/* ================================
   SUCCESS PAGE MESSAGE
   =================

/* Success Page Container */
.ts-legal-page {
    max-width: 600px;
    margin: 60px auto;
    padding: 30px;
    background: #111;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.15);
    text-align: center;
}

/* Success Header */
.ts-legal-page h1 {
    color: #f97316;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(249, 115, 22, 0.4);
}

/* Success Message */
.ts-legal-page p {
    color: #ddd;
    font-size: 16px;
    margin-top: 10px;
    line-height: 1.6;
}

/* Back Button */
.ts-legal-cta .ts-btn-return {
    display: inline-block;
    margin-top: 25px;
    padding: 10px 20px;
    background: #f97316;
    color: #000;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.2s;
}

.ts-legal-cta .ts-btn-return:hover {
    background: #ff8b3a;
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
}
.ts-suggestion-box {
    margin-top: 40px;
    padding: 20px;
    background: #111;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.15);
    text-align: center;
}

.ts-suggestion-box h2 {
    color: #f97316;
    margin-bottom: 10px;
}

.ts-suggestion-box p {
    color: #ccc;
    margin-bottom: 15px;
}

.ts-suggestion-box textarea {
    width: 100%;
    padding: 12px;
    background: #000;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    margin-bottom: 15px;
}

.ts-suggestion-box textarea:focus {
    border-color: #f97316;
    box-shadow: 0 0 6px #f97316;
}

.ts-suggestion-box .ts-btn {
    width: 100%;
    padding: 12px;
    background: #f97316;
    border: none;
    border-radius: 6px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.ts-suggestion-box .ts-btn:hover {
    background: #ff8b3a;
}


/* ============================================
   MOBILE FIX — COLLAPSE TWO-COLUMN LAYOUT
   ============================================ */
/* ============================================
   ULTRA-NUKE MOBILE FIX
   ============================================ */

/* ============================================
   FINAL MOBILE FIX — CLEAN, CENTERED, NO OVERFLOW
   ============================================ */
@media (max-width: 768px) {

    /* Kill horizontal scroll */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        margin: 0 !important;
    }

    /* Wrapper becomes vertical + centered */
    .ts-login-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        text-align: center !important;
    }

    

    /* Left + right columns full width */
    .ts-login-left,
    .ts-login-card {
        width: 100% !important;
        max-width: 420px !important;
        text-align: center !important;
    }

    /* LOGIN CARD FIXES */
    .ts-login-card {
        width: 90% !important;
        max-width: 340px !important;
        padding: 20px !important;
        overflow: hidden !important;
        position: relative !important;
        box-sizing: border-box !important;
    }

    /* SPLATTER / BACKGROUND LOGO FIX */
    #ts-bg-logo {
        position: absolute !important;
        width: 70% !important;
        max-width: 240px !important;
        left: 50% !important;
        top: 10px !important;
        transform: translateX(-50%) !important;
        opacity: 0.08 !important;
        pointer-events: none !important;
    }

    /* INTRO OVERLAY SAFETY */
    #intro-overlay,
    #intro-face,
    #intro-splatter {
        max-width: 100% !important;
        overflow: hidden !important;
    }

    /* ANGRY FACE / HAND SWAP CONTAINER */
    .ts-login-logo {
        width: 120px !important;
        height: 150px !important;
        margin: 0 auto 10px auto !important;
    }

    .ts-login-logo img {
        width: 100% !important;
        height: auto !important;
    }

    /* INPUTS + BUTTONS */
    .ts-login-input,
    .ts-login-btn {
        width: 100% !important;
        max-width: 280px !important;
    }

    /* HERO LOGO (if used) */
    .ts-login-hero-logo {
        width: 180px !important;
        margin: 0 auto 20px auto !important;
    }
}

/* FILE: /css/style.css — Kickstarter Badge Styles */
.ks-badge {
    position: fixed;
    top: 20px;
    left: 20px;
    background: #f97316; /* ThroShade orange */
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ks-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

/* FILE: /css/style.css — Kickstarter Badge Glitch Effect */
.ks-badge {
    position: fixed;
    top: 20px;
    left: 20px;
    background: #f97316;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    animation: ksGlitch 3.5s infinite;
}

@keyframes ksGlitch {
    0% { transform: none; }
    8% { transform: translate(1px, -1px) skewX(5deg); }
    9% { transform: translate(-1px, 1px) skewX(-5deg); }
    10% { transform: none; }

    48% { transform: none; }
    50% { transform: translate(-2px, 0px) skewX(3deg); }
    51% { transform: translate(2px, 0px) skewX(-3deg); }
    52% { transform: none; }

    90% { transform: none; }
    92% { transform: translate(1px, 1px) skewX(4deg); }
    93% { transform: translate(-1px, -1px) skewX(-4deg); }
    94% { transform: none; }
}
