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

body {
    font-family: 'Arial', sans-serif;
    background: #0d1117;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
}

header {
    text-align: center;
    margin-bottom: 1rem;
}

h1 {
    font-family: 'Sixtyfour', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 0.3rem;
}

#photoCount {
    font-size: 1.1rem;
    color: #bbb;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 600px;
}

video {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: black;
    border-radius: 8px;
    object-fit: cover;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

button {
    padding: 0.7rem 1.2rem;
    font-size: 1rem;
    background: #1f6feb;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s ease;
}

button:hover {
    background: #388bfd;
}

.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.modal-content {
    background: #161b22;
    padding: 2rem;
    border-radius: 12px;
    max-width: 90%;
    color: white;
}

.modal-content h2 {
    margin-bottom: 1rem;
}

.modal-content input {
    margin-bottom: 1rem;
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #444;
    background: #0d1117;
    color: white;
}

#galleryContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1rem;
}

#galleryContainer img {
    max-width: 100px;
    border-radius: 8px;
}