 body {
     background-color: var(--bg-color);
 }

 video {
     display: block;
     border-radius: 10px;
     width: 50%;
     height: auto;
     margin-top: 50px;
 }

 .video-container {
     display: flex;
     justify-content: center;
 }

 @media screen and (max-width: 800px) {
     video {
         width: 90%;
     }
 }

 p {
     color: var(--text-color-plain);
     font-family: 'Pretendard', 'Noto Sans KR', 'Nanum Gothic', sans-serif;
 }

 .description {
     margin-left: 30px;
 }

 .video-title {
     font-size: 2em;
     font-weight: bold;
     margin-top: 20px;
 }

 .video-description {
     font-size: 1.1em;
 }

 /* Custom Video Player Styles */
 .custom-video-wrapper {
     position: relative;
     width: 50%;
     margin-top: 50px;
     border-radius: 10px;
     overflow: hidden;
     background-color: black;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
     display: flex;
     align-items: center;
 }

 .custom-video-wrapper video {
     width: 100%;
     height: auto;
     display: block;
     margin-top: 0;
     border-radius: 0;
 }

 .video-controls {
     position: absolute;
     bottom: 0;
     left: 0;
     right: 0;
     background-color: transparent;
     color: var(--text-color-plain);
     padding: 10px 15px;
     display: flex;
     flex-direction: column;
     gap: 8px;
     opacity: 1;
     transition: opacity 0.3s ease;
 }

 .custom-video-wrapper.idle .video-controls {
     opacity: 0;
     pointer-events: none;
 }

 .progress-slider {
     -webkit-appearance: none;
     appearance: none;
     width: 100%;
     height: 6px;
     background: rgba(255, 255, 255, 0.3);
     border-radius: 3px;
     outline: none;
     cursor: pointer;
     margin: 0;
     transition: background 0.3s;
 }

 .progress-slider:hover {
     background: rgba(255, 255, 255, 0.4);
 }

 .progress-slider::-webkit-slider-thumb {
     -webkit-appearance: none;
     appearance: none;
     width: 12px;
     height: 12px;
     border-radius: 50%;
     background: #ff3b30;
     cursor: pointer;
     transition: transform 0.1s;
 }

 .progress-slider::-webkit-slider-thumb:hover {
     transform: scale(1.3);
 }

 .progress-slider::-moz-range-thumb {
     width: 12px;
     height: 12px;
     border-radius: 50%;
     background: #ff3b30;
     cursor: pointer;
     border: none;
     transition: transform 0.1s;
 }

 .progress-slider::-moz-range-thumb:hover {
     transform: scale(1.3);
 }

 .controls-row {
     display: flex;
     justify-content: space-between;
     align-items: center;
 }

 .controls-left,
 .controls-right {
     display: flex;
     align-items: center;
     gap: 15px;
 }

 .control-btn {
     background: rgba(0, 0, 0, 0.5);
     border: none;
     color: #ffffff;
     cursor: pointer;
     padding: 0;
     display: flex;
     align-items: center;
     justify-content: center;
     border-radius: 99999px;
     width: 36px;
     height: 36px;
     transition: background-color 0.2s;
 }

 .control-btn:hover {
     background: rgba(0, 0, 0, 0.75);
 }

 .control-btn svg {
     width: 24px;
     height: 24px;
 }

 .volume-slider {
     width: 80px;
     cursor: pointer;
     accent-color: #ffffff;
     background: rgba(0, 0, 0, 0.5);
     border-radius: 50%;
 }

 .time-display {
     font-size: 0.85em;
     font-family: 'Pretendard';
     user-select: none;
     color: #ffffff;
 }

 .capsule {
     border-radius: 99999px;
     padding: 10px;
     background-color: rgba(0, 0, 0, 0.5);
     display: flex;
     align-items: center;
     justify-content: center;
 }

 /* Fullscreen modifications */
 .custom-video-wrapper:fullscreen {
     width: 100%;
     height: 100%;
     margin-top: 0;
     border-radius: 0;
     background-color: black;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .custom-video-wrapper:fullscreen video {
     max-height: 100vh;
 }

 @media screen and (max-width: 800px) {
     .custom-video-wrapper {
         width: 90%;
     }

     .volume-slider {
         width: 50px;
     }
 }