body {
    font-family: sans-serif;
    background-color: #fff;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 16px;
}

/* Dark theme styles */
[data-theme="dark"] body {
    background-color: #1a1a1a;
    color: #fff;
}

.container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .container {
    background-color: rgba(26, 26, 26, 0.9);
    border-top: 1px solid #444;
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

h1 {
    text-align: left;
    margin-bottom: 20px;
    font-weight: normal;
    font-size: 24px;
}

.content {
    display: flex;
    border: 1px solid #e0e0e0;
    transition: border-color 0.3s ease;
}

[data-theme="dark"] .content {
    border: 1px solid #444;
}

.image-container {
    flex: 2;
    padding: 10px;
}

.image-container img {
    max-width: 100%;
    height: auto;
    display: block;
}

.info {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #e0e0e0;
    transition: border-color 0.3s ease;
}

[data-theme="dark"] .info {
    border-left: 1px solid #444;
}

/* Video Background */
.video-background {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

[data-theme="dark"] .video-background {
    display: block;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
}

.info-row {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
}

.info-row:last-child {
    border-bottom: none;
}

.label {
    font-weight: normal;
    width: 150px;
    background-color: #f7f7f7;
    padding: 8px;
    border-right: 1px solid #e0e0e0;
}

.value {
    flex: 1;
    padding: 8px;
}

/* Responsive scaling for different resolutions */

/* FullHD: 1920x1080 - Base size */
@media (min-width: 1920px) and (max-width: 2559px) {
    body {
        font-size: 16px;
    }
    .container {
        max-width: 600px;
        padding: 20px;
    }
    h1 {
        font-size: 24px;
    }
}

/* 2K: 2560x1440 - Scale up 15% */
@media (min-width: 2560px) and (max-width: 3839px) {
    body {
        font-size: 18px;
        padding: 25px;
    }
    .container {
        max-width: 690px;
        padding: 25px;
    }
    h1 {
        font-size: 28px;
        margin-bottom: 25px;
    }
    .label, .value {
        padding: 10px;
        font-size: 18px;
    }
}

/* 4K: 3840x2160 - Scale up 30% */
@media (min-width: 3840px) {
    body {
        font-size: 21px;
        padding: 30px;
    }
    .container {
        max-width: 780px;
        padding: 30px;
    }
    h1 {
        font-size: 31px;
        margin-bottom: 30px;
    }
    .label, .value {
        padding: 12px;
        font-size: 21px;
    }
    .content {
        border-width: 2px;
    }
}