/* 基础样式 */
body {
    margin: 0;
    padding: 0;
    background-color: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
}

/* 电视容器 */
.tv-container {
    width: 90%;
    max-width: 1400px;
    aspect-ratio: 4/3;
    position: relative;
}

/* 电视边框 */
.tv-frame {
    width: 100%;
    height: 100%;
    background-color: #333;
    border-radius: 5% / 5%;
    box-shadow: 
        0 0 0 10px #1a1a1a,
        0 0 0 12px #444,
        0 0 0 20px #1a1a1a,
        0 0 0 22px #666,
        0 0 50px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
    padding: 2%;
    box-sizing: border-box;
}

/* 电视屏幕 */
.tv-screen {
    width: 100%;
    height: 90%;
    background-color: #000;
    border-radius: 2% / 2%;
    overflow: hidden;
    position: relative;
}

.tv-screen::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0) 20%,
        rgba(255, 255, 255, 0) 80%,
        rgba(255, 255, 255, 0.1) 100%
    );
    pointer-events: none;
}

.tv-screen iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 电视底部区域 */
.tv-footer {
    position: absolute;
    bottom: 3%;
    left: 5%;
    right: 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 电视logo */
.tv-logo img {
    height: 30px;
    max-width: 150px;
    object-fit: contain;
}

.tv-logo img {
    height: 30px;
    max-width: 150px;
    object-fit: contain;
    /* 添加白色发光阴影效果 */
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.7));
    transition: filter 0.3s ease;
}

/* 添加悬停效果增强发光 */
.tv-logo img:hover {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
}

/* 按钮容器 */
.tv-buttons {
    display: flex;
    gap: 10px;
}

/* 通用按钮样式 */
.tv-button {
    background-color: #444;
    color: #fff;
    border: 1px solid #666;
    border-radius: 4px;
    padding: 5px 15px;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.tv-button:hover {
    background-color: #555;
    transform: translateY(-1px);
}

.tv-button:active {
    transform: translateY(1px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .tv-container {
        width: 95%;
    }
    
    .tv-logo img {
        height: 25px;
    }
    
    .tv-button {
        padding: 4px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .tv-logo img {
        height: 20px;
    }
    
    .tv-button {
        padding: 3px 10px;
        font-size: 0.7rem;
    }
    
    .tv-buttons {
        gap: 5px;
    }
}
