/* styles.css for Human Analytica - extracted from index.html */

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

body {
    background: #000;
    overflow: hidden;
    height: 100vh;
    font-family: Arial, sans-serif;
}

#video-container {
    position: relative;
    width: 100%;
    height: 100vh;
}

video, #video2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.8s ease-in-out;
}

#controls {
    display: none;
}

#device-info {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #606060;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.35);
    padding: 10px;
    border-radius: 5px;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

#device-info.show {
    opacity: 1;
    pointer-events: auto;
}

#sound-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background: rgba(0, 0, 0, 0.35);
    color: #606060;
    padding: 20px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    min-width: 140px;
}

@media screen and (max-width: 768px) {
    #sound-notification {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1000;
        min-width: 140px;
        max-width: 200px;
        width: auto;
        padding: 20px 30px;
    }
}

#sound-notification.show {
    opacity: 1;
}

#sound-notification .text {
    color: #606060;
    text-align: center;
}

#loading {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background: rgba(0, 0, 0, 0.35);
    color: #606060;
    padding: 20px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px;
}

@media screen and (max-width: 768px) {
    #loading {
        min-width: 280px;
        max-width: 320px;
        width: 80vw;
        padding: 25px 40px;
    }
}

#loading.show {
    opacity: 1;
}

#next-button {
    position: fixed;
    bottom: env(safe-area-inset-bottom, 20px);
    bottom: max(env(safe-area-inset-bottom), 20px);
    right: env(safe-area-inset-right, 20px);
    right: max(env(safe-area-inset-right), 20px);
    color: #606060;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background: rgba(0, 0, 0, 0.35);
    padding: 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    height: 60px;
    cursor: pointer;
    white-space: nowrap;
}

#human-analytica-button {
    position: fixed;
    bottom: env(safe-area-inset-bottom, 20px);
    bottom: max(env(safe-area-inset-bottom), 20px);
    left: env(safe-area-inset-left, 20px);
    left: max(env(safe-area-inset-left), 20px);
    color: #606060;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background: rgba(0, 0, 0, 0.35);
    padding: 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    height: 60px;
    cursor: pointer;
    white-space: nowrap;
}

@media screen and (max-width: 768px) {
    #next-button {
        bottom: max(env(safe-area-inset-bottom, 0px) + 20px, 20px);
        right: max(env(safe-area-inset-right, 0px) + 20px, 20px);
        z-index: 2147483647;
    }
    #human-analytica-button {
        bottom: max(env(safe-area-inset-bottom, 0px) + 20px, 20px);
        left: max(env(safe-area-inset-left, 0px) + 20px, 20px);
        z-index: 2147483647;
    }
}

#next-button.show {
    opacity: 1;
    pointer-events: auto;
}

#human-analytica-button.show {
    opacity: 1;
    pointer-events: auto;
}

#next-button:hover {
    background: rgba(0, 0, 0, 0.35);
}

#human-analytica-button:hover {
    background: rgba(0, 0, 0, 0.35);
}

#video-container video {
    transition: opacity 0.5s ease;
}

#info-area {
    position: fixed;
    top: env(safe-area-inset-top, 20px);
    top: max(env(safe-area-inset-top), 20px);
    bottom: env(safe-area-inset-bottom, 20px);
    bottom: max(env(safe-area-inset-bottom), 20px);
    left: env(safe-area-inset-left, 20px);
    left: max(env(safe-area-inset-left), 20px);
    right: env(safe-area-inset-right, 20px);
    right: max(env(safe-area-inset-right), 20px);
    color: #606060;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background: rgba(0, 0, 0, 0.35);
    border-radius: 12px;
    font-size: 28px;
    font-weight: 700;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 40px;
    overflow-y: auto;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    #info-area {
        top: max(env(safe-area-inset-top, 0px) + 20px, 20px);
        bottom: max(env(safe-area-inset-bottom, 0px) + 20px, 20px);
        left: max(env(safe-area-inset-left, 0px) + 20px, 20px);
        right: max(env(safe-area-inset-right, 0px) + 20px, 20px);
        padding: 30px 25px;
        color: #606060;
        font-size: 17px;
    }
}

#info-area.show {
    opacity: 1;
    pointer-events: auto;
}

#info-area h2 {
    margin-bottom: 20px;
    color: #606060;
    font-size: 36px;
    font-weight: 600;
}

#info-area p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #606060;
}

#info-area .close-hint {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 14px;
    color: #606060;
    opacity: 0.7;
}

#info-area .desktop-content {
    display: block;
}

#info-area .mobile-content {
    display: none;
}

@media screen and (max-width: 768px) {
    #device-info {
        color: #606060;
    }
    #sound-notification {
        color: #606060;
    }
    #sound-notification .text {
        color: #606060;
    }
    #loading {
        color: #606060;
    }
    #next-button {
        color: #606060;
    }
    #human-analytica-button {
        color: #606060;
    }
    #info-area h2 {
        color: #606060;
    }
    #info-area p {
        color: #606060;
    }
    #info-area .close-hint {
        color: #606060;
    }
    #info-area .desktop-content {
        display: none;
    }
    #info-area .mobile-content {
        display: block;
    }
}

#next-button, #human-analytica-button {
    width: 232px;
    min-width: 232px;
    max-width: 232px;
}
