* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1350px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    margin: 20px 0 30px 0;
    background: linear-gradient(180deg, #fff 0%, #adadad 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
}

.buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 30px;
    width: 100%;
    max-width: 400px;
}

.btn {
    background: #000;
    color: #fff;
    border: 1px solid #333;
    padding: 14px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.btn:active {
    transform: scale(0.98);
}

.player-container {
    display: none;
    width: 100%;
    background: #000;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
    box-shadow: 0 4px 30px rgba(0,0,0,0.8);
    border-radius: 12px;
}

.player-container.active {
    display: block;
}

video {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
    object-fit: contain;
}

.back-btn {
    background: transparent;
    color: #888;
    border: 1px solid #333;
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.back-btn:hover {
    color: #fff;
    border-color: #666;
    background: rgba(255,255,255,0.05);
}

.back-btn:active {
    transform: scale(0.98);
}

@media (max-width: 600px) {
    html, body {
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    body {
        justify-content: flex-start;
        padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom) 0;
    }
    
    .container {
        height: auto;
        min-height: 100vh;
        padding: 16px;
        justify-content: flex-start;
    }

    .player-container {
        border-radius: 0;
        margin: 0 -16px;
        width: calc(100% + 32px);
        max-width: none;
        box-shadow: none;
    }

    h1 {
        font-size: 2.25rem;
        margin: 10px 0 24px 0;
    }
    
    .buttons {
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
        max-width: none;
        padding: 0 4px;
    }
    
    .btn {
        padding: 18px 20px;
        font-size: 1rem;
        border-radius: 10px;
    }
    
    .back-btn {
        width: 100%;
        max-width: 200px;
        padding: 14px 20px;
        margin: 30px auto;
        display: block;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .buttons {
        max-width: 100%;
    }
    
    .btn {
        padding: 14px 18px;
    }
}
