body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 900px;
    margin: 20px auto;
    flex: 1;
}

header {
    padding: 20px 0;
    border-bottom: 1px solid #333;
  	display:flex;
	justify-content: center;
}

header a{
	width:150px;
}

header .logo img {
    max-height: 50px;
}

main {
    padding: 0px;
}

#upload-area {
    border: 2px dashed #555;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    background-color: #1e1e1e;
    transition: background-color 0.3s;
  	margin-top:32px;
}

#upload-area.drag-over {
    background-color: #333;
    border-color: #777;
}

#upload-area p {
    margin: 0;
    font-size: 1.2em;
}

.upload-btn-container {
    text-align: center;
    margin-top: 20px;
}

#convert-btn {
    padding: 12px 25px;
    font-size: 1.1em;
    cursor: pointer;
    background-color: #37BFF0;
    color: white;
    border: none;
    border-radius: 12px;
    margin-top: 24px;
    width: 180px;
    transition: all 0.3s ease;
}

#convert-btn:hover {
    transform: translateY(-6px);
}


#download-list {
    margin-top: 30px;
}

.download-item {
    display: flex;
    align-items: center;
    background-color: #1e1e1e;
    padding: 10px;
    border-bottom: 1px solid #333;
}

.download-item img {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    object-fit: cover;
}

.download-item .file-info {
    flex-grow: 1;
}

.download-item .download-link {
    padding: 8px 15px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.batch-download-container {
    text-align: center;
    margin-top: 30px;
}

#batch-download-btn {
    padding: 12px 25px;
    font-size: 1.1em;
    cursor: pointer;
    background-color: #17a2b8;
    color: white;
    border: none;
    border-radius: 5px;
}

footer {
  padding:0px 16px;
  margin-top: auto;
    text-align: center;
    border-top: 1px solid #333;
    font-size: 14px;
  	line-height:24px;
}

footer a {
    color: #37BFF0;
}

#turnstile-widget {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    min-height: 65px; /* Cloudflare Turnstile widget height */
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
}

.banner-container {
    margin: 20px 0;
    text-align: center;
}

.banner-container img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.desktop-banner {
  display: block;
  width: 100%;
  height: auto;
}

.mobile-banner {
  display: none;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .desktop-banner {
    display: none;
  }
  .mobile-banner {
    display: block;
  }
}