body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff5f7;
}

/* Header */
header {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 2px solid #f3dcdc;
    background-color: #fff1f2;
    height: 60px;
}

.logo {
    height: 150px;
}

/* Index Page Container */
.container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    gap: 40px;
    flex-wrap: wrap;
}

.left, .right {
    flex: 1 1 400px;
}

/* Image & Video Preview (same size & style) */
.wedding-gif,
.video-preview {
    width: 100%;
    max-width: 480px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Description */
.description {
    font-size: 16px;
    margin-top: 10px;
    color: #333;
    line-height: 1.5;
    font-weight: bold;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: center;
}

/* Upload Box */
.upload-box {
    background-color: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.upload-box h2 {
    color: #d45b5b;
    margin-bottom: 20px;
}

.upload-box input[type="file"] {
    margin-bottom: 20px;
    width: 100%;
    padding: 10px;
    border: 1px solid #f3dcdc;
    border-radius: 8px;
    background-color: #fff9f9;
}

.upload-box button {
    background-color: #d45b5b;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.upload-box button:hover {
    background-color: #c14d4d;
}

/* Compression Slider */
.compression-slider {
    margin-top: 25px;
    padding: 15px 0;
    width: 100%;
}

.compression-slider label {
    display: block;
    margin-bottom: 10px;
    color: #d45b5b;
    font-weight: bold;
    font-size: 14px;
}

.compression-slider input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #f3dcdc;
    outline: none;
    padding: 0;
    margin: 10px 0;
}

.compression-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #d45b5b;
    cursor: pointer;
    transition: background .15s ease-in-out;
}

.compression-slider input[type="range"]::-webkit-slider-thumb:hover {
    background: #c14d4d;
}

.compression-slider input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #d45b5b;
    cursor: pointer;
}

#compression-value {
    display: inline-block;
    min-width: 30px;
    text-align: center;
    color: #333;
    font-weight: normal;
}

/* Result Page */
.result-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.result-container h2 {
    color: #d45b5b;
    margin-bottom: 30px;
    font-size: 28px;
}

/* Video Section in Result */
.video-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.video-wrapper video {
    max-width: 100%;
    width: 420px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.size-info {
    margin-top: 25px;
    font-size: 16px;
    color: #444;
}

/* Buttons */
.download-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 24px;
    background-color: #4caf50;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
}

.download-btn:hover {
    background-color: #45a049;
}

.back-link {
    display: block;
    margin-top: 20px;
    color: #d45b5b;
    text-decoration: underline;
    font-size: 14px;
}

.primary-btn {
    background-color: #d45b5b;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.primary-btn:hover {
    background-color: #c14d4d;
}

.secondary-btn {
    background-color: #f3dcdc;
    color: #333;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.secondary-btn:hover {
    background-color: #e3c1c1;
}
   /* Splash screen */
    #splash-screen {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #fff1f2; /* warna pink muda sesuai tampilan utama */
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        transition: opacity 0.6s ease;
    }

    .splash-logo {
        width: 300px;
        height: auto;
    }

    .video-preview {
        width: 100%;
        max-width: 500px;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }
    