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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #f0f2f5;
    min-height: 100vh;
    padding: 20px;
}

.container {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    color: #333;
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #40a9ff;
}

.form-group input::placeholder {
    color: #bfbfbf;
}

#linkSection {
    display: none;
}

#linkSection.has-link {
    display: block;
}

#linkContent {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 14px;
    color: #1890ff;
    background: #e6f7ff;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

#linkContent:hover {
    color: #096dd9;
    background: #bae7ff;
    border-color: #40a9ff;
}

#adSection {
    display: none;
}

#adSection.has-ad {
    display: block;
}

#adContent {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background: #fffbe6;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    margin-bottom: 12px;
    transition: opacity 0.3s;
}

.btn:hover {
    opacity: 0.9;
}

.btn-blue {
    background: #1890ff;
}

.btn-green {
    background: #52c41a;
}

.btn-orange {
    background: #fa8c16;
}

.status-box {
    background: #fafafa;
    border-radius: 6px;
    padding: 15px;
    margin: 20px 0;
    border-left: 4px solid #52c41a;
}

.status-box span {
    color: #333;
    font-size: 14px;
}

.instructions {
    background: #e6f7ff;
    border-radius: 6px;
    padding: 20px;
    margin-top: 10px;
    border-left: 4px solid #1890ff;
}

.instructions-title {
    color: #1890ff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.instructions ol {
    padding-left: 25px;
}

.instructions li {
    color: #333;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.instructions li:last-child {
    margin-bottom: 0;
}
