* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #000000;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: #1a1a1a;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    max-width: 500px;
    width: 100%;
    text-align: center;
    border: 1px solid #333;
}

h1 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 2.5em;
}

.subtitle {
    color: #cccccc;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.upload-btn {
    background: #000000;
    color: white;
    border: 2px solid #ffffff;
    padding: 15px 40px;
    font-size: 1.2em;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-weight: 600;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
    background: #333333;
}

.upload-btn:active {
    transform: translateY(0);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #1a1a1a;
    margin: 10% auto;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    position: relative;
    animation: slideIn 0.3s ease-out;
    border: 1px solid #333;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close, .close-upload {
    color: #cccccc;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
}

.close:hover, .close-upload:hover {
    color: #ffffff;
}

.modal-content h2 {
    color: #ffffff;
    margin-bottom: 15px;
    text-align: left;
}

.modal-content p {
    color: #cccccc;
    margin-bottom: 20px;
    text-align: left;
}

#codeInput {
    width: 100%;
    padding: 12px;
    font-size: 1.1em;
    border: 2px solid #333;
    margin-bottom: 15px;
    transition: border-color 0.3s;
    background-color: #000000;
    color: #ffffff;
}

#codeInput:focus {
    outline: none;
    border-color: #ffffff;
}

.submit-btn {
    background: #000000;
    color: white;
    border: 2px solid #ffffff;
    padding: 12px 30px;
    font-size: 1em;
    cursor: pointer;
    width: 100%;
    font-weight: 600;
    transition: opacity 0.3s;
}

.submit-btn:hover:not(:disabled) {
    background: #333333;
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.error-message {
    color: #e74c3c;
    margin-top: 10px;
    margin-bottom: 10px;
    min-height: 20px;
    text-align: left;
    font-size: 0.9em;
}

.success-message {
    color: #4ade80;
    margin-top: 20px;
    padding: 15px;
    background-color: #1a3a1a;
    border: 1px solid #4ade80;
    display: none;
}

.file-info {
    margin: 15px 0;
    padding: 10px;
    background-color: #000000;
    border: 1px solid #333;
    text-align: left;
    font-size: 0.9em;
    color: #ffffff;
}

.upload-progress {
    margin: 15px 0;
    height: 8px;
    background-color: #333333;
    overflow: hidden;
    display: none;
}

.upload-progress-bar {
    height: 100%;
    background: #ffffff;
    width: 0%;
    transition: width 0.3s;
}

#fileInput {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 2px dashed #333;
    cursor: pointer;
    transition: border-color 0.3s;
    background-color: #000000;
    color: #ffffff;
}

#fileInput:hover {
    border-color: #ffffff;
}

.review-link-container {
    margin-top: 20px;
    padding: 20px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    display: none;
}

.review-link-container h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.review-link-box {
    background-color: #000000;
    border: 1px solid #333;
    padding: 15px;
    margin-bottom: 15px;
    word-break: break-all;
}

.review-link {
    color: #4ade80;
    font-size: 1.1em;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.review-link:hover {
    color: #86efac;
    text-decoration: underline;
}

.copy-btn {
    background: #000000;
    color: white;
    border: 2px solid #ffffff;
    padding: 10px 20px;
    font-size: 0.9em;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
    margin-top: 10px;
}

.copy-btn:hover {
    background: #333333;
}

.copy-btn:active {
    background: #1a1a1a;
}

.copied-message {
    color: #4ade80;
    margin-top: 10px;
    font-size: 0.9em;
    display: none;
}

