/**
 * ----------------------------------------------------
 * 九宫格抽奖模块 (Wheel Module) 样式
 * ----------------------------------------------------
 */
.wheel-module {
    max-width: 750px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.wheel-module .instructions {
    background-color: #e8f4f8;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    text-align: center;
    border: 1px solid #d1e7f5;
}

/* 九宫格布局 */
.wheel-module .wheel-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

/* 每个格子 */
.wheel-module .wheel-item {
    aspect-ratio: 1; /* 保持宽高比为 1:1 */
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* 鼠标悬停 */
.wheel-module .wheel-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}

/* 选中状态 */
.wheel-module .wheel-item.selected {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    transform: scale(1.05);
}

/* 结果揭晓状态 */
.wheel-module .wheel-item.revealed {
    cursor: default;
}

/* 揭晓按钮容器 */
.wheel-module .button-container {
    text-align: center;
    margin-bottom: 20px;
}

/* 揭晓按钮 */
.wheel-module .reveal-button {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(46, 204, 113, 0.4);
    transition: all 0.3s;
}

.wheel-module .reveal-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(46, 204, 113, 0.6);
}

.wheel-module .reveal-button:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 结果展示区 */
.wheel-module .result {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin: 20px 0;
    min-height: 30px;
    color: #e74c3c;
}

/**
 * ----------------------------------------------------
 * 表单容器和元素样式
 * ----------------------------------------------------
 */
.wheel-module .form-container {
    background-color: #f5f7fa;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: none; /* 初始隐藏，由 JS 控制显示 */
}

.wheel-module .form-container img {
    max-width: 100%;
    max-height: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.wheel-module .form-title {
    text-align: center;
    margin-bottom: 20px;
    color: #1a5276;
}

.wheel-module .form-group {
    margin-bottom: 15px;
}

.wheel-module .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.wheel-module .form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.wheel-module .submit-button {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    border: none;
    padding: 15px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(46, 204, 113, 0.4);
    transition: all 0.3s;
}

.wheel-module .submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(46, 204, 113, 0.6);
}

/**
 * ----------------------------------------------------
 * 评论区下方的滚动到九宫格的 CTA 按钮样式
 * ----------------------------------------------------
 */
.cta-scroll-after-comments {
    text-align: center;
    margin: 30px auto; 
    padding: 0 20px;
    max-width: 650px; /* 与模块宽度保持一致 */
}

.cta-button-after-comments {
    /* 强烈的红色渐变，吸引用户 */
    background: linear-gradient(135deg, #e74c3c, #c0392b); 
    color: white; 
    border: none;
    padding: 15px 30px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50px; /* 圆角胶囊形状 */
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(231, 76, 60, 0.5);
    transition: all 0.3s ease;
    text-transform: uppercase;
    display: inline-block; 
}

.cta-button-after-comments:hover {
    background: linear-gradient(135deg, #c0392b, #962f22);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.6);
}