* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', sans-serif;
}

body {
    background-image: url('../images/amiya_new_skin.jpg');
    background-size: auto 100vh;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

h1 {
    color: #ff6b6b;
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.subtitle {
    color: #666;
    font-size: 1.2rem;
}

.version-selector {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.version-tab {
    flex: 1;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.version-tab.active {
    background-color: #ffebee;
    color: #ff6b6b;
    border-bottom: 3px solid #ff6b6b;
}

.version-content {
    display: none;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    backdrop-filter: blur(5px);
}

.version-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.input-area {
    margin-bottom: 30px;
}

.input-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.input-group {
    flex: 1;
    min-width: 200px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus {
    border-color: #ff6b6b;
    outline: none;
}

select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: white;
    cursor: pointer;
}

select:focus {
    border-color: #ff6b6b;
    outline: none;
}

.style-select {
    font-family: 'Microsoft YaHei', sans-serif;
}

.btn {
    padding: 12px 25px;
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 107, 107, 0.3);
}

.dialogue-container {
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    padding: 20px;
    min-height: 300px;
    max-height: 400px;
    overflow-y: auto;
    background-color: rgba(249, 249, 249, 0.85);
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.dialogue-item {
    margin-bottom: 15px;
    padding: 12px 15px;
    border-radius: 8px;
    animation: slideIn 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.dialogue-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.dialogue-content {
    flex: 1;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.dialogue-name {
    font-weight: bold;
    margin-bottom: 5px;
    color: #ff6b6b;
}

.dialogue-text {
    padding: 8px 12px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 6px;
    border-left: 4px solid #ff6b6b;
}

.controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.amiya-version .dialogue-container {
    background-color: rgba(249, 249, 249, 0.85);
}

.amiya-btn {
    background-color: #7b68ee;
}

.amiya-btn:hover {
    background-color: #6a5acd;
    box-shadow: 0 5px 10px rgba(123, 104, 238, 0.3);
}

.amiya-dialogue .dialogue-name {
    color: #7b68ee;
}

.amiya-dialogue .dialogue-text {
    border-left-color: #7b68ee;
}

.instructions {
    background-color: rgba(227, 242, 253, 0.9);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
    backdrop-filter: blur(5px);
}

footer {
    text-align: center;
    margin-top: 40px;
    color: #777;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .version-content {
        padding: 20px;
    }
    
    .input-row {
        flex-direction: column;
    }
    
    .dialogue-avatar {
        width: 40px;
        height: 40px;
    }
    
    .dialogue-item {
        gap: 8px;
        padding: 10px;
    }
}

