* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: "SF Pro Text";
    src: local("-apple-system"), local("BlinkMacSystemFont");
    font-weight: normal;
}

@font-face {
    font-family: "SF Pro Text";
    src: local("-apple-system-bold"), local("BlinkMacSystemFont");
    font-weight: bold;
}

body {
    font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 400;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    padding: 20px 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url("Chrome.gif") center center / cover no-repeat;
    filter: blur(1px);
    z-index: -2;
    opacity: 0.6;
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.container {
    width: 90%;
    max-width: 700px;
    padding: 25px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    margin: 20px 0;
}

h1 {
    margin-bottom: 15px;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

h3 {
    font-weight: 600;
    letter-spacing: -0.3px;
    text-align: left;
    margin-bottom: 10px;
}

p {
    margin-bottom: 20px;
    opacity: 0.9;
    font-size: 15px;
    line-height: 1.5;
}

.drop-area {
    padding: 30px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.drop-area.active {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
}

#fileInput {
    display: none;
}

.hover-button {
    padding: 15px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: inline-block;
    margin-top: 10px;
    font-family: inherit;
    letter-spacing: -0.2px;
}

.hover-button:hover {
    background: rgba(87, 87, 87, 0.8);
    transform: scale(1.03);
}

.input-area, .output-area {
    margin: 20px 0;
    text-align: left;
}

label {
    display: block;
    margin: 12px 0 8px;
    font-weight: 600;
    text-align: left;
    font-size: 15px;
}

textarea {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    outline: none;
    font-family: inherit;
    font-size: 15px;
    min-height: 150px;
    resize: vertical;
    margin-bottom: 5px;
}

textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

textarea:focus {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

#output-text {
    background: rgba(0, 0, 0, 0.2);
}

.button-group {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 20px 0;
}

.button-group .hover-button {
    margin-top: 0;
    flex: 1;
}

.support-info {
    margin-top: 25px;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 12px;
    text-align: left;
}

.support-info ol {
    padding-left: 25px;
    margin-bottom: 15px;
}

.support-info li {
    margin-bottom: 8px;
}

.note {
    font-size: 13px;
    font-style: italic;
    opacity: 0.7;
    margin-top: 10px;
    line-height: 1.4;
    text-align: left;
}

@media (max-width: 600px) {
    .container {
        padding: 20px;
        width: 95%;
    }

    .hover-button {
        padding: 12px;
        font-size: 15px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    .drop-area {
        padding: 20px;
    }

    .button-group {
        flex-direction: column;
    }
}