/* 样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 页面主体样式 */
html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Arial', sans-serif;
    direction: rtl;
    background-color: #000;
}

.container {
    width: 100%;
    height: 100%;
    position: relative;
}

.image-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.full-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持图片比例并填满容器 */
    display: block;
}

.content-wrapper {
    position: absolute;
    top: 61.8%; /* 黄金分割比例位置 */
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.text-content {
    color: white;
    font-size: 18px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明背景增强可读性 */
    padding: 10px 20px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
    font-weight: bold;
}

.action-button {
    background-color: #4CAF50; /* 绿色背景 */
    color: white;
    border: none;
    padding: 12px 24px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s;
}

.action-button:hover {
    background-color: #45a049;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .text-content {
        font-size: 16px;
        padding: 8px 16px;
    }

    .action-button {
        font-size: 14px;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .text-content {
        font-size: 14px;
        padding: 6px 12px;
    }

    .action-button {
        font-size: 12px;
        padding: 8px 16px;
    }
}