/*
Theme Name: Live Stream Theme
Theme URI: 
Author: Cascade
Author URI: 
Description: A simple single-page WordPress theme for promoting a WeChat/Line group to watch live streams, with a dynamic QR code.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: livestream
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #1a2b4c;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
}

.container {
    background-color: #fff;
    width: 100%;
    max-width: 400px;
    border-radius: 24px;
    padding: 30px 20px;
    margin: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tag-top {
    background-color: #ffe4e1;
    color: #ff6b6b;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 16px;
}

.main-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 8px;
    color: #222;
}

.main-title span {
    color: #ff6b6b;
}

.subtitle {
    font-size: 13px;
    color: #666;
    margin-bottom: 16px;
    text-align: center;
}

.features {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 12px;
    color: #555;
}

.feature-item {
    display: flex;
    align-items: center;
}

.feature-item::before {
    content: "✓";
    color: #ff6b6b;
    margin-right: 4px;
    font-weight: bold;
}

.qr-card-container {
    background-color: #f7f9fc;
    border-radius: 16px;
    padding: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 16px;
    border: 1px solid #eef2f6;
}

.qr-inner-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.group-info {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    width: 100%;
}

.group-avatar {
    width: 40px;
    height: 40px;
    background-color: #ddd;
    border-radius: 8px;
    margin-right: 12px;
    background-size: cover;
    background-position: center;
}

.group-text {
    flex: 1;
}

.group-name {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.group-desc {
    font-size: 11px;
    color: #999;
}

.qr-image-wrapper {
    width: 180px;
    height: 180px;
    margin-bottom: 12px;
}

.qr-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-footer-text {
    font-size: 11px;
    color: #999;
    text-align: center;
}

.expiry-text {
    font-size: 12px;
    color: #ff9800;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}

.expiry-text::before {
    content: "⚡";
    margin-right: 4px;
}

.guide-box {
    background-color: #f0f4ff;
    border-radius: 12px;
    padding: 16px;
    width: 100%;
    margin-bottom: 24px;
}

.guide-title {
    font-size: 14px;
    font-weight: bold;
    color: #3b5998;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.guide-step {
    font-size: 12px;
    color: #555;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.guide-step-num {
    background-color: #ff6b6b;
    color: #fff;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    margin-right: 8px;
    font-weight: bold;
}

.action-btn {
    background: linear-gradient(90deg, #ff8a00, #ff5e00);
    color: #fff;
    width: 100%;
    padding: 14px;
    border-radius: 24px;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: block;
    margin-bottom: 16px;
    box-shadow: 0 4px 10px rgba(255, 94, 0, 0.3);
}

.action-btn:hover {
    opacity: 0.9;
}

.warning-text {
    background-color: #fff8e1;
    color: #ffa000;
    font-size: 11px;
    padding: 8px 12px;
    border-radius: 4px;
    width: 100%;
    text-align: center;
    margin-bottom: 12px;
}

.bottom-hint {
    font-size: 11px;
    color: #aaa;
}
