@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;600;700&family=Poppins:wght@400;600;700&display=swap');

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(135deg, #ffb6c1, #ff69b4, #ff4f99);
    text-align: center;
    padding: 10px;
}

.container {
    max-width: 700px;
    margin: auto;
    background: white;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0px 6px 20px rgba(255, 105, 180, 0.3);
}

h2 {
    font-family: 'Poppins', sans-serif;
    color: #ff4081;
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 40px;
    margin-top: 5px;
}

.drag-instruction {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #ff4f99;
    margin-bottom: 25px;
}

.drag-note {
    font-size: 14px;
    font-weight: 400;
    color: #555;
}

.box-preview {
    width: 250px;
    height: 250px;
    background: #ffb6c1;
    margin: 30px auto 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
    border-radius: 12px;
    position: relative;
    cursor: grab;
    box-shadow: 10px 10px 20px rgba(128, 128, 128, 0.5);
}

.controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    align-items: center;
}

.full-width {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 20px;
}

.shadow-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #ff4f99;
    text-align: center;
    margin-bottom: 5px;
}

.radio-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    text-align: center;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
}

.control-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 15px;
}

.control-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 48%;
}

label {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #ff4f99;
}

input {
    width: 100%;
}

input[type="range"] {
    accent-color: #ff4081;
}

input[type="color"] {
    border: 2px solid #ff69b4;
    border-radius: 6px;
    height: 40px;
    width: 100%;
    cursor: pointer;
}

.opacity-preview {
    width: 100%;
    height: 20px;
    border-radius: 5px;
    margin-top: 5px;
    border: 1px solid #ff69b4;
}

.css-output-section {
    text-align: center;
    margin-top: 10px;
}

.css-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ff4f99;
    margin-bottom: 5px;
}

.css-output {
    background: #ffd3e3;
    padding: 8px;
    border-radius: 8px;
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-top: 5px;
    text-align: center;
    word-break: break-word;
    border: 2px solid #ff69b4;
    color: #ff2e75;
}

.mdn-link {
    text-align: center;
    margin-top: 5px;
    font-size: 14px;
}

.mdn-link a {
    color: #ff2e75;
    font-weight: bold;
    text-decoration: none;
}

.mdn-link a:hover {
    text-decoration: underline;
    color: #ff1a66;
}

@media (max-width: 600px) {
    .control-row {
        flex-direction: column;
        align-items: center;
    }
    .control-group {
        width: 100%;
    }
}
