* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #121212 0%, #2d2d2d 100%);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background-color: #1e1e1e;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    text-align: center;
    max-width: 500px;
    width: 100%;
}

h1 {
    margin-bottom: 10px;
    color: #fe2c55; /* Warna khas TikTok */
}

p {
    color: #aaa;
    margin-bottom: 20px;
    font-size: 14px;
}

.input-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #333;
    border-radius: 6px;
    background-color: #2a2a2a;
    color: #fff;
    font-size: 16px;
}

input[type="text"]:focus {
    border-color: #fe2c55;
    outline: none;
}

button {
    padding: 12px;
    background-color: #fe2c55;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

button:hover {
    background-color: #e02247;
}

.btn-success {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 20px;
    background-color: #25d366;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

.btn-success:hover {
    background-color: #20ba5a;
}

#loading {
    margin-top: 20px;
    color: #ffcc00;
}

#result {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

video {
    width: 100%;
    max-height: 300px;
    border-radius: 8px;
    margin-top: 10px;
}

.hidden {
    display: none !important;
}
