html, body {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    margin: 0;
    padding: 0;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: white;
}

#frame_wrap {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    padding: 20px;
}

/* 데모 타이틀 */
.demo-header {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.demo-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.demo-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: #94a3b8;
    opacity: 0.9;
}

.iframe_box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
}

iframe {
    border-radius: 16px;
    border: none;
    width: min(1500px, 95vw);
    height: min(900px, 80vh);
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 100px rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease;
    background: #1f2937;
}

iframe:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.15),
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 0 120px rgba(16, 185, 129, 0.15);
}

/* 장식 요소들 */
.bg-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.bg-decoration::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

.bg-decoration::after {
    content: "";
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    animation: rotate 30s linear infinite reverse;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 반응형 조정 */
@media (max-width: 1200px) {
    .demo-title {
        font-size: 28px;
    }
    
    .demo-subtitle {
        font-size: 14px;
    }
    
}

@media (max-width: 768px) {
    .demo-header {
        top: 20px;
    }
    
    .demo-title {
        font-size: 24px;
    }
    
    iframe {
        width: 95vw;
        height: 60vh;
    }
}