.content {
    background: #f5fbff;
}

.heros {
    text-align: center;
    margin-bottom: 30px;
    padding-top: 50px;
    padding-bottom: 20px;
    animation: fadeIn 0.8s ease;
    background: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.heros h1 {
    color: #0f394c;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.heros .subtitle {
    color: #49b5e7;
    margin-bottom: 20px;
    font-weight: 400;
}

.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(15, 57, 76, 0.08);
    animation: slideUp 0.6s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.control-group {
    display: flex;
    flex-direction: column;
    min-width: 220px;
    flex-grow: 1;
}

label {
    color: #0f394c;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

input {
    padding: 12px 15px;
    border: 2px solid #e1f0f8;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9fdff;
}

input:focus {
    outline: none;
    border-color: #49b5e7;
    box-shadow: 0 0 0 3px rgba(73, 181, 231, 0.2);
}

.btn {
    background-color: #49b5e7;
    color: #fff;
    border: none;
    padding: 14px 30px;
    font-size: 1.05rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(73, 181, 231, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    align-self: flex-end;
    min-width: 150px;
}

.btn:hover {
    background-color: #3a9fd1;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(73, 181, 231, 0.4);
    color: #fff;
}

.btn:active {
    transform: translateY(0);
}

.quote-container {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(15, 57, 76, 0.1);
    margin-bottom: 30px;
    transition: all 0.4s ease;
    position: relative;
    animation: fadeIn 0.6s ease;
}

.quote-text {
    font-size: 1.6rem;
    color: #0f394c;
    line-height: 1.7;
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    padding: 0 25px;
}

.quote-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -20px;
    font-size: 3rem;
    color: #49b5e7;
    opacity: 0.3;
}

.quote-text::after {
    content: '"';
    position: absolute;
    right: auto;
    top: auto;
    font-size: 3rem;
    color: #49b5e7;
    opacity: 0.3;
}

.quote-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.quote-character {
    font-size: 1.3rem;
    color: #49b5e7;
    font-weight: 600;
    margin-bottom: 5px;
}

.quote-anime {
    font-size: 1.1rem;
    color: #0f394c;
    opacity: 0.8;
}

.loading {
    color: #0f394c;
    font-size: 1.3rem;
    text-align: center;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.loading i {
    font-size: 2rem;
    color: #49b5e7;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error {
    color: #e74c3c;
    font-size: 1.3rem;
    text-align: center;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.error i {
    font-size: 2rem;
}

.quote-actions {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.action-btn {
    background-color: #f0f9ff;
    color: #49b5e7;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.action-btn:hover {
    background-color: #49b5e7;
    color: #fff;
    transform: translateY(-2px);
}

.action-btn:active {
    transform: translateY(0);
}

.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #0f394c;
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(15, 57, 76, 0.3);
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    background: none;
}

.feature-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(15, 57, 76, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(15, 57, 76, 0.12);
}

.feature-icon {
    font-size: 2.5rem;
    color: #49b5e7;
    margin-bottom: 20px;
    background-color: #f0f9ff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-title {
    color: #0f394c;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-desc {
    color: #0f394c;
    opacity: 0.8;
    line-height: 1.6;
}
@media (max-width: 768px) {
    
    .controls {
        flex-direction: column;
        padding: 20px;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .btn {
        align-self: stretch;
    }
    
    .quote-text {
        font-size: 1.3rem;
    }
    
    .quote-character {
        font-size: 1.1rem;
    }
    
    .quote-anime {
        font-size: 1rem;
        padding-right: 80px;
    }
}